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",
|
interruptName = "rawrrr",
|
||||||
code = 24
|
code = 24
|
||||||
),
|
),
|
||||||
|
new CsrPlugin(
|
||||||
|
CsrPluginConfig.smallest.copy(
|
||||||
|
xtvecModeGen = true,
|
||||||
|
mtvecAccess = CsrAccess.WRITE_ONLY
|
||||||
|
)
|
||||||
|
),
|
||||||
new IBusSimplePlugin(
|
new IBusSimplePlugin(
|
||||||
resetVector = 0x80000000l,
|
resetVector = 0x80000000l,
|
||||||
cmdForkOnSecondStage = false,
|
cmdForkOnSecondStage = false,
|
||||||
|
@ -31,7 +37,6 @@ object GenCustomInterrupt extends App{
|
||||||
catchAddressMisaligned = false,
|
catchAddressMisaligned = false,
|
||||||
catchAccessFault = false
|
catchAccessFault = false
|
||||||
),
|
),
|
||||||
new CsrPlugin(CsrPluginConfig.smallest),
|
|
||||||
new DecoderSimplePlugin(
|
new DecoderSimplePlugin(
|
||||||
catchIllegalInstruction = false
|
catchIllegalInstruction = false
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue