Project

General

Profile

Bug #5513

[verilog][parser] Bad casting from NodeValue to NodeOperation

Added by Mikhail Chupilko almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Category:
-
Target version:
Start date:
12/17/2014
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:
20141230

Description

2014.12.17 18:34:52.148. INFO: Retrascope is starting
Running: verilog-parser
Options: {args=src/test/verilog/ram/sapic.v --target efsm, v=[src/test/verilog/ram/sapic.v]}
Including file 'src/test/verilog/ram/sapic.v'
java.lang.ClassCastException: ru.ispras.fortress.expression.NodeValue cannot be cast to ru.ispras.fortress.expression.NodeOperation
at ru.ispras.verilog.parser.model.basis.Expression.getExpression(Unknown Source)
at ru.ispras.verilog.parser.grammar.VerilogTreeBuilder.ast_primary(Unknown Source)
at ru.ispras.verilog.parser.grammar.VerilogTreeBuilder.ast_expression(Unknown Source)
at ru.ispras.verilog.parser.grammar.VerilogTreeBuilder.ast_concatenation(Unknown Source)
at ru.ispras.verilog.parser.grammar.VerilogTreeBuilder.ast_primary(Unknown Source)
at ru.ispras.verilog.parser.grammar.VerilogTreeBuilder.ast_expression(Unknown Source)
at ru.ispras.verilog.parser.grammar.VerilogTreeBuilder.ast_extended_expression(Unknown Source)
at ru.ispras.verilog.parser.grammar.VerilogTreeBuilder.ast_assignment(Unknown Source)
at ru.ispras.verilog.parser.grammar.VerilogTreeBuilder.ast_assign(Unknown Source)
at ru.ispras.verilog.parser.grammar.VerilogTreeBuilder.ast_item(Unknown Source)
at ru.ispras.verilog.parser.grammar.VerilogTreeBuilder.ast_module(Unknown Source)
at ru.ispras.verilog.parser.grammar.VerilogTreeBuilder.ast_root(Unknown Source)
at ru.ispras.verilog.parser.grammar.VerilogTreeBuilder.startRule(Unknown Source)
at ru.ispras.verilog.parser.VerilogFrontend.startBuilder(Unknown Source)
at ru.ispras.verilog.parser.VerilogFrontend.startBuilder(Unknown Source)
at ru.ispras.verilog.parser.VerilogFrontend.start(Unknown Source)
at ru.ispras.verilog.parser.VerilogFrontend.start(Unknown Source)
at ru.ispras.verilog.parser.VerilogTranslator.start(Unknown Source)
at ru.ispras.retrascope.parser.verilog.VerilogParser.parse(VerilogParser.java:87)
at ru.ispras.retrascope.parser.basis.HDLParser.start(HDLParser.java:63)
at ru.ispras.retrascope.basis.Engine.start(Engine.java:199)
at ru.ispras.retrascope.basis.ToolChain.start(ToolChain.java:106)
at ru.ispras.retrascope.basis.Engine.start(Engine.java:199)
at ru.ispras.retrascope.Retrascope$Run.start(Retrascope.java:117)
at ru.ispras.retrascope.Retrascope.main(Retrascope.java:328)
at ru.ispras.retrascope.Retrascope.main(Retrascope.java:349)
2014.12.17 18:34:52.551. ERROR: The exception has been encountered: java.lang.NullPointerException
at ru.ispras.retrascope.basis.Engine.runBackends(Engine.java:253)
at ru.ispras.retrascope.basis.Engine.start(Engine.java:201)
at ru.ispras.retrascope.basis.ToolChain.start(ToolChain.java:106)
at ru.ispras.retrascope.basis.Engine.start(Engine.java:199)
at ru.ispras.retrascope.Retrascope$Run.start(Retrascope.java:117)
at ru.ispras.retrascope.Retrascope.main(Retrascope.java:328)
at ru.ispras.retrascope.Retrascope.main(Retrascope.java:349)

2014.12.17 18:34:52.552. INFO: Retrascope is shutting down
Exception in thread "main" java.lang.NullPointerException
at ru.ispras.retrascope.basis.Engine.runBackends(Engine.java:253)
at ru.ispras.retrascope.basis.Engine.start(Engine.java:201)
at ru.ispras.retrascope.basis.ToolChain.start(ToolChain.java:106)
at ru.ispras.retrascope.basis.Engine.start(Engine.java:199)
at ru.ispras.retrascope.Retrascope$Run.start(Retrascope.java:117)
at ru.ispras.retrascope.Retrascope.main(Retrascope.java:328)
at ru.ispras.retrascope.Retrascope.main(Retrascope.java:349)

History

#1

Updated by Mikhail Chupilko almost 6 years ago

  • Status changed from New to Resolved
#2

Updated by Sergey Smolov almost 6 years ago

  • Status changed from Resolved to Closed
  • Published in build set to 20141230

Also available in: Atom PDF