Skip to content

Commit 0a4b0f2

Browse files
committed
Revert "archfpga: Improve error reporting for tile/block pin mismatches"
This reverts commit 502be5a.
1 parent 72f87b5 commit 0a4b0f2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

libs/libarchfpga/src/read_xml_arch_file.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4907,8 +4907,7 @@ static void check_port_direct_mappings(t_physical_tile_type_ptr physical_tile, t
49074907

49084908
if (pb_type->num_pins != (int)pin_direct_mapping.size()) {
49094909
archfpga_throw(__FILE__, __LINE__,
4910-
"Logical block (%s) and Physical tile (%s) have a different number of ports.\n",
4911-
logical_block->name, physical_tile->name);
4910+
"Logical and Physical types have a different number of ports.\n");
49124911
}
49134912

49144913
for (auto pin_map : pin_direct_mapping) {
@@ -4922,8 +4921,7 @@ static void check_port_direct_mappings(t_physical_tile_type_ptr physical_tile, t
49224921
|| tile_port->num_pins != block_port->num_pins
49234922
|| tile_port->equivalent != block_port->equivalent) {
49244923
archfpga_throw(__FILE__, __LINE__,
4925-
"Logical block (%s) and Physical tile (%s) do not have equivalent port specifications.\n",
4926-
logical_block->name, physical_tile->name);
4924+
"Logical and Physical types do not have equivalent port specifications.\n");
49274925
}
49284926
}
49294927
}

0 commit comments

Comments
 (0)