Project

General

Profile

Actions

Bug #8972

closed

Case value RetrascopeException in VcegarPiBusCfgGraphMlTestCase

Added by Mikhail Lebedev over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Engine (Parser)
Target version:
Start date:
06/19/2018
Due date:
% Done:

100%

Estimated time:
Detected in build:
master
Platform:
Published in build:
1.1.1-beta-190722

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


Related issues 2 (0 open2 closed)

Related to Verilog Translator - Bug #8990: vcegar-benchmarks/pi_bus/main_1.v: incorrect translation of nested "if" conditionsClosedAlexander Kamkin06/22/2018

Actions
Related to Retrascope - Bug #8991: CfgSwitchSequenceBackend: do not collapse "if" statements with incompatible conditionsClosedSergey Smolov06/25/2018

Actions
Actions

Also available in: Atom PDF