DigiFlop

Eight inputs, three select bits, one clean line of Verilog.

Verilog Coding Exercise · Combinational II
8:1 Multiplexer
Eight inputs, three select bits, one clean line of Verilog.

Selects one of eight inputs. In Verilog this collapses to a single indexed expression — a good example of how vector indexing replaces a wall of AND/OR gates.

▶ Try the interactive version