diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2019-10-12 10:35:52 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2019-10-20 09:41:48 +0200 |
commit | a11cc8791b0cc21d6b5c95596644f34e05c7d139 (patch) | |
tree | 6c57813c0186dd2a16c25b764c3e9f71cfa0e8af /ecp5/arch.h | |
parent | 3da7af9f026004dba6b08ffee1b09bec1506b6ee (diff) | |
download | nextpnr-a11cc8791b0cc21d6b5c95596644f34e05c7d139.tar.gz nextpnr-a11cc8791b0cc21d6b5c95596644f34e05c7d139.tar.bz2 nextpnr-a11cc8791b0cc21d6b5c95596644f34e05c7d139.zip |
set wire active flag
Diffstat (limited to 'ecp5/arch.h')
-rw-r--r-- | ecp5/arch.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |