interchange: clusters: fix other cluster allowance checks in same site
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
This commit is contained in:
parent
2df931f7db
commit
e0950408d5
@ -878,16 +878,11 @@ struct Arch : ArchAPI<ArchRanges>
|
||||
}
|
||||
|
||||
for (auto ci : site_status.cells_in_site) {
|
||||
if (ci->cluster != ClusterId() && cell->cluster != ClusterId())
|
||||
continue;
|
||||
else if (ci->cluster == cell->cluster)
|
||||
continue;
|
||||
|
||||
if (ci->cluster != ClusterId() &&
|
||||
if (ci->cluster != ClusterId() && ci->cluster != cell->cluster &&
|
||||
cluster_info(chip_info, clusters.at(ci->cluster).index).disallow_other_cells)
|
||||
return false;
|
||||
|
||||
if (cell->cluster != ClusterId() &&
|
||||
if (cell->cluster != ClusterId() && ci->cluster != cell->cluster &&
|
||||
cluster_info(chip_info, clusters.at(cell->cluster).index).disallow_other_cells)
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user