data/full_repos/permissive/170402453/RISC/MUX_tb.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/170402453/RISC/MUX_tb.v:56: Unsupported: Ignoring delay on this delayed statement.\n  #100;\n  ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/170402453/RISC/MUX_tb.v:64: Unsupported: Ignoring delay on this delayed statement.\n  #1;\n  ^\n%Error: data/full_repos/permissive/170402453/RISC/MUX_tb.v:38: Cannot find file containing module: \'MUX\'\n MUX uut (\n ^~~\n        ... Looked in:\n             data/full_repos/permissive/170402453/RISC,data/full_repos/permissive/170402453/MUX\n             data/full_repos/permissive/170402453/RISC,data/full_repos/permissive/170402453/MUX.v\n             data/full_repos/permissive/170402453/RISC,data/full_repos/permissive/170402453/MUX.sv\n             MUX\n             MUX.v\n             MUX.sv\n             obj_dir/MUX\n             obj_dir/MUX.v\n             obj_dir/MUX.sv\n%Error: Exiting due to 1 error(s), 2 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module MUX_tb;


	reg [1:0] select;
	reg [15:0] in1;
	reg [15:0] in2;
	reg [15:0] in3;
	reg [15:0] in4;


	wire [15:0] out;


	MUX uut (
		.select(select), 
		.in1(in1), 
		.in2(in2), 
		.in3(in3), 
		.in4(in4), 
		.out(out)
	);

	initial begin

		select = 0;
		in1 = 11111;
		in2 = 22222;
		in3 = 33333;
		in4 = 44444;


		#100;
        


	end
	
	always begin
		select = select+1;
		#1;
	end
      
endmodule
module MUX_tb;



	reg [1:0] select;
	reg [15:0] in1;
	reg [15:0] in2;
	reg [15:0] in3;
	reg [15:0] in4;


	wire [15:0] out;


	MUX uut (
		.select(select), 
		.in1(in1), 
		.in2(in2), 
		.in3(in3), 
		.in4(in4), 
		.out(out)
	);

	initial begin

		select = 0;
		in1 = 11111;
		in2 = 22222;
		in3 = 33333;
		in4 = 44444;


		#100;
        


	end
	
	always begin
		select = select+1;
		#1;
	end
      
endmodule