mirror of https://github.com/m-labs/artiq.git
build_soc: allow overriding SoC class name
This commit is contained in:
parent
ff4e4f15ed
commit
2104a93f78
|
@ -17,7 +17,7 @@ def get_identifier_string(soc, suffix="", add_class_name=True):
|
||||||
if suffix or add_class_name:
|
if suffix or add_class_name:
|
||||||
r += ";"
|
r += ";"
|
||||||
if add_class_name:
|
if add_class_name:
|
||||||
r += soc.__class__.__name__.lower()
|
r += getattr(soc, "class_name_override", soc.__class__.__name__.lower())
|
||||||
r += suffix
|
r += suffix
|
||||||
return r
|
return r
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue