data/full_repos/permissive/42581625/PersonalComputer/AluControl.v
data/verilator_xmls/d643d282-daf3-4863-864d-32e0271da87f.xml
module AluControl(
input[1:0] op,
input[5:0] Func,
output[2:0] operation
	);
assign operation = 
	(op[1] == 0)? {op[0],2'b10}:(
		(Func[5:2]==4'b1000)? {Func[1],2'b10}:(
			(Func[5:1]==5'b10010)? {2'b00,Func[0]}:(
				(Func[5:0]==6'b101010)? 3'b111 : 3'b011
			)
		)
	);

endmodule
module AluControl(
input[1:0] op,
input[5:0] Func,
output[2:0] operation
	);

assign operation = 
	(op[1] == 0)? {op[0],2'b10}:(
		(Func[5:2]==4'b1000)? {Func[1],2'b10}:(
			(Func[5:1]==5'b10010)? {2'b00,Func[0]}:(
				(Func[5:0]==6'b101010)? 3'b111 : 3'b011
			)
		)
	);

endmodule