source: trunk/IPs/systemC/Environnement/Cache/include/Cache_OneLevel_Access_Port.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: 936 bytes
Line 
1#ifndef ENVIRONNEMENT_CACHE_CACHE_ONELEVEL_ACCESS_PORT_H
2#define ENVIRONNEMENT_CACHE_CACHE_ONELEVEL_ACCESS_PORT_H
3
4#include <iostream>
5#include "Types.h"
6#include "Cache_OneLevel_Address.h"
7
8namespace environnement {
9namespace cache {
10namespace cache_onelevel {
11
12  class Access_Port
13  {
14  public    : bool             valid;
15  public    : Address          address;
16  public    : uint32_t         trdid;
17  public    : type_rsp_cache_t hit;
18  public    : uint32_t         num_associativity; // on hit  : update lru
19  public    : uint32_t         latence;           // on miss : wait
20   
21    friend std::ostream& operator<< (std::ostream& output, const Access_Port &x)
22    {
23      output << x.valid             << " "
24             << x.hit               << " "
25             << x.address           << " "
26             << x.trdid             << " "
27             << x.num_associativity << " "
28             << x.latence;
29     
30      return output;
31    }
32  };
33
34};
35};
36};
37#endif
Note: See TracBrowser for help on using the repository browser.