Skip to content

Commit

Permalink
Bump CVV 2465 and adapt cva6pkg (#2263)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioOpenHWGroup authored Jun 17, 2024
1 parent c93587b commit c78ede9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions verif/tb/core/uvma_cva6pkg_utils.sv
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function st_core_cntrl_cfg cva6pkg_to_core_cntrl_cfg(st_core_cntrl_cfg cfg);
cfg.ext_zcb_supported = CVA6Cfg.RVZCB;
cfg.ext_zifencei_supported = 1;
cfg.ext_zicsr_supported = 1;
cfg.ext_zicntr_supported = 1;
cfg.ext_zicntr_supported = 0;

cfg.ext_cv32a60x_supported = 1;

Expand Down Expand Up @@ -71,8 +71,9 @@ function st_core_cntrl_cfg cva6pkg_to_core_cntrl_cfg(st_core_cntrl_cfg cfg);
void'(spike_set_param_uint64_t(base, "mtvec_vectored_alignment", 64 * 4));
void'(spike_set_param_str(base, "extensions", "cv32a60x"));

void'(spike_set_param_bool(base, "status_xs_field_we_enable", 1'b1));
void'(spike_set_param_bool(base, "status_xs_field_we", 1'b0));
// All enabled except XS and TW bits
void'(spike_set_param_uint64_t(base, "mstatus_write_mask", 'hFDFE_7FFF));

void'(spike_set_param_uint64_t(base, "misa_override_value", get_misa(cfg)));
void'(spike_set_param_uint64_t(base, "misa_override_mask", 64'h0FFF_FFFF));
void'(spike_set_param_bool (base, "misa_we_enable", 1'b1));
Expand Down

0 comments on commit c78ede9

Please sign in to comment.