Draft preview. Lessons are being written and reviewed.

Verilog practice / Problem 3

EasyCombinational

4-to-1 multiplexer

sel picks one of four 4-bit inputs: 0 picks d0, 1 picks d1, 2 picks d2 and 3 picks d3.

Ports

NameDirectionBits
d0input4
d1input4
d2input4
d3input4
selinput2
youtput4

How it's checked

The test tries the input combinations and checks every output for each one.

Stuck? Read the lesson Multiplexers.

mux4.vCtrl + Enter runs