slicc: remove check if the L1Cache has a sequencer
This commit is contained in:
parent
8573a69d8f
commit
870d545788
1 changed files with 2 additions and 13 deletions
|
@ -482,19 +482,8 @@ $c_ident::$c_ident(const Params *p)
|
|||
# For the l1 cache controller, add the special atomic support which
|
||||
# includes passing the sequencer a pointer to the controller.
|
||||
#
|
||||
if self.ident == "L1Cache":
|
||||
if not sequencers:
|
||||
self.error("The L1Cache controller must include the sequencer " \
|
||||
"configuration parameter")
|
||||
|
||||
for seq in sequencers:
|
||||
code('''
|
||||
m_${{seq}}_ptr->setController(this);
|
||||
''')
|
||||
|
||||
else:
|
||||
for seq in sequencers:
|
||||
code('''
|
||||
for seq in sequencers:
|
||||
code('''
|
||||
m_${{seq}}_ptr->setController(this);
|
||||
''')
|
||||
|
||||
|
|
Loading…
Reference in a new issue