aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap/abc9.cc
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-08-20 12:00:12 -0700
committerEddie Hung <eddie@fpgeh.com>2019-08-20 12:00:12 -0700
commitc4d4c6db3f4bff22b2fa3a152c5c33d648af81f8 (patch)
treeb465265f1bc72f0b943fc6e4be7f4661e4e5734d /passes/techmap/abc9.cc
parent1f03154a0cc08c1bde59036d6b0a4a40a3898c3d (diff)
parent14c03861b6d178c85d6963e673ed51bc142457e1 (diff)
downloadyosys-c4d4c6db3f4bff22b2fa3a152c5c33d648af81f8.tar.gz
yosys-c4d4c6db3f4bff22b2fa3a152c5c33d648af81f8.tar.bz2
yosys-c4d4c6db3f4bff22b2fa3a152c5c33d648af81f8.zip
Merge remote-tracking branch 'origin/master' into xaig_dff
Diffstat (limited to 'passes/techmap/abc9.cc')
-rw-r--r--passes/techmap/abc9.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/passes/techmap/abc9.cc b/passes/techmap/abc9.cc
index be2a8d50b..576fb8542 100644
--- a/passes/techmap/abc9.cc
+++ b/passes/techmap/abc9.cc
@@ -1116,25 +1116,25 @@ struct Abc9Pass : public Pass {
if (w->port_input) {
if (w->attributes.count(ID(abc_scc_break)))
scc_break_inputs[m->name].insert(p);
- if (w->attributes.count(ID(abc_carry_in))) {
+ if (w->attributes.count(ID(abc_carry))) {
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' input port.\n", log_id(m));
carry_in = w;
}
}
if (w->port_output) {
- if (w->attributes.count(ID(abc_carry_out))) {
+ if (w->attributes.count(ID(abc_carry))) {
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' input port.\n", log_id(m));
carry_out = w;
}
}
}
if (carry_in || carry_out) {
if (carry_in && !carry_out)
- log_error("Module '%s' contains an 'abc_carry_in' port but no 'abc_carry_out' port.\n", log_id(m));
+ log_error("Module '%s' contains an 'abc_carry' input port but no output port.\n", log_id(m));
if (!carry_in && carry_out)
- log_error("Module '%s' contains an 'abc_carry_out' port but no 'abc_carry_in' port.\n", log_id(m));
+ log_error("Module '%s' contains an 'abc_carry' output port but no input port.\n", log_id(m));
// Make carry_in the last PI, and carry_out the last PO
// since ABC requires it this way
auto &ports = m->ports;