bil050
Guest
Wed Jul 21, 2010 3:06 pm
Hi,
I need to write code (in the stimulus)
which set the signal/wire (say x) first time to 0 [x = 0] and
(forever) any other time to 1 [x=1]
How can I do it?
Thanks,
WilliamGibb@gmail.com
Guest
Wed Jul 21, 2010 5:28 pm
On Jul 21, 7:06 am, bil050 <irinali...@gmail.com> wrote:
Quote:
Hi,
I need to write code (in the stimulus)
which set the signal/wire (say x) first time to 0 [x = 0] and
(forever) any other time to 1 [x=1]
How can I do it?
Thanks,
so you want a signal to have the initial condition of zero (@ time 0)
and have the value 1 at all other times?
Define DELAY 0.1 // set appropriate delay
Initial
begin
x=0;
#DELAY
x=1;
end
Is that what your looking for?