From 870d54578897a099128d446ddc5801e556f93056 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Fri, 22 Mar 2013 15:53:24 -0500 Subject: [PATCH] slicc: remove check if the L1Cache has a sequencer --- src/mem/slicc/symbols/StateMachine.py | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) 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); ''') -- 2.30.2