BartlebyScrivener
Member level 5
- Joined
- Feb 8, 2012
- Messages
- 90
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 2,081
For my test bench, once a certain condition is met the testing is finished. At the moment, I have written in the code and if statement to check for the condition, followed by $finish. When I want to test, I type run 100ns, hoping that 100ns will be enough. If not, I have to keep hitting run 100ns till it finishes.
When it finishes, it seems severe... In modelsim, I get asking me if I am sure I want to finish, which if I click yes, will close modelsim!
Is there a neater way to just run a test bench till completion without closing modlesim?
- - - Updated - - -
I just found run -all which works, so all I want now is for it to not try and close modelsim when it finishes.
Thansk
When it finishes, it seems severe... In modelsim, I get asking me if I am sure I want to finish, which if I click yes, will close modelsim!
Is there a neater way to just run a test bench till completion without closing modlesim?
- - - Updated - - -
I just found run -all which works, so all I want now is for it to not try and close modelsim when it finishes.
Thansk