diff options
author | gatecat <gatecat@ds0.me> | 2022-02-16 17:09:54 +0000 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2022-02-16 17:09:54 +0000 |
commit | 76683a1e3c123d28deff750c38467c6377936879 (patch) | |
tree | 379b38c06745919df0e87c1be1410e16793b0925 /ecp5/arch_place.cc | |
parent | 9ef0bc3d3ad667d937ed803eba7b216a604d5624 (diff) | |
download | nextpnr-76683a1e3c123d28deff750c38467c6377936879.tar.gz nextpnr-76683a1e3c123d28deff750c38467c6377936879.tar.bz2 nextpnr-76683a1e3c123d28deff750c38467c6377936879.zip |
refactor: Use constids instead of id("..")
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'ecp5/arch_place.cc')
-rw-r--r-- | ecp5/arch_place.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp5/arch_place.cc b/ecp5/arch_place.cc index 3cc6d252..a1f8aa1f 100644 --- a/ecp5/arch_place.cc +++ b/ecp5/arch_place.cc @@ -150,7 +150,7 @@ void Arch::permute_luts() for (auto &cell : cells) { CellInfo *ci = cell.second.get(); - if (ci->type == id_TRELLIS_SLICE && str_or_default(ci->params, id("MODE"), "LOGIC") == "LOGIC") { + if (ci->type == id_TRELLIS_SLICE && str_or_default(ci->params, id_MODE, "LOGIC") == "LOGIC") { proc_lut(ci, 0); proc_lut(ci, 1); } |