forked from M-Labs/artiq
1
0
Fork 0

build_soc: remove assertion that was used for test runs

This commit is contained in:
Astro 2020-09-03 14:21:36 +02:00 committed by Sébastien Bourdeauducq
parent 458a411320
commit 1b475bdac4
1 changed files with 0 additions and 3 deletions

View File

@ -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