projects
/
pinmux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c62e7a
)
remove one extra newline
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 26 Jul 2018 10:58:52 +0000
(11:58 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 26 Jul 2018 10:58:52 +0000
(11:58 +0100)
src/bsv/interface_decl.py
patch
|
blob
|
history
diff --git
a/src/bsv/interface_decl.py
b/src/bsv/interface_decl.py
index 86788e334fd1450687a3d4187de0daec0b897cb8..78e774cff13ab649b8828cb222da845de10c800b 100644
(file)
--- a/
src/bsv/interface_decl.py
+++ b/
src/bsv/interface_decl.py
@@
-462,6
+462,7
@@
class InterfaceBus(InterfaceFmt):
pins = self.get_buspins()
plen = len(pins) / self.get_n_iopinsdiv()
+ res += '\n'
template = " interface {1}#(%s) {2};\n" % self.bitspec
for i, n in enumerate(self.namelist):
if not n:
@@
-483,7
+484,7
@@
class InterfaceBus(InterfaceFmt):
bitspec = self.bitspec.format(plen)
print self
return '\n' + res + self.vectorifacedef2(
- pins, plen, self.namelist, bitspec, *args)
+ '\n'
+ pins, plen, self.namelist, bitspec, *args)
def ifacedef3pin(self, idx, pin):
decfn = self.ifacefmtdecfn2