diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-03-31 08:43:28 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-03-31 08:46:56 +0200 |
commit | 1d0f0d668ade740c928c66c400476924abf62384 (patch) | |
tree | 8215e3fb7c6fd92a8560217e0840a90a39a620e6 /techlibs/ice40/ice40_opt.cc | |
parent | d31c968d76e99d5c7288d0eb844e041bb36aa77d (diff) | |
download | yosys-1d0f0d668ade740c928c66c400476924abf62384.tar.gz yosys-1d0f0d668ade740c928c66c400476924abf62384.tar.bz2 yosys-1d0f0d668ade740c928c66c400476924abf62384.zip |
Renamed opt_const to opt_expr
Diffstat (limited to 'techlibs/ice40/ice40_opt.cc')
-rw-r--r-- | techlibs/ice40/ice40_opt.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/techlibs/ice40/ice40_opt.cc b/techlibs/ice40/ice40_opt.cc index 677ac8d77..69c222808 100644 --- a/techlibs/ice40/ice40_opt.cc +++ b/techlibs/ice40/ice40_opt.cc @@ -127,7 +127,7 @@ struct Ice40OptPass : public Pass { log("\n"); log(" do\n"); log(" <ice40 specific optimizations>\n"); - log(" opt_const -mux_undef -undriven [-full]\n"); + log(" opt_expr -mux_undef -undriven [-full]\n"); log(" opt_share\n"); log(" opt_rmdff\n"); log(" opt_clean\n"); @@ -136,14 +136,14 @@ struct Ice40OptPass : public Pass { } virtual void execute(std::vector<std::string> args, RTLIL::Design *design) { - string opt_const_args = "-mux_undef -undriven"; + string opt_expr_args = "-mux_undef -undriven"; log_header("Executing ICE40_OPT pass (performing simple optimizations).\n"); log_push(); size_t argidx; for (argidx = 1; argidx < args.size(); argidx++) { if (args[argidx] == "-full") { - opt_const_args += " -full"; + opt_expr_args += " -full"; continue; } break; @@ -158,7 +158,7 @@ struct Ice40OptPass : public Pass { for (auto module : design->selected_modules()) run_ice40_opts(module); - Pass::call(design, "opt_const " + opt_const_args); + Pass::call(design, "opt_expr " + opt_expr_args); Pass::call(design, "opt_share"); Pass::call(design, "opt_rmdff"); Pass::call(design, "opt_clean"); |