Skip to content

Commit

Permalink
[core] now support tile port merge
Browse files Browse the repository at this point in the history
  • Loading branch information
tangxifan committed Sep 26, 2023
1 parent 3adf810 commit dbd466c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions openfpga/src/fabric/build_top_module_child_tile_instance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1398,6 +1398,11 @@ static int build_top_module_global_net_for_given_tile_module(
vpr_device_annotation.physical_tile_pin_port_info(physical_tile,
grid_pin_index);
VTR_ASSERT(true == grid_pin_info.is_valid());
if (tile_annotation.is_tile_port_to_merge(
std::string(physical_tile->name), grid_pin_info.get_name()) &&
subtile_index != 0) {
continue;
}

/* Build nets */
for (const e_side& pin_side : pin_sides) {
Expand Down
5 changes: 5 additions & 0 deletions openfpga/src/fabric/build_top_module_connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +944,11 @@ static int build_top_module_global_net_for_given_grid_module(
vpr_device_annotation.physical_tile_pin_port_info(physical_tile,
grid_pin_index);
VTR_ASSERT(true == grid_pin_info.is_valid());
if (tile_annotation.is_tile_port_to_merge(
std::string(physical_tile->name), grid_pin_info.get_name()) &&
subtile_index != 0) {
continue;
}

/* Build nets */
for (const e_side& pin_side : pin_sides) {
Expand Down

0 comments on commit dbd466c

Please sign in to comment.