HDLbits
Browse Problems

Verification/Reading Simulations

Find the Bug: 2-to-1 Mux

easy
debuggingmultiplexer

The observed circuit selects the wrong input for each selector value. Correct the mux so sel=0 routes a and sel=1 routes b.