Merge pull request #735 from YosysHQ/gatecat/ic-disconn-belpin

interchange: Handle disconnected bel pins in dedicated interconnect
This commit is contained in:
gatecat 2021-06-28 16:26:53 +01:00 committed by GitHub
commit 7115dd3393
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -510,7 +510,7 @@ void DedicatedInterconnect::find_dedicated_interconnect()
} }
for (int i = 0; i < bel_data.num_bel_wires; ++i) { 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; continue;
} }