mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 04:47:25 -04:00
Fix instruction tracing, removed collision between custom* and our opcodes
This commit is contained in:
parent
4e02286710
commit
116379e098
2 changed files with 8 additions and 6 deletions
|
@ -52,8 +52,10 @@
|
|||
`define OPCODE_JAL 7'h6f
|
||||
`define OPCODE_AUIPC 7'h17
|
||||
`define OPCODE_LUI 7'h37
|
||||
`define OPCODE_CUST0 7'h0b
|
||||
`define OPCODE_CUST1 7'h2b
|
||||
|
||||
// those opcodes are now used for PULP custom instructions
|
||||
// `define OPCODE_CUST0 7'h0b
|
||||
// `define OPCODE_CUST1 7'h2b
|
||||
|
||||
// PULP custom
|
||||
`define OPCODE_LOAD_POST 7'h0b
|
||||
|
@ -63,8 +65,8 @@
|
|||
|
||||
|
||||
// instruction masks (for tracer)
|
||||
`define INSTR_CUSTOM0 { 25'b?, `OPCODE_CUST0 }
|
||||
`define INSTR_CUSTOM1 { 25'b?, `OPCODE_CUST1 }
|
||||
// `define INSTR_CUSTOM0 { 25'b?, `OPCODE_CUST0 }
|
||||
// `define INSTR_CUSTOM1 { 25'b?, `OPCODE_CUST1 }
|
||||
`define INSTR_LUI { 25'b?, `OPCODE_LUI }
|
||||
`define INSTR_AUIPC { 25'b?, `OPCODE_AUIPC }
|
||||
`define INSTR_JAL { 25'b?, `OPCODE_JAL }
|
||||
|
|
|
@ -742,8 +742,8 @@ module riscv_core
|
|||
// Aliases
|
||||
32'h00_00_00_13: printMnemonic("NOP");
|
||||
// Regular opcodes
|
||||
`INSTR_CUSTOM0: printMnemonic("CUSTOM0");
|
||||
`INSTR_CUSTOM1: printMnemonic("CUSTOM1");
|
||||
// `INSTR_CUSTOM0: printMnemonic("CUSTOM0");
|
||||
// `INSTR_CUSTOM1: printMnemonic("CUSTOM1");
|
||||
`INSTR_LUI: printUInstr("LUI");
|
||||
`INSTR_AUIPC: printUInstr("AUIPC");
|
||||
`INSTR_JAL: printUJInstr("JAL");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue