machxo2: Fix getWireName.

This commit is contained in:
William D. Jones 2021-01-29 15:46:42 -05:00 committed by gatecat
parent 385917059b
commit 447b3a060c

View File

@ -626,7 +626,7 @@ struct Arch : BaseCtx
{
NPNR_ASSERT(wire != WireId());
std::stringstream name;
name << "X" << wire.location.x << "/Y" << wire.location.y << "/" << tileInfo(wire)->bel_data[wire.index].name.get();
name << "X" << wire.location.x << "/Y" << wire.location.y << "/" << tileInfo(wire)->wire_data[wire.index].name.get();
return id(name.str());
}