Skip to content

Commit fe696a5

Browse files
authored
Merge pull request #283 from yrabbit/unpack-fix
Fix mistype.
2 parents f038d32 + d7cc65e commit fe696a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apycula/gowin_unpack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ def get_bsram_main_cell(db, row, col, typ):
312312

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

0 commit comments

Comments
 (0)