data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v:13: Unsupported: Ignoring delay on this delayed statement.\n ReceivedHammingCode = 7\'b0000000; #5;  \n                                   ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v:14: Unsupported: Ignoring delay on this delayed statement.\n ReceivedHammingCode = 7\'b0001011; #5;  \n                                   ^\n%Warning-STMTDLY: data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v:15: Unsupported: Ignoring delay on this delayed statement.\n ReceivedHammingCode = 7\'b0010101; #5;  \n                                   ^\n%Warning-STMTDLY: data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v:16: Unsupported: Ignoring delay on this delayed statement.\n ReceivedHammingCode = 7\'b0011110; #5;  \n                                   ^\n%Warning-STMTDLY: data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v:17: Unsupported: Ignoring delay on this delayed statement.\n ReceivedHammingCode = 7\'b0100110; #5;  \n                                   ^\n%Warning-STMTDLY: data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v:18: Unsupported: Ignoring delay on this delayed statement.\n ReceivedHammingCode = 7\'b0101101; #5;  \n                                   ^\n%Warning-STMTDLY: data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v:19: Unsupported: Ignoring delay on this delayed statement.\n ReceivedHammingCode = 7\'b0110011; #5;  \n                                   ^\n%Warning-STMTDLY: data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v:20: Unsupported: Ignoring delay on this delayed statement.\n ReceivedHammingCode = 7\'b0111000; #5;  \n                                   ^\n%Warning-STMTDLY: data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v:21: Unsupported: Ignoring delay on this delayed statement.\n ReceivedHammingCode = 7\'b1000111; #5;  \n                                   ^\n%Warning-STMTDLY: data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v:22: Unsupported: Ignoring delay on this delayed statement.\n ReceivedHammingCode = 7\'b1001100; #5;  \n                                   ^\n%Warning-STMTDLY: data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v:23: Unsupported: Ignoring delay on this delayed statement.\n ReceivedHammingCode = 7\'b1010010; #5;  \n                                   ^\n%Warning-STMTDLY: data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v:24: Unsupported: Ignoring delay on this delayed statement.\n ReceivedHammingCode = 7\'b1011001; #5;  \n                                   ^\n%Warning-STMTDLY: data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v:25: Unsupported: Ignoring delay on this delayed statement.\n ReceivedHammingCode = 7\'b1100001; #5;  \n                                   ^\n%Warning-STMTDLY: data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v:26: Unsupported: Ignoring delay on this delayed statement.\n ReceivedHammingCode = 7\'b1101010; #7;  \n                                   ^\n%Warning-STMTDLY: data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v:27: Unsupported: Ignoring delay on this delayed statement.\n ReceivedHammingCode = 7\'b1110100; #7;  \n                                   ^\n%Warning-STMTDLY: data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v:28: Unsupported: Ignoring delay on this delayed statement.\n ReceivedHammingCode = 7\'b1111111; #10;  \n                                   ^\n%Warning-STMTDLY: data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v:29: Unsupported: Ignoring delay on this delayed statement.\n ReceivedHammingCode = 7\'b1010100; #7;  \n                                   ^\n%Error: data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v:30: Unsupported or unknown PLI call: $monitor\n $monitor ("Number 14 with bit 6 in error.");\n ^~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v:31: Unsupported: Ignoring delay on this delayed statement.\n ReceivedHammingCode = 7\'b1001111; #7;  \n                                   ^\n%Warning-STMTDLY: data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v:32: Unsupported: Ignoring delay on this delayed statement.\n ReceivedHammingCode = 7\'b0011111; #7;  \n                                   ^\n%Warning-STMTDLY: data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v:33: Unsupported: Ignoring delay on this delayed statement.\n ReceivedHammingCode = 7\'b0111100; #7;  \n                                   ^\n%Warning-STMTDLY: data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v:34: Unsupported: Ignoring delay on this delayed statement.\n ReceivedHammingCode = 7\'b0001101; #7;  \n                                   ^\n%Warning-STMTDLY: data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v:35: Unsupported: Ignoring delay on this delayed statement.\n ReceivedHammingCode = 7\'b0100101; #7;  \n                                   ^\n%Warning-STMTDLY: data/full_repos/permissive/42149584/HammingCodes/HammingDecoderTest.v:36: Unsupported: Ignoring delay on this delayed statement.\n ReceivedHammingCode = 7\'b0101111; #7;  \n                                   ^\n%Error: Exiting due to 1 error(s), 23 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module HammingDecoderTest;
	reg [6:0] ReceivedHammingCode;
	wire [3:0] DecodedWord;
	wire [3:0] DecodedWord2;

	HammingDecoder DUT1 (ReceivedHammingCode, DecodedWord);
	NewHammingDecoder DUT2 (ReceivedHammingCode, DecodedWord2);
	
	wire [2:0] syndrome = DUT1.syndrome;

	initial begin
	ReceivedHammingCode = 7'b0000000; #5;
	ReceivedHammingCode = 7'b0001011; #5;
	ReceivedHammingCode = 7'b0010101; #5;
	ReceivedHammingCode = 7'b0011110; #5;
	ReceivedHammingCode = 7'b0100110; #5;
	ReceivedHammingCode = 7'b0101101; #5;
	ReceivedHammingCode = 7'b0110011; #5;
	ReceivedHammingCode = 7'b0111000; #5;
	ReceivedHammingCode = 7'b1000111; #5;
	ReceivedHammingCode = 7'b1001100; #5;
	ReceivedHammingCode = 7'b1010010; #5;
	ReceivedHammingCode = 7'b1011001; #5;
	ReceivedHammingCode = 7'b1100001; #5;
	ReceivedHammingCode = 7'b1101010; #7;
	ReceivedHammingCode = 7'b1110100; #7;
	ReceivedHammingCode = 7'b1111111; #10;
	ReceivedHammingCode = 7'b1010100; #7;
	$monitor ("Number 14 with bit 6 in error.");
	ReceivedHammingCode = 7'b1001111; #7;
	ReceivedHammingCode = 7'b0011111; #7;
	ReceivedHammingCode = 7'b0111100; #7;
	ReceivedHammingCode = 7'b0001101; #7;
	ReceivedHammingCode = 7'b0100101; #7;
	ReceivedHammingCode = 7'b0101111; #7;
	$stop;
	end   
