1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-04-12 15:16:41 +00:00

generic: Add missing uarch guard

Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
gatecat
2022-04-27 14:18:42 +01:00
parent a35c80cc10
commit 20cfafa109

View File

@@ -390,7 +390,8 @@ void Arch::unbindWire(WireId wire)
refreshUiPip(pip);
}
uarch->notifyWireChange(wire, nullptr);
if (uarch)
uarch->notifyWireChange(wire, nullptr);
net_wires.erase(wire);
wire_info(wire).bound_net = nullptr;
refreshUiWire(wire);