aboutsummaryrefslogtreecommitdiff
path: root/src/intersim/credit.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/intersim/credit.hpp')
-rw-r--r--src/intersim/credit.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/intersim/credit.hpp b/src/intersim/credit.hpp
new file mode 100644
index 0000000..260e0d7
--- /dev/null
+++ b/src/intersim/credit.hpp
@@ -0,0 +1,15 @@
+#ifndef _CREDIT_HPP_
+#define _CREDIT_HPP_
+
+class Credit {
+public:
+ Credit( int max_vcs = 1 );
+ ~Credit( );
+
+ int *vc;
+ int vc_cnt;
+ bool head, tail;
+ int id;
+};
+
+#endif