|
CHIP Mux16 {
IN a[16], b[16], sel;
OUT out[16];
PARTS:
// Put your code here:
Not(in=sel,out=Nsel);
And16(a=a[15] , b=Nsel, out=out1);
and16[a=b[15] , b=sel , out=out2);
Or16(a=out1 , b= out2 , out=out);
}
would like to know if its a right way to build this chip, i've seen the the suggested and correct way is using the mux chip we build earlier 16 times (0...15) but can i stick with my way as well?
thanks for the answers
|