Skip to content

Commit

Permalink
Merge pull request #1515 from lnis-uofu/xt_pbpin
Browse files Browse the repository at this point in the history
[core] fixed a bug where pb pin fixup may fail when subtile capacities are not same
  • Loading branch information
tangxifan authored Jan 12, 2024
2 parents e1ee5d5 + 59deb97 commit de1b68c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openfpga/src/base/openfpga_pb_pin_fixup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ static void update_cluster_pin_with_post_routing_results(
* here z offset is the location in the multiple-logic-tile tile Get
* physical pin does not consider THIS!!!!
*/
int physical_pin = z * logical_block->pb_type->num_pins +
get_physical_pin(physical_tile, logical_block, j);
int physical_pin =
get_physical_pin_at_sub_tile_location(physical_tile, logical_block, z, j);
auto pin_class = physical_tile->pin_class[physical_pin];
auto class_inf = physical_tile->class_inf[pin_class];

Expand Down

0 comments on commit de1b68c

Please sign in to comment.