← ProblemsVerification: Reading Simulations / Finding bugs in code

Mux4

36%debuggingmuxhierarchy

This 4-to-1 multiplexer is built from three instances of the provided (bug-free, do not modify) 2-to-1 multiplexer mux2. It should select a when sel is 0, b when 1, c when 2, and d when 3.

It doesn't work. Find and fix the bug(s) in top_module.