Skip to content

Commit

Permalink
acc_dispatcher: Add ld/st priv mode, sum & PMP iface (openhwgroup#1767)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-platzer authored and rohan-10xe committed Jan 23, 2024
1 parent c56ef81 commit 47009ef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/acc_dispatcher.sv
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ module acc_dispatcher
output logic acc_fflags_valid_o,
output logic [4:0] acc_fflags_o,
// Interface with the CSRs
input priv_lvl_t ld_st_priv_lvl_i,
input logic sum_i,
input pmpcfg_t [15:0] pmpcfg_i,
input logic [15:0][PLEN-3:0] pmpaddr_i,
input logic [2:0] fcsr_frm_i,
output logic dirty_v_state_o,
// Interface with the issue stage
Expand Down
4 changes: 4 additions & 0 deletions core/cva6.sv
Original file line number Diff line number Diff line change
Expand Up @@ -1139,6 +1139,10 @@ module cva6
.acc_cons_en_i (acc_cons_en_csr),
.acc_fflags_valid_o (acc_resp_fflags_valid),
.acc_fflags_o (acc_resp_fflags),
.ld_st_priv_lvl_i (ld_st_priv_lvl_csr_ex),
.sum_i (sum_csr_ex),
.pmpcfg_i (pmpcfg),
.pmpaddr_i (pmpaddr),
.fcsr_frm_i (frm_csr_id_issue_ex),
.dirty_v_state_o (dirty_v_state),
.issue_instr_i (issue_instr_id_acc),
Expand Down

0 comments on commit 47009ef

Please sign in to comment.