projects
/
pinmux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cc1934a
)
change enabled mode, to look lke test output
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 25 Jun 2018 11:27:16 +0000
(12:27 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 25 Jun 2018 11:27:16 +0000
(12:27 +0100)
src/bsv/interface_decl.py
patch
|
blob
|
history
diff --git
a/src/bsv/interface_decl.py
b/src/bsv/interface_decl.py
index 985dfa047842d6769468281fc2f05b61c016dc8f..02975a8ade75ceecffba7929c01bbbb79201d555 100644
(file)
--- a/
src/bsv/interface_decl.py
+++ b/
src/bsv/interface_decl.py
@@
-161,6
+161,7
@@
class Interface(object):
def wirefmt(self, *args):
res = '\n'.join(map(self.wirefmtpin, self.pins)).format(*args)
res += '\n'
def wirefmt(self, *args):
res = '\n'.join(map(self.wirefmtpin, self.pins)).format(*args)
res += '\n'
+ return '\n' + res
for p in self.pinspecs:
name = self.pname(p['name'])
typ = self.getifacetype(name.format(""))
for p in self.pinspecs:
name = self.pname(p['name'])
typ = self.getifacetype(name.format(""))
@@
-351,8
+352,8
@@
mux_interface = MuxInterface('cell', [{'name': 'mux', 'ready': False,
io_interface = IOInterface(
'io',
io_interface = IOInterface(
'io',
- [{'name': 'cell_out', 'enabled':
Fals
e, },
- {'name': 'cell_outen', 'enabled':
Fals
e, 'outenmode': True, },
+ [{'name': 'cell_out', 'enabled':
Tru
e, },
+ {'name': 'cell_outen', 'enabled':
Tru
e, 'outenmode': True, },
{'name': 'inputval', 'action': True, 'io': True}, ])
# == Peripheral Interface definitions == #
{'name': 'inputval', 'action': True, 'io': True}, ])
# == Peripheral Interface definitions == #