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

[Pack] Removed Global Overfilled Partition Regions #2894

Conversation

AlexandreSinger
Copy link
Contributor

After each pack, the partition regions are checked to see if any of the partition regions are overfilled. During this process, the overfilled partition regions were stored in the Floorplanning context (likely for legacy reasons). This was then read from a few lines later in another function.

Since this is only used in such a localized scenario, turned this into a local variable instead of a global variable.

@github-actions github-actions bot added VPR VPR FPGA Placement & Routing Tool lang-cpp C/C++ code labels Feb 11, 2025
@AlexandreSinger
Copy link
Contributor Author

@vaughnbetz This is a small PR where I cleaned up a global variable in the FloorPlanning Context which should not have been there. This was just something I noticed while I was separating out the Initial Placer from the Placer class. Please review when you have a moment!

After each pack, the partition regions are checked to see if any of the
partition regions are overfilled. During this process, the overfilled
partition regions were stored in the Floorplanning context (likely for
legacy reasons). This was then read from a few lines later in another
function.

Turned this into a local variable instead of a global variable.
@AlexandreSinger AlexandreSinger force-pushed the feature-ap-detailed-placer branch from e8142ab to fac21ca Compare February 12, 2025 01:07
Copy link
Contributor

@vaughnbetz vaughnbetz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

@vaughnbetz vaughnbetz merged commit 7f0f9fc into verilog-to-routing:master Feb 12, 2025
36 checks passed
@AlexandreSinger AlexandreSinger deleted the feature-ap-detailed-placer branch February 13, 2025 02:43
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.

2 participants