Project

General

Profile

Actions

Bug #9026

closed

IllegalArgumentException in vcegar/cache_coherence designs

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/27/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 VcegarCC2ProcModCfgGraphMlTestCase and VcegarCC3ProcModCfgGraphMlTestCase of the Retrascope-MC-Benchmark project.
Error log:

java.lang.IllegalArgumentException: 0 must be > 0


at ru.ispras.fortress.util.InvariantChecks.checkGreaterThanZero(InvariantChecks.java:159)
at ru.ispras.fortress.data.DataType.bitVector(DataType.java:71)
at ru.ispras.fortress.transformer.ConstCastRuleSet.castWrongBvOperands(ConstCastRuleSet.java:295)
at ru.ispras.fortress.transformer.ConstCastRuleSet.access$1300(ConstCastRuleSet.java:38)
at ru.ispras.fortress.transformer.ConstCastRuleSet$10.isApplicable(ConstCastRuleSet.java:209)
at ru.ispras.fortress.transformer.ConstCastRuleSet$CastConstRule.isApplicable(ConstCastRuleSet.java:78)
at ru.ispras.fortress.transformer.NodeTransformer.applyRule(NodeTransformer.java:165)
at ru.ispras.fortress.transformer.NodeTransformer.onOperationEnd(NodeTransformer.java:226)
at ru.ispras.fortress.expression.ExprTreeWalker.visitOperation(ExprTreeWalker.java:173)
at ru.ispras.fortress.expression.ExprTreeWalker.visitNode(ExprTreeWalker.java:123)
at ru.ispras.fortress.expression.ExprTreeWalker.visit(ExprTreeWalker.java:93)
at ru.ispras.fortress.transformer.NodeTransformer.walk(NodeTransformer.java:54)
at ru.ispras.fortress.transformer.TypeConversion.castConstants(TypeConversion.java:76)
at ru.ispras.fortress.transformer.TypeConversion.castConstants(TypeConversion.java:91)
at ru.ispras.retrascope.parser.verilog.VerilogCfgProcessBuilder.transformNode(VerilogCfgProcessBuilder.java:256)
at ru.ispras.retrascope.parser.verilog.VerilogCfgProcessBuilder.parseAssignment(VerilogCfgProcessBuilder.java:424)
at ru.ispras.retrascope.parser.verilog.VerilogCfgProcessBuilder.onAssignStatementBegin(VerilogCfgProcessBuilder.java:584)
at ru.ispras.verilog.parser.walker.VerilogNodeVisitor$3.onBegin(VerilogNodeVisitor.java:265)
at ru.ispras.verilog.parser.walker.VerilogNodeVisitor.onBegin(VerilogNodeVisitor.java:700)
at ru.ispras.verilog.parser.core.TreeWalker.onBegin(TreeWalker.java:100)
at ru.ispras.verilog.parser.core.TreeWalker.start(TreeWalker.java:79)
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/cache_coherence/modified/two_processor_bin_2_mod.v
src/main/verilog/vcegar-benchmarks/cache_coherence/modified/three_processor_bin_2_mod.v

Actions #1

Updated by Sergey Smolov over 6 years ago

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

Fixed after improvements in Verilog Translator.

Actions #2

Updated by Mikhail Lebedev over 6 years ago

  • Status changed from Resolved to Verified
Actions #3

Updated by Sergey Smolov about 6 years ago

  • Target version set to 1.0
Actions #4

Updated by Sergey Smolov almost 6 years ago

  • Category set to Engine (Parser)
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