From 76683a1e3c123d28deff750c38467c6377936879 Mon Sep 17 00:00:00 2001 From: gatecat Date: Wed, 16 Feb 2022 17:09:54 +0000 Subject: refactor: Use constids instead of id("..") Signed-off-by: gatecat --- ice40/arch_place.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ice40/arch_place.cc') diff --git a/ice40/arch_place.cc b/ice40/arch_place.cc index f01afdff..3b024d81 100644 --- a/ice40/arch_place.cc +++ b/ice40/arch_place.cc @@ -120,7 +120,7 @@ bool Arch::isBelLocationValid(BelId bel) const break; // Are we perhaps a PAD INPUT Bel that can be placed here? - if (pll_cell->attrs[id("BEL_PAD_INPUT")] == getBelName(bel).str(getCtx())) + if (pll_cell->attrs[id_BEL_PAD_INPUT] == getBelName(bel).str(getCtx())) return true; // Conflict -- cgit v1.2.3