Skip to content

Add Z Cost to Placement Cost Function [WIP] #2778

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
merged 8 commits into from
Oct 18, 2024
Merged

Conversation

amin1377
Copy link
Contributor

@amin1377 amin1377 commented Oct 16, 2024

When using 3D architectures, two types of bounding boxes are available: per-layer and cube bounding boxes. For the cube bounding box, the cost function previously depended only on the bounding box's dx and dy dimensions, with dz being ignored. In this PR, we added chanz_place_cost_fac_ to the NetCostHandler class, which contains the inverse of the average number of inter-die connections for each [subheight][sublow] pair. This data structure is multiplied by the bounding box’s dz and added to the placement cost.
QoR:
3D SIV without Z cost vs 3D SIV with Z cost:
3d

@github-actions github-actions bot added VPR VPR FPGA Placement & Routing Tool lang-cpp C/C++ code labels Oct 16, 2024
@vaughnbetz
Copy link
Contributor

Please do a Titan check on a 2D arch just to be sure, and mail me the results. But I'll merge in advance. Also, in the subsequent PR for prefix sum, please make sure there are Doxygen comments on new subroutines.

@vaughnbetz vaughnbetz merged commit 2ada670 into master Oct 18, 2024
36 of 53 checks passed
@vaughnbetz vaughnbetz deleted the add_z_cost_placement branch October 18, 2024 15:06
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