From de336a86e537693b4116aef1204f33bc932a7806 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 30 Jan 2017 14:10:57 +0100 Subject: [PATCH] soc/integration/soc_core: use cpu_reset_address = self.mem_map["rom"] when using integrated_rom --- litex/soc/integration/soc_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/integration/soc_core.py b/litex/soc/integration/soc_core.py index 223380dae..9bf9f5246 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