projects
/
pinmux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f43ae5
)
Added iotype comment l18
author
Andrey Miroshnikov
<andrey@technepisteme.xyz>
Mon, 22 Nov 2021 15:16:11 +0000
(15:16 +0000)
committer
Andrey Miroshnikov
<andrey@technepisteme.xyz>
Mon, 22 Nov 2021 15:16:11 +0000
(15:16 +0000)
src/spec/jtag.py
patch
|
blob
|
history
diff --git
a/src/spec/jtag.py
b/src/spec/jtag.py
index efda2806c07e6f01f3e8501e9bcdd8245fc63991..e9bc75d5565442b9a7677f6e64dd3b40a514ffae 100644
(file)
--- a/
src/spec/jtag.py
+++ b/
src/spec/jtag.py
@@
-14,13
+14,14
@@
iotypes = {'-': IOType.In,
'>': IOType.TriOut,
'*': IOType.InTriOut,
}
-
+# Resources
+# nmigen Resources has a different encoding for direction: "i", "o", "io", "oe"
resiotypes = {'i': IOType.In,
'o': IOType.Out,
'oe': IOType.TriOut,
'io': IOType.InTriOut,
}
-
+# How many bits in each signal type
scanlens = {IOType.In: 1,
IOType.Out: 1,
IOType.TriOut: 2,