From 091aa37324d758a1c96b15f5e5f27189fe7141c0 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 17 Apr 2021 09:03:44 +0100 Subject: [PATCH] whitespace (pep8) --- c4m/nmigen/jtag/tap.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/c4m/nmigen/jtag/tap.py b/c4m/nmigen/jtag/tap.py index f076904..77034cb 100755 --- a/c4m/nmigen/jtag/tap.py +++ b/c4m/nmigen/jtag/tap.py @@ -119,6 +119,7 @@ class _FSM(Elaboratable): return m + class _IRBlock(Elaboratable): """TAP subblock for handling the IR shift register""" def __init__(self, *, ir_width, cmd_idcode, @@ -151,12 +152,14 @@ class _IRBlock(Elaboratable): return m + class IOType(Enum): In = auto() Out = auto() TriOut = auto() InTriOut = auto() + class IOConn(Record): lengths = { IOType.In: 1, @@ -208,6 +211,7 @@ class IOConn(Record): self._iotype = iotype + class _IDBypassBlock(Elaboratable): """TAP subblock for the ID shift register""" def __init__(self, *, manufacturer_id, part_number, version, @@ -306,6 +310,7 @@ class ShiftReg(Record): ] super().__init__(layout, name=name, src_loc_at=src_loc_at+1) + class TAP(Elaboratable): #TODO: Document TAP def __init__(self, *, with_reset=False, ir_width=None, -- 2.30.2