multcell.v
来自「64位乘法器源码verilog,经过验证测试」· Verilog 代码 · 共 13 行
V
13 行
module multcell(part,x,y,cin,s,cout);
input part; /* result from cell above */
input x; /* a bit to multiply */
input y; /* b bit to multiply */
input cin; /* carry in */
output s; /* sum */
output cout; /* carryout */
wire andbits;
assign andbits = x & y; /* generate the product of two input bits */
fulladd add0(part,andbits,cin,s,cout); /* perform the addition */
endmodule
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?