diff options
author | myrtle <gatecat@ds0.me> | 2022-07-08 15:03:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-08 15:03:07 +0200 |
commit | 664cec54b92844745e21a4e86dcf8e3cca09d781 (patch) | |
tree | 004f2b14ed5a3b0584c4998d9f0a5598cc52ab28 /generic/arch.cc | |
parent | 86396c41d64d2583ec1dffca4298e83d927f0762 (diff) | |
parent | 09e388f453d9cf998391495349c88e5478b62e34 (diff) | |
download | nextpnr-664cec54b92844745e21a4e86dcf8e3cca09d781.tar.gz nextpnr-664cec54b92844745e21a4e86dcf8e3cca09d781.tar.bz2 nextpnr-664cec54b92844745e21a4e86dcf8e3cca09d781.zip |
Merge pull request #999 from YosysHQ/gatecat/pseudocell-api
netlist: Add PseudoCell API
Diffstat (limited to 'generic/arch.cc')
-rw-r--r-- | generic/arch.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/arch.cc b/generic/arch.cc index 11b5868b..3df58c9b 100644 --- a/generic/arch.cc +++ b/generic/arch.cc @@ -605,7 +605,7 @@ bool Arch::place() bool have_iobuf_or_constr = false; for (auto &cell : cells) { CellInfo *ci = cell.second.get(); - if (ci->type == id("GENERIC_IOB") || ci->bel != BelId() || ci->attrs.count(id("BEL"))) { + if (ci->isPseudo() || ci->type == id("GENERIC_IOB") || ci->bel != BelId() || ci->attrs.count(id("BEL"))) { have_iobuf_or_constr = true; break; } |