GenCustomInterrupt demo now enabled vectored interrupt
This commit is contained in:
parent
bb405e705b
commit
4fe7fa56c7
|
@ -19,6 +19,12 @@ object GenCustomInterrupt extends App{
|
|||
interruptName = "rawrrr",
|
||||
code = 24
|
||||
),
|
||||
new CsrPlugin(
|
||||
CsrPluginConfig.smallest.copy(
|
||||
xtvecModeGen = true,
|
||||
mtvecAccess = CsrAccess.WRITE_ONLY
|
||||
)
|
||||
),
|
||||
new IBusSimplePlugin(
|
||||
resetVector = 0x80000000l,
|
||||
cmdForkOnSecondStage = false,
|
||||
|
@ -31,7 +37,6 @@ object GenCustomInterrupt extends App{
|
|||
catchAddressMisaligned = false,
|
||||
catchAccessFault = false
|
||||
),
|
||||
new CsrPlugin(CsrPluginConfig.smallest),
|
||||
new DecoderSimplePlugin(
|
||||
catchIllegalInstruction = false
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue