Add Core to SystemBus registration Core specific memory should have this according to AntMicro. Change-Id: Ia95e972c62b86faf13178c9f041928f9241c8bbd
diff --git a/shodan_infrastructure/SpringbokRiscV32.cs b/shodan_infrastructure/SpringbokRiscV32.cs index 8d348d9..cd69f8a 100644 --- a/shodan_infrastructure/SpringbokRiscV32.cs +++ b/shodan_infrastructure/SpringbokRiscV32.cs
@@ -291,7 +291,7 @@ { this.Log(LogLevel.Noisy, "Resetting core."); Core.Reset(); - ulong startAddress = (val & ~(ulong)Mode.Mask) + Machine.SystemBus.GetRegistrationPoints(IMem).First().Range.StartAddress; + ulong startAddress = (val & ~(ulong)Mode.Mask) + Machine.SystemBus.GetRegistrationPoints(IMem, Core).First().Range.StartAddress; this.Log(LogLevel.Noisy, "Setting PC to 0x{0:X}.", startAddress); Core.PC = startAddress; }