diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-01 15:52:32 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-01 15:52:32 +0200 |
commit | d5d8213871d8cb68b2e4ef9b3557879c80ff5b51 (patch) | |
tree | 03b1c06d747986941187e2b5d72cc2f93ac2702b /ecp5 | |
parent | ccbe2dd18d12d9d201afd5499e9e70ed8d2539de (diff) | |
download | nextpnr-d5d8213871d8cb68b2e4ef9b3557879c80ff5b51.tar.gz nextpnr-d5d8213871d8cb68b2e4ef9b3557879c80ff5b51.tar.bz2 nextpnr-d5d8213871d8cb68b2e4ef9b3557879c80ff5b51.zip |
Added support for attributes/properties types
Diffstat (limited to 'ecp5')
-rw-r--r-- | ecp5/pack.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp5/pack.cc b/ecp5/pack.cc index 7f00de1f..548c38d8 100644 --- a/ecp5/pack.cc +++ b/ecp5/pack.cc @@ -1896,7 +1896,7 @@ class Ecp5Packer iol->params[ctx->id("DELAY.DEL_VALUE")] = std::to_string(lookup_delay(str_or_default(ci->params, ctx->id("DEL_MODE"), "USER_DEFINED"))); if (ci->params.count(ctx->id("DEL_VALUE")) && - ci->params.at(ctx->id("DEL_VALUE")).substr(0, 5) != "DELAY") + std::string(ci->params.at(ctx->id("DEL_VALUE"))).substr(0, 5) != "DELAY") iol->params[ctx->id("DELAY.DEL_VALUE")] = ci->params.at(ctx->id("DEL_VALUE")); if (ci->ports.count(id_LOADN)) replace_port(ci, id_LOADN, iol, id_LOADN); |