aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fpga_interchange/dedicated_interconnect.cc2
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;
}