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:
parent
506ac0f780
commit
f45897c97f
|
@ -71,6 +71,7 @@ class ConnectorManager:
|
||||||
pin_list = []
|
pin_list = []
|
||||||
for pins in cit:
|
for pins in cit:
|
||||||
pin_list += pins.split()
|
pin_list += pins.split()
|
||||||
|
pin_list = [None if pin == "None" else pin for pin in pin_list]
|
||||||
if conn_name in self.connector_table:
|
if conn_name in self.connector_table:
|
||||||
raise ValueError("Connector specified more than once: "+conn_name)
|
raise ValueError("Connector specified more than once: "+conn_name)
|
||||||
self.connector_table[conn_name] = pin_list
|
self.connector_table[conn_name] = pin_list
|
||||||
|
|
Loading…
Reference in New Issue