slicc: Controllers attached to Sequencers no longer have to be named L1Cache.

This commit is contained in:
Lisa Hsu 2012-04-06 13:47:08 -07:00
parent 5dfa4cd3f5
commit a5287efc58

View file

@ -499,6 +499,13 @@ $c_ident::$c_ident(const Params *p)
code(''' code('''
m_${{seq}}_ptr->setController(this); 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 # For the DMA controller, pass the sequencer a pointer to the
# controller. # controller.