From a5287efc58ed783b6c03d0fcf7e3f3499533206a Mon Sep 17 00:00:00 2001 From: Lisa Hsu Date: Fri, 6 Apr 2012 13:47:08 -0700 Subject: [PATCH] slicc: Controllers attached to Sequencers no longer have to be named L1Cache. --- src/mem/slicc/symbols/StateMachine.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/mem/slicc/symbols/StateMachine.py b/src/mem/slicc/symbols/StateMachine.py index 85df3f9e8..7d863e349 100644 --- a/src/mem/slicc/symbols/StateMachine.py +++ b/src/mem/slicc/symbols/StateMachine.py @@ -499,6 +499,13 @@ $c_ident::$c_ident(const Params *p) code(''' m_${{seq}}_ptr->setController(this); ''') + + else: + for seq in sequencers: + code(''' +m_${{seq}}_ptr->setController(this); + ''') + # # For the DMA controller, pass the sequencer a pointer to the # controller. -- 2.30.2