Project

General

Profile

Actions

Bug #8971

closed

Wrong type RetrascopeException in VcegarMpegCfgGraphMlTestCase

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 VcegarMpegCfgGraphMlTestCase of the Retrascope-MC-benchmark project.

Log:

ru.ispras.retrascope.basis.exception.RetrascopeException: Wrong type(s): PROCESS.
at ru.ispras.retrascope.basis.exception.RetrascopeException.makeException(RetrascopeException.java:66)
at ru.ispras.retrascope.model.cfg.CfgCaseStatement.checkClass(CfgCaseStatement.java:239)
at ru.ispras.retrascope.model.cfg.CfgCaseStatement.setParent(CfgCaseStatement.java:226)
at ru.ispras.retrascope.model.basis.Statement.addStatement(Statement.java:204)
at ru.ispras.retrascope.model.basis.Statement.add(Statement.java:161)
at ru.ispras.retrascope.parser.verilog.VerilogCfgProcessBuilder.attachBlock(VerilogCfgProcessBuilder.java:405)
at ru.ispras.retrascope.parser.verilog.VerilogCfgProcessBuilder.onCaseStatementItemEnd(VerilogCfgProcessBuilder.java:653)
at ru.ispras.verilog.parser.walker.VerilogNodeVisitor$11.onEnd(VerilogNodeVisitor.java:366)
at ru.ispras.verilog.parser.walker.VerilogNodeVisitor.onEnd(VerilogNodeVisitor.java:708)
at ru.ispras.verilog.parser.core.TreeWalker.onEnd(TreeWalker.java:124)
at ru.ispras.verilog.parser.core.TreeWalker.start(TreeWalker.java:87)
at ru.ispras.retrascope.parser.verilog.VerilogCfgBuilder.start(VerilogCfgBuilder.java:82)
at ru.ispras.verilog.parser.VerilogDesignBackends.start(VerilogDesignBackends.java:56)
at ru.ispras.verilog.parser.VerilogTranslator.start(VerilogTranslator.java:169)
at ru.ispras.retrascope.parser.verilog.VerilogParser.parse(VerilogParser.java:103)
at ru.ispras.retrascope.parser.basis.HdlParser.start(HdlParser.java:112)
at ru.ispras.retrascope.basis.Engine.start(Engine.java:217)
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/mpeg/mpeg_1.v

Actions #1

Updated by Mikhail Lebedev over 6 years ago

Similar exception appears in VcegarMpegSimplifiedCfgGraphMlTestCase:

ru.ispras.retrascope.basis.exception.RetrascopeException: Wrong type(s): CASE.

Corresponding Verilog:

src/main/verilog/vcegar-benchmarks/mpeg/mpeg_simplified.v

Actions #2

Updated by Sergey Smolov over 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Fixed in ee230ce3

Actions #3

Updated by Sergey Smolov over 6 years ago

  • Category set to 127
  • Target version set to 1.0
Actions #4

Updated by Mikhail Lebedev over 6 years ago

  • Status changed from Resolved to Verified
Actions #5

Updated by Sergey Smolov over 5 years ago

  • Status changed from Verified to Closed
  • Published in build set to 1.1.1-beta-190722
Actions

Also available in: Atom PDF