Project

General

Profile

Bug #8971

Wrong type RetrascopeException in VcegarMpegCfgGraphMlTestCase

Added by Mikhail Lebedev 11 months ago. Updated 11 months ago.

Status:
Verified
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:

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

History

#1

Updated by Mikhail Lebedev 11 months 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

#2

Updated by Sergey Smolov 11 months ago

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

Fixed in ee230ce3

#3

Updated by Sergey Smolov 11 months ago

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

Updated by Mikhail Lebedev 11 months ago

  • Status changed from Resolved to Verified

Also available in: Atom PDF