用连续赋值方式定义一个一位的 2 选 1 多路选择器的组合电路写出完整 module 程序。
module mux_2to1( input i0, input i1, input s, output reg out );
always @(*) begin out = s ? i1 : i0; end
endmodule
原文地址: https://www.cveoy.top/t/topic/crbi 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
module mux_2to1( input i0, input i1, input s, output reg out );
always @(*) begin out = s ? i1 : i0; end
endmodule
原文地址: https://www.cveoy.top/t/topic/crbi 著作权归作者所有。请勿转载和采集!