00:00:00.000 Turn a selector code into channel flags The decoder receives enable and a two-bit selector. It drives three channel flags. When a supported code is enabled, the flag for that channel goes high. The decoder has no data input. 00:00:16.583 Each hit bit has a channel number Channel zero uses the rightmost bit. Channel one uses the middle bit. Channel two uses the leftmost bit. Code three has no channel, so every flag is low. Disabling the decoder also yields all zeros. 00:00:35.542 Set a flag only for a supported selector Begin each combinational evaluation with all flags low. If enabled, the three supported cases assign three distinct masks. Code three takes the default branch and gives the all-zero result for this evaluation. 00:00:52.542 Changing the payload does not change the selected channel Observe the two blocks separately. Change the demux data from hex five two to zero while keeping enable and selector unchanged. The decoder still selects channel one. Turn enable off and its hit bit goes low.