Bug #5492
closedretrascope + sapic.v = java.lang.IllegalStateException: Operand is not a constant integer value: 00000000000000000000000000000011
0%
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]
Updated by Sergey Smolov almost 10 years ago
- Status changed from New to Closed
The ticket is outdated, the problem has been solved.