Fix misc.abc9.abc9_abc9_luts
authorEddie Hung <eddie@fpgeh.com>
Fri, 7 Feb 2020 16:27:45 +0000 (08:27 -0800)
committerEddie Hung <eddie@fpgeh.com>
Fri, 7 Feb 2020 16:27:45 +0000 (08:27 -0800)
passes/techmap/abc9_exe.cc

index 71221951cc64333101cffac91b52e880c8db7d7b..d3db0065c2c58d58eb819db79a83cd9ebc0df4c1 100644 (file)
@@ -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) {