source: trunk/IPs/systemC/Environment/Cache/src/Cache_reset.cpp

Last change on this file 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: 283 bytes
Line 
1#include "../include/Cache.h"
2
3namespace environment {
4namespace cache {
5
6  void Cache::reset (void)
7  {
8    for (uint32_t i=0; i<param->nb_cache_dedicated; i++)
9      {
10        icache_dedicated[i]->reset();
11        dcache_dedicated[i]->reset();
12      }
13   
14    cache_shared->reset();
15  }
16
17};
18};
Note: See TracBrowser for help on using the repository browser.