data/full_repos/permissive/148324174/SeqLogic/sync_tb.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b'%Warning-STMTDLY: data/full_repos/permissive/148324174/SeqLogic/sync_tb.v:22: Unsupported: Ignoring delay on this delayed statement.\n #2000 $finish;\n ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/148324174/SeqLogic/sync_tb.v:27: Unsupported: Ignoring delay on this delayed statement.\n #10 forever #20 bclk = ~bclk;\n             ^\n%Warning-STMTDLY: data/full_repos/permissive/148324174/SeqLogic/sync_tb.v:27: Unsupported: Ignoring delay on this delayed statement.\n #10 forever #20 bclk = ~bclk;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/148324174/SeqLogic/sync_tb.v:32: Unsupported: Ignoring delay on this delayed statement.\n #5 rst = 1;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/148324174/SeqLogic/sync_tb.v:33: Unsupported: Ignoring delay on this delayed statement.\n #50 rst = 0;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/148324174/SeqLogic/sync_tb.v:38: Unsupported: Ignoring delay on this delayed statement.\n #105 async_in = 1;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/148324174/SeqLogic/sync_tb.v:40: Unsupported: Ignoring delay on this delayed statement.\n #15  async_in_h2lck = 0;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/148324174/SeqLogic/sync_tb.v:41: Unsupported: Ignoring delay on this delayed statement.\n #50  async_in = 0;\n ^\n%Error: data/full_repos/permissive/148324174/SeqLogic/sync_tb.v:7: Cannot find file containing module: \'sync\'\nsync U1(\n^~~~\n        ... Looked in:\n             data/full_repos/permissive/148324174/SeqLogic,data/full_repos/permissive/148324174/sync\n             data/full_repos/permissive/148324174/SeqLogic,data/full_repos/permissive/148324174/sync.v\n             data/full_repos/permissive/148324174/SeqLogic,data/full_repos/permissive/148324174/sync.sv\n             sync\n             sync.v\n             sync.sv\n             obj_dir/sync\n             obj_dir/sync.v\n             obj_dir/sync.sv\n%Error: data/full_repos/permissive/148324174/SeqLogic/sync_tb.v:14: Cannot find file containing module: \'sync_h2lck\'\nsync_h2lck U2(\n^~~~~~~~~~\n%Error: Exiting due to 2 error(s), 8 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module sync_tb;
reg async_in, async_in_h2lck, bclk, rst;
wire sync_out, sync_out_h2lck;

sync U1(
	.async_in(async_in),
	.bclk(bclk),
	.rst(rst),
	.sync_out(sync_out)
	);

sync_h2lck U2(
	.async_in(async_in_h2lck),
	.bclk(bclk),
	.rst(rst),
	.sync_out(sync_out_h2lck)
	);

initial begin
	#2000 $finish;
end

initial begin
	bclk = 0;
	#10 forever #20 bclk = ~bclk;
end

initial begin
	rst = 0;
	#5 rst = 1;
	#50 rst = 0;
end

initial begin
	async_in = 0;
	#105 async_in = 1;
		 async_in_h2lck = 1;
	#15  async_in_h2lck = 0;
	#50  async_in = 0;
end

endmodule
module sync_tb;

reg async_in, async_in_h2lck, bclk, rst;
wire sync_out, sync_out_h2lck;

sync U1(
	.async_in(async_in),
	.bclk(bclk),
	.rst(rst),
	.sync_out(sync_out)
	);

sync_h2lck U2(
	.async_in(async_in_h2lck),
	.bclk(bclk),
	.rst(rst),
	.sync_out(sync_out_h2lck)
	);

initial begin
	#2000 $finish;
end

initial begin
	bclk = 0;
	#10 forever #20 bclk = ~bclk;
end

initial begin
	rst = 0;
	#5 rst = 1;
	#50 rst = 0;
end

initial begin
	async_in = 0;
	#105 async_in = 1;
		 async_in_h2lck = 1;
	#15  async_in_h2lck = 0;
	#50  async_in = 0;
end

endmodule