projects
/
c4m-jtag.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
23d6dc7
)
whitespace cleanup
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 9 Oct 2020 12:33:26 +0000
(13:33 +0100)
committer
Staf Verhaegen
<staf@stafverhaegen.be>
Wed, 21 Apr 2021 17:43:57 +0000
(19:43 +0200)
c4m/nmigen/jtag/tap.py
patch
|
blob
|
history
diff --git
a/c4m/nmigen/jtag/tap.py
b/c4m/nmigen/jtag/tap.py
index c0f3f7d520bf35cb022f5b13ecc60a833550cf0f..9edbbd29254edfef03db3db85e576c526e707606 100755
(executable)
--- a/
c4m/nmigen/jtag/tap.py
+++ b/
c4m/nmigen/jtag/tap.py
@@
-302,12
+302,11
@@
class ShiftReg(Record):
class TAP(Elaboratable):
#TODO: Document TAP
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)
assert((ir_width is None) or (isinstance(ir_width, int) and
ir_width >= 2))
assert(len(version) == 4)