aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/ice40/ice40_opt.cc
diff options
context:
space:
mode:
authorAndrew Zonenberg <azonenberg@drawersteak.com>2016-04-22 19:07:55 -0700
committerAndrew Zonenberg <azonenberg@drawersteak.com>2016-04-22 19:07:55 -0700
commitab11f2aa701f4ff7a8df98d2a4158ea1f661a205 (patch)
treed2c8e2b82b7cca57127bd9dd54d3eb40386a88f7 /techlibs/ice40/ice40_opt.cc
parentd90c1e952256dc00d070863835e061d73e4bc6b3 (diff)
parent7311be4028a9caad5a0fac1a3433220b4233ef84 (diff)
downloadyosys-ab11f2aa701f4ff7a8df98d2a4158ea1f661a205.tar.gz
yosys-ab11f2aa701f4ff7a8df98d2a4158ea1f661a205.tar.bz2
yosys-ab11f2aa701f4ff7a8df98d2a4158ea1f661a205.zip
Merge https://github.com/cliffordwolf/yosys
Diffstat (limited to 'techlibs/ice40/ice40_opt.cc')
-rw-r--r--techlibs/ice40/ice40_opt.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/techlibs/ice40/ice40_opt.cc b/techlibs/ice40/ice40_opt.cc
index 5730847ce..8b6a23fb2 100644
--- a/techlibs/ice40/ice40_opt.cc
+++ b/techlibs/ice40/ice40_opt.cc
@@ -137,7 +137,7 @@ struct Ice40OptPass : public Pass {
virtual void execute(std::vector<std::string> args, RTLIL::Design *design)
{
string opt_expr_args = "-mux_undef -undriven";
- log_header("Executing ICE40_OPT pass (performing simple optimizations).\n");
+ log_header(design, "Executing ICE40_OPT pass (performing simple optimizations).\n");
log_push();
size_t argidx;
@@ -154,7 +154,7 @@ struct Ice40OptPass : public Pass {
{
design->scratchpad_unset("opt.did_something");
- log_header("Running ICE40 specific optimizations.\n");
+ log_header(design, "Running ICE40 specific optimizations.\n");
for (auto module : design->selected_modules())
run_ice40_opts(module);
@@ -166,14 +166,14 @@ struct Ice40OptPass : public Pass {
if (design->scratchpad_get_bool("opt.did_something") == false)
break;
- log_header("Rerunning OPT passes. (Removed registers in this run.)\n");
+ log_header(design, "Rerunning OPT passes. (Removed registers in this run.)\n");
}
design->optimize();
design->sort();
design->check();
- log_header("Finished OPT passes. (There is nothing left to do.)\n");
+ log_header(design, "Finished OPT passes. (There is nothing left to do.)\n");
log_pop();
}
} Ice40OptPass;