diff options
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(); |