Skip to content

Commit

Permalink
fix bram cascade
Browse files Browse the repository at this point in the history
  • Loading branch information
yonnorc42 committed Jul 21, 2024
1 parent b249ce7 commit ed0b631
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fasm2bels/models/bram_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1251,9 +1251,9 @@ def make_target_feature(feature):
bel.add_unconnected_port('DBITERR', None, direction="output")
bel.map_bel_pin_to_cell_pin(bel.bel, 'DBITERR', 'DBITERR')

bel.add_unconnected_port('CASCADEINA', None, direction="input")
bel.connections['CASCADEINA'] = 1
bel.map_bel_pin_to_cell_pin(bel.bel, 'CASCADEINA', 'CASCADEINA')
bel.add_unconnected_port('CASCADEINB', None, direction="input")
bel.connections['CASCADEINB'] = 1
bel.map_bel_pin_to_cell_pin(bel.bel, 'CASCADEINB', 'CASCADEINB')

bel.add_unconnected_port('CASCADEOUTA', None, direction="output")
Expand Down

0 comments on commit ed0b631

Please sign in to comment.