himbaechel: output normalised wire in getWireByName (#1506)

This commit is contained in:
Lofty 2025-06-25 17:46:19 +01:00 committed by GitHub
parent 9ade2d1877
commit e642e21f9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ WireId Arch::getWireByName(IdStringList name) const
const auto &tdata = chip_tile_info(chip_info, tile);
for (int wire = 0; wire < tdata.wires.ssize(); wire++) {
if (IdString(tdata.wires[wire].name) == name[1])
return WireId(tile, wire);
return normalise_wire(tile, wire);
}
return WireId();
}