Re: Nand is not found?!

Posted by FourKings on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Nand-is-not-found-tp4027438p4028016.html

Thanks, Mark! Thats exactly what Im looking for!

However, here's another question:

I just done building DMux4Way chip and this is my output
in sel a b c d
0 00 0 0 0 0
0 01 0 0 0 0
0 10 0 0 0 0
0 11 0 0 0 0
1 00 1 0 0 0
1 01 0 0 1 0
1 10 0 1 0 0
1 11 0 0 0 1

As you can see i have a comparison failure at line 6 and 7.

Here is the header of my chip:
CHIP DMux4Way {
    IN in, sel[2];
    OUT a, b, c, d;
PARTS:
//
}

It turns out that I have a misunderstanding of of how values of sel are assigned to sel[0] and sel[1],

As the above table suggested in line 6,  in=1, sel=01, does it mean sel[0]=0, sel[1]=1?

Thank you very much for your patience and time!