diff options
Diffstat (limited to 'src/mem')
-rw-r--r-- | src/mem/slicc/symbols/StateMachine.py | 7 |
1 files changed, 7 insertions, 0 deletions
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. |