summaryrefslogtreecommitdiff
path: root/src/mem/slicc/symbols/StateMachine.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/slicc/symbols/StateMachine.py')
-rw-r--r--src/mem/slicc/symbols/StateMachine.py24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/mem/slicc/symbols/StateMachine.py b/src/mem/slicc/symbols/StateMachine.py
index 736013612..009680941 100644
--- a/src/mem/slicc/symbols/StateMachine.py
+++ b/src/mem/slicc/symbols/StateMachine.py
@@ -285,7 +285,6 @@ class $c_ident : public AbstractController
void recordCacheTrace(int cntrl, CacheRecorder* tr);
Sequencer* getSequencer() const;
- bool functionalReadBuffers(PacketPtr&);
uint32_t functionalWriteBuffers(PacketPtr&);
void countTransition(${ident}_State state, ${ident}_Event event);
@@ -988,29 +987,6 @@ $c_ident::${{action.ident}}(const Address& addr)
for func in self.functions:
code(func.generateCode())
- # Function for functional reads from messages buffered in the controller
- code('''
-bool
-$c_ident::functionalReadBuffers(PacketPtr& pkt)
-{
-''')
- for var in self.objects:
- vtype = var.type
- if vtype.isBuffer:
- vid = "m_%s_ptr" % var.ident
- code('if ($vid->functionalRead(pkt)) { return true; }')
-
- for var in self.config_parameters:
- vtype = var.type_ast.type
- if vtype.isBuffer:
- vid = "m_%s_ptr" % var.ident
- code('if ($vid->functionalRead(pkt)) { return true; }')
-
- code('''
- return false;
-}
-''')
-
# Function for functional writes to messages buffered in the controller
code('''
uint32_t