Skip to content

[Prepacker] Moved the Prepacker Out of Try Pack #2962

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

Merged

Conversation

AlexandreSinger
Copy link
Contributor

The AP flow makes its own prepacker which it uses throughout. However, a full legalizer in the AP flow (APPack) uses the try_pack method which creates its own prepacker. This creates two independent prepacker objects when only one is needed.

Move the construction of the prepacker object into vpr_api and have it get passed into the try_pack function.

Resolves #2950

The AP flow makes its own prepacker which it uses throughout. However, a
full legalizer in the AP flow (APPack) uses the try_pack method which
creates its own prepacker. This creates two independent prepacker
objects when only one is needed.

Move the construction of the prepacker object into vpr_api and have it
get passed into the try_pack function.
@AlexandreSinger AlexandreSinger requested a review from amin1377 April 4, 2025 01:50
@github-actions github-actions bot added VPR VPR FPGA Placement & Routing Tool lang-cpp C/C++ code labels Apr 4, 2025
@amin1377 amin1377 merged commit 36ba8da into verilog-to-routing:master Apr 6, 2025
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang-cpp C/C++ code VPR VPR FPGA Placement & Routing Tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[AP] Prepacker Called Twice in AP Flow
2 participants