mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-22 21:27:10 -04:00
Enable zcb extension into cva6 UVM env (#1777)
This commit is contained in:
parent
6568b18a54
commit
358a73a07d
1 changed files with 7 additions and 0 deletions
7
verif/env/uvme/uvme_cva6_cfg.sv
vendored
7
verif/env/uvme/uvme_cva6_cfg.sv
vendored
|
@ -110,6 +110,7 @@ class uvme_cva6_cfg_c extends uvma_core_cntrl_cfg_c;
|
|||
ext_zifencei_supported == 1;
|
||||
ext_zicsr_supported == 1;
|
||||
ext_zicond_supported == 0;
|
||||
ext_zcb_supported == 1;
|
||||
|
||||
mode_s_supported == 0;
|
||||
mode_u_supported == 0;
|
||||
|
@ -131,6 +132,12 @@ class uvme_cva6_cfg_c extends uvma_core_cntrl_cfg_c;
|
|||
nmi_addr_valid == 1;
|
||||
}
|
||||
|
||||
constraint ext_const {
|
||||
if (!ext_c_supported) {
|
||||
ext_zcb_supported == 0;
|
||||
}
|
||||
}
|
||||
|
||||
constraint default_cva6_boot_cons {
|
||||
(!mhartid_plusarg_valid) -> (mhartid == 'h0000_0000);
|
||||
(!mimpid_plusarg_valid) -> (mimpid == 'h0000_0000);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue