Mux
Selects one of two inputs:out = a when select = 0, and out = b when select = 1. Children: notSelect, pickA, pickB, combine.
With
a = b = 1 and select = "X", the output is "X", even though an ideal mux would output 1. The NAND network can’t prove the result, and the simulator doesn’t guess.Demux
Routesin to output a when select = 0, or to output b when select = 1. The unselected output is 0. Children: notSelect, toA, toB.