aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap/abc9.cc
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-08-16 16:38:49 -0700
committerEddie Hung <eddie@fpgeh.com>2019-08-16 16:38:49 -0700
commit5abe133323b2a6a46959f796c4730b2d70cdea26 (patch)
treef0b301280e4d45ede3f39bee38c10f59607556b7 /passes/techmap/abc9.cc
parentd26c512d7ef5369f26436540efee40201e480f7f (diff)
downloadyosys-5abe133323b2a6a46959f796c4730b2d70cdea26.tar.gz
yosys-5abe133323b2a6a46959f796c4730b2d70cdea26.tar.bz2
yosys-5abe133323b2a6a46959f796c4730b2d70cdea26.zip
Use ID()
Diffstat (limited to 'passes/techmap/abc9.cc')
-rw-r--r--passes/techmap/abc9.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/passes/techmap/abc9.cc b/passes/techmap/abc9.cc
index 8e25d3404..4cdd392b5 100644
--- a/passes/techmap/abc9.cc
+++ b/passes/techmap/abc9.cc
@@ -1086,16 +1086,16 @@ struct Abc9Pass : public Pass {
auto w = m->wire(p);
log_assert(w);
if (w->port_input) {
- if (w->attributes.count("\\abc_scc_break"))
+ if (w->attributes.count(ID(abc_scc_break)))
scc_break_inputs[m->name].insert(p);
- if (w->attributes.count("\\abc_carry_in")) {
+ if (w->attributes.count(ID(abc_carry_in))) {
if (carry_in)
log_error("Module '%s' contains more than one 'abc_carry_in' port.\n", log_id(m));
carry_in = w;
}
}
if (w->port_output) {
- if (w->attributes.count("\\abc_carry_out")) {
+ if (w->attributes.count(ID(abc_carry_out))) {
if (carry_out)
log_error("Module '%s' contains more than one 'abc_carry_out' port.\n", log_id(m));
carry_out = w;