Project

General

Profile

Bug #9475

Picorv32Hx8kdemoVerilogPrinterTestCase: ERROR: line 1:0 no viable alternative at input '('

Added by Sergey Smolov 5 months ago.

Status:
New
Priority:
Normal
Category:
Verilog Translator
Start date:
02/06/2019
Due date:
% Done:

0%

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

Description

When running the ru.ispras.verilog.parser.sample.Picorv32Hx8kdemoVerilogPrinterTestCase, the following error appears:

ERROR: line 1:0 no viable alternative at input '('
ERROR: [Internal] null
java.lang.StackOverflowError
    at org.antlr.runtime.BaseRecognizer.mismatchIsUnwantedToken(BaseRecognizer.java:127)
    at org.antlr.runtime.BaseRecognizer.recoverFromMismatchedToken(BaseRecognizer.java:593)
    at org.antlr.runtime.BaseRecognizer.match(BaseRecognizer.java:115)
    at ru.ispras.verilog.parser.grammar.VerilogParser.begin_block_statement(VerilogParser.java:13992)
    at ru.ispras.verilog.parser.grammar.VerilogParser.statement(VerilogParser.java:15145)
...

The same error appears for the following test cases:
ru.ispras.verilog.parser.sample.Picorv32IcebreakerVerilogPrinterTestCase
ru.ispras.verilog.parser.sample.Picorv32PicosocVerilogPrinterTestCase
ru.ispras.verilog.parser.sample.Picorv32SimpleuartVerilogPrinterTestCase
ru.ispras.verilog.parser.sample.Picorv32SpiflashVerilogPrinterTestCase
ru.ispras.verilog.parser.sample.Picorv32SpimemioVerilogPrinterTestCase

Also available in: Atom PDF