Quoting Thomas Sailer <[EMAIL PROTECTED]>:

> On Tue, 2007-03-06 at 18:13 +0100, Chitlesh GOORAH wrote:
>
> > However with ghdl, I have an infinity loop when I execute ./gene
> > --vcd=gene.vcd. What may cause this loop and perhaps someone can
> > explain to me why so that in the future I won't do the same mistake.
>
> ghdl IMO does the right thing.
>
> ./gene --wave=xx.ghw --stop-time=100us
>
> outputs the AFAIK the intended waveform.
>
> Your program doesn't terminate, so running ./gene without stop-time will
> result in an infinite loop...
In fact your program will terminate when the time is exhausted.  In ghdl the
time is a 64 bits value, so it will take a very very long time (and because
you are using --vcd it will use an huge amount of disk space).

I think most commercial simulator use 32 bits for time.  So the simulation
finishes earlier.

Tristan.

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

Reply via email to