@@ -143,7 +143,6 @@ static void ProcessTileProps(pugi::xml_node Node,
143143
144144static t_pin_counts ProcessSubTilePorts (pugi::xml_node Parent,
145145 t_sub_tile* SubTile,
146- std::unordered_map<std::string, t_physical_tile_port>& tile_port_names,
147146 const pugiutil::loc_data& loc_data);
148147
149148static void ProcessTilePort (pugi::xml_node Node,
@@ -3011,7 +3010,6 @@ static void ProcessTileProps(pugi::xml_node Node,
30113010
30123011static t_pin_counts ProcessSubTilePorts (pugi::xml_node Parent,
30133012 t_sub_tile* SubTile,
3014- std::unordered_map<std::string, t_physical_tile_port>& tile_port_names,
30153013 const pugiutil::loc_data& loc_data) {
30163014 pugi::xml_node Cur;
30173015
@@ -3045,17 +3043,6 @@ static t_pin_counts ProcessSubTilePorts(pugi::xml_node Parent,
30453043 SubTile->name , port.name );
30463044 }
30473045
3048- // Check port name duplicates
3049- auto [added_entry, tile_success] = tile_port_names.insert ({port.name , port});
3050- if (!tile_success) {
3051- if (added_entry->second .num_pins != port.num_pins || added_entry->second .equivalent != port.equivalent ) {
3052- archfpga_throw (loc_data.filename_c_str (), loc_data.line (Cur),
3053- " Another port found with the same name in other sub tiles "
3054- " that did not match the current port settings. '%s': port '%s'\n " ,
3055- SubTile->name , port.name );
3056- }
3057- }
3058-
30593046 // Push port
30603047 SubTile->ports .push_back (port);
30613048
@@ -3540,7 +3527,7 @@ static void ProcessSubTiles(pugi::xml_node Node,
35403527 PhysicalTileType->capacity += capacity;
35413528
35423529 /* Process sub tile port definitions */
3543- const auto pin_counts = ProcessSubTilePorts (CurSubTile, &SubTile, tile_port_names, loc_data);
3530+ const auto pin_counts = ProcessSubTilePorts (CurSubTile, &SubTile, loc_data);
35443531
35453532 /* Map Sub Tile physical pins with the Physical Tile Type physical pins.
35463533 * This takes into account the capacity of each sub tiles to add the correct offset.
0 commit comments