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

#include "allocator.hpp"

class SelAlloc : public SparseAllocator {
   int _iter;

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

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

   void Allocate( );
};

#endif