Skip to content

Commit

Permalink
Merge pull request f4pga#1966 from dnltz/WIP/dnltz/dev
Browse files Browse the repository at this point in the history
utils: Fix assertion error
  • Loading branch information
litghost committed Jan 25, 2021
2 parents bff5200 + 61f7d23 commit a34660f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/fix_xc7_carry.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ def fixup_congested_rows(design, top_module, bit_to_cells, bit_to_nets, chain):
CO_ports = ["CO0", "CO1", "CO2", "CO3"]

def check_if_rest_of_carry4_is_unused(cellname, cell_idx):
assert cell_idx < len(O_ports) - 1
assert cell_idx < len(O_ports)

cell = cells[cellname]
connections = cell["connections"]
Expand Down

0 comments on commit a34660f

Please sign in to comment.