data/full_repos/permissive/42149584/MultiplicationUnit/SN74157.v
data/verilator_xmls/e71b6ad9-218f-42c8-9ba6-46089c858c1e.xml
module SN74157(A1,A0,B1,B0,C1,C0,D1,D0,EN,SEL,QA,QB,QC,QD);
	input A1, A0, B1, B0, C1, C0, D1, D0;
	input EN, SEL;
	output QA, QB, QC, QD;
	assign QA = SEL == 1'b1 ? A1 : A0;
	assign QB = SEL == 1'b1 ? B1 : B0;
	assign QC = SEL == 1'b1 ? C1 : C0;
	assign QD = SEL == 1'b1 ? D1 : D0;
endmodule
module SN74157(A1,A0,B1,B0,C1,C0,D1,D0,EN,SEL,QA,QB,QC,QD);

	input A1, A0, B1, B0, C1, C0, D1, D0;
	input EN, SEL;
	output QA, QB, QC, QD;
	assign QA = SEL == 1'b1 ? A1 : A0;
	assign QB = SEL == 1'b1 ? B1 : B0;
	assign QC = SEL == 1'b1 ? C1 : C0;
	assign QD = SEL == 1'b1 ? D1 : D0;
endmodule