summaryrefslogtreecommitdiff
path: root/src/mem/ruby/network/simple/HierarchicalSwitchTopology.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/ruby/network/simple/HierarchicalSwitchTopology.hh')
-rw-r--r--src/mem/ruby/network/simple/HierarchicalSwitchTopology.hh17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mem/ruby/network/simple/HierarchicalSwitchTopology.hh b/src/mem/ruby/network/simple/HierarchicalSwitchTopology.hh
new file mode 100644
index 000000000..0c2c84ef8
--- /dev/null
+++ b/src/mem/ruby/network/simple/HierarchicalSwitchTopology.hh
@@ -0,0 +1,17 @@
+
+#ifndef HIERARCHICALSWITCHTOPOLOGY_H
+#define HIERARCHICALSWITCHTOPOLOGY_H
+
+#include "mem/ruby/network/simple/Topology.hh"
+
+class HierarchicalSwitchTopology : public Topology
+{
+public:
+ HierarchicalSwitchTopology(const string & name);
+ void init(const vector<string> & argv);
+
+protected:
+ void construct();
+};
+
+#endif