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 | |
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')
-rw-r--r-- | techlibs/ice40/ice40_opt.cc | 8 | ||||
-rw-r--r-- | techlibs/ice40/synth_ice40.cc | 4 |
2 files changed, 6 insertions, 6 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"); diff --git a/techlibs/ice40/synth_ice40.cc b/techlibs/ice40/synth_ice40.cc index 92d53f4ab..f24d31a8c 100644 --- a/techlibs/ice40/synth_ice40.cc +++ b/techlibs/ice40/synth_ice40.cc @@ -106,7 +106,7 @@ struct SynthIce40Pass : public Pass { log(" dffsr2dff\n"); log(" dff2dffe -direct-match $_DFF_*\n"); log(" techmap -map +/ice40/cells_map.v\n"); - log(" opt_const -mux_undef\n"); + log(" opt_expr -mux_undef\n"); log(" simplemap\n"); log(" ice40_ffinit\n"); log(" ice40_ffssr\n"); @@ -247,7 +247,7 @@ struct SynthIce40Pass : public Pass { Pass::call(design, "dffsr2dff"); Pass::call(design, "dff2dffe -direct-match $_DFF_*"); Pass::call(design, "techmap -map +/ice40/cells_map.v"); - Pass::call(design, "opt_const -mux_undef"); + Pass::call(design, "opt_expr -mux_undef"); Pass::call(design, "simplemap"); Pass::call(design, "ice40_ffinit"); Pass::call(design, "ice40_ffssr"); |