From 77c82b0fbf15892b0c8222bac89564f3f024493e Mon Sep 17 00:00:00 2001 From: gatecat Date: Wed, 10 Aug 2022 10:57:17 +0100 Subject: refactor: id(stringf(...)) to new idf(...) helper Signed-off-by: gatecat --- gowin/pack.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gowin') diff --git a/gowin/pack.cc b/gowin/pack.cc index 4b5bc81d..d978ac40 100644 --- a/gowin/pack.cc +++ b/gowin/pack.cc @@ -733,7 +733,7 @@ void pack_sram(Context *ctx) // ci->disconnectPort(id_WRE); for (int i = 0; i < 4; i++) - ci->disconnectPort(ctx->id(stringf("RAD[%d]", i))); + ci->disconnectPort(ctx->idf("RAD[%d]", i)); // Setup placement constraints // Use the 0th bit as an anchor -- cgit v1.2.3