aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/arch.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-07-08 16:58:44 +0100
committerGitHub <noreply@github.com>2021-07-08 16:58:44 +0100
commit7b62c7fa50dda23321f0e81cd0002e46370fc45c (patch)
tree3eea19e4b01e4e12b186ce7d571aeeef3cfe4fc5 /fpga_interchange/arch.h
parent6829e4c197758a4bd68449e4843a6b3992ca3723 (diff)
parentb64642fc9919a009fc4c286a15fc255dff549ed5 (diff)
downloadnextpnr-7b62c7fa50dda23321f0e81cd0002e46370fc45c.tar.gz
nextpnr-7b62c7fa50dda23321f0e81cd0002e46370fc45c.tar.bz2
nextpnr-7b62c7fa50dda23321f0e81cd0002e46370fc45c.zip
Merge pull request #756 from acomodi/fix-clustering-runtime
interchange: reduce run-time to check dedicated interconnect
Diffstat (limited to 'fpga_interchange/arch.h')
-rw-r--r--fpga_interchange/arch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpga_interchange/arch.h b/fpga_interchange/arch.h
index 896a603a..630c4480 100644
--- a/fpga_interchange/arch.h
+++ b/fpga_interchange/arch.h
@@ -855,7 +855,7 @@ struct Arch : ArchAPI<ArchRanges>
const CellInfo *cell = tile_status.boundcells[bel.index];
if (cell != nullptr) {
- if (cell->cluster == ClusterId() && !dedicated_interconnect.isBelLocationValid(bel, cell))
+ if (!dedicated_interconnect.isBelLocationValid(bel, cell))
return false;
if (io_port_types.count(cell->type)) {