From f45897c97f3f8f2b6cb0f57c8f6e5bb74612c2b2 Mon Sep 17 00:00:00 2001 From: Fabien Marteau Date: Wed, 9 Jul 2014 09:44:55 +0200 Subject: [PATCH] mibuild/generic_platform.py: adding ability to use void pins (none fpga pin) for connectors Signed-off-by: Fabien Marteau --- mibuild/generic_platform.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mibuild/generic_platform.py b/mibuild/generic_platform.py index d51ab63a4..d972ee262 100644 --- a/mibuild/generic_platform.py +++ b/mibuild/generic_platform.py @@ -71,6 +71,7 @@ class ConnectorManager: pin_list = [] for pins in cit: pin_list += pins.split() + pin_list = [None if pin == "None" else pin for pin in pin_list] if conn_name in self.connector_table: raise ValueError("Connector specified more than once: "+conn_name) self.connector_table[conn_name] = pin_list