data/full_repos/permissive/468612001/Week05/encoder_4to2/tb_encoder_4to2.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/468612001/Week05/encoder_4to2/tb_encoder_4to2.v:10: Unsupported: Ignoring delay on this delayed statement.\n #20 i = 4\'b1110;\n ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/468612001/Week05/encoder_4to2/tb_encoder_4to2.v:11: Unsupported: Ignoring delay on this delayed statement.\n #20 i = 4\'b1101;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/468612001/Week05/encoder_4to2/tb_encoder_4to2.v:12: Unsupported: Ignoring delay on this delayed statement.\n #20 i = 4\'b1100;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/468612001/Week05/encoder_4to2/tb_encoder_4to2.v:13: Unsupported: Ignoring delay on this delayed statement.\n #20 i = 4\'b1011;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/468612001/Week05/encoder_4to2/tb_encoder_4to2.v:14: Unsupported: Ignoring delay on this delayed statement.\n #20 i = 4\'b1010;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/468612001/Week05/encoder_4to2/tb_encoder_4to2.v:15: Unsupported: Ignoring delay on this delayed statement.\n #20 i = 4\'b1001;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/468612001/Week05/encoder_4to2/tb_encoder_4to2.v:16: Unsupported: Ignoring delay on this delayed statement.\n #20 i = 4\'b1000;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/468612001/Week05/encoder_4to2/tb_encoder_4to2.v:17: Unsupported: Ignoring delay on this delayed statement.\n #20 i = 4\'b0111;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/468612001/Week05/encoder_4to2/tb_encoder_4to2.v:18: Unsupported: Ignoring delay on this delayed statement.\n #20 i = 4\'b0110;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/468612001/Week05/encoder_4to2/tb_encoder_4to2.v:19: Unsupported: Ignoring delay on this delayed statement.\n #20 i = 4\'b0101;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/468612001/Week05/encoder_4to2/tb_encoder_4to2.v:20: Unsupported: Ignoring delay on this delayed statement.\n #20 i = 4\'b0100;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/468612001/Week05/encoder_4to2/tb_encoder_4to2.v:21: Unsupported: Ignoring delay on this delayed statement.\n #20 i = 4\'b0011;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/468612001/Week05/encoder_4to2/tb_encoder_4to2.v:22: Unsupported: Ignoring delay on this delayed statement.\n #20 i = 4\'b0010;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/468612001/Week05/encoder_4to2/tb_encoder_4to2.v:23: Unsupported: Ignoring delay on this delayed statement.\n #20 i = 4\'b0001;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/468612001/Week05/encoder_4to2/tb_encoder_4to2.v:24: Unsupported: Ignoring delay on this delayed statement.\n #20 i = 4\'b0000;\n ^\n%Error: data/full_repos/permissive/468612001/Week05/encoder_4to2/tb_encoder_4to2.v:6: Cannot find file containing module: \'encoder_4to2_if_default\'\n encoder_4to2_if_default u0(i, e);\n ^~~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/468612001/Week05/encoder_4to2,data/full_repos/permissive/468612001/encoder_4to2_if_default\n             data/full_repos/permissive/468612001/Week05/encoder_4to2,data/full_repos/permissive/468612001/encoder_4to2_if_default.v\n             data/full_repos/permissive/468612001/Week05/encoder_4to2,data/full_repos/permissive/468612001/encoder_4to2_if_default.sv\n             encoder_4to2_if_default\n             encoder_4to2_if_default.v\n             encoder_4to2_if_default.sv\n             obj_dir/encoder_4to2_if_default\n             obj_dir/encoder_4to2_if_default.v\n             obj_dir/encoder_4to2_if_default.sv\n%Error: Exiting due to 1 error(s), 15 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module tb_encoder_4to2();
	reg [3:0] i;
	wire [1:0] e;
	

	encoder_4to2_if_default u0(i, e);
	
	initial begin
			i = 4'b1111;
	#20	i = 4'b1110;
	#20	i = 4'b1101;
	#20	i = 4'b1100;
	#20	i = 4'b1011;
	#20	i = 4'b1010;
	#20	i = 4'b1001;
	#20	i = 4'b1000;
	#20	i = 4'b0111;
	#20	i = 4'b0110;
	#20	i = 4'b0101;
	#20	i = 4'b0100;
	#20	i = 4'b0011;
	#20	i = 4'b0010;
	#20	i = 4'b0001;
	#20	i = 4'b0000;
	end
endmodule
module tb_encoder_4to2();

	reg [3:0] i;
	wire [1:0] e;
	

	encoder_4to2_if_default u0(i, e);
	
	initial begin
			i = 4'b1111;
	#20	i = 4'b1110;
	#20	i = 4'b1101;
	#20	i = 4'b1100;
	#20	i = 4'b1011;
	#20	i = 4'b1010;
	#20	i = 4'b1001;
	#20	i = 4'b1000;
	#20	i = 4'b0111;
	#20	i = 4'b0110;
	#20	i = 4'b0101;
	#20	i = 4'b0100;
	#20	i = 4'b0011;
	#20	i = 4'b0010;
	#20	i = 4'b0001;
	#20	i = 4'b0000;
	end
endmodule