projects
/
pinmux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
maintaining distinct arrays for muxed and dedicated cells
[pinmux.git]
/
src
/
wire_def.py
diff --git
a/src/wire_def.py
b/src/wire_def.py
index 011e1596ec70b5d89b76ce840c92f619331973ca..0cd9cb23232a12141a17d178adea61fcf17e25f1 100644
(file)
--- a/
src/wire_def.py
+++ b/
src/wire_def.py
@@
-1,7
+1,7
@@
from params import *
# == Intermediate wire definitions ==#
muxwire = '''
from params import *
# == Intermediate wire definitions ==#
muxwire = '''
- Wire#(Bit#(
''' + str(N_MUX) + '''
)) wrmux{0} <-mkDWire(0);'''
+ Wire#(Bit#(
{1}
)) wrmux{0} <-mkDWire(0);'''
generic_io = '''
GenericIOType cell{0}_out=unpack(0);
Wire#(Bit#(1)) cell{0}_in <-mkDWire(0);
generic_io = '''
GenericIOType cell{0}_out=unpack(0);
Wire#(Bit#(1)) cell{0}_in <-mkDWire(0);