- 博客(1)
- 收藏
- 关注
原创 verilog 用逻辑门实现四选一数据选择器
首先看看用逻辑功能直接实现的四选一数据选择器语句如下:module sxy( a,b,c,d,s1,s0,y ); input a ; input b ; input c ; input d ; input s1 ; input s0 ; output y ; reg y ;always @(*)begin case ({s1,s0}) 2'b00: y <= a; 2'b01: y <= b; 2'b10: y <= c; 2'
2021-10-18 22:31:09 8386 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人