📄 multcell.v
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -