From cac38e37f76fb6496953bf385d7e09f465c499f1 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 9 Oct 2020 13:33:26 +0100 Subject: [PATCH] whitespace cleanup --- c4m/nmigen/jtag/tap.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/c4m/nmigen/jtag/tap.py b/c4m/nmigen/jtag/tap.py index fb59b53..bdbf817 100755 --- a/c4m/nmigen/jtag/tap.py +++ b/c4m/nmigen/jtag/tap.py @@ -306,12 +306,11 @@ class ShiftReg(Record): class TAP(Elaboratable): #TODO: Document TAP - def __init__( - self, *, with_reset=False, ir_width=None, - manufacturer_id=Const(0b10001111111, 11), part_number=Const(1, 16), - version=Const(0, 4), - name=None, src_loc_at=0 - ): + def __init__(self, *, with_reset=False, ir_width=None, + manufacturer_id=Const(0b10001111111, 11), + part_number=Const(1, 16), + version=Const(0, 4), + name=None, src_loc_at=0: assert((ir_width is None) or (isinstance(ir_width, int) and ir_width >= 2)) assert(len(version) == 4) -- 2.30.2