Bug #8972
closedCase value RetrascopeException in VcegarPiBusCfgGraphMlTestCase
100%
Description
This error appears in VcegarPiBusCfgGraphMlTestCase of the Retrascope-MC-benchmark project.
Log:
ru.ispras.retrascope.basis.exception.RetrascopeException: acknowledge can't include '[1]' case: '[1]' exists.
at ru.ispras.retrascope.model.cfg.CfgSwitchStatement.checkValues(CfgSwitchStatement.java:134)
at ru.ispras.retrascope.model.cfg.CfgSwitchStatement.add(CfgSwitchStatement.java:85)
at ru.ispras.retrascope.parser.basis.backend.CfgSwitchSequenceBackend.collapseSwitchSubTree(CfgSwitchSequenceBackend.java:266)
at ru.ispras.retrascope.parser.basis.backend.CfgSwitchSequenceBackend.processNestedSwitches(CfgSwitchSequenceBackend.java:206)
at ru.ispras.retrascope.parser.basis.backend.CfgSwitchSequenceBackend.onSwitchBegin(CfgSwitchSequenceBackend.java:81)
at ru.ispras.retrascope.model.cfg.CfgDfsWalker.visitSwitch(CfgDfsWalker.java:121)
at ru.ispras.retrascope.model.cfg.CfgDfsWalker.visitModelStatement(CfgDfsWalker.java:78)
...
/* same fragments*/
...
at ru.ispras.retrascope.model.basis.walker.ModelWalker.visitNode(ModelWalker.java:188)
at ru.ispras.retrascope.model.basis.walker.DfsWalker.processChildren(DfsWalker.java:70)
at ru.ispras.retrascope.model.basis.walker.ModelWalker.processStatement(ModelWalker.java:321)
at ru.ispras.retrascope.model.cfg.CfgDfsWalker.visitCase(CfgDfsWalker.java:133)
at ru.ispras.retrascope.model.cfg.CfgDfsWalker.visitModelStatement(CfgDfsWalker.java:82)
at ru.ispras.retrascope.model.basis.walker.ModelWalker.visitNode(ModelWalker.java:188)
at ru.ispras.retrascope.model.basis.walker.DfsWalker.processChildren(DfsWalker.java:70)
at ru.ispras.retrascope.model.basis.walker.ModelWalker.processStatement(ModelWalker.java:321)
at ru.ispras.retrascope.model.cfg.CfgDfsWalker.visitSwitch(CfgDfsWalker.java:123)
at ru.ispras.retrascope.model.cfg.CfgDfsWalker.visitModelStatement(CfgDfsWalker.java:78)
at ru.ispras.retrascope.model.basis.walker.ModelWalker.visitNode(ModelWalker.java:188)
at ru.ispras.retrascope.model.basis.walker.DfsWalker.processChildren(DfsWalker.java:70)
at ru.ispras.retrascope.model.basis.walker.ModelWalker.processStatement(ModelWalker.java:321)
at ru.ispras.retrascope.model.basis.walker.ModelWalker.visitProcess(ModelWalker.java:300)
at ru.ispras.retrascope.model.basis.walker.ModelWalker.visitModule(ModelWalker.java:270)
at ru.ispras.retrascope.model.basis.walker.ModelWalker.visitModel(ModelWalker.java:242)
at ru.ispras.retrascope.model.basis.walker.ModelWalker.start(ModelWalker.java:132)
at ru.ispras.retrascope.engine.cfg.CfgVisitorBackend.start(CfgVisitorBackend.java:98)
at ru.ispras.retrascope.basis.Engine.runBackEnds(Engine.java:284)
at ru.ispras.retrascope.basis.Engine.start(Engine.java:219)
at ru.ispras.retrascope.basis.ToolChain.start(ToolChain.java:111)
at ru.ispras.retrascope.basis.Engine.start(Engine.java:217)
at ru.ispras.retrascope.Retrascope$ToolRun.start(Retrascope.java:215)
at ru.ispras.retrascope.Retrascope.main(Retrascope.java:456)
at ru.ispras.retrascope.Retrascope.main(Retrascope.java:373)
Corresponding Verilog:
src/main/verilog/vcegar-benchmarks/pi_bus/main_1.v