Quantization history configuration parameters
[tidl/tidl-api.git] / tidl_api / src / configuration_parser.cpp
index 5871e718bd74a1c2206ea0a0f292ec4d9f47bccb..f4575605ca7a68cc783706e463aa318f46c0806b 100644 (file)
@@ -80,7 +80,12 @@ struct ConfigParser : qi::grammar<Iterator, ascii::space_type>
          lit("outData")       >> '=' >> q_path[ph::ref(x.outData) = _1]       |
          lit("netBinFile")    >> '=' >> q_path[ph::ref(x.netBinFile) = _1]    |
          lit("paramsBinFile") >> '=' >> q_path[ph::ref(x.paramsBinFile) = _1] |
-         lit("enableTrace")   >> '=' >> bool_[ph::ref(x.enableOutputTrace)= _1]
+         lit("enableTrace")   >> '=' >> bool_[ph::ref(x.enableOutputTrace)= _1] |
+         lit("quantHistoryParam1")   >> '=' >>
+                                   int_[ph::ref(x.quantHistoryParam1)= _1] |
+         lit("quantHistoryParam2")   >> '=' >>
+                                   int_[ph::ref(x.quantHistoryParam2)= _1] |
+         lit("quantMargin")   >> '=' >> int_[ph::ref(x.quantMargin)= _1]
          ;
     }