data/full_repos/permissive/488581216/Fredkin.v
data/verilator_xmls/a706b84f-23c3-4ccc-871a-5950ad64198d.xml
module Fredkin(
	output P,
	output Q,
	output R,
	input A,
	input B,
	input C
		
);

	assign P = (A & C) | (B & ~C);
	assign Q = (A & ~C) | (B & C);
	assign R = C;
 	
endmodule
module Fredkin(
	output P,
	output Q,
	output R,
	input A,
	input B,
	input C
		
);


	assign P = (A & C) | (B & ~C);
	assign Q = (A & ~C) | (B & C);
	assign R = C;
 	
endmodule