From 2f537d2ccc3323ce55294c153f13a91e076d08bf Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 20 Dec 2024 11:09:12 +0100 Subject: [PATCH] Fixed typo --- himbaechel/uarch/gatemate/gatemate.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/himbaechel/uarch/gatemate/gatemate.cc b/himbaechel/uarch/gatemate/gatemate.cc index b1608843..930d7495 100644 --- a/himbaechel/uarch/gatemate/gatemate.cc +++ b/himbaechel/uarch/gatemate/gatemate.cc @@ -103,7 +103,7 @@ void GateMateImpl::setupArchContext() // Bel bucket functions IdString GateMateImpl::getBelBucketForCellType(IdString cell_type) const { - if (cell_type.in(id_CC_IBUF, id_CC_IBUF, id_CC_TOBUF, id_CC_IOBUF)) + if (cell_type.in(id_CC_IBUF, id_CC_OBUF, id_CC_TOBUF, id_CC_IOBUF)) return id_GPIO; else return cell_type; @@ -113,7 +113,7 @@ bool GateMateImpl::isValidBelForCellType(IdString cell_type, BelId bel) const { IdString bel_type = ctx->getBelType(bel); if (bel_type == id_GPIO) - return cell_type.in(id_CC_IBUF, id_CC_IBUF, id_CC_TOBUF, id_CC_IOBUF); + return cell_type.in(id_CC_IBUF, id_CC_OBUF, id_CC_TOBUF, id_CC_IOBUF); else return (bel_type == cell_type); }