From a11cc8791b0cc21d6b5c95596644f34e05c7d139 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 12 Oct 2019 10:35:52 +0200 Subject: set wire active flag --- ecp5/arch.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ecp5/arch.h') diff --git a/ecp5/arch.h b/ecp5/arch.h index 815dae0c..a0254965 100644 --- a/ecp5/arch.h +++ b/ecp5/arch.h @@ -660,6 +660,7 @@ struct Arch : BaseCtx wire_to_net[wire] = net; net->wires[wire].pip = PipId(); net->wires[wire].strength = strength; + refreshUiWire(wire); } void unbindWire(WireId wire) @@ -679,6 +680,7 @@ struct Arch : BaseCtx net_wires.erase(it); wire_to_net[wire] = nullptr; + refreshUiWire(wire); } bool checkWireAvail(WireId wire) const -- cgit v1.2.3