Skip to content

[AP] Fixed Small Bug in Solver and Placer #2928

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

Conversation

AlexandreSinger
Copy link
Contributor

The solver was reserving too much space for a vector, which was causing the AP flow to crash on very large circuits. Reduced the size of the reserve to something more manageable.

The Initial Placer portion of APPack had a small bug where it was ignoring the flat placement. Rewrote the section slightly to fix this issue and try to place clusters in better places.

@AlexandreSinger
Copy link
Contributor Author

@amin1377 FYI. This fixes a small bug that causes large circuits to crash in the AP flow.

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

@haydar-c Can you please review this when you have a moment? No rush.

Copy link
Contributor

@haydar-c haydar-c left a comment

Choose a reason for hiding this comment

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

Thank you @AlexandreSinger for fixing this! LGTM, this removes the bug and also makes the reconstruction flow more directed. Just a few failing AP results in strong tests.

@AlexandreSinger AlexandreSinger force-pushed the feature-ap-minor-bugs branch 2 times, most recently from f3444cb to 7fc6b81 Compare March 12, 2025 23:14
The solver was reserving too much space for a vector, which was causing
the AP flow to crash on very large circuits. Reduced the size of the
reserve to something more manageable.

The Initial Placer portion of APPack had a small bug where it was
ignoring the flat placement. Rewrote the section slightly to fix this
issue and try to place clusters in better places.
@AlexandreSinger AlexandreSinger merged commit d0e656a into verilog-to-routing:master Mar 13, 2025
36 checks passed
@AlexandreSinger AlexandreSinger deleted the feature-ap-minor-bugs branch March 13, 2025 01:16
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