aboutsummaryrefslogtreecommitdiffstats
path: root/1-a.v
blob: 15e3c7c64bc6089742932a19c601700a758060cf (plain)
1
2
3
4
5
module m_a(input x1, x2, x3, output z1, z2);
	assign z1 = (~x1 & ((x2 | x3) & (~x2 | ~x3))) | (x1 & (~x2 | x3));
	assign z2 = (~x1 & x2 & x3) | (x1 & (x2 | x3));
endmodule