Replies: 2 comments 7 replies
-
You mean during elaboration, with the
This should work fine, modulo bugs. See test/regress/force1.vhd for an example. You can raise an issue if you run into any problems. |
Beta Was this translation helpful? Give feedback.
-
Modelsim has signal_spy, signal_force, signal_release and Cadence has nc_mirror, nc_force, nc_deposit, nc_release in custom libraries. These are built in functions in the respective simulators and have a bit more flexibility on what can be forced. The deposit functionality is quite handy, where the value driving value is changed instead of overridden. These also support force/release across mixed-language borders. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I was trying out NVC and I was wondering if it is possible to
•change the value of a generic for an entity that is not the top one
•force a signal to a certain value even if it has a driver inside the code
I tried looking at the manual and at the tests inside the repo but I can't figure out if it is possible or not. The vhpi seemed promising for forcing signal values but I can't get it to work so I figured it was better to ask :)
Beta Was this translation helpful? Give feedback.
All reactions