projects
/
pinmux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3255ee1
)
hack for the outputs, get rid of _out for non-inouts
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 1 Jul 2018 23:28:43 +0000
(
00:28
+0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 1 Jul 2018 23:28:43 +0000
(
00:28
+0100)
src/bsv/actual_pinmux.py
patch
|
blob
|
history
diff --git
a/src/bsv/actual_pinmux.py
b/src/bsv/actual_pinmux.py
index 32e306c3dc79f97cd714017cdde4328a7d1e7bb1..ee90986e21dcf97589bea35c4109ff59f4c2a1c3 100644
(file)
--- a/
src/bsv/actual_pinmux.py
+++ b/
src/bsv/actual_pinmux.py
@@
-76,6
+76,8
@@
def fmt(ifaces, cells, idx, suffix=None):
return '0' # inputs don't get passed through to the out mux
if suffix == '_outen' and x == 'out':
return "wr%s%s" % (cells[1], suffix or '') # USE GPIO FOR SELECTION
+ if x == 'out': # sigh hack, should be using interface_decl
+ suffix = ''
return "wr%s%s" % (cell, suffix or '')
# XXX this needs to move into interface_decl.py