Project

General

Profile

Bug #5492

retrascope + sapic.v = java.lang.IllegalStateException: Operand is not a constant integer value: 00000000000000000000000000000011

Added by Sergey Smolov about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
12/12/2014
Due date:
% Done:

0%

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

Description

Running the HDL Retrascope tool with the following parameters:

--target efsm /home/ssedai/projects/retrascope-internals.svn/tests/verilog/test_001/sapic.v

causes an error:

[log]

java.lang.IllegalStateException: Operand is not a constant integer value: 00000000000000000000000000000011
at ru.ispras.fortress.expression.NodeOperation.getDataType(NodeOperation.java:151)
at ru.ispras.fortress.expression.NodeOperation.getDataType(NodeOperation.java:141)
at ru.ispras.fortress.expression.NodeOperation.getDataType(NodeOperation.java:141)
at ru.ispras.fortress.expression.NodeOperation.getDataType(NodeOperation.java:141)
at ru.ispras.retrascope.parser.verilog.VerilogCfgBuilder.parseAssignment(VerilogCfgBuilder.java:478)
at ru.ispras.retrascope.parser.verilog.VerilogCfgBuilder.onAssignStatementBegin(VerilogCfgBuilder.java:680)
at ru.ispras.verilog.parser.processor.VerilogGenerateProcessor.onAssignStatementBegin(Unknown Source)
at ru.ispras.verilog.parser.walker.VerilogNodeVisitor$3.onBegin(Unknown Source)
at ru.ispras.verilog.parser.walker.VerilogNodeVisitor.onBegin(Unknown Source)
at ru.ispras.verilog.parser.core.TreeWalker.onBegin(Unknown Source)
at ru.ispras.verilog.parser.core.TreeWalker.start(Unknown Source)
at ru.ispras.verilog.parser.VerilogBackend.start(Unknown Source)
at ru.ispras.verilog.parser.VerilogBackends.start(Unknown Source)
at ru.ispras.verilog.parser.VerilogTranslator.start(Unknown Source)
at ru.ispras.retrascope.parser.verilog.VerilogParser.parse(VerilogParser.java:88)
at ru.ispras.retrascope.parser.basis.HDLParser.start(HDLParser.java:61)
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:115)
at ru.ispras.retrascope.Retrascope.main(Retrascope.java:325)
at ru.ispras.retrascope.Retrascope.main(Retrascope.java:346)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
2014.12.12 14:46:01.833. 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:115)
at ru.ispras.retrascope.Retrascope.main(Retrascope.java:325)
at ru.ispras.retrascope.Retrascope.main(Retrascope.java:346)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)

[/log]

History

#1

Updated by Sergey Smolov about 5 years ago

  • Status changed from New to Closed

The ticket is outdated, the problem has been solved.

Also available in: Atom PDF