diff options
author | William D. Jones <thor0505@comcast.net> | 2020-06-27 19:43:16 -0400 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-02-12 10:36:59 +0000 |
commit | 512daf2c897e84738684566188c86024ae5abe8c (patch) | |
tree | e03abd2fd27d0cdd97ca2a8744495983f764919d /machxo2/arch.cc | |
parent | 9704f422dcae5788d39edf35addd6ee5e9dfd428 (diff) | |
download | nextpnr-512daf2c897e84738684566188c86024ae5abe8c.tar.gz nextpnr-512daf2c897e84738684566188c86024ae5abe8c.tar.bz2 nextpnr-512daf2c897e84738684566188c86024ae5abe8c.zip |
machxo2: Remove generic packing.
Diffstat (limited to 'machxo2/arch.cc')
-rw-r--r-- | machxo2/arch.cc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/machxo2/arch.cc b/machxo2/arch.cc index 70de80cf..ed62ed37 100644 --- a/machxo2/arch.cc +++ b/machxo2/arch.cc @@ -491,16 +491,7 @@ const std::vector<std::string> Arch::availableRouters = {"router1", "router2"}; void Arch::assignArchInfo() { - for (auto &cell : getCtx()->cells) { - CellInfo *ci = cell.second.get(); - if (ci->type == id("GENERIC_SLICE")) { - ci->is_slice = true; - ci->slice_clk = get_net_or_empty(ci, id("CLK")); - } else { - ci->is_slice = false; - } - ci->user_group = int_or_default(ci->attrs, id("PACK_GROUP"), -1); - } + } bool Arch::cellsCompatible(const CellInfo **cells, int count) const |