From a4393f108396bc315e8317eed964324739cf6cdd Mon Sep 17 00:00:00 2001 From: Hanoh Haim Date: Sat, 24 Dec 2016 21:38:50 +0200 Subject: sim stateful works now Signed-off-by: Hanoh Haim --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index de6cef45..15bd99dd 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -289,12 +289,14 @@ int main(int argc , char * argv[]){ case OPT_TYPE_SF: { SimStateful sf; + CGlobalInfo::m_options.m_run_mode = CParserOption::RUN_MODE_BATCH; return sf.run(); } case OPT_TYPE_SL: { SimStateless &st = SimStateless::get_instance(); + CGlobalInfo::m_options.m_run_mode = CParserOption::RUN_MODE_INTERACTIVE; if (params.count("dp_core_count") == 0) { params["dp_core_count"] = 1; -- cgit 1.2.3-korg