data/full_repos/permissive/458134463/Modules/mux8x1_32bit_tb.v
1: b'%Error: data/full_repos/permissive/458134463/Modules/mux8x1_32bit_tb.v:30: Unsupported or unknown PLI call: $monitor\n$monitor("Inputs(32 bit -> hexadecimal)\\n------\\n0) %8h \\n1) %8h \\n2) %8h \\n3) %8h \\n4) %8h \\n5) %8h \\n6) %8h \\n7) %8h \\n",\n^~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/458134463/Modules/mux8x1_32bit_tb.v:41: Unsupported: Ignoring delay on this delayed statement.\n#20\n^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/458134463/Modules/mux8x1_32bit_tb.v:43: Unsupported: Ignoring delay on this delayed statement.\n#20\n^\n%Warning-STMTDLY: data/full_repos/permissive/458134463/Modules/mux8x1_32bit_tb.v:45: Unsupported: Ignoring delay on this delayed statement.\n#20\n^\n%Warning-STMTDLY: data/full_repos/permissive/458134463/Modules/mux8x1_32bit_tb.v:47: Unsupported: Ignoring delay on this delayed statement.\n#20\n^\n%Warning-STMTDLY: data/full_repos/permissive/458134463/Modules/mux8x1_32bit_tb.v:49: Unsupported: Ignoring delay on this delayed statement.\n#20\n^\n%Warning-STMTDLY: data/full_repos/permissive/458134463/Modules/mux8x1_32bit_tb.v:51: Unsupported: Ignoring delay on this delayed statement.\n#20\n^\n%Warning-STMTDLY: data/full_repos/permissive/458134463/Modules/mux8x1_32bit_tb.v:53: Unsupported: Ignoring delay on this delayed statement.\n#20\n^\n%Error: data/full_repos/permissive/458134463/Modules/mux8x1_32bit_tb.v:58: Unsupported or unknown PLI call: $monitor\n#5 $monitor("\\nTime  : %1d\\nselect: %3b\\nresult: %8h", $time, select, result);\n   ^~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/458134463/Modules/mux8x1_32bit_tb.v:58: Unsupported: Ignoring delay on this delayed statement.\n#5 $monitor("\\nTime  : %1d\\nselect: %3b\\nresult: %8h", $time, select, result);\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 mux8x1_32bit_tb();

reg [2:0]  select;
reg [31:0] input1;
reg [31:0] input2;
reg [31:0] input3;
reg [31:0] input4;
reg [31:0] input5;
reg [31:0] input6;
reg [31:0] input7;
reg [31:0] input8;

wire [31:0] result;


mux8x1_32bit mux(input1, input2, input3, input4, input5, input6, input7, input8, select, result);


initial begin
input1 = 32'hFFFFFFFF; 
input2 = 32'hEEEEEEEE;
input3 = 32'hDDDDDDDD;
input4 = 32'hCCCCCCCC;
input5 = 32'hBBBBBBBB;
input6 = 32'hAAAAAAAA;
input7 = 32'h99999999;
input8 = 32'h88888888;

$monitor("Inputs(32 bit -> hexadecimal)\n------\n0) %8h \n1) %8h \n2) %8h \n3) %8h \n4) %8h \n5) %8h \n6) %8h \n7) %8h \n",
			input1,
			input2,
			input3,
			input4,
			input5,
			input6,
			input7,
			input8);

select = 3'b000;
#`DELAY
select = 3'b001;
#`DELAY
select = 3'b010;
#`DELAY
select = 3'b011;
#`DELAY
select = 3'b100;
#`DELAY
select = 3'b101;
#`DELAY
select = 3'b110;
#`DELAY
select = 3'b111;
end

initial begin
#5 $monitor("\nTime  : %1d\nselect: %3b\nresult: %8h", $time, select, result);
end


endmodule
module mux8x1_32bit_tb();


reg [2:0]  select;
reg [31:0] input1;
reg [31:0] input2;
reg [31:0] input3;
reg [31:0] input4;
reg [31:0] input5;
reg [31:0] input6;
reg [31:0] input7;
reg [31:0] input8;

wire [31:0] result;


mux8x1_32bit mux(input1, input2, input3, input4, input5, input6, input7, input8, select, result);


initial begin
input1 = 32'hFFFFFFFF; 
input2 = 32'hEEEEEEEE;
input3 = 32'hDDDDDDDD;
input4 = 32'hCCCCCCCC;
input5 = 32'hBBBBBBBB;
input6 = 32'hAAAAAAAA;
input7 = 32'h99999999;
input8 = 32'h88888888;

$monitor("Inputs(32 bit -> hexadecimal)\n------\n0) %8h \n1) %8h \n2) %8h \n3) %8h \n4) %8h \n5) %8h \n6) %8h \n7) %8h \n",
			input1,
			input2,
			input3,
			input4,
			input5,
			input6,
			input7,
			input8);

select = 3'b000;
#`DELAY
select = 3'b001;
#`DELAY
select = 3'b010;
#`DELAY
select = 3'b011;
#`DELAY
select = 3'b100;
#`DELAY
select = 3'b101;
#`DELAY
select = 3'b110;
#`DELAY
select = 3'b111;
end

initial begin
#5 $monitor("\nTime  : %1d\nselect: %3b\nresult: %8h", $time, select, result);
end


endmodule