feat(config): modify CVM-related configs (#4957)

* set the default value of HasBitmapCheck to true
* modify the requirement for HasMEMencryption and KeyIDBits
This commit is contained in:
Xin Tian 2025-08-19 11:00:23 +08:00 committed by GitHub
parent 835923c23f
commit 005fbf7a9e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -80,6 +80,6 @@ CVMParams:
HasMEMencryption: false
HasDelayNoencryption: false
EnableBitmapCheck: false
EnableBitmapCheck: true
EnableBitmapCheckDefault: false

View File

@ -183,7 +183,7 @@ trait HasSoCParameter {
val EnablePowerDown = soc.EnablePowerDown
def HasMEMencryption = cvm.HasMEMencryption
require((cvm.HasMEMencryption && (cvm.KeyIDBits > 0)) || (!cvm.HasMEMencryption && (cvm.KeyIDBits == 0)),
require((cvm.HasMEMencryption && (cvm.KeyIDBits > 0)) || (!cvm.HasMEMencryption),
"HasMEMencryption most set with KeyIDBits > 0")
}

View File

@ -60,7 +60,7 @@ case class XSCoreParameters
VLEN: Int = 128,
ELEN: Int = 64,
HSXLEN: Int = 64,
HasBitmapCheck: Boolean = false,
HasBitmapCheck: Boolean = true,
HasBitmapCheckDefault: Boolean = false,
HasMExtension: Boolean = true,
HasCExtension: Boolean = true,