Merge branch 'master' of github.com:YosysHQ/nextpnr

This commit is contained in:
David Shah 2018-11-26 09:23:31 +00:00
commit 2c6a2c40e1
2 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,7 @@
There are three types of constraints available for end users of nextpnr. 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. Architectures may provide support for their native (or any other) IO constraint format.
The iCE40 architecture supports PCF constraints thus: The iCE40 architecture supports PCF constraints thus:

View File

@ -987,6 +987,8 @@ static void pack_special(Context *ctx)
for (auto user : pad_packagepin_net->users) { for (auto user : pad_packagepin_net->users) {
user.cell->ports.erase(user.port); 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); ctx->nets.erase(pad_packagepin_net->name);
pad_packagepin_net = nullptr; pad_packagepin_net = nullptr;
} }