Skip to content

Commit

Permalink
Fix mistype.
Browse files Browse the repository at this point in the history
A typo in unpack spotted by @pecostm32.

Fixes YosysHQ#282

Signed-off-by: YRabbit <[email protected]>
  • Loading branch information
yrabbit committed Oct 19, 2024
1 parent f038d32 commit d7cc65e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apycula/gowin_unpack.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def get_bsram_main_cell(db, row, col, typ):

# The DSP has 9 cells: the main one and a group of auxiliary ones.
def get_dsp_main_cell(db, row, col, typ):
if type[-6:-2] == '_AUX':
if typ[-6:-2] == '_AUX':
col = 1 + (col - 1) // 9
return row, col

Expand Down

0 comments on commit d7cc65e

Please sign in to comment.