Code Review
/
trex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
63c6f35
)
sim stateful works now
01/5201/1
author
Hanoh Haim
<
[email protected]
>
Sat, 24 Dec 2016 19:38:50 +0000
(21:38 +0200)
committer
Hanoh Haim
<
[email protected]
>
Sat, 24 Dec 2016 19:38:50 +0000
(21:38 +0200)
Signed-off-by: Hanoh Haim <
[email protected]
>
src/main.cpp
patch
|
blob
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index
de6cef4
..
15bd99d
100755
(executable)
--- 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;