Skip to content

Commit d88bc44

Browse files
committed
Revert bad reversion.
Signed-off-by: Keith Rothman <[email protected]>
1 parent 6e9fe88 commit d88bc44

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

libs/libarchfpga/src/read_xml_arch_file.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4711,7 +4711,8 @@ static void check_port_equivalence(t_physical_tile_type& physical_tile, t_logica
47114711

47124712
if (pb_type->num_ports != (int)physical_tile.ports.size()) {
47134713
archfpga_throw(__FILE__, __LINE__,
4714-
"Logical and Physical types have a different number of ports.\n");
4714+
"Logical block (%s) and Physical tile (%s) have a different number of ports.\n",
4715+
logical_block.name, physical_tile.name);
47154716
}
47164717

47174718
for (auto& tile_port : physical_tile.ports) {
@@ -4722,7 +4723,8 @@ static void check_port_equivalence(t_physical_tile_type& physical_tile, t_logica
47224723
|| tile_port.num_pins != block_port.num_pins
47234724
|| tile_port.equivalent != block_port.equivalent) {
47244725
archfpga_throw(__FILE__, __LINE__,
4725-
"Logical and Physical types do not have equivalent port specifications.\n");
4726+
"Logical block (%s) and Physical tile (%s) do not have equivalent port specifications.\n",
4727+
logical_block.name, physical_tile.name);
47264728
}
47274729
}
47284730
}

0 commit comments

Comments
 (0)