mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 06:07:26 +02:00
intel: Make -noiopads the default
This commit is contained in:
@@ -61,8 +61,8 @@ struct SynthIntelPass : public ScriptPass {
|
|||||||
log(" from label is synonymous to 'begin', and empty to label is\n");
|
log(" from label is synonymous to 'begin', and empty to label is\n");
|
||||||
log(" synonymous to the end of the command list.\n");
|
log(" synonymous to the end of the command list.\n");
|
||||||
log("\n");
|
log("\n");
|
||||||
log(" -noiopads\n");
|
log(" -iopads\n");
|
||||||
log(" do not use IO pad cells in output netlist\n");
|
log(" use IO pad cells in output netlist\n");
|
||||||
log("\n");
|
log("\n");
|
||||||
log(" -nobram\n");
|
log(" -nobram\n");
|
||||||
log(" do not use block RAM cells in output netlist\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;
|
string top_opt, family_opt, vout_file, blif_file;
|
||||||
bool retime, flatten, nobram, noiopads;
|
bool retime, flatten, nobram, iopads;
|
||||||
|
|
||||||
void clear_flags() YS_OVERRIDE
|
void clear_flags() YS_OVERRIDE
|
||||||
{
|
{
|
||||||
@@ -90,7 +90,7 @@ struct SynthIntelPass : public ScriptPass {
|
|||||||
retime = false;
|
retime = false;
|
||||||
flatten = true;
|
flatten = true;
|
||||||
nobram = false;
|
nobram = false;
|
||||||
noiopads = false;
|
iopads = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void execute(std::vector<std::string> args, RTLIL::Design *design) YS_OVERRIDE
|
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);
|
run_to = args[argidx].substr(pos + 1);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (args[argidx] == "-noiopads") {
|
if (args[argidx] == "-iopads") {
|
||||||
noiopads = true;
|
iopads = true;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (args[argidx] == "-nobram") {
|
if (args[argidx] == "-nobram") {
|
||||||
@@ -215,8 +215,8 @@ struct SynthIntelPass : public ScriptPass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (check_label("map_cells")) {
|
if (check_label("map_cells")) {
|
||||||
if (!noiopads)
|
if (iopads || help_mode)
|
||||||
run("iopadmap -bits -outpad $__outpad I:O -inpad $__inpad O:I", "(unless -noiopads)");
|
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(stringf("techmap -map +/intel/%s/cells_map.v", family_opt.c_str()));
|
||||||
|
|
||||||
run("dffinit -highlow -ff dffeas q power_up");
|
run("dffinit -highlow -ff dffeas q power_up");
|
||||||
|
|||||||
Reference in New Issue
Block a user