What Verilog syntax is supported or what am I doing wrong? #3846
-
Hi. I'm trying module dump;
event do_dump;
initial $dumpfile("verilog.dump");
initial @do_dump
$dumpvars; //dump variables in the design
always @do_dump //to begin the dump at event do_dump
begin
$dumpon; //no effect the first time through
repeat (500) @(posedge clock); //dump for 500 cycles
$dumpoff; //stop the dump
end
initial @(do_dump)
forever #10000 $dumpall; //checkpoint all variables
endmodule Trying it out:
I understand that 0.19 is a bit old, but latest Verilog lexer doesn't mention These trivial parsing issues puzzle me, similar issues people have when feeding SystemVerilog, but I don't think that's the case here and |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Events are not synthesizable; no synthesis toolchain I know of will accept them. |
Beta Was this translation helpful? Give feedback.
Events are not synthesizable; no synthesis toolchain I know of will accept them.