endmodule
module HammingDecoderTest;

	reg [6:0] ReceivedHammingCode;
	wire [3:0] DecodedWord;
	wire [3:0] DecodedWord2;

	HammingDecoder DUT1 (ReceivedHammingCode, DecodedWord);
	NewHammingDecoder DUT2 (ReceivedHammingCode, DecodedWord2);
	
	wire [2:0] syndrome = DUT1.syndrome;

	initial begin
	ReceivedHammingCode = 7'b0000000; #5;
	ReceivedHammingCode = 7'b0001011; #5;
	ReceivedHammingCode = 7'b0010101; #5;
	ReceivedHammingCode = 7'b0011110; #5;
	ReceivedHammingCode = 7'b0100110; #5;
	ReceivedHammingCode = 7'b0101101; #5;
	ReceivedHammingCode = 7'b0110011; #5;
	ReceivedHammingCode = 7'b0111000; #5;
	ReceivedHammingCode = 7'b1000111; #5;
	ReceivedHammingCode = 7'b1001100; #5;
	ReceivedHammingCode = 7'b1010010; #5;
	ReceivedHammingCode = 7'b1011001; #5;
	ReceivedHammingCode = 7'b1100001; #5;
	ReceivedHammingCode = 7'b1101010; #7;
	ReceivedHammingCode = 7'b1110100; #7;
	ReceivedHammingCode = 7'b1111111; #10;
	ReceivedHammingCode = 7'b1010100; #7;
	$monitor ("Number 14 with bit 6 in error.");
	ReceivedHammingCode = 7'b1001111; #7;
	ReceivedHammingCode = 7'b0011111; #7;
	ReceivedHammingCode = 7'b0111100; #7;
	ReceivedHammingCode = 7'b0001101; #7;
	ReceivedHammingCode = 7'b0100101; #7;
	ReceivedHammingCode = 7'b0101111; #7;
	$stop;
	end   
endmodule