Skip to content

Commit

Permalink
CPLD tool: Remove commented code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jboone committed Mar 2, 2019
1 parent 30cd958 commit 0b4c714
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions firmware/tools/cpld_crc.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,10 @@
if tdi_length == 7 and end_state == 1:
address = int(command['tdi']['data'].hex(), 16)
data[-1].append([address])
# print('address: %02x' % address)
elif tdi_length == 274 and end_state == 0:
mask = int(command['tdo_mask']['data'].hex(), 16)
expected = int(command['tdo_expected']['data'].hex(), 16)
data[-1][-1].extend([expected, mask])
# print('mask:%x tdo:%x' % (mask, expected))

#######################################################################
# Check that extracted data conforms to expectations.
Expand Down

0 comments on commit 0b4c714

Please sign in to comment.