data/full_repos/permissive/157101210/mux.t.v
 line:50: before: "/"
1: b'%Error: data/full_repos/permissive/157101210/mux.t.v:1: Cannot find include file: mux.v\n`include "mux.v" \n         ^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/157101210,data/full_repos/permissive/157101210/mux.v\n             data/full_repos/permissive/157101210,data/full_repos/permissive/157101210/mux.v.v\n             data/full_repos/permissive/157101210,data/full_repos/permissive/157101210/mux.v.sv\n             mux.v\n             mux.v.v\n             mux.v.sv\n             obj_dir/mux.v\n             obj_dir/mux.v.v\n             obj_dir/mux.v.sv\n%Warning-STMTDLY: data/full_repos/permissive/157101210/mux.t.v:24: Unsupported: Ignoring delay on this delayed statement.\n #500;\n ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/157101210/mux.t.v:29: Unsupported: Ignoring delay on this delayed statement.\n #500;\n ^\n%Error: Exiting due to 1 error(s), 2 warning(s)\n'
module testMux();
	reg[`WIDTH-1:0] a;
	reg[`WIDTH-1:0] b;
	reg            select;
	wire[`WIDTH-1:0] out;

	mux #(`WIDTH) dut(
		.input0(a),
		.input1(b),
		.sel(select),
		.out(out));

initial begin
	$display("Starting Mux Tests.");

	a = {`HALFWIDTH'b1111, `HALFWIDTH'b0};
	b = {`HALFWIDTH'b0, `HALFWIDTH'b1111};;
	select = 0;
	#`DELAY;
	if(out !== a)
		$display("Mux test failed; output != a when sel=0");

	select = 1;
	#`DELAY;
	if(out !== b)
		$display("Mux test failed; output != b when sel=1");

	$display("Mux tests finished!");
	$display();

end
endmodule
module testMux();

	reg[`WIDTH-1:0] a;
	reg[`WIDTH-1:0] b;
	reg            select;
	wire[`WIDTH-1:0] out;

	mux #(`WIDTH) dut(
		.input0(a),
		.input1(b),
		.sel(select),
		.out(out));

initial begin
	$display("Starting Mux Tests.");

	a = {`HALFWIDTH'b1111, `HALFWIDTH'b0};
	b = {`HALFWIDTH'b0, `HALFWIDTH'b1111};;
	select = 0;
	#`DELAY;
	if(out !== a)
		$display("Mux test failed; output != a when sel=0");

	select = 1;
	#`DELAY;
	if(out !== b)
		$display("Mux test failed; output != b when sel=1");

	$display("Mux tests finished!");
	$display();

end
endmodule