diff options
| author | Dongdong Li <[email protected]> | 2013-11-22 15:38:36 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:50:59 -0700 |
| commit | ef8a5521e440baa2f86d468cdc9078f54ec7c0c0 (patch) | |
| tree | c1627660cc01983067eb5d9b09fb82b4e06d9983 /src/intersim/arbiter.hpp | |
| parent | bdc0e550448f04c7c8f030b7421209bae37e651d (diff) | |
Delete Intersim
Code Review Issue: 113001
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 17414]
Diffstat (limited to 'src/intersim/arbiter.hpp')
| -rw-r--r-- | src/intersim/arbiter.hpp | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/src/intersim/arbiter.hpp b/src/intersim/arbiter.hpp deleted file mode 100644 index 23b5232..0000000 --- a/src/intersim/arbiter.hpp +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef _ARBITER_HPP_
-#define _ARBITER_HPP_
-
-#include <list>
-
-#include "module.hpp"
-#include "config_utils.hpp"
-
-class Arbiter : public Module {
-protected:
- const int _inputs;
-
- struct sRequest {
- int in;
- int label;
- int pri;
- };
-
- list<sRequest> _requests;
-
- int _match;
-
-public:
- Arbiter( const Configuration &,
- Module *parent, const string& name,
- int inputs );
- virtual ~Arbiter( );
-
- void Clear( );
-
- void AddRequest( int in, int label = 0, int pri = 0 );
- void RemoveRequest( int in, int label = 0 );
-
- virtual void Arbitrate( ) = 0;
-
- int Match( ) const;
-};
-
-class PriorityArbiter : public Arbiter {
- int _rr_ptr;
-
-public:
- PriorityArbiter( const Configuration &config,
- Module *parent, const string& name,
- int inputs );
- ~PriorityArbiter( );
-
- void Arbitrate( );
-};
-
-#endif
|
