diff options
Diffstat (limited to 'ecp5/main.cc')
-rw-r--r-- | ecp5/main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp5/main.cc b/ecp5/main.cc index 1864548b..f143d583 100644 --- a/ecp5/main.cc +++ b/ecp5/main.cc @@ -277,7 +277,7 @@ void ECP5CommandHandler::customAfterLoad(Context *ctx) CellInfo *ci = cell.second.get(); if (ci->type == ctx->id("$nextpnr_ibuf") || ci->type == ctx->id("$nextpnr_obuf") || ci->type == ctx->id("$nextpnr_iobuf")) { - if (!ci->attrs.count(ctx->id("LOC"))) { + if (!ci->attrs.count(id_LOC)) { if (vm.count("lpf-allow-unconstrained")) log_warning("IO '%s' is unconstrained in LPF and will be automatically placed\n", cell.first.c_str(ctx)); |