Changeset 117 for trunk/IPs/systemC/Environment/src/Environment_stop.cpp
- Timestamp:
- May 16, 2009, 4:42:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/Environment/src/Environment_stop.cpp
r88 r117 5 5 void Environment::stop(uint32_t num_context) 6 6 { 7 8 cout("<stop> : num_context : %d\n",num_context); 9 cout("<stop> : context_stop : %d\n",context_stop [num_context]); 10 cout("<stop> : nb_context_stop : %d\n",nb_context_stop); 11 12 7 13 if (context_stop [num_context] == false) 8 14 { … … 10 16 nb_context_stop ++; 11 17 12 if (nb_context_stop >= param->nb_entity) 13 sc_stop(); 18 if (nb_context_stop >= param->nb_thread) 19 { 20 cout("<stop> : end simulation\n"); 21 sc_stop(); 22 } 14 23 } 15 24 }
Note: See TracChangeset
for help on using the changeset viewer.