diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2012-10-02 14:35:43 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2012-10-02 14:35:43 -0500 |
commit | 73eafe484992d488b88c14d94b8909dc488b067b (patch) | |
tree | f865555f3aa02cc5ad16c5c6100cb9557176d2a4 /src/mem/slicc/symbols | |
parent | 3c9d3b16d8aed879b1db682b1a7fe64f64b9cd7e (diff) | |
download | gem5-73eafe484992d488b88c14d94b8909dc488b067b.tar.xz |
ruby: remove some unused things in slicc
This patch removes the parts of slicc that were required for multi-chip
protocols. Going ahead, it seems multi-chip protocols would be implemented
by playing with the network itself.
Diffstat (limited to 'src/mem/slicc/symbols')
-rw-r--r-- | src/mem/slicc/symbols/Func.py | 2 | ||||
-rw-r--r-- | src/mem/slicc/symbols/StateMachine.py | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/mem/slicc/symbols/Func.py b/src/mem/slicc/symbols/Func.py index ebbc5fe14..8e137d044 100644 --- a/src/mem/slicc/symbols/Func.py +++ b/src/mem/slicc/symbols/Func.py @@ -84,7 +84,7 @@ class Func(Symbol): if self.isInternalMachineFunc: klass = "%s_Controller" % self.machineStr else: - klass = "Chip" + self.error("No class found for the function %s" % self.ident) params = ', '.join(self.param_strings) diff --git a/src/mem/slicc/symbols/StateMachine.py b/src/mem/slicc/symbols/StateMachine.py index 43153c773..2b1e2a2b5 100644 --- a/src/mem/slicc/symbols/StateMachine.py +++ b/src/mem/slicc/symbols/StateMachine.py @@ -246,10 +246,7 @@ extern std::stringstream ${ident}_transitionComment; class $c_ident : public AbstractController { -// the coherence checker needs to call isBlockExclusive() and isBlockShared() -// making the Chip a friend class is an easy way to do this for now - -public: + public: typedef ${c_ident}Params Params; $c_ident(const Params *p); static int getNumControllers(); |