How do I combine 2 sperate bits in a 2bit input
Posted by Malco on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/How-do-I-combine-2-sperate-bits-in-a-2bit-input-tp3593549.html
I'm writing the ALU and I'm stuck into an HDL syntax doubt.
So I want to use a 4 way 16 bit multiplexer and feed nx and zx into sel[2]. How do I achieve that?
Mux4Way16(a=a,b=b,c=c,d=d,sel=??????,out=out);
how do I squeeze two bits from different origins there?