From: Andrey Miroshnikov Date: Mon, 22 Nov 2021 15:16:11 +0000 (+0000) Subject: Added iotype comment l18 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=20ca612b2600530ce901009b3d1b9ef0e05b7438;p=pinmux.git Added iotype comment l18 --- diff --git a/src/spec/jtag.py b/src/spec/jtag.py index efda280..e9bc75d 100644 --- 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,