data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v
1: b'%Error: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:9: Unsupported or unknown PLI call: $monitor\n$monitor($time,"  %b x %b = %b \\n",multiplicand[7:0],multiplier[7:0],answer[15:0]);\n^~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:10: 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/158984095/Homework2/Question3/HW2_3_tb.v:14: Unsupported: Ignoring delay on this delayed statement.\n# 40;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:18: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:22: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:26: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:30: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:34: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:38: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:42: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:46: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:50: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:53: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:56: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:59: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:62: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:65: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:68: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:71: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:74: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:77: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:80: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:83: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:86: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:89: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:92: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:95: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Warning-STMTDLY: data/full_repos/permissive/158984095/Homework2/Question3/HW2_3_tb.v:98: Unsupported: Ignoring delay on this delayed statement.\n# 50;\n^\n%Error: Exiting due to 1 error(s), 27 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module Top_testbench();

reg [7:0] multiplicand;
reg [7:0] multiplier;
wire [15:0] answer;
Top t1(multiplicand[7:0],multiplier[7:0],answer[15:0]);

initial begin
$monitor($time,"  %b x %b = %b \n",multiplicand[7:0],multiplier[7:0],answer[15:0]);
# 10;

multiplicand[7:0]= 8'b00000000;
multiplier[7:0]=8'b00000000;
# 40;

multiplicand[7:0]= 8'b00000001;
multiplier[7:0]=8'b01111111;
# 50;

multiplicand[7:0]= 8'b00000001;
multiplier[7:0]=8'b10000000;
# 50;

multiplicand[7:0]= 8'b01111111;
multiplier[7:0]=8'b00000001;
# 50;

multiplicand[7:0]= 8'b10000000;
multiplier[7:0]=8'b00000001;
# 50;

multiplicand[7:0]= 8'b01111111;
multiplier[7:0]=8'b01111111;
# 50;

multiplicand[7:0]= 8'b01111111;
multiplier[7:0]=8'b10000000;
# 50;

multiplicand[7:0]= 8'b10000000;
multiplier[7:0]=8'b01111111;
# 50;

multiplicand[7:0]= 8'b10000000;
multiplier[7:0]=8'b10000000;
# 50;

multiplicand[7:0]=8'b01010101;
multiplier[7:0]=8'b00000001;
# 50;
multiplicand[7:0]=8'b01010101;
multiplier[7:0]=8'b00000010;
# 50;
multiplicand[7:0]=8'b01010101;
multiplier[7:0]=8'b00000100;
# 50;
multiplicand[7:0]=8'b01010101;
multiplier[7:0]=8'b00001000;
# 50;
multiplicand[7:0]=8'b01010101;
multiplier[7:0]=8'b00010000;
# 50;
multiplicand[7:0]=8'b01010101;
multiplier[7:0]=8'b00100000;
# 50;
multiplicand[7:0]=8'b01110111;
multiplier[7:0]=8'b11000100;
# 50;
multiplicand[7:0]=8'b11110111;
multiplier[7:0]=8'b11000100;
# 50;
multiplicand[7:0]=8'b01111111;
multiplier[7:0]=8'b11000101;
# 50;
multiplicand[7:0]=8'b10000000;
multiplier[7:0]=8'b10000000;
# 50;
multiplicand[7:0]=8'b01000000;
multiplier[7:0]=8'b01000000;
# 50;
multiplicand[7:0]=8'b01000000;
multiplier[7:0]=8'b00100000;
# 50;
multiplicand[7:0]=8'b01000000;
multiplier[7:0]=8'b00010000;
# 50;
multiplicand[7:0]=8'b01000000;
multiplier[7:0]=8'b00001000;
# 50;
multiplicand[7:0]=8'b01000000;
multiplier[7:0]=8'b00000100;
# 50;
multiplicand[7:0]=8'b01000000;
multiplier[7:0]=8'b00000010;
# 50;
multiplicand[7:0]=8'b01000000;
multiplier[7:0]=8'b00000001;
# 50;

end
endmodule
module Top_testbench();


reg [7:0] multiplicand;
reg [7:0] multiplier;
wire [15:0] answer;
Top t1(multiplicand[7:0],multiplier[7:0],answer[15:0]);

initial begin
$monitor($time,"  %b x %b = %b \n",multiplicand[7:0],multiplier[7:0],answer[15:0]);
# 10;

multiplicand[7:0]= 8'b00000000;
multiplier[7:0]=8'b00000000;
# 40;

multiplicand[7:0]= 8'b00000001;
multiplier[7:0]=8'b01111111;
# 50;

multiplicand[7:0]= 8'b00000001;
multiplier[7:0]=8'b10000000;
# 50;

multiplicand[7:0]= 8'b01111111;
multiplier[7:0]=8'b00000001;
# 50;

multiplicand[7:0]= 8'b10000000;
multiplier[7:0]=8'b00000001;
# 50;

multiplicand[7:0]= 8'b01111111;
multiplier[7:0]=8'b01111111;
# 50;

multiplicand[7:0]= 8'b01111111;
multiplier[7:0]=8'b10000000;
# 50;

multiplicand[7:0]= 8'b10000000;
multiplier[7:0]=8'b01111111;
# 50;

multiplicand[7:0]= 8'b10000000;
multiplier[7:0]=8'b10000000;
# 50;

multiplicand[7:0]=8'b01010101;
multiplier[7:0]=8'b00000001;
# 50;
multiplicand[7:0]=8'b01010101;
multiplier[7:0]=8'b00000010;
# 50;
multiplicand[7:0]=8'b01010101;
multiplier[7:0]=8'b00000100;
# 50;
multiplicand[7:0]=8'b01010101;
multiplier[7:0]=8'b00001000;
# 50;
multiplicand[7:0]=8'b01010101;
multiplier[7:0]=8'b00010000;
# 50;
multiplicand[7:0]=8'b01010101;
multiplier[7:0]=8'b00100000;
# 50;
multiplicand[7:0]=8'b01110111;
multiplier[7:0]=8'b11000100;
# 50;
multiplicand[7:0]=8'b11110111;
multiplier[7:0]=8'b11000100;
# 50;
multiplicand[7:0]=8'b01111111;
multiplier[7:0]=8'b11000101;
# 50;
multiplicand[7:0]=8'b10000000;
multiplier[7:0]=8'b10000000;
# 50;
multiplicand[7:0]=8'b01000000;
multiplier[7:0]=8'b01000000;
# 50;
multiplicand[7:0]=8'b01000000;
multiplier[7:0]=8'b00100000;
# 50;
multiplicand[7:0]=8'b01000000;
multiplier[7:0]=8'b00010000;
# 50;
multiplicand[7:0]=8'b01000000;
multiplier[7:0]=8'b00001000;
# 50;
multiplicand[7:0]=8'b01000000;
multiplier[7:0]=8'b00000100;
# 50;
multiplicand[7:0]=8'b01000000;
multiplier[7:0]=8'b00000010;
# 50;
multiplicand[7:0]=8'b01000000;
multiplier[7:0]=8'b00000001;
# 50;

end
endmodule