diff options
-rw-r--r-- | docs/constraints.md | 2 | ||||
-rw-r--r-- | ice40/pack.cc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/docs/constraints.md b/docs/constraints.md index 263df7b6..c12204da 100644 --- a/docs/constraints.md +++ b/docs/constraints.md @@ -2,7 +2,7 @@ There are three types of constraints available for end users of nextpnr. -## Architecture-specific IO Cconstraints +## Architecture-specific IO Constraints Architectures may provide support for their native (or any other) IO constraint format. The iCE40 architecture supports PCF constraints thus: 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; } |