aboutsummaryrefslogtreecommitdiffstats
path: root/passes
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-01-11 12:11:35 -0800
committerEddie Hung <eddie@fpgeh.com>2020-01-11 12:11:35 -0800
commitc8206823141aa54b6151c57548fdb73211157451 (patch)
tree192896128b742fe5d272e9cdcd4f7ab2d8343e6d /passes
parented2aeb498eb7bbe028ece4adf96b94bacd0b3ef0 (diff)
downloadyosys-c8206823141aa54b6151c57548fdb73211157451.tar.gz
yosys-c8206823141aa54b6151c57548fdb73211157451.tar.bz2
yosys-c8206823141aa54b6151c57548fdb73211157451.zip
abc9: fix help message, found by @nakengelhardt
Diffstat (limited to 'passes')
-rw-r--r--passes/techmap/abc9.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/techmap/abc9.cc b/passes/techmap/abc9.cc
index 387d9b644..ec80e098f 100644
--- a/passes/techmap/abc9.cc
+++ b/passes/techmap/abc9.cc
@@ -810,14 +810,14 @@ struct Abc9Pass : public Pass {
log(" if no -script parameter is given, the following scripts are used:\n");
log("\n");
log(" for -lut/-luts:\n");
- log("%s\n", fold_abc9_cmd(RTLIL::constpad.at("abc9.script.default")).c_str()+1);
+ log("%s\n", fold_abc9_cmd(RTLIL::constpad.at("abc9.script.default").substr(1,std::string::npos)).c_str());
log("\n");
log(" -fast\n");
log(" use different default scripts that are slightly faster (at the cost\n");
log(" of output quality):\n");
log("\n");
log(" for -lut/-luts:\n");
- log("%s\n", fold_abc9_cmd(RTLIL::constpad.at("abc9.script.default.fast")).c_str()+1);
+ log("%s\n", fold_abc9_cmd(RTLIL::constpad.at("abc9.script.default.fast").substr(1,std::string::npos)).c_str());
log("\n");
log(" -D <picoseconds>\n");
log(" set delay target. the string {D} in the default scripts above is\n");