Allow the cpu_reset_address value to be overridden, for example allowing
it to be a signal. That way the reset address can be modified after
synthesis, in dual-core or debug situations.
Signed-off-by: Sean Cross <sean@xobs.io>
self.reset = Signal()
self.ibus = ibus = wishbone.Interface()
self.dbus = dbus = wishbone.Interface()
+ self.cpu_reset_address = cpu_reset_address
self.interrupt = Signal(32)
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,