3.1.3 多路复用器
这个4选1的多路复用器不能正常工作。请修复其中的错误(或问题)。
已提供一个无错误的2选1多路复用器供你使用:
模块定义如下:
module mux2 (
input sel,
input [7:0] a,
input [7:0] b,
output [7:0] out
);
模块声明
module top_module (
input [1:0] sel,
input [7:0] a,
input [7:0] b,
input [7:0] c,
input [7:0] d,
output [7:0] out );