shaiko
Advanced Member level 5
The following happens in ModelSim :
I expected that signal 'x' will stabilize to a stable logic '1' after 10 ms. However, the waveform shows otherwise!
signal x continues to be driven by signal "noise" indefinitely...
Why is that ???
How shall I rewrite my code so it'll do what I expect it to...?
Code:
signal noise : std_logic := '0' ;
signal stable_one : std_logic ;
signal x : std_logic ;
stable_one <= '1' ;
noise <= not noise after 100 ns ;
[COLOR="#FF0000"]x[/COLOR] <= noise , stable_one after 10 ms ;
I expected that signal 'x' will stabilize to a stable logic '1' after 10 ms. However, the waveform shows otherwise!
signal x continues to be driven by signal "noise" indefinitely...
Why is that ???
How shall I rewrite my code so it'll do what I expect it to...?