projects
/
pinmux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
start code-gen for mux cells
[pinmux.git]
/
src
/
parse.py
diff --git
a/src/parse.py
b/src/parse.py
index a6875f36cacb60ce6ea0e49ca219d60e8e8c1bb9..2dffeb33b75974257d62c7cd414de90426942428 100644
(file)
--- a/
src/parse.py
+++ b/
src/parse.py
@@
-120,7
+120,7
@@
class Parse(object):
return int(math.log(max_num_cells + 1, 2))
def get_muxwidth(self, cellnum):
- return self.muxed_cells_width[
cellnum
]
+ return self.muxed_cells_width[
int(cellnum)
]
if __name__ == '__main__':