mibuild/generic_platform.py: adding ability to use void pins (none fpga pin) for connectors

Signed-off-by: Fabien Marteau <fabien.marteau@armadeus.com>
This commit is contained in:
Fabien Marteau 2014-07-09 09:44:55 +02:00 committed by Sebastien Bourdeauducq
parent 506ac0f780
commit f45897c97f
1 changed files with 1 additions and 0 deletions

View File

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