Skip to content

Commit

Permalink
Merge pull request YosysHQ#283 from yrabbit/unpack-fix
Browse files Browse the repository at this point in the history
Fix mistype.
  • Loading branch information
yrabbit authored Oct 20, 2024
2 parents f038d32 + d7cc65e commit fe696a5
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 fe696a5

Please sign in to comment.