summaryrefslogtreecommitdiff
path: root/src/intersim/islip.hpp
blob: a7b52421e68d78b585e51fde05fb49f1504170ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _ISLIP_HPP_
#define _ISLIP_HPP_

#include "allocator.hpp"

class iSLIP_Sparse : public SparseAllocator {
   int _iSLIP_iter;

   int *_grants;
   int *_gptrs;
   int *_aptrs;

public:
   iSLIP_Sparse( const Configuration &config,
                 Module *parent, const string& name,
                 int inputs, int outputs );
   ~iSLIP_Sparse( );

   void Allocate( );
};

#endif