From: Eddie Hung Date: Fri, 7 Feb 2020 16:27:45 +0000 (-0800) Subject: Fix misc.abc9.abc9_abc9_luts X-Git-Tag: working-ls180~807^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6bb7b0782323f92568f1ebb816f31f9191cd211;p=yosys.git Fix misc.abc9.abc9_abc9_luts --- diff --git a/passes/techmap/abc9_exe.cc b/passes/techmap/abc9_exe.cc index 71221951c..d3db0065c 100644 --- a/passes/techmap/abc9_exe.cc +++ b/passes/techmap/abc9_exe.cc @@ -471,7 +471,7 @@ struct Abc9ExePass : public Pass { // handle -lut / -luts args if (!lut_arg.empty()) { string arg = lut_arg; - if (arg.find_first_not_of("0123456789:") == std::string::npos) { + if (arg.find_first_not_of("0123456789:,") == std::string::npos) { size_t pos = arg.find_first_of(':'); int lut_mode = 0, lut_mode2 = 0; if (pos != string::npos) {