In added a
wait for 50 ns;
Early in the process that everything worked correctly, simulators need to
put a wait, and wait is not real, if I put 5000000 us he will not stand 5
seconds, is all virtual.


On Fri, Aug 9, 2013 at 11:59 PM, Christiano <[email protected]>wrote:

> Hi I made a testbench, but is not working properly.
>
> The testbench code is here:
> http://pastebin.com/jJgjrpp7
>
> The code of the "target" is here:
> http://pastebin.com/Y0aRG85N
>
> When the program runs, it shows this:
> 0010   ---> 0=d, 0=clk, 1=rst, 0=q
>
> Ok, now I will enter the new set of entries that I want.
> 000    ------> 0=d, 0=clk, 0=rst
>
> The program shows this:
> test    ----> Means that went where it should.
> 000    -----> The value entered
> 0010   ----> Not changed!!
>
> This may be a bug GHDL? Or did I do something wrong?
>
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to