Project

General

Profile

Actions

Bug #8829

closed

vcegar-benchmarks/usb_phy fails with IllegalArgumentException

Added by Mikhail Lebedev over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Target version:
Start date:
04/13/2018
Due date:
% Done:

0%

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

Description

This error appears when running ru.ispras.verilog.parser.sample.vcegar.VcegarUsbPhyVerilogPrinterTestCase in the Retrascope MC Benchmark project.
The corresponding Verilog file:

retrascope-mc-benchmark/src/main/verilog/vcegar-benchmarks/usb_phy/usb_phy_1.v

The error:

java.lang.IllegalArgumentException
at ru.ispras.fortress.util.InvariantChecks.checkTrue(InvariantChecks.java:53)
at ru.ispras.fortress.util.InvariantChecks.checkTrue(InvariantChecks.java:38)
at ru.ispras.fortress.util.InvariantChecks.checkNotNull(InvariantChecks.java:95)
at ru.ispras.verilog.parser.model.util.ModelUtils.getNode(ModelUtils.java:147)
at ru.ispras.verilog.parser.grammar.VerilogTreeBuilder.ast_primary(VerilogTreeBuilder.java:6345)
at ru.ispras.verilog.parser.grammar.VerilogTreeBuilder.ast_operation(VerilogTreeBuilder.java:6178)
at ru.ispras.verilog.parser.grammar.VerilogTreeBuilder.ast_expression(VerilogTreeBuilder.java:6033)
at ru.ispras.verilog.parser.grammar.VerilogTreeBuilder.ast_port_connection(VerilogTreeBuilder.java:3395)
at ru.ispras.verilog.parser.grammar.VerilogTreeBuilder.ast_instantiation(VerilogTreeBuilder.java:3320)
at ru.ispras.verilog.parser.grammar.VerilogTreeBuilder.ast_item(VerilogTreeBuilder.java:948)
at ru.ispras.verilog.parser.grammar.VerilogTreeBuilder.ast_module(VerilogTreeBuilder.java:666)
at ru.ispras.verilog.parser.grammar.VerilogTreeBuilder.ast_root(VerilogTreeBuilder.java:508)
at ru.ispras.verilog.parser.grammar.VerilogTreeBuilder.startRule(VerilogTreeBuilder.java:458)
at ru.ispras.verilog.parser.VerilogFrontend.startBuilder(VerilogFrontend.java:240)
at ru.ispras.verilog.parser.VerilogFrontend.startBuilder(VerilogFrontend.java:245)
at ru.ispras.verilog.parser.VerilogFrontend.start(VerilogFrontend.java:256)
at ru.ispras.verilog.parser.VerilogFrontend.start(VerilogFrontend.java:260)
at ru.ispras.verilog.parser.VerilogTranslator.start(VerilogTranslator.java:162)

Module name: main

Actions #1

Updated by Alexander Kamkin over 6 years ago

Implicit declaration in instantiation.

Actions #2

Updated by Sergey Smolov over 6 years ago

  • Priority changed from Normal to High
  • Detected in build changed from svn to master

This error appears in other designs, like src/main/verilog/vcegar-benchmarks/cache_coherence/three_processor_bin_2.v

Actions #3

Updated by Sergey Smolov over 6 years ago

  • Status changed from New to Resolved

The ru.ispras.verilog.parser.sample.vcegar.VcegarUsbPhyVerilogPrinterTestCase passes now.

Actions #4

Updated by Alexander Kamkin over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF