P
Paul
Guest
Hi,
what's wrong with these task?:
task hit;
input s;
begin
@(posedge clock); s <= 1'b1;
@(posedge clock); s <= 1'b0;
end
endtask
.....
reg trigger;
....
hit(trigger);
nothings happens on signal trigger, why? Who to fix?
Thanks!
what's wrong with these task?:
task hit;
input s;
begin
@(posedge clock); s <= 1'b1;
@(posedge clock); s <= 1'b0;
end
endtask
.....
reg trigger;
....
hit(trigger);
nothings happens on signal trigger, why? Who to fix?
Thanks!