Skip to content

Commit

Permalink
Fix confusing comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianSKelly committed Mar 8, 2016
1 parent 101338d commit d926ae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fpgalib/dac.py
Original file line number Diff line number Diff line change
Expand Up @@ -1515,7 +1515,7 @@ def make_jump_table(cls, jt_entries, counters=None, start_address_ns=0):
:rtype: jump_table.JumpTable
"""

# -1 hardcoded due to issue #325
# jt_entries does not include initial NOP; see #325
if len(jt_entries) + 1 > cls.JUMP_TABLE_COUNT:
raise ValueError("Jump table too long: {} + starting NOP > {}"
.format(len(jt_entries), cls.JUMP_TABLE_COUNT))
Expand Down

0 comments on commit d926ae4

Please sign in to comment.