From 1b475bdac41f746d5c0657ca3b617cadb69ec1e6 Mon Sep 17 00:00:00 2001 From: Stephan Maka Date: Thu, 3 Sep 2020 14:21:36 +0200 Subject: [PATCH] build_soc: remove assertion that was used for test runs --- artiq/build_soc.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/artiq/build_soc.py b/artiq/build_soc.py index ddce92fb1..e3a1f3360 100644 --- a/artiq/build_soc.py +++ b/artiq/build_soc.py @@ -47,9 +47,6 @@ class ReprogrammableIdentifier(Module, AutoCSR): def add_identifier(soc, *args, gateware_identifier_str=None, **kwargs): if hasattr(soc, "identifier"): raise ValueError - if gateware_identifier_str is None: - # not overridden with --identifier-str - raise ValueError("gateware_identifier_str not overridden") identifier_str = get_identifier_string(soc, *args, **kwargs) soc.submodules.identifier = ReprogrammableIdentifier(gateware_identifier_str or identifier_str) soc.config["IDENTIFIER_STR"] = identifier_str