From: Lisa Hsu Date: Fri, 6 Apr 2012 20:47:08 +0000 (-0700) Subject: slicc: Controllers attached to Sequencers no longer have to be named L1Cache. X-Git-Tag: stable_2012_06_28~135 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a5287efc58ed783b6c03d0fcf7e3f3499533206a;p=gem5.git slicc: Controllers attached to Sequencers no longer have to be named L1Cache. --- 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.