mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-20 12:17:19 -04:00
Add pragma around non-synthesisable code
This commit is contained in:
parent
405ba6c3c3
commit
3d09828552
1 changed files with 2 additions and 0 deletions
|
@ -184,6 +184,7 @@ module instr_tracer (
|
|||
bp = {};
|
||||
endfunction
|
||||
|
||||
// pragma translate_off
|
||||
function void printInstr(ariane_pkg::scoreboard_entry_t sbe, logic [31:0] instr, logic [63:0] result, logic [63:0] paddr, riscv::priv_lvl_t priv_lvl, logic debug_mode, ariane_pkg::bp_resolve_t bp);
|
||||
automatic instr_trace_item iti = new ($time, clk_ticks, sbe, instr, gp_reg_file, fp_reg_file, result, paddr, priv_lvl, debug_mode, bp);
|
||||
// print instruction to console
|
||||
|
@ -217,5 +218,6 @@ module instr_tracer (
|
|||
final begin
|
||||
close();
|
||||
end
|
||||
// pragma translate_on
|
||||
|
||||
endmodule : instr_tracer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue