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

#include "allocator.hpp"

class LOA : public DenseAllocator {
   int *_counts;
   int *_req;

   int *_rptr;
   int *_gptr;

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

   void Allocate( );
};

#endif