From d926ae4e962ee0550262760f739a2e22a904ab4c Mon Sep 17 00:00:00 2001 From: Julian Kelly Date: Tue, 8 Mar 2016 13:14:05 -0800 Subject: [PATCH] Fix confusing comment. --- fpgalib/dac.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fpgalib/dac.py b/fpgalib/dac.py index db825547..2de99d19 100644 --- a/fpgalib/dac.py +++ b/fpgalib/dac.py @@ -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))