@@ -143,7 +143,6 @@ static void ProcessTileProps(pugi::xml_node Node,
143
143
144
144
static t_pin_counts ProcessSubTilePorts (pugi::xml_node Parent,
145
145
t_sub_tile* SubTile,
146
- std::unordered_map<std::string, t_physical_tile_port>& tile_port_names,
147
146
const pugiutil::loc_data& loc_data);
148
147
149
148
static void ProcessTilePort (pugi::xml_node Node,
@@ -3011,7 +3010,6 @@ static void ProcessTileProps(pugi::xml_node Node,
3011
3010
3012
3011
static t_pin_counts ProcessSubTilePorts (pugi::xml_node Parent,
3013
3012
t_sub_tile* SubTile,
3014
- std::unordered_map<std::string, t_physical_tile_port>& tile_port_names,
3015
3013
const pugiutil::loc_data& loc_data) {
3016
3014
pugi::xml_node Cur;
3017
3015
@@ -3045,17 +3043,6 @@ static t_pin_counts ProcessSubTilePorts(pugi::xml_node Parent,
3045
3043
SubTile->name , port.name );
3046
3044
}
3047
3045
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
-
3059
3046
// Push port
3060
3047
SubTile->ports .push_back (port);
3061
3048
@@ -3540,7 +3527,7 @@ static void ProcessSubTiles(pugi::xml_node Node,
3540
3527
PhysicalTileType->capacity += capacity;
3541
3528
3542
3529
/* 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);
3544
3531
3545
3532
/* Map Sub Tile physical pins with the Physical Tile Type physical pins.
3546
3533
* This takes into account the capacity of each sub tiles to add the correct offset.
0 commit comments