summaryrefslogtreecommitdiff
path: root/src/intersim/buffer_state.hpp
diff options
context:
space:
mode:
authorDongdong Li <[email protected]>2013-11-22 15:38:36 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:50:59 -0700
commitef8a5521e440baa2f86d468cdc9078f54ec7c0c0 (patch)
treec1627660cc01983067eb5d9b09fb82b4e06d9983 /src/intersim/buffer_state.hpp
parentbdc0e550448f04c7c8f030b7421209bae37e651d (diff)
Delete Intersim
Code Review Issue: 113001 [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 17414]
Diffstat (limited to 'src/intersim/buffer_state.hpp')
-rw-r--r--src/intersim/buffer_state.hpp43
1 files changed, 0 insertions, 43 deletions
diff --git a/src/intersim/buffer_state.hpp b/src/intersim/buffer_state.hpp
deleted file mode 100644
index 8418f02..0000000
--- a/src/intersim/buffer_state.hpp
+++ /dev/null
@@ -1,43 +0,0 @@
-#ifndef _BUFFER_STATE_HPP_
-#define _BUFFER_STATE_HPP_
-
-#include "module.hpp"
-#include "flit.hpp"
-#include "credit.hpp"
-#include "config_utils.hpp"
-
-class BufferState : public Module {
-
- int _wait_for_tail_credit;
- int _buf_size;
- int _vcs;
-
- int _last_avail;
-
- bool *_in_use;
- bool *_tail_sent;
- int *_cur_occupied;
-
- void _Init( const Configuration& config );
-
-public:
- BufferState() : Module( ) {}
- void init( const Configuration& config );
- BufferState( const Configuration& config,
- Module *parent, const string& name );
- ~BufferState( );
-
- void ProcessCredit( Credit *c );
- void SendingFlit( Flit *f );
-
- void TakeBuffer( int vc = 0 );
-
- bool IsFullFor( int vc = 0 ) const;
- bool IsAvailableFor( int vc = 0 ) const;
-
- int FindAvailable( );
-
- void Display( ) const;
-};
-
-#endif