From 2da92d0d7e2d9589964a319e548b834d6ae12e78 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Mon, 10 Jun 2024 11:28:44 +0200 Subject: [PATCH] Fix IOM packing --- himbaechel/uarch/ng-ultra/pack.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/himbaechel/uarch/ng-ultra/pack.cc b/himbaechel/uarch/ng-ultra/pack.cc index 97bb2c0a..86cb797e 100644 --- a/himbaechel/uarch/ng-ultra/pack.cc +++ b/himbaechel/uarch/ng-ultra/pack.cc @@ -557,7 +557,7 @@ void NgUltraPacker::pack_ioms(void) if (port.second.net->name == ctx->id("$PACKER_GND")) ci.disconnectPort(port.first); else if (port.second.net->driver.cell != nullptr && - port.second.net->driver.cell->type == id_IOTP) { + port.second.net->driver.cell->type.in(id_IP, id_OP, id_IOP, id_ITP, id_OTP, id_IOTP)) { IdString loc = uarch->tile_name_id(port.second.net->driver.cell->bel.tile); if (iob != IdString() && loc != iob) { log_error("Unable to constrain IOM '%s', connection to multiple IO banks exist.\n",