source: trunk/IPs/systemC/Environment/include/Cache_Access.h @ 82

Last change on this file since 82 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: 750 bytes
Line 
1#ifndef ENVIRONMENT_CACHE_ACCESS_H
2#define ENVIRONMENT_CACHE_ACCESS_H
3
4#include "Types.h"
5
6namespace environment {
7
8  class Cache_Access
9  {
10  public : cache::type_req_cache_t      type      ;
11  public : cache::direction_req_cache_t direction ;
12  public : uint32_t                     nb_bytes  ;
13   
14  public : Cache_Access (cache::type_req_cache_t      type      ,
15                         cache::direction_req_cache_t direction ,
16                         uint32_t                     nb_bytes  )
17    {
18      this->type      = type     ;
19      this->direction = direction;
20      this->nb_bytes  = nb_bytes ;
21    };
22  };
23
24  Cache_Access ireq_type2cache_type (Ticache_type_t ireq_type, bool uncached);
25  Cache_Access dreq_type2cache_type (Tdcache_type_t dreq_type, bool uncached);
26};
27#endif
Note: See TracBrowser for help on using the repository browser.