diff options
author | gatecat <gatecat@ds0.me> | 2021-06-28 14:45:27 +0100 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-06-28 14:45:27 +0100 |
commit | 980a7013d2fde9509744c3c9e4ad0895cf66d016 (patch) | |
tree | 3d6f8dd691be9dc58482c109ddad4882797529d2 | |
parent | 454617f0cbdc5cda0cccb1d451935beba064f46d (diff) | |
download | nextpnr-980a7013d2fde9509744c3c9e4ad0895cf66d016.tar.gz nextpnr-980a7013d2fde9509744c3c9e4ad0895cf66d016.tar.bz2 nextpnr-980a7013d2fde9509744c3c9e4ad0895cf66d016.zip |
interchange: Handle disconnected bel pins in dedicated interconnect
Signed-off-by: gatecat <gatecat@ds0.me>
-rw-r--r-- | fpga_interchange/dedicated_interconnect.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpga_interchange/dedicated_interconnect.cc b/fpga_interchange/dedicated_interconnect.cc index f3c25aff..d78743ac 100644 --- a/fpga_interchange/dedicated_interconnect.cc +++ b/fpga_interchange/dedicated_interconnect.cc @@ -510,7 +510,7 @@ void DedicatedInterconnect::find_dedicated_interconnect() } for (int i = 0; i < bel_data.num_bel_wires; ++i) { - if (bel_data.types[i] != PORT_OUT) { + if (bel_data.types[i] != PORT_OUT || bel_data.wires[i] == -1) { continue; } |