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
Modified prjxray import to add tiles tags #653
Conversation
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
8c39df9
to
0974f28
Compare
With the most recent updates The only problem is that the tile tag creation depends on the generated |
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain what the purpose of the new script xc7/utils/prjxray_tile_type_import.py does versus xc7/utils/prjxray_tile_import.py? I'm not sure how they work together. Either expand the relevant docstrings, or add a .md document explaining why both are needed.
@litghost Sure, I will add a generic Anyway, the main reason for having a separate |
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
xc7/make/project_xray.cmake
Outdated
# TILE name of the tile that has to be generated (e.g. CLBLM_R, BRAM_L, etc.) | ||
# SITE_TYPES list of sites contained in the considered tile (e.g. CLBLM_R contains a SLICEM and SLICEL sites) | ||
# EQUIVALENT_TILES list of tiles equivalent to the considered one (e.g. CLBLL_R is equivalent to CLBLM_R and CLBLM_L) | ||
# PIN_PREFIX translation pattern between prefixes of two equivalent tiles. This is needed as CLBLLs and CLBLMs have different |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When the tile split is done, no prefix translation will be required. How will that be expressed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have deleted the PIN_PREFIX, given that the prefix translation is not required anymore as you correctly said. I need to delete it from the
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
…biflow-arch-defs into prjxray-import-add-tile-tag Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
…t-add-tile-tag Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
be517ea
to
3adf5d7
Compare
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Please merge with master, and I'll review again. |
@litghost Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, let's fix up the merge and I think this is ready.
PORT_TAGS = ['input', 'output', 'clock'] | ||
|
||
|
||
def prefix_name(tile): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather than c/p, can you import these functions from prjxray_tile_import?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
||
return ports | ||
|
||
def add_pinlocations(xml, fc_xml, pin_assignments, tile): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we de-dup these functions from prjxray_tile_import?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, wait for green CI then merge.
This PR is still a WIP and addresses #582. It aims at creating the
tiles
tag into the arch xml description.For now there is only the possibility to add the tiles, without any reference to the possible equivalent ones. Once also the equivalent tiles are added to the
tile
tag I will remove the WIP.For now I left the top level-only tags (e.g.
fc
,pinlocations
, etc.) also in the top levelpb_types
in thecomplexblocklist
to let CI go green.