- 博客(54)
- 收藏
- 关注
原创 HDLbits 刷题答案 3.1.3 Arithmetic Circuits
3.1.3 Arithmetic Circuits3.1.3.1 Haddmodule top_module( input a, b, output cout, sum ); assign {cout,sum} = a + b;endmodule3.1.3.2 Faddmodule top_module( input a, b, cin, output cout, sum ); assign {cout,sum} = a + b + ci
2021-03-15 14:59:18
257
原创 HDLbits 刷题答案 3.1.2 Multiplexers
3.1.2 Multiplexers3.1.2.1 2-to-1 multiplexermodule top_module( input a, b, sel, output out ); assign out = sel ? b : a;endmodule3.1.2.2 2-to-1 bus multiplexermodule top_module( input [99:0] a, b, input sel, output [99:0]
2021-03-10 16:12:33
269
原创 HDLbits答案刷题记录1
3.1.1 Basic gates3.1.1.8 Truth table组合逻辑电路中输出仅仅是其输入的函数(在数学意义上)module top_module( input x3, input x2, input x1, // three inputs output f // one output); assign f = (x3 & x1) | (x2 & x1) | ((~x3) & x2);endmodule3.
2021-03-09 17:06:28
443
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