aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/lpf.cc
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2022-02-16 17:09:54 +0000
committergatecat <gatecat@ds0.me>2022-02-16 17:09:54 +0000
commit76683a1e3c123d28deff750c38467c6377936879 (patch)
tree379b38c06745919df0e87c1be1410e16793b0925 /ecp5/lpf.cc
parent9ef0bc3d3ad667d937ed803eba7b216a604d5624 (diff)
downloadnextpnr-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/lpf.cc')
-rw-r--r--ecp5/lpf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp5/lpf.cc b/ecp5/lpf.cc
index 3fd840cd..70ebfe81 100644
--- a/ecp5/lpf.cc
+++ b/ecp5/lpf.cc
@@ -134,7 +134,7 @@ bool Arch::apply_lpf(std::string filename, std::istream &in)
if (words.size() > 5)
log_error("unexpected input following LOCATE clause (on line %d)\n", lineno);
if (fnd_cell != cells.end()) {
- fnd_cell->second->attrs[id("LOC")] = strip_quotes(words.at(4));
+ fnd_cell->second->attrs[id_LOC] = strip_quotes(words.at(4));
}
} else if (verb == "IOBUF") {
if (words.size() < 3)