Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Interchange] Reorders tile types and tiles to follow their Vivado index #1039

Merged
merged 3 commits into from
Aug 28, 2024

Conversation

clavin-xlnx
Copy link
Member

@clavin-xlnx clavin-xlnx commented Jul 27, 2024

This PR changes the export order of tiles (tileList) and tile types (tileTypeList) in Interchange .device files such that the order reflects the original Vivado-given index.

Tiles: Each tile in a device is given a unique address or INDEX that is often computed by TOTAL_DEVICE_COLUMNS*TILE_ROW + TILE_COLUMN. This PR now orders the tiles in the device resources file according to this index.

Tile Types: The Interchange has a Tile Type object, but Vivado annotates tile type information on the tile. Vivado uses a TILE_TYPE_IDX to denote the order of the tile type. This is mostly alphabetical order except the 0-indexed entry is the NULL type.

The device verifier is also modified to verify that the tile orders match once the file is parsed. Since tile type indices are not declared in the interchange schema, the ordering is not verified.

Co-authored-by: eddieh-xlnx <[email protected]>
Signed-off-by: Chris Lavin <[email protected]>
@clavin-xlnx clavin-xlnx merged commit 6c4996c into master Aug 28, 2024
14 checks passed
@clavin-xlnx clavin-xlnx deleted the tiles_and_tiletype_ordering branch August 28, 2024 23:19
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.

2 participants