diff options
author | YRabbit <rabbit@yrabbit.cyou> | 2023-03-22 18:57:14 +1000 |
---|---|---|
committer | myrtle <gatecat@ds0.me> | 2023-03-23 12:37:53 +0100 |
commit | b36e8a3013ac70a9fbe71d2163f660dafe3b8b2f (patch) | |
tree | d0ed3c0590385d7b01714c14d74e19b1f2990a1b /gowin/pack.cc | |
parent | c52906e8bca2dd399fd5a37ca50326c2b913d128 (diff) | |
download | nextpnr-b36e8a3013ac70a9fbe71d2163f660dafe3b8b2f.tar.gz nextpnr-b36e8a3013ac70a9fbe71d2163f660dafe3b8b2f.tar.bz2 nextpnr-b36e8a3013ac70a9fbe71d2163f660dafe3b8b2f.zip |
gowin: bugfix
Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
Diffstat (limited to 'gowin/pack.cc')
-rw-r--r-- | gowin/pack.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gowin/pack.cc b/gowin/pack.cc index aa12325b..49d428a8 100644 --- a/gowin/pack.cc +++ b/gowin/pack.cc @@ -963,7 +963,8 @@ static void pack_iologic(Context *ctx) delete_nets.insert(ci->ports.at(output).net->name); q0_dst->disconnectPort(id_I); ci->disconnectPort(output); - bool have_XXX = ctx->bels.at(ctx->getBelByNameStr(iob_bel->second.as_string())).pins.count(id_GW9C_ALWAYS_LOW1); + bool have_XXX = + ctx->bels.at(ctx->getBelByNameStr(iob_bel->second.as_string())).pins.count(id_GW9C_ALWAYS_LOW1); if (have_XXX) { q0_dst->disconnectPort(id_GW9C_ALWAYS_LOW1); q0_dst->connectPort(id_GW9C_ALWAYS_LOW1, ctx->nets[ctx->id("$PACKER_VCC_NET")].get()); |