data/full_repos/permissive/147790758/tb1_dmux.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/147790758/tb1_dmux.v:13: Unsupported: Ignoring delay on this delayed statement.\n #10;\n ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/147790758/tb1_dmux.v:15: Unsupported: Ignoring delay on this delayed statement.\n #10;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/147790758/tb1_dmux.v:17: Unsupported: Ignoring delay on this delayed statement.\n #10;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/147790758/tb1_dmux.v:19: Unsupported: Ignoring delay on this delayed statement.\n #10;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/147790758/tb1_dmux.v:21: Unsupported: Ignoring delay on this delayed statement.\n #10;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/147790758/tb1_dmux.v:23: Unsupported: Ignoring delay on this delayed statement.\n #10;\n ^\n%Error: data/full_repos/permissive/147790758/tb1_dmux.v:9: Cannot find file containing module: \'dmux\'\ndmux DUT (.pba(button), .sw(datain), .led(actual));\n^~~~\n        ... Looked in:\n             data/full_repos/permissive/147790758,data/full_repos/permissive/147790758/dmux\n             data/full_repos/permissive/147790758,data/full_repos/permissive/147790758/dmux.v\n             data/full_repos/permissive/147790758,data/full_repos/permissive/147790758/dmux.sv\n             dmux\n             dmux.v\n             dmux.sv\n             obj_dir/dmux\n             obj_dir/dmux.v\n             obj_dir/dmux.sv\n%Error: Exiting due to 1 error(s), 6 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module tb1_dmux();

	reg button;
	reg [3:0]datain;
	wire [7:0]actual;
	
dmux DUT (.pba(button), .sw(datain), .led(actual));

initial begin
	button = 1'b0; datain = 4'b1111;
	#10;
	button = 1'b1; datain = 4'b1111;
	#10;
	button = 1'b0; datain = 4'b1010;
	#10;
	button = 1'b1; datain = 4'b1010;
	#10;
	button = 1'b0; datain = 4'b0101;
	#10;
	button = 1'b1; datain = 4'b0101;
	#10;
end

endmodule
module tb1_dmux();


	reg button;
	reg [3:0]datain;
	wire [7:0]actual;
	
dmux DUT (.pba(button), .sw(datain), .led(actual));

initial begin
	button = 1'b0; datain = 4'b1111;
	#10;
	button = 1'b1; datain = 4'b1111;
	#10;
	button = 1'b0; datain = 4'b1010;
	#10;
	button = 1'b1; datain = 4'b1010;
	#10;
	button = 1'b0; datain = 4'b0101;
	#10;
	button = 1'b1; datain = 4'b0101;
	#10;
end

endmodule