mirror of
https://github.com/SpinalHDL/VexRiscv.git
synced 2025-01-03 03:43:39 -05:00
GenCustomInterrupt demo now enabled vectored interrupt
This commit is contained in:
parent
bb405e705b
commit
4fe7fa56c7
1 changed files with 6 additions and 1 deletions
|
@ -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 a new issue