Skip to content

Commit

Permalink
Fix minstret (#2471)
Browse files Browse the repository at this point in the history
  • Loading branch information
cathales authored Aug 28, 2024
1 parent faf4536 commit 0d2097b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci/expected_synth.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
cv32a65x:
gates: 171460
gates: 170380
6 changes: 3 additions & 3 deletions core/cva6.sv
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ module cva6
.*
);

assign commit_ack = commit_ack_commit_id & ~commit_drop_id_commit;
assign commit_ack = commit_macro_ack & ~commit_drop_id_commit;

// ---------
// CSR
Expand All @@ -1078,7 +1078,7 @@ module cva6
.flush_o (flush_csr_ctrl),
.halt_csr_o (halt_csr_ctrl),
.commit_instr_i (commit_instr_id_commit),
.commit_ack_i (commit_macro_ack),
.commit_ack_i (commit_ack),
.boot_addr_i (boot_addr_i[CVA6Cfg.VLEN-1:0]),
.hart_id_i (hart_id_i[CVA6Cfg.XLEN-1:0]),
.ex_i (ex_commit),
Expand Down Expand Up @@ -1715,7 +1715,7 @@ module cva6

.lsu_ctrl_i (rvfi_lsu_ctrl),
.wbdata_i (wbdata_ex_id),
.commit_ack_i(commit_macro_ack),
.commit_ack_i(commit_ack),
.mem_paddr_i (rvfi_mem_paddr),
.debug_mode_i(debug_mode),
.wdata_i (wdata_commit_id),
Expand Down

0 comments on commit 0d2097b

Please sign in to comment.