diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-07-25 17:19:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-25 17:19:54 +0200 |
commit | 5c933e511046d1720b74e47a6919c3f88ca8d303 (patch) | |
tree | 23118b7cf5de1320e34773a117eaabc69ebce438 /techlibs | |
parent | 2bdd8003d3a6e04d307d5201932e57bd1bb0217c (diff) | |
parent | 49528ed3bd391c1ba3d50f2a904b6ffdb9d11250 (diff) | |
download | yosys-5c933e511046d1720b74e47a6919c3f88ca8d303.tar.gz yosys-5c933e511046d1720b74e47a6919c3f88ca8d303.tar.bz2 yosys-5c933e511046d1720b74e47a6919c3f88ca8d303.zip |
Merge pull request #1218 from ZirconiumX/synth_intel_iopads
intel: Make -noiopads the default
Diffstat (limited to 'techlibs')
-rw-r--r-- | techlibs/intel/synth_intel.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/techlibs/intel/synth_intel.cc b/techlibs/intel/synth_intel.cc index d7b089503..539ba379f 100644 --- a/techlibs/intel/synth_intel.cc +++ b/techlibs/intel/synth_intel.cc @@ -61,8 +61,8 @@ struct SynthIntelPass : public ScriptPass { log(" from label is synonymous to 'begin', and empty to label is\n"); log(" synonymous to the end of the command list.\n"); log("\n"); - log(" -noiopads\n"); - log(" do not use IO pad cells in output netlist\n"); + log(" -iopads\n"); + log(" use IO pad cells in output netlist\n"); log("\n"); log(" -nobram\n"); log(" do not use block RAM cells in output netlist\n"); @@ -79,7 +79,7 @@ struct SynthIntelPass : public ScriptPass { } string top_opt, family_opt, vout_file, blif_file; - bool retime, flatten, nobram, noiopads; + bool retime, flatten, nobram, iopads; void clear_flags() YS_OVERRIDE { @@ -90,7 +90,7 @@ struct SynthIntelPass : public ScriptPass { retime = false; flatten = true; nobram = false; - noiopads = false; + iopads = false; } void execute(std::vector<std::string> args, RTLIL::Design *design) YS_OVERRIDE @@ -125,8 +125,8 @@ struct SynthIntelPass : public ScriptPass { run_to = args[argidx].substr(pos + 1); continue; } - if (args[argidx] == "-noiopads") { - noiopads = true; + if (args[argidx] == "-iopads") { + iopads = true; continue; } if (args[argidx] == "-nobram") { @@ -215,8 +215,8 @@ struct SynthIntelPass : public ScriptPass { } if (check_label("map_cells")) { - if (!noiopads) - run("iopadmap -bits -outpad $__outpad I:O -inpad $__inpad O:I", "(unless -noiopads)"); + if (iopads || help_mode) + run("iopadmap -bits -outpad $__outpad I:O -inpad $__inpad O:I", "(if -iopads)"); run(stringf("techmap -map +/intel/%s/cells_map.v", family_opt.c_str())); run("dffinit -highlow -ff dffeas q power_up"); |