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

📄 id.v

📁 arm9_fpga2_verilog是一个可以综合的用verilog写的arm9的ip软核
💻 V
📖 第 1 页 / 共 4 页
字号:
                    end                                      8'h1F: begin                        if ((ir[11:4] & 8'h09) == 8'h09)                            inst_type = `LDRH;                        else                            inst_type = `ALU;                    end                                      8'h20: inst_type = `ALU;                                      8'h21: inst_type = `ALU;                                      8'h22: inst_type = `ALU;            8'h23: inst_type = `ALU;            8'h24: inst_type = `ALU;                                        8'h25: inst_type = `ALU;                            8'h26: inst_type = `ALU;                            8'h27: inst_type = `ALU;                            8'h28: inst_type = `ALU;            8'h29: inst_type = `ALU;            8'h2A: inst_type = `ALU;            8'h2B: inst_type = `ALU;            8'h2C: inst_type = `ALU;            8'h2D: inst_type = `ALU;            8'h2E: inst_type = `ALU;            8'h2F: inst_type = `ALU;            8'h30: inst_type = `ALU;            8'h31: inst_type = `ALU;                            8'h32: begin                        if ((Rd == 4'hF)&&(ir[18:17] == 2'b0))                            inst_type = `MSR;                        else                               inst_type = `ALU;                    end                            8'h33: inst_type = `ALU;                            8'h34: inst_type = `ALU;            8'h35: inst_type = `ALU;                            8'h36: begin                        if ((Rd == 4'hF)&&(ir[18:17] == 2'b0))                            inst_type = `MSR;                        else                            inst_type = `ALU;                    end                                8'h37: inst_type = `ALU;                                8'h38: inst_type = `ALU;            8'h39: inst_type = `ALU;                            8'h3A: inst_type = `ALU;            8'h3B: inst_type = `ALU;            8'h3C: inst_type = `ALU;            8'h3D: inst_type = `ALU;            8'h3E: inst_type = `ALU;            8'h3F: inst_type = `ALU;            8'h40: inst_type = `STRW;            8'h41: inst_type = `LDRW;            8'h42: inst_type = `STRW;            8'h43: inst_type = `LDRW;            8'h44: inst_type = `STRW;            8'h45: inst_type = `LDRW;            8'h46: inst_type = `STRW;            8'h47: inst_type = `LDRW;            8'h48: inst_type = `STRW;            8'h49: inst_type = `LDRW;            8'h4A: inst_type = `STRW;            8'h4B: inst_type = `LDRW;            8'h4C: inst_type = `STRW;            8'h4D: inst_type = `LDRW;            8'h4E: inst_type = `STRW;            8'h4F: inst_type = `LDRW;            8'h50: inst_type = `STRW;            8'h51: inst_type = `LDRW;            8'h52: inst_type = `STRW;            8'h53: inst_type = `LDRW;            8'h54: inst_type = `STRW;            8'h55: inst_type = `LDRW;            8'h56: inst_type = `STRW;            8'h57: inst_type = `LDRW;                            8'h58: inst_type = `STRW;                            8'h59: inst_type = `LDRW;                            8'h5A: inst_type = `STRW;                            8'h5B: inst_type = `LDRW;                            8'h5C: inst_type = `STRW;                            8'h5D: inst_type = `LDRW;                            8'h5E: inst_type = `STRW;                            8'h5F: inst_type = `LDRW;                            8'h60: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `STRW;                      end                    8'h61: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `LDRW;                      end                            8'h62: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `STRW;                   end                            8'h63: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `LDRW;                   end                                8'h64: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `STRW;                   end                                8'h65: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `LDRW;                   end                                8'h66: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `STRW;                   end                                8'h67: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `LDRW;                   end                                8'h68: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `STRW;                   end                                8'h69: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `LDRW;                   end                                8'h6A: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `STRW;                   end                                8'h6B: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `LDRW;                   end                                8'h6C: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `STRW;                   end                                8'h6D: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `LDRW;                   end                                8'h6E: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `STRW;                   end                                8'h6F: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `LDRW;                   end                                8'h70: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `STRW;                   end                                8'h71: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `LDRW;                   end                               8'h72: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `STRW;                   end                                8'h73: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `LDRW;                   end                                8'h74: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `STRW;                   end                                8'h75: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `LDRW;                   end                                8'h76: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `STRW;                   end                                8'h77: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `LDRW;                   end                                8'h78: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `STRW;                   end                                8'h79: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `LDRW;                   end                                8'h7A: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `STRW;                   end                                8'h7B: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `LDRW;                   end                                8'h7C: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `STRW;                   end                                8'h7D: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `LDRW;                   end                                8'h7E: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `STRW;                   end                                8'h7F: begin                    if (ir[4] == 1'b1)                        inst_type = `UND;                    else                        inst_type = `LDRW;                   end                                8'h80: inst_type = `STM;                                    8'h81: inst_type = `LDM;                                    8'h82: inst_type = `STM;                                8'h83: inst_type = `LDM;                                    8'h84: inst_type = `STM;                                    8'h85: inst_type = `LDM;                            8'h86: inst_type = `STM;                            8'h87: inst_type = `LDM;                            8'h88: inst_type = `STM;                    8'h89: inst_type = `LDM;                            8'h8A: inst_type = `STM;                            8'h8B: inst_type = `LDM;                            8'h8C: inst_type = `STM;                            8'h8D: inst_type = `LDM;            8'h8E: inst_type = `STM;                            8'h8F: inst_type = `LDM;                            8'h90: inst_type = `STM;                            8'h91: inst_type = `LDM;                            8'h92: inst_type = `STM;            8'h93: inst_type = `LDM;            8'h94: inst_type = `STM;            8'h95: inst_type = `LDM;                            8'h96: inst_type = `STM;                            8'h97: inst_type = `LDM;                            8'h98: inst_type = `STM;                            8'h99: inst_type = `LDM;                    8'h9A: inst_type = `STM;                            8'h9B: inst_type = `LDM;                            8'h9C: inst_type = `STM;                            8'h9D: inst_type = `LDM;                            8'h9E: inst_type = `STM;            8'h9F: inst_type = `LDM;                            8'hA0, 8'hA1, 8'hA2, 8'hA3,            8'hA4, 8'hA5, 8'hA6, 8'hA7: inst_type = `BR;                              8'hA8, 8'hA9, 8'hAA, 8'hAB,            8'hAC, 8'hAD, 8'hAE, 8'hAF: inst_type = `BR;            8'hB0, 8'hB1, 8'hB2, 8'hB3,            8'hB4, 8'hB5, 8'hB6, 8'hB7: inst_type = `BR;                            8'hB8, 8'hB9, 8'hBA, 8'hBB,            8'hBC, 8'hBD, 8'hBE, 8'hBF: inst_type = `BR;                    8'hC0, 8'hC1, 8'hC2, 8'hC3,            8'hC4, 8'hC5, 8'hC6, 8'hC7,            8'hC8, 8'hC9, 8'hCA, 8'hCB,            8'hCC, 8'hCD, 8'hCE, 8'hCF,            8'hD0, 8'hD1, 8'hD2, 8'hD3,            8'hD4, 8'hD5, 8'hD6, 8'hD7,            8'hD8, 8'hD9, 8'hDA, 8'hDB,            8'hDC, 8'hDD, 8'hDE, 8'hDF,            8'hE0, 8'hE1, 8'hE2, 8'hE3,            8'hE4, 8'hE5, 8'hE6, 8'hE7,            8'hE8, 8'hE9, 8'hEA, 8'hEB,            8'hEC, 8'hED, 8'hEE, 8'hEF: inst_type = `COP;                            8'hF0, 8'hF1, 8'hF2, 8'hF3,            8'hF4, 8'hF5, 8'hF6, 8'hF7,            8'hF8, 8'hF9, 8'hFA, 8'hFB,            8'hFC, 8'hFD, 8'hFE, 8'hFF: inst_type = `SWI;        endcase    endendmodule

⌨️ 快捷键说明

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