CPLD tool: Remove commented code.
This commit is contained in:
@ -49,12 +49,10 @@ for command in commands:
|
|||||||
if tdi_length == 7 and end_state == 1:
|
if tdi_length == 7 and end_state == 1:
|
||||||
address = int(command['tdi']['data'].hex(), 16)
|
address = int(command['tdi']['data'].hex(), 16)
|
||||||
data[-1].append([address])
|
data[-1].append([address])
|
||||||
# print('address: %02x' % address)
|
|
||||||
elif tdi_length == 274 and end_state == 0:
|
elif tdi_length == 274 and end_state == 0:
|
||||||
mask = int(command['tdo_mask']['data'].hex(), 16)
|
mask = int(command['tdo_mask']['data'].hex(), 16)
|
||||||
expected = int(command['tdo_expected']['data'].hex(), 16)
|
expected = int(command['tdo_expected']['data'].hex(), 16)
|
||||||
data[-1][-1].extend([expected, mask])
|
data[-1][-1].extend([expected, mask])
|
||||||
# print('mask:%x tdo:%x' % (mask, expected))
|
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
# Check that extracted data conforms to expectations.
|
# Check that extracted data conforms to expectations.
|
||||||
|
Reference in New Issue
Block a user