From: Nilay Vaish Date: Fri, 22 Mar 2013 20:53:24 +0000 (-0500) Subject: slicc: remove check if the L1Cache has a sequencer X-Git-Tag: stable_2013_06_16~46 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=870d54578897a099128d446ddc5801e556f93056;p=gem5.git slicc: remove check if the L1Cache has a sequencer --- diff --git a/src/mem/slicc/symbols/StateMachine.py b/src/mem/slicc/symbols/StateMachine.py index 3618563fd..4a33d78ba 100644 --- a/src/mem/slicc/symbols/StateMachine.py +++ b/src/mem/slicc/symbols/StateMachine.py @@ -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); ''')