-
Notifications
You must be signed in to change notification settings - Fork 255
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
set_sim_option before add_config has no effect #250
Comments
Those two should be equivalent, however the add_source_file command needs to have happened before the set_sim_option else it does not "hit" any test bench because there is none yet. You have not shown an add_source_file command in your example, are you sure it is not that problem that is at play? |
It is as you say. It is only the order of set_sim_option and add_source_file that matters. |
That is the way it is intended. |
Currently, doing this via I for one ran into this issue without realizing what was going on. Is there a use case for setting simulation options when testbenches are not yet added?
|
I have fixed the crash and added error for when there is no object matching the operation which can be overridden by |
Hi,
If I call set_sim_option before add_config, then it has no effect:
It takes effect if I reorder like this:
Is this intentional?
The text was updated successfully, but these errors were encountered: