diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-04-23 10:27:33 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-04-23 10:27:33 +0200 |
commit | a24021ea20bb70d0368c6b3e549a87fa5c4ab8ae (patch) | |
tree | 0e26ccf0934de942419e63bffbe3e040501fbd53 /techlibs/ice40 | |
parent | 7311be4028a9caad5a0fac1a3433220b4233ef84 (diff) | |
download | yosys-a24021ea20bb70d0368c6b3e549a87fa5c4ab8ae.tar.gz yosys-a24021ea20bb70d0368c6b3e549a87fa5c4ab8ae.tar.bz2 yosys-a24021ea20bb70d0368c6b3e549a87fa5c4ab8ae.zip |
Converted synth_greenpak4 to ScriptPass
Diffstat (limited to 'techlibs/ice40')
-rw-r--r-- | techlibs/ice40/synth_ice40.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/techlibs/ice40/synth_ice40.cc b/techlibs/ice40/synth_ice40.cc index 3dbdde3df..cadf3b038 100644 --- a/techlibs/ice40/synth_ice40.cc +++ b/techlibs/ice40/synth_ice40.cc @@ -74,8 +74,7 @@ struct SynthIce40Pass : public ScriptPass log("\n"); } - string top_opt = "-auto-top"; - string blif_file, edif_file; + string top_opt, blif_file, edif_file; bool nocarry, nobram, flatten, retime, abc2; virtual void clear_flags() YS_OVERRIDE @@ -92,7 +91,7 @@ struct SynthIce40Pass : public ScriptPass virtual void execute(std::vector<std::string> args, RTLIL::Design *design) YS_OVERRIDE { - std::string run_from, run_to; + string run_from, run_to; clear_flags(); size_t argidx; |