Login  Register

Re: DMUX4WAY

Posted by jayjay on Apr 12, 2020; 5:41am
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/DMUX4WAY-tp4034403p4034405.html

I have read and re-read but it doesn't make sense to me why the selector has to begin
with 1 in the first Dmux.
Let me explain what I think I understand and maybe you can tell me where I am going wrong.
I understand that there are 3 selectors as per the 3 Dmux chips we are using here
to build the Dmux4Way(each of my Dmux chips have 2 inputs being in,and sel as well as 1 output).
I would figure we could call/label the Dmux`s selectors  "sel" and then assign them numbers 0,1,and 2
being that there are 3 selectors.If I did name them as such I would do so in order and end up with
something like;
Dmux(in=in, sel[0]=sel[0], a=c1, b=c2);
Dmux(in=c1, sel[1]=sel[1], a=a, b=b);
Dmux(in=c2, sel[2]=sel[1], a=c, b=d);