From c0800d25a69948549390a8168a939b066cca85a4 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 24 Apr 2017 19:12:30 +0200 Subject: [PATCH] soc/integration/builder.py: don't take care of ROM when compile_software is forced to False --- litex/soc/integration/builder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/soc/integration/builder.py b/litex/soc/integration/builder.py index d97d3715..4ff9bbb9 100644 --- a/litex/soc/integration/builder.py +++ b/litex/soc/integration/builder.py @@ -142,8 +142,8 @@ class Builder: os.makedirs(self.output_dir, exist_ok=True) - if self.soc.cpu_type is not None: - if self.soc.integrated_rom_size and not self.compile_software: + if self.soc.cpu_type is not None and self.compile_software: + if self.soc.integrated_rom_size: raise ValueError("Software must be compiled in order to " "intitialize integrated ROM") -- 2.30.2