Skip to content

Commit cc273c1

Browse files
yrabbitgatecat
authored andcommitted
gowin: Himbaechel. Handle SDP OCE
Semi-dual port BSRAM (in Gowin terminology) has the same feature as Single Port - the CE and OCE signals must be synchronized. Such a sin has not yet been noticed for Dual Port. Signed-off-by: YRabbit <[email protected]>
1 parent 833cb86 commit cc273c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

himbaechel/uarch/gowin/pack.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1395,6 +1395,7 @@ struct GowinPacker
13951395
ci->renamePort(ctx->idf("BLKSELB[%d]", i), ctx->idf("BLKSELB%d", i));
13961396
}
13971397

1398+
bsram_handle_sp_oce(ci, id_CEB, id_OCE);
13981399
ci->copyPortTo(id_OCE, ci, id_OCEB);
13991400

14001401
// Port A

0 commit comments

Comments
 (0)