From 6e23fb1d99ca442326a676c7e633af763245ee12 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 25 Mar 2021 08:47:05 +0100 Subject: [PATCH] integration/soc: Move Identifier import to add_identifier. --- litex/soc/integration/soc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/integration/soc.py b/litex/soc/integration/soc.py index 8b166b2a7..bdfc82811 100644 --- a/litex/soc/integration/soc.py +++ b/litex/soc/integration/soc.py @@ -14,7 +14,6 @@ from math import log2, ceil from migen import * from litex.soc.cores import cpu -from litex.soc.cores.identifier import Identifier from litex.soc.interconnect.csr import * from litex.soc.interconnect.csr_eventmanager import * @@ -1089,6 +1088,7 @@ class SoC(Module): class LiteXSoC(SoC): # Add Identifier ------------------------------------------------------------------------------- def add_identifier(self, name="identifier", identifier="LiteX SoC", with_build_time=True): + from litex.soc.cores.identifier import Identifier self.check_if_exists(name) if with_build_time: identifier += " " + build_time()