📄 4_alu.v
字号:
module alu(a,b,c0,S1,S0,M,f,cout);input [3:0] a;input [3:0] b;input c0;input S1,S0,M;output [3:0] f;output cout;wire [3:0] a,b;wire c0,S1,S0,M; wire [3:0] f;wire cout;wire [3:0] g,h;log logic1(a,b,S1,S0,h);arithmetic arithmetic1(a,b,c0,S1,S0,g,cout);mux mux1(a,b,f,g,h,M);endmodule
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -