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

Last change on this file since 98 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: 768 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 (morpheo::Ticache_type_t ireq_type, bool uncached);
25  Cache_Access dreq_type2cache_type (morpheo::Tdcache_type_t dreq_type, bool uncached);
26};
27#endif
Note: See TracBrowser for help on using the repository browser.