Added iotype comment l18
authorAndrey Miroshnikov <andrey@technepisteme.xyz>
Mon, 22 Nov 2021 15:16:11 +0000 (15:16 +0000)
committerAndrey Miroshnikov <andrey@technepisteme.xyz>
Mon, 22 Nov 2021 15:16:11 +0000 (15:16 +0000)
src/spec/jtag.py

index efda2806c07e6f01f3e8501e9bcdd8245fc63991..e9bc75d5565442b9a7677f6e64dd3b40a514ffae 100644 (file)
@@ -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,