Skip to content

Commit

Permalink
vpr: place: add chanz_place_cost_fac which will be used by net_cost f…
Browse files Browse the repository at this point in the history
…unction to consider the height of the cube bounding box
  • Loading branch information
amin1377 committed Apr 3, 2024
1 parent 633193b commit 760b5a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vpr/src/place/place.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ static vtr::vector<ClusterNetId, char> bb_updated_before;
*/
static vtr::NdMatrix<float, 2> chanx_place_cost_fac({0, 0}); //[0...device_ctx.grid.width()-2]
static vtr::NdMatrix<float, 2> chany_place_cost_fac({0, 0}); //[0...device_ctx.grid.height()-2]
static vtr::NdMatrix<float, 6> chanz_place_cost_fac({0, 0, 0, 0, 0, 0}); //[0...device_ctx.grid.height()-2]

/* The following arrays are used by the try_swap function for speed. */
/* [0...cluster_ctx.clb_nlist.nets().size()-1] */
Expand Down

0 comments on commit 760b5a0

Please sign in to comment.