全站数据
8 4 2 0 5 8 1

Verilog如何用持续赋值语句实现2选1多路选择器

造价工程师考试 | 简单学习,快乐成才!         
问题更新日期:2024-10-28 10:16:43

问题描述

Verilog如何用持续赋值语句实现2选1多路选择器急求答案,帮忙回答下
精选答案
最佳答案

持续赋值定义的2选1多路选择器 module MUX2_1(out,a,b,sel); input a, b, sel; output out; assign out = (sel==0) a:b; endmodule