Skip to content

backend: Size the channel coupler for the transpose tile - #276

Draft
DanielKellerM wants to merge 2 commits into
pulp-platform:develfrom
DanielKellerM:fix/coupler-transpose-depth
Draft

DanielKellerM wants to merge 2 commits into
pulp-platform:develfrom
DanielKellerM:fix/coupler-transpose-depth

Conversation

@DanielKellerM

Copy link
Copy Markdown
Collaborator

A transpose with fewer outstanding writes than rows in a tile could hang the DMA.
The write request queue that waits for data now holds a whole tile, including rows that split at a 4 KiB boundary.
Builds without compute are unchanged. The transpose test now runs with shallow queues and a slave that holds back writes.

Fixes #275

The R-AW coupler queue was sized by NumAxInFlight alone, while a
transpose tile issues one write per row before its first W beat. Below
the tile height the coupler fills, stalls the legalizer and the tile
never completes. With transpose enabled, size the coupler and every
write queue that holds a tile to at least two writes per tile row, so
rows split at a 4 KiB boundary still fit. A transpose config change
drains the backend, so one tile is enough. MX-only and non-compute
builds keep their sizing.

Fixes pulp-platform#275
@DanielKellerM
DanielKellerM force-pushed the fix/coupler-transpose-depth branch from a650b38 to c9b31d8 Compare November 11, 2026 15:44
Only the transpose tile needs the deeper coupler; MX-only and
other compute builds keep the devel coupler depth and area.

This branch has not been deployed

No deployments
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.

1 participant