projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
506ac0f
)
mibuild/generic_platform.py: adding ability to use void pins (none fpga pin) for...
author
Fabien Marteau
<fabien.marteau@armadeus.com>
Wed, 9 Jul 2014 07:44:55 +0000
(09:44 +0200)
committer
Sebastien Bourdeauducq
<sb@m-labs.hk>
Wed, 9 Jul 2014 08:41:51 +0000
(10:41 +0200)
Signed-off-by: Fabien Marteau <fabien.marteau@armadeus.com>
mibuild/generic_platform.py
patch
|
blob
|
history
diff --git
a/mibuild/generic_platform.py
b/mibuild/generic_platform.py
index d51ab63a4739f7ecbd581683b9349768671d3866..d972ee262314e14e67b87c645c165d9cf6f91c5f 100644
(file)
--- 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