data/full_repos/permissive/450205124/Assignment1/Q1-Eight-Bit-Ripple-Carry-Adder/A1Q1_eight_bit_adder_tb.v
1: b'%Error: data/full_repos/permissive/450205124/Assignment1/Q1-Eight-Bit-Ripple-Carry-Adder/A1Q1_eight_bit_adder_tb.v:1: Cannot find include file: ./A1Q1_eight_bit_ripple_carry_adder.v\n`include "./A1Q1_eight_bit_ripple_carry_adder.v" \n         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/450205124/Assignment1/Q1-Eight-Bit-Ripple-Carry-Adder,data/full_repos/permissive/450205124/./A1Q1_eight_bit_ripple_carry_adder.v\n             data/full_repos/permissive/450205124/Assignment1/Q1-Eight-Bit-Ripple-Carry-Adder,data/full_repos/permissive/450205124/./A1Q1_eight_bit_ripple_carry_adder.v.v\n             data/full_repos/permissive/450205124/Assignment1/Q1-Eight-Bit-Ripple-Carry-Adder,data/full_repos/permissive/450205124/./A1Q1_eight_bit_ripple_carry_adder.v.sv\n             ./A1Q1_eight_bit_ripple_carry_adder.v\n             ./A1Q1_eight_bit_ripple_carry_adder.v.v\n             ./A1Q1_eight_bit_ripple_carry_adder.v.sv\n             obj_dir/./A1Q1_eight_bit_ripple_carry_adder.v\n             obj_dir/./A1Q1_eight_bit_ripple_carry_adder.v.v\n             obj_dir/./A1Q1_eight_bit_ripple_carry_adder.v.sv\n%Error: data/full_repos/permissive/450205124/Assignment1/Q1-Eight-Bit-Ripple-Carry-Adder/A1Q1_eight_bit_adder_tb.v:16: Unsupported or unknown PLI call: $monitor\n  $monitor("Time: %4d, %d + %d + %d = %d, cout: %d", $time, a, b, cin, sum, cout);\n  ^~~~~~~~\n%Error: data/full_repos/permissive/450205124/Assignment1/Q1-Eight-Bit-Ripple-Carry-Adder/A1Q1_eight_bit_adder_tb.v:19: Unsupported or unknown PLI call: $urandom\n   a = $urandom % 256; b = $urandom % 256; cin = $urandom % 2;\n       ^~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/450205124/Assignment1/Q1-Eight-Bit-Ripple-Carry-Adder/A1Q1_eight_bit_adder_tb.v:18: Unsupported: Ignoring delay on this delayed statement.\n   #5\n   ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/450205124/Assignment1/Q1-Eight-Bit-Ripple-Carry-Adder/A1Q1_eight_bit_adder_tb.v:19: Unsupported or unknown PLI call: $urandom\n   a = $urandom % 256; b = $urandom % 256; cin = $urandom % 2;\n                           ^~~~~~~~\n%Error: data/full_repos/permissive/450205124/Assignment1/Q1-Eight-Bit-Ripple-Carry-Adder/A1Q1_eight_bit_adder_tb.v:19: Unsupported or unknown PLI call: $urandom\n   a = $urandom % 256; b = $urandom % 256; cin = $urandom % 2;\n                                                 ^~~~~~~~\n%Error: Exiting due to 5 error(s), 1 warning(s)\n'
module eight_bit_adder_tb();

	reg [7:0] a;
	reg [7:0] b;
	reg cin;

	wire [7:0] sum;
	wire cout;

	eight_bit_ripple_carry_adder EBA (sum, cout, a, b, cin); 

	initial begin

		$monitor("Time: %4d, %d + %d + %d = %d, cout: %d", $time, a, b, cin, sum, cout);
		repeat(15) begin
			#5
			a = $urandom % 256; b = $urandom % 256; cin = $urandom % 2;
		end
	end
endmodule
module eight_bit_adder_tb();


	reg [7:0] a;
	reg [7:0] b;
	reg cin;

	wire [7:0] sum;
	wire cout;

	eight_bit_ripple_carry_adder EBA (sum, cout, a, b, cin); 

	initial begin

		$monitor("Time: %4d, %d + %d + %d = %d, cout: %d", $time, a, b, cin, sum, cout);
		repeat(15) begin
			#5
			a = $urandom % 256; b = $urandom % 256; cin = $urandom % 2;
		end
	end
endmodule