source: trunk/IPs/systemC/Environment/src/Environment_stop.cpp @ 113

Last change on this file since 113 was 88, checked in by rosiere, 16 years ago

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 325 bytes
Line 
1#include "../include/Environment.h"
2
3namespace environment {
4
5  void Environment::stop(uint32_t num_context)
6  {
7    if (context_stop [num_context] == false)
8      {
9        context_stop [num_context] = true;
10        nb_context_stop ++;
11       
12        if (nb_context_stop >= param->nb_entity)
13          sc_stop();
14      }
15  }
16
17};
Note: See TracBrowser for help on using the repository browser.