summaryrefslogtreecommitdiff
path: root/backends/spice/spice.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 /backends/spice/spice.cc
parentcb9e10b4624e6ba6fff215766790e3ff3b82e9a8 (diff)
Added log_warning() API
Diffstat (limited to 'backends/spice/spice.cc')
-rw-r--r--backends/spice/spice.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/spice/spice.cc b/backends/spice/spice.cc
index 2aff9419..390822ed 100644
--- a/backends/spice/spice.cc
+++ b/backends/spice/spice.cc
@@ -58,7 +58,7 @@ static void print_spice_module(std::ostream &f, RTLIL::Module *module, RTLIL::De
if (design->modules_.count(cell->type) == 0)
{
- log("Warning: no (blackbox) module for cell type `%s' (%s.%s) found! Guessing order of ports.\n",
+ log_warning("no (blackbox) module for cell type `%s' (%s.%s) found! Guessing order of ports.\n",
RTLIL::id2cstr(cell->type), RTLIL::id2cstr(module->name), RTLIL::id2cstr(cell->name));
for (auto &conn : cell->connections()) {
RTLIL::SigSpec sig = sigmap(conn.second);