buffer.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef _buffer_h_INC
00020 #define _buffer_h_INC
00021
00022 #include "../../data_types/impl/flit.h"
00023 #include "../../../util/simIrisComponentHeader.h"
00024
00025 using namespace std;
00026
00027
00028
00029
00030
00031
00032
00033
00034 class Buffer
00035 {
00036 public:
00037 Buffer (){}
00038 ~Buffer() {}
00039 virtual void push ( Flit* f) = 0;
00040 virtual Flit* pull () = 0;
00041 virtual uint get_occupancy ( uint channel ) const = 0;
00042
00043 protected:
00044
00045 private:
00046
00047 };
00048
00049 #endif
00050