slicc: Controllers attached to Sequencers no longer have to be named L1Cache.
This commit is contained in:
parent
5dfa4cd3f5
commit
a5287efc58
1 changed files with 7 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue