data/full_repos/permissive/478063538/priority_encoder.v
data/verilator_xmls/6d9e5d0c-6267-48cf-b0a7-00b24dd78d5c.xml
module priority_encoder (
	input a, b, c, d, w, x, y, z,
	output j
);

	assign j = (a == 1) ? w :
					(b == 1) ? x :
					(c == 1) ? y :
					(d == 1) ? z : 0;

endmodule
module priority_encoder (
	input a, b, c, d, w, x, y, z,
	output j
);


	assign j = (a == 1) ? w :
					(b == 1) ? x :
					(c == 1) ? y :
					(d == 1) ? z : 0;

endmodule