source: trunk/IPs/systemC/Environnement/Cache/include/Cache_MultiLevel.h @ 78

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

Add :

  • Execute_loop (must be test systemC)
  • Prediction
    • Direction : predifined scheme
    • Branch Target Buffer
  • iFetch_unit
    • ifetch_queue
    • pc management
  • Decod_unit
    • coming soon : support for custom operation
  • Rename_unit
    • RAT
    • Free_list
    • Dependence RAW check
    • Load store unit pointer
  • New Environnement (hierarchy_memory will remove in a next version)


Modif :

  • Manage Custom Operation
  • All component in execute_loop to use the new statistics management

Not Finish :

  • Return Address Stack
  • Environnement
File size: 1.2 KB
Line 
1#ifndef ENVIRONNEMENT_CACHE_CACHE_MULTILEVEL_H
2#define ENVIRONNEMENT_CACHE_CACHE_MULTILEVEL_H
3
4#include "Cache_MultiLevel_Parameters.h"
5#include "Cache_MultiLevel_Access.h"
6#include "Cache_OneLevel.h"
7
8namespace environnement {
9namespace cache {
10namespace cache_multilevel {
11
12  class Cache_MultiLevel
13  {
14  protected : std::string  name;
15  public    : Parameters * param;
16  protected : cache_onelevel::Cache_OneLevel ** hierarchy_cache;
17   
18  public    :  Cache_MultiLevel (std::string name, Parameters * param);
19  public    : ~Cache_MultiLevel (void);
20
21  public    : void             reset         (void);
22  public    : void             transition    (void);
23  public    : Access           access        (uint32_t num_port, uint32_t address, uint32_t trdid, type_req_cache_t type, direction_req_cache_t dir);
24  public    : uint32_t         latence       (uint32_t num_port, uint32_t address, uint32_t trdid, type_req_cache_t type, direction_req_cache_t dir);
25  public    : uint32_t         update_access (Access cur_access);
26
27  public    : std::string      information   (uint32_t depth);
28  public    : friend std::ostream& operator<< (std::ostream& output, Cache_MultiLevel & x);
29  };
30
31};
32};
33};
34#endif
Note: See TracBrowser for help on using the repository browser.