summaryrefslogtreecommitdiff
path: root/src/intersim/loa.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/intersim/loa.hpp')
-rw-r--r--src/intersim/loa.hpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/intersim/loa.hpp b/src/intersim/loa.hpp
new file mode 100644
index 0000000..1adb4f9
--- /dev/null
+++ b/src/intersim/loa.hpp
@@ -0,0 +1,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