slicc: remove check if the L1Cache has a sequencer

This commit is contained in:
Nilay Vaish 2013-03-22 15:53:24 -05:00
parent 8573a69d8f
commit 870d545788

View file

@ -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);
''')