Skip to content

Commit

Permalink
fix add CVA6Cfg in instr_queue, instr_scan and pmp parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanRochCoulon committed Aug 21, 2023
1 parent 9ba1a66 commit ae44d4c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions core/frontend/frontend.sv
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,9 @@ module frontend import ariane_pkg::*; #(
// we need to inspect up to INSTR_PER_FETCH instructions for branches
// and jumps
for (genvar i = 0; i < INSTR_PER_FETCH; i++) begin : gen_instr_scan
instr_scan i_instr_scan (
instr_scan #(
.CVA6Cfg ( CVA6Cfg )
) i_instr_scan (
.instr_i ( instr[i] ),
.rvi_return_o ( rvi_return[i] ),
.rvi_call_o ( rvi_call[i] ),
Expand All @@ -473,7 +475,9 @@ module frontend import ariane_pkg::*; #(
);
end

instr_queue i_instr_queue (
instr_queue #(
.CVA6Cfg ( CVA6Cfg )
) i_instr_queue (
.clk_i ( clk_i ),
.rst_ni ( rst_ni ),
.flush_i ( flush_i ),
Expand Down
1 change: 1 addition & 0 deletions core/pmp/src/pmp.sv
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ module pmp #(
assign conf_addr_prev = (i == 0) ? '0 : conf_addr_i[i-1];

pmp_entry #(
.CVA6Cfg ( CVA6Cfg ),
.PLEN ( PLEN ),
.PMP_LEN ( PMP_LEN )
) i_pmp_entry(
Expand Down

0 comments on commit ae44d4c

Please sign in to comment.