⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 instructiontest.v

📁 簡易MIPS CPU程式碼 此CPU包含 shift add sub and or stl beq lw sw 等功能
💻 V
字号:
module SimI;reg clk, IRWrite;reg [31:0] instr;wire [5:0] opcode, funct;wire [4:0] rs, rt, rd, shamt;wire [15:0] immed;wire [25:0] jumpoffset;instruction ST (opcode, rs, rt, rd, shamt, funct, immed, jumpoffset, clk, instr, IRWrite);initialbegin    clk = 1'b0;    IRWrite = 1'b0;    instr = {6'd35, 5'd0, 5'd4, 16'd0};    #50 IRWrite = 1'b1;    #100 IRWrite = 1'b0;endalways #50 clk = ~clk;endmodule

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -