On Mon, 2014-07-28 at 21:19 +0200, René Doß wrote:
> I have simulated a testbench. The simulation runs some us too short.
> Now I have to run from start again. This needs much time.
>   It is possible to restart from the last state? All internal signals 
> are stored in the ghw file.
> 
> 
> And the second question, I stop the simulation with --stop-time=1500us. 
> Existst an option stop by signal "xyz"='1'.
> 
Easy answer to the second : a code reviewer laughed when he saw it in
one of my testbenches ... but, turns out it's recommended in Bergeron's
book!

assert xyz='0' report "Sim ended - not a failure!" severity FAILURE;

- Brian


_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to