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:
5cf4dd5
)
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>
Thu, 22 Apr 2021 09:03:51 +0000
(11:03 +0200)
c4m/nmigen/jtag/tap.py
patch
|
blob
|
history
diff --git
a/c4m/nmigen/jtag/tap.py
b/c4m/nmigen/jtag/tap.py
index fb59b53e09243f9cba826846f16a325c8a67a39c..bdbf817df4c3a1695200f95922fc25c0c3b0e4c9 100755
(executable)
--- 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
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)