E
Element Blue
Guest
Hi All,
I am in considerable doubt over the behaviour of the following
statements:
module test2();
reg a,b,c;
initial
begin
a=0;
#10 a=1;
#20 a=0;
end
always
begin
b=#15 (~a);
#15 c=(~a);
end
endmodule
What is the difference between the 2 statements in the always block ? I
did a simulation, and indeed the signals b and c had different shapes.
What is the principle of these assignments?
Thanks a lot,
EB.
I am in considerable doubt over the behaviour of the following
statements:
module test2();
reg a,b,c;
initial
begin
a=0;
#10 a=1;
#20 a=0;
end
always
begin
b=#15 (~a);
#15 c=(~a);
end
endmodule
What is the difference between the 2 statements in the always block ? I
did a simulation, and indeed the signals b and c had different shapes.
What is the principle of these assignments?
Thanks a lot,
EB.