From: Florent Kermarrec Date: Mon, 30 Jan 2017 13:10:57 +0000 (+0100) Subject: soc/integration/soc_core: use cpu_reset_address = self.mem_map["rom"] when using... X-Git-Tag: 24jan2021_ls180~1904 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de336a86e537693b4116aef1204f33bc932a7806;p=litex.git soc/integration/soc_core: use cpu_reset_address = self.mem_map["rom"] when using integrated_rom --- diff --git a/litex/soc/integration/soc_core.py b/litex/soc/integration/soc_core.py index 223380da..9bf9f524 100644 --- a/litex/soc/integration/soc_core.py +++ b/litex/soc/integration/soc_core.py @@ -49,7 +49,7 @@ class SoCCore(Module): self.cpu_type = cpu_type if integrated_rom_size: - cpu_reset_address = 0 + cpu_reset_address = self.mem_map["rom"] self.cpu_reset_address = cpu_reset_address self.integrated_rom_size = integrated_rom_size