Login  Register

Re: Mux4Way16

Posted by WBahn on May 09, 2024; 5:14am
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Mux4Way16-tp4037818p4037819.html

The first thing that caught my eye was this:

And(a=sel[0], b=sel[0], out= outand1);

What purpose is this supposed to serve?

Describe your intended approach.

One way to visualize things is that you have a cereal dispenser that has four funnels at the top being fed with different cereals. At the bottom you have a single output to dump the chosen cereal into a bowl. You have two lights on the wall that will tell you which of the four funnels should be routed to the bowl. You can use in your construction a bunch of valves the each have to input pipes and one output pipe and a switch that chooses which input pipe is connected to which output pipe.

Draw a picture of how you could connect up the valves so that, based just on the two lights, you can set the switches on the valves so that the desired cereal is sent to the bowl.