diff --git a/gateware/info/__init__.py b/gateware/info/__init__.py index 2cc968699..45a772ca2 100644 --- a/gateware/info/__init__.py +++ b/gateware/info/__init__.py @@ -14,11 +14,12 @@ class Info(Module, AutoCSR): def __init__(self, platform, target_name): - self.submodules.dna = dna.DNA() self.submodules.git = git.GitInfo() target = target_name.lower()[:-3] self.submodules.platform = platform_info.PlatformInfo(platform.name, target) + if "xc" in platform.device: + self.submodules.dna = dna.DNA() if "xc7" in platform.device: self.submodules.xadc = xadc.XADC()