mirror of https://github.com/YosysHQ/yosys.git
Use ID()
This commit is contained in:
parent
d26c512d7e
commit
5abe133323
|
@ -1086,16 +1086,16 @@ struct Abc9Pass : public Pass {
|
||||||
auto w = m->wire(p);
|
auto w = m->wire(p);
|
||||||
log_assert(w);
|
log_assert(w);
|
||||||
if (w->port_input) {
|
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);
|
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)
|
if (carry_in)
|
||||||
log_error("Module '%s' contains more than one 'abc_carry_in' port.\n", log_id(m));
|
log_error("Module '%s' contains more than one 'abc_carry_in' port.\n", log_id(m));
|
||||||
carry_in = w;
|
carry_in = w;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (w->port_output) {
|
if (w->port_output) {
|
||||||
if (w->attributes.count("\\abc_carry_out")) {
|
if (w->attributes.count(ID(abc_carry_out))) {
|
||||||
if (carry_out)
|
if (carry_out)
|
||||||
log_error("Module '%s' contains more than one 'abc_carry_out' port.\n", log_id(m));
|
log_error("Module '%s' contains more than one 'abc_carry_out' port.\n", log_id(m));
|
||||||
carry_out = w;
|
carry_out = w;
|
||||||
|
|
Loading…
Reference in New Issue