summaryrefslogtreecommitdiff
path: root/passes/sat/sat.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-11-09 10:44:23 +0100
committerClifford Wolf <clifford@clifford.at>2014-11-09 10:44:23 +0100
commitfe829bdbdc436f425e082ab1cc8c3d276f168945 (patch)
tree5d73123ffc07ec247e095c76f65bd4800f567d1b /passes/sat/sat.cc
parentcb9e10b4624e6ba6fff215766790e3ff3b82e9a8 (diff)
Added log_warning() API
Diffstat (limited to 'passes/sat/sat.cc')
-rw-r--r--passes/sat/sat.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/sat/sat.cc b/passes/sat/sat.cc
index d5d1d916..b73417e8 100644
--- a/passes/sat/sat.cc
+++ b/passes/sat/sat.cc
@@ -116,7 +116,7 @@ struct SatHelper
}
if (removed_bits.size())
- log("Warning: ignoring initial value on non-register: %s\n", log_signal(removed_bits));
+ log_warning("ignoring initial value on non-register: %s\n", log_signal(removed_bits));
if (lhs.size()) {
log("Import set-constraint from init attribute: %s = %s\n", log_signal(lhs), log_signal(rhs));
@@ -327,7 +327,7 @@ struct SatHelper
show_drivers.insert(sigmap(p.second), c.second);
import_cell_counter++;
} else if (ignore_unknown_cells)
- log("Warning: Failed to import cell %s (type %s) to SAT database.\n", RTLIL::id2cstr(c.first), RTLIL::id2cstr(c.second->type));
+ log_warning("Failed to import cell %s (type %s) to SAT database.\n", RTLIL::id2cstr(c.first), RTLIL::id2cstr(c.second->type));
else
log_error("Failed to import cell %s (type %s) to SAT database.\n", RTLIL::id2cstr(c.first), RTLIL::id2cstr(c.second->type));
}