1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-05-01 05:58:23 +00:00

interchange: Skip IO ports in dedicated routing check

These have already been dealt with in arch_pack_io

Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
gatecat
2021-07-12 11:43:18 +01:00
parent 8604b03008
commit f03abe14d1

View File

@@ -425,6 +425,10 @@ bool DedicatedInterconnect::isBelLocationValid(BelId bel, const CellInfo *cell)
continue;
}
if (ctx->io_port_types.count(net->driver.cell->type)) {
continue;
}
// Only check sink BELs.
if (net->driver.cell == cell && net->driver.port == port_name) {
if (!is_driver_on_net_valid(bel, cell, port_name, net)) {
@@ -454,6 +458,10 @@ void DedicatedInterconnect::explain_bel_status(BelId bel, const CellInfo *cell)
// This net doesn't have a driver, probably not valid?
NPNR_ASSERT(net->driver.cell != nullptr);
if (ctx->io_port_types.count(net->driver.cell->type)) {
continue;
}
// Only check sink BELs.
if (net->driver.cell == cell && net->driver.port == port_name) {
if (!is_driver_on_net_valid(bel, cell, port_name, net)) {