Forum Discussion
ABrow3
New Contributor
7 years agoA fairly basic question relating to Modelsim. I need to preset a counter during a simulation. "Force" maintains the counter at a fixed value - I need it to continue counting but from a pre-selected value. Thanks in anticipation. Alan Brown
ABrow3
New Contributor
7 years agoHello Hans.
I may be misinterpreting the command but using the "deposit" option does indeed force the counter output to a preset value but the counter output returns to the previous value (+1) after the next driver transaction (in this case input clocking of the counter). I had hoped it would continue counting from the preset value.
Have I missed something?
Thank you.
Regards,
Alan