data/full_repos/permissive/167489907/Examples/D-Flip-Flop/dff_async_reset_tb.v
 line:35: before: "$"
1: b'%Error: data/full_repos/permissive/167489907/Examples/D-Flip-Flop/dff_async_reset_tb.v:9: Unsupported or unknown PLI call: $timeformat\n$timeformat(-9, 1, "ns", 6); #1;\n^~~~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/167489907/Examples/D-Flip-Flop/dff_async_reset_tb.v:9: Unsupported: Ignoring delay on this delayed statement.\n$timeformat(-9, 1, "ns", 6); #1;\n                             ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/167489907/Examples/D-Flip-Flop/dff_async_reset_tb.v:14: Unsupported: Ignoring delay on this delayed statement.\n#9\n^\n%Warning-STMTDLY: data/full_repos/permissive/167489907/Examples/D-Flip-Flop/dff_async_reset_tb.v:17: Unsupported: Ignoring delay on this delayed statement.\n#10;\n^\n%Warning-STMTDLY: data/full_repos/permissive/167489907/Examples/D-Flip-Flop/dff_async_reset_tb.v:19: Unsupported: Ignoring delay on this delayed statement.\n#5;\n^\n%Warning-STMTDLY: data/full_repos/permissive/167489907/Examples/D-Flip-Flop/dff_async_reset_tb.v:21: Unsupported: Ignoring delay on this delayed statement.\n#5;\n^\n%Warning-STMTDLY: data/full_repos/permissive/167489907/Examples/D-Flip-Flop/dff_async_reset_tb.v:23: Unsupported: Ignoring delay on this delayed statement.\n#10;\n^\n%Warning-STMTDLY: data/full_repos/permissive/167489907/Examples/D-Flip-Flop/dff_async_reset_tb.v:25: Unsupported: Ignoring delay on this delayed statement.\n#5;\n^\n%Warning-STMTDLY: data/full_repos/permissive/167489907/Examples/D-Flip-Flop/dff_async_reset_tb.v:27: Unsupported: Ignoring delay on this delayed statement.\n#5;\n^\n%Warning-STMTDLY: data/full_repos/permissive/167489907/Examples/D-Flip-Flop/dff_async_reset_tb.v:29: Unsupported: Ignoring delay on this delayed statement.\n#5;\n^\n%Warning-STMTDLY: data/full_repos/permissive/167489907/Examples/D-Flip-Flop/dff_async_reset_tb.v:31: Unsupported: Ignoring delay on this delayed statement.\n#5;\n^\n%Warning-STMTDLY: data/full_repos/permissive/167489907/Examples/D-Flip-Flop/dff_async_reset_tb.v:33: Unsupported: Ignoring delay on this delayed statement.\n#5;\n^\n%Warning-STMTDLY: data/full_repos/permissive/167489907/Examples/D-Flip-Flop/dff_async_reset_tb.v:35: Unsupported: Ignoring delay on this delayed statement.\n#10 $stop;\n^\n%Warning-STMTDLY: data/full_repos/permissive/167489907/Examples/D-Flip-Flop/dff_async_reset_tb.v:39: Unsupported: Ignoring delay on this delayed statement.\n#1 clk = !clk;  \n^\n%Error: Exiting due to 1 error(s), 13 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module dff_async_reset_tb;
wire q;
reg data, reset;
reg clk, enable;

dff_async_reset uut (.data(data), .clk(clk), .enable(enable), .reset(reset), .q(q));

initial begin
$timeformat(-9, 1, "ns", 6); #1;
clk = 1'b0;
data = 1'b0;
enable = 1'b1;
reset = 1'b1;
#9
enable = 1'b0;
data = 1'b1;
#10;
enable = 1'b1;
#5;
data = 1'b0;
#5;
enable = 1'b0;
#10;
data = 1'b1;
#5;
enable = 1'b1;
#5;
enable = 1'b0;
#5;
data = 1'b0;
#5;
reset = 1'b0;
#5;
reset = 1'b1;
#10 $stop;
end

always 
#1 clk = !clk;

always @(data or enable or reset)
	$display("t=%t enable=%b data=%b reset=%b q=%b", $time, enable, data, reset, q);
	
endmodule
module dff_async_reset_tb;

wire q;
reg data, reset;
reg clk, enable;

dff_async_reset uut (.data(data), .clk(clk), .enable(enable), .reset(reset), .q(q));

initial begin
$timeformat(-9, 1, "ns", 6); #1;
clk = 1'b0;
data = 1'b0;
enable = 1'b1;
reset = 1'b1;
#9
enable = 1'b0;
data = 1'b1;
#10;
enable = 1'b1;
#5;
data = 1'b0;
#5;
enable = 1'b0;
#10;
data = 1'b1;
#5;
enable = 1'b1;
#5;
enable = 1'b0;
#5;
data = 1'b0;
#5;
reset = 1'b0;
#5;
reset = 1'b1;
#10 $stop;
end

always 
#1 clk = !clk;

always @(data or enable or reset)
	$display("t=%t enable=%b data=%b reset=%b q=%b", $time, enable, data, reset, q);
	
endmodule