On Tue, Mar 18, 2008 at 9:28 AM, Ian Chapman <[EMAIL PROTECTED]> wrote:
>
>
>
>
> HI,
>
>             I am quite new to ghdl and have used Xilinx a wee bit.  Using
> the test bench that the tutorial provided worked fine.  Test bench that I
> have that runs in Xilinx but gives me a test bench problem with ghdl the
> test bench simply generates clocks so that I can look at and debug the code.
> In ghdl I think it runs and never stops or stops on the first clock.  It
> either case I am not getting a wave file from ghdl.  It's okay with the test
> bench that comes with the counter example. Any pointes would be greatly
> appreciated. Regards Ian.

In order to get a waveform file you need to use the --vcd argument.
e.g.
./$(TB_ENTITY) --vcd=/tmp/my_waveform.vcd

Then you can use a VCD viewer such as gtkwave to visualize it.

Cheers,

-Pascal
PS: Have a look at GHDL documentation: http://ghdl.free.fr/ghdl/index.html
-- 
Homepage (http://organact.mine.nu)
Debian GNU/Linux (http://www.debian.org)
LACIME: École de technologie supérieure (http://lacime.etsmtl.ca)

_______________________________________________
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to