summaryrefslogtreecommitdiff
path: root/src/intersim/pim.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/intersim/pim.hpp')
-rw-r--r--src/intersim/pim.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/intersim/pim.hpp b/src/intersim/pim.hpp
new file mode 100644
index 0000000..1ce5535
--- /dev/null
+++ b/src/intersim/pim.hpp
@@ -0,0 +1,20 @@
+#ifndef _PIM_HPP_
+#define _PIM_HPP_
+
+#include "allocator.hpp"
+
+class PIM : public DenseAllocator {
+ int _PIM_iter;
+
+ int *_grants;
+public:
+ PIM( const Configuration &config,
+ Module *parent, const string& name,
+ int inputs, int outputs );
+
+ ~PIM( );
+
+ void Allocate( );
+};
+
+#endif