source: trunk/IPs/systemC/Environment/Cache/include/Cache_OneLevel_Write_Buffer.h @ 80

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

Oups, Environnement is french :P

File size: 705 bytes
Line 
1#ifndef ENVIRONMENT_CACHE_CACHE_ONELEVEL_WRITE_BUFFER_H
2#define ENVIRONMENT_CACHE_CACHE_ONELEVEL_WRITE_BUFFER_H
3
4#include <iostream>
5#include "Cache_OneLevel_Address.h"
6
7namespace environment {
8namespace cache {
9namespace cache_onelevel {
10
11  class Write_Buffer
12  {
13    public    : Address  address;
14    public    : uint32_t trdid;
15
16    public    : Write_Buffer ()
17      {
18      }
19
20    public    : Write_Buffer (Address address, uint32_t trdid)
21      {
22        this->address = address;
23        this->trdid   = trdid;
24      }
25    friend std::ostream& operator<< (std::ostream& output, const Write_Buffer &x)
26    {
27      output << x.address << " "
28             << x.trdid;
29     
30      return output;
31    }
32  };
33
34};
35};
36};
37#endif
Note: See TracBrowser for help on using the repository browser.