projects
/
pinmux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7319e75
)
cell mux naming convention (forgot to save, whoops)
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 22 Mar 2018 04:39:49 +0000
(
04:39
+0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 22 Mar 2018 04:39:49 +0000
(
04:39
+0000)
src/wire_def.py
patch
|
blob
|
history
diff --git
a/src/wire_def.py
b/src/wire_def.py
index aca972b3c5a7d9893e4b355801bceb9ea614b3f9..dd4b384ab9df1569c9b578650ae63f7460e84981 100644
(file)
--- a/
src/wire_def.py
+++ b/
src/wire_def.py
@@
-1,9
+1,9
@@
# == Intermediate wire definitions ==#
muxwire = '''
- Wire#(Bit#({1})) wr
mux{0}
<-mkDWire(0);'''
+ Wire#(Bit#({1})) wr
cell{0}_mux
<-mkDWire(0);'''
generic_io = '''
- GenericIOType cell{0}_out=unpack(0);
- Wire#(Bit#(1)) cell{0}_in <-mkDWire(0);
+ GenericIOType cell{0}_
mux_
out=unpack(0);
+ Wire#(Bit#(1)) cell{0}_
mux_
in <-mkDWire(0);
'''
uartwires = '''
Wire#(Bit#(1)) wruart{0}_rx <-mkDWire(0);