From fc0f0be67993f469c4862f706f73a2b155b03fc8 Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Mon, 29 Aug 2022 13:39:35 +0200 Subject: [PATCH] build/generic_platform/ConnectorManager: allows to search recursively pins through connectors dictionary --- litex/build/generic_platform.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/litex/build/generic_platform.py b/litex/build/generic_platform.py index 894508cce..c327b9f6a 100644 --- a/litex/build/generic_platform.py +++ b/litex/build/generic_platform.py @@ -168,7 +168,10 @@ class ConnectorManager: if pn.isdigit(): pn = int(pn) - r.append(self.connector_table[conn][pn]) + conn_pn = self.connector_table[conn][pn] + if ":" in conn_pn: + conn_pn = self.resolve_identifiers([conn_pn])[0] + r.append(conn_pn) else: r.append(identifier)