mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-24 22:07:43 -04:00
Remove duplicate tracer functions
This commit is contained in:
parent
83bccc197e
commit
c35482dee4
1 changed files with 0 additions and 13 deletions
|
@ -719,10 +719,6 @@ module riscv_core
|
||||||
`INSTR_BGE: printSBInstr("BGE");
|
`INSTR_BGE: printSBInstr("BGE");
|
||||||
`INSTR_BLTU: printSBInstr("BLTU");
|
`INSTR_BLTU: printSBInstr("BLTU");
|
||||||
`INSTR_BGEU: printSBInstr("BGEU");
|
`INSTR_BGEU: printSBInstr("BGEU");
|
||||||
// STORE
|
|
||||||
`INSTR_SB: printSInstr("SB");
|
|
||||||
`INSTR_SH: printSInstr("SH");
|
|
||||||
`INSTR_SW: printSInstr("SW");
|
|
||||||
// OPIMM
|
// OPIMM
|
||||||
`INSTR_ADDI: printIInstr("ADDI");
|
`INSTR_ADDI: printIInstr("ADDI");
|
||||||
`INSTR_SLTI: printIInstr("SLTI");
|
`INSTR_SLTI: printIInstr("SLTI");
|
||||||
|
@ -829,15 +825,6 @@ module riscv_core
|
||||||
end
|
end
|
||||||
endfunction // printIInstr
|
endfunction // printIInstr
|
||||||
|
|
||||||
function void printSInstr(input string mnemonic);
|
|
||||||
begin
|
|
||||||
riscv_core.mnemonic = mnemonic;
|
|
||||||
imm = id_stage_i.imm_s_type;
|
|
||||||
$fdisplay(f, "%7s\tx%0d (0x%h), x%0d (0x%h), 0x%0h (imm) (-> 0x%h)", mnemonic,
|
|
||||||
rs1, rs1_value, rs2, rs2_value, imm, imm+rs1_value);
|
|
||||||
end
|
|
||||||
endfunction // printSInstr
|
|
||||||
|
|
||||||
function void printSBInstr(input string mnemonic);
|
function void printSBInstr(input string mnemonic);
|
||||||
begin
|
begin
|
||||||
riscv_core.mnemonic = mnemonic;
|
riscv_core.mnemonic = mnemonic;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue