Re: Mux4way16 problem

Posted by Idrisadeniyi on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Mux4way16-problem-tp4035690p4035695.html

I appreciate your thorough explanation. It's very helpful and filled with much insight. I will ensure I do what you ask for.

To proceed, below is the Mux8Way16 cmp and out excerpts. Now at line 14.

Instead of matching up with e input pin when sel=100 it's matching with a input.

Mux8Way16 .cmp line 13 and 14

              a                               b                             c                              d
| 0001001000110100 | 0010001101000101 | 0011010001010110 | 0100010101100111
| 0001001000110100 | 0010001101000101 | 0011010001010110 | 0100010101100111
              e                               f                              g                              h                     sel
|0101011001111000 | 0110011110001001 | 0111100010011010 | 1000100110101011 |  011  |
|0101011001111000 | 0110011110001001 | 0111100010011010 | 1000100110101011 |  100  |
          out
0100010101100111 |
0101011001111000 |

Mux8Way16 .out
             
               a                                b                             c                               d
| 0001001000110100 | 0010001101000101 | 0011010001010110 | 0100010101100111 |
| 0001001000110100 | 0010001101000101 | 0011010001010110 | 0100010101100111 |
              e                                 f                              g                               h                 sel
0101011001111000 | 0110011110001001 | 0111100010011010 | 1000100110101011 |  011  |
0101011001111000 | 0110011110001001 | 0111100010011010 | 1000100110101011 |  100  |
             out
 0100010101100111 |
 0001001000110100 |

Thanks for your help.