lostin_eda
Newbie level 6
About verilog coding
Hey, the following statement which is used in testbench, and i think it is wrong, right? and tell me why it is wrong thanks for your help
always @ ( a or b or c)
begin
if ( a)
begin
@ (posedge clock);
e = b;
end
else
begin
# 10 ;
e =c ;
end
end
Hey, the following statement which is used in testbench, and i think it is wrong, right? and tell me why it is wrong thanks for your help
always @ ( a or b or c)
begin
if ( a)
begin
@ (posedge clock);
e = b;
end
else
begin
# 10 ;
e =c ;
end
end