source: trunk/IPs/systemC/Environment/src/Environment_reset.cpp @ 91

Last change on this file since 91 was 81, checked in by rosiere, 17 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 554 bytes
Line 
1#include "../include/Environment.h"
2
3namespace environment {
4
5  void Environment::reset(void)
6  {
7    component_cache -> reset();
8    for (uint32_t i = 0; i < param->nb_component_tty    ; i++)
9      component_tty     [i]   ->reset();
10    for (uint32_t i = 0; i < param->nb_component_ramlock; i++)
11      component_ramlock [i]   ->reset();
12    component_sim2os -> reset();
13    component_data -> reset();
14    for (uint32_t i = 0; i < param->nb_entity; i++)
15      {
16        component_buffer_irsp [i] ->reset();
17        component_buffer_drsp [i] ->reset();
18      }
19  }
20
21};
Note: See TracBrowser for help on using the repository browser.