mux21_5test.v
来自「关于verilog的各个基本模块的源代码」· Verilog 代码 · 共 19 行
V
19 行
module mux21_5test;
reg [4:0]pcout,aluout;
reg selldst;
wire [4:0] address;
mux21_5 mux2(address,pcout,aluout,selldst);
initial
begin
#50 pcout=5'b00101;
aluout=5'b11010;
#50 selldst=0;
#50 selldst=1;
#200 $stop;
end
endmodule
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?