data/full_repos/permissive/42149584/HammingCodes/NewHammingEncoder.v
data/verilator_xmls/5e1a8671-d2e7-4f7c-ae5b-544c1212b326.xml
module NewHammingEncoder(data, code);
	input [3:0] data;
	output [6:0] code;
	assign code = { data, data[1]^data[2]^data[3], data[0]^data[2]^data[3], data[0]^data[1]^data[3] };
endmodule
module NewHammingEncoder(data, code);

	input [3:0] data;
	output [6:0] code;
	assign code = { data, data[1]^data[2]^data[3], data[0]^data[2]^data[3], data[0]^data[1]^data[3] };
endmodule