diff options
author | gatecat <gatecat@ds0.me> | 2021-04-29 10:50:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-29 10:50:28 +0100 |
commit | d718ccaa78763300146f0b8e5f2339b7fba97542 (patch) | |
tree | fd9cdcbf398c61efacc5b82c859110372e776b43 /ecp5/arch.cc | |
parent | b7bf7c11a841adeb6e9f4ca7364cbb63367be962 (diff) | |
parent | d3a6cf3ae7ed0ce23e95db1fb1a5c6c2b72fc5a2 (diff) | |
download | nextpnr-d718ccaa78763300146f0b8e5f2339b7fba97542.tar.gz nextpnr-d718ccaa78763300146f0b8e5f2339b7fba97542.tar.bz2 nextpnr-d718ccaa78763300146f0b8e5f2339b7fba97542.zip |
Merge pull request #689 from adamgreig/ecp5-alu
ECP5 ALU54B placement support
Diffstat (limited to 'ecp5/arch.cc')
-rw-r--r-- | ecp5/arch.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ecp5/arch.cc b/ecp5/arch.cc index 8b5962d2..ae9d1af0 100644 --- a/ecp5/arch.cc +++ b/ecp5/arch.cc @@ -574,6 +574,11 @@ bool Arch::place() PlacerHeapCfg cfg(getCtx()); cfg.criticalityExponent = 4; cfg.ioBufTypes.insert(id_TRELLIS_IO); + + cfg.cellGroups.emplace_back(); + cfg.cellGroups.back().insert(id_MULT18X18D); + cfg.cellGroups.back().insert(id_ALU54B); + if (!placer_heap(getCtx(), cfg)) return false; } else if (placer == "sa") { |