Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If arch description in timeloop support VARIABLE #229

Open
yyuchenyi opened this issue Nov 16, 2023 · 2 comments
Open

If arch description in timeloop support VARIABLE #229

yyuchenyi opened this issue Nov 16, 2023 · 2 comments

Comments

@yyuchenyi
Copy link

yyuchenyi commented Nov 16, 2023

Hi! Thanks for your pioneering work. May I ask that if arch description in timeloop support VARIABLE like it in accelergy compound components? for example:
Want to do in compound_components like:

#a,b are variables
attributes:
     a: 8
     b: 8
subcomponents:
   - name: XXX[0..a-1]
      class: XXX
      attributes:
          width: a*b

but when I use like this in arch.yaml, timeloop or accelergy throw error
"terminate called after throwing an instance of 'std::invalid_argument"
in log:

 ERROR       Location: arch attribute "XXXX"
 ERROR       Problem encountered: NameError: Name 'XXXX(_VARIABLE_NAME here_)' is not defined.

Variables value can changed by outer scripts so design space exploration will be more convenient.
Looking forward to your reply!

@angshuman-parashar
Copy link
Collaborator

Variables would be super useful but sadly aren't supported yet in Timeloop.

@yyuchenyi
Copy link
Author

yyuchenyi commented Feb 26, 2024

Variables would be super useful but sadly aren't supported yet in Timeloop.

Got it! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants