mirror of https://github.com/YosysHQ/yosys.git
abc9: fix typos
This commit is contained in:
parent
a10016ccc5
commit
d1f8371481
|
@ -300,9 +300,9 @@ void abc9_module(RTLIL::Design *design, RTLIL::Module *module, std::string scrip
|
||||||
|
|
||||||
std::string R;
|
std::string R;
|
||||||
if (design->scratchpad.count("abc9.if.R"))
|
if (design->scratchpad.count("abc9.if.R"))
|
||||||
C = "-C " + design->scratchpad_get_string("abc9.if.R");
|
R = "-R " + design->scratchpad_get_string("abc9.if.R");
|
||||||
for (size_t pos = abc9_script.find("{R}"); pos != std::string::npos; pos = abc9_script.find("{R}", pos))
|
for (size_t pos = abc9_script.find("{R}"); pos != std::string::npos; pos = abc9_script.find("{R}", pos))
|
||||||
abc9_script = abc9_script.substr(0, pos) + C + abc9_script.substr(pos+3);
|
abc9_script = abc9_script.substr(0, pos) + R + abc9_script.substr(pos+3);
|
||||||
|
|
||||||
if (nomfs)
|
if (nomfs)
|
||||||
for (size_t pos = abc9_script.find("&mfs"); pos != std::string::npos; pos = abc9_script.find("&mfs", pos))
|
for (size_t pos = abc9_script.find("&mfs"); pos != std::string::npos; pos = abc9_script.find("&mfs", pos))
|
||||||
|
@ -803,14 +803,14 @@ struct Abc9Pass : public Pass {
|
||||||
log(" if no -script parameter is given, the following scripts are used:\n");
|
log(" if no -script parameter is given, the following scripts are used:\n");
|
||||||
log("\n");
|
log("\n");
|
||||||
log(" for -lut/-luts:\n");
|
log(" for -lut/-luts:\n");
|
||||||
log("%s\n", fold_abc9_cmd(RTLIL::constpad.at("abc9.script.default")).c_str());
|
log("%s\n", fold_abc9_cmd(RTLIL::constpad.at("abc9.script.default")).c_str()+1);
|
||||||
log("\n");
|
log("\n");
|
||||||
log(" -fast\n");
|
log(" -fast\n");
|
||||||
log(" use different default scripts that are slightly faster (at the cost\n");
|
log(" use different default scripts that are slightly faster (at the cost\n");
|
||||||
log(" of output quality):\n");
|
log(" of output quality):\n");
|
||||||
log("\n");
|
log("\n");
|
||||||
log(" for -lut/-luts:\n");
|
log(" for -lut/-luts:\n");
|
||||||
log("%s\n", fold_abc9_cmd(RTLIL::constpad.at("abc9.script.default.fast")).c_str());
|
log("%s\n", fold_abc9_cmd(RTLIL::constpad.at("abc9.script.default.fast")).c_str()+1);
|
||||||
log("\n");
|
log("\n");
|
||||||
log(" -D <picoseconds>\n");
|
log(" -D <picoseconds>\n");
|
||||||
log(" set delay target. the string {D} in the default scripts above is\n");
|
log(" set delay target. the string {D} in the default scripts above is\n");
|
||||||
|
|
Loading…
Reference in New Issue