diff options
author | David Shah <davey1576@gmail.com> | 2018-11-24 18:00:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-24 18:00:45 +0000 |
commit | ff978570b162844de61dfa4ea9e30db6904b0b1f (patch) | |
tree | 6d4243320666e1b48a9b0fb3def3de7fb44a3b2c | |
parent | 8bda861a7198ab04ea164c915368d66ba9843a9f (diff) | |
parent | 2951e37b45bc4d1ccb3469651c14ad9e79fb41db (diff) | |
download | nextpnr-ff978570b162844de61dfa4ea9e30db6904b0b1f.tar.gz nextpnr-ff978570b162844de61dfa4ea9e30db6904b0b1f.tar.bz2 nextpnr-ff978570b162844de61dfa4ea9e30db6904b0b1f.zip |
Merge pull request #146 from YosysHQ/fix_145
ice40: Fix disconnection of PACKAGEPIN for PAD PLLs
-rw-r--r-- | ice40/pack.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ice40/pack.cc b/ice40/pack.cc index 34d671cf..682baadd 100644 --- a/ice40/pack.cc +++ b/ice40/pack.cc @@ -987,6 +987,8 @@ static void pack_special(Context *ctx) for (auto user : pad_packagepin_net->users) { user.cell->ports.erase(user.port); } + if (pad_packagepin_net->driver.cell != nullptr) + pad_packagepin_net->driver.cell->ports.erase(pad_packagepin_net->driver.port); ctx->nets.erase(pad_packagepin_net->name); pad_packagepin_net = nullptr; } |