Skip to content

Comments

gowin: Fix bram ADA byte enables#5696

Merged
gatecat merged 2 commits intomainfrom
krys/gowin_brams_a_wr_be
Feb 22, 2026
Merged

gowin: Fix bram ADA byte enables#5696
gatecat merged 2 commits intomainfrom
krys/gowin_brams_a_wr_be

Conversation

@KrystalDelusion
Copy link
Member

What are the reasons/motivation for this change?
Close #5688.

Explain how this is achieved.
Fix PORT_B_WR_BE in ADA to be PORT_A_WR_BE.

Make sure your change comes with tests. If not possible, share how a reviewer might evaluate it.
Test from issue included as tests/arch/gowin/bug5688.ys. Fails without this change (so long as the splitnets is there, otherwise wr_en ends up in the input cone for some of the other bits), passes with.

@KrystalDelusion KrystalDelusion marked this pull request as ready for review February 19, 2026 23:44
@gatecat gatecat merged commit fd311c5 into main Feb 22, 2026
31 checks passed
@gatecat gatecat deleted the krys/gowin_brams_a_wr_be branch February 22, 2026 08:00
@gatecat
Copy link
Member

gatecat commented Feb 22, 2026

This clearly fixes a bug that I wasted some time on, making rare use of my commit powers and merging :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gowin: $_GOWIN_DP brams_map uses PORT_B_WR_BE for ADA byte enables instead of PORT_A_WR_BE, silently disabling writes

2 participants