From: Fabien Marteau Date: Wed, 9 Jul 2014 07:44:55 +0000 (+0200) Subject: mibuild/generic_platform.py: adding ability to use void pins (none fpga pin) for... X-Git-Tag: 24jan2021_ls180~2099^2~347 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f45897c97f3f8f2b6cb0f57c8f6e5bb74612c2b2;p=litex.git mibuild/generic_platform.py: adding ability to use void pins (none fpga pin) for connectors Signed-off-by: Fabien Marteau --- diff --git a/mibuild/generic_platform.py b/mibuild/generic_platform.py index d51ab63a..d972ee26 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