mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
Merge pull request #165 from xobs/vexriscv-cpu-reset-address
Vexriscv cpu reset address
This commit is contained in:
commit
49fd93ae83
1 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@ class VexRiscv(Module, AutoCSR):
|
|||
self.reset = Signal()
|
||||
self.ibus = ibus = wishbone.Interface()
|
||||
self.dbus = dbus = wishbone.Interface()
|
||||
self.cpu_reset_address = cpu_reset_address
|
||||
|
||||
self.interrupt = Signal(32)
|
||||
|
||||
|
@ -31,7 +32,7 @@ class VexRiscv(Module, AutoCSR):
|
|||
i_clk=ClockSignal(),
|
||||
i_reset=ResetSignal() | self.reset,
|
||||
|
||||
i_externalResetVector=cpu_reset_address,
|
||||
i_externalResetVector=self.cpu_reset_address,
|
||||
i_externalInterruptArray=self.interrupt,
|
||||
i_timerInterrupt=0,
|
||||
|
||||
|
|
Loading…
Reference in a new issue