CsrPlugin now force privilegeGen when withPrivilegedDebug is enabled
This commit is contained in:
parent
0979f8ba80
commit
a6c29766da
|
@ -85,7 +85,7 @@ case class CsrPluginConfig(
|
||||||
debugTriggers : Int = 2
|
debugTriggers : Int = 2
|
||||||
){
|
){
|
||||||
assert(!ucycleAccess.canWrite)
|
assert(!ucycleAccess.canWrite)
|
||||||
def privilegeGen = userGen || supervisorGen
|
def privilegeGen = userGen || supervisorGen || withPrivilegedDebug
|
||||||
def noException = this.copy(ecallGen = false, ebreakGen = false, catchIllegalAccess = false)
|
def noException = this.copy(ecallGen = false, ebreakGen = false, catchIllegalAccess = false)
|
||||||
def noExceptionButEcall = this.copy(ecallGen = true, ebreakGen = false, catchIllegalAccess = false)
|
def noExceptionButEcall = this.copy(ecallGen = true, ebreakGen = false, catchIllegalAccess = false)
|
||||||
def withEbreak = ebreakGen || withPrivilegedDebug
|
def withEbreak = ebreakGen || withPrivilegedDebug
|
||||||
|
|
Loading…
Reference in New Issue