Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fuzzer: Internal Error on unterminated interface #1562

Closed
veripoolbot opened this issue Oct 16, 2019 · 2 comments
Closed

Fuzzer: Internal Error on unterminated interface #1562

veripoolbot opened this issue Oct 16, 2019 · 2 comments
Labels
area: parser Issue involves SystemVerilog parsing resolution: wontfix Closed; work won't continue on an issue or pull request

Comments

@veripoolbot
Copy link
Contributor


Author Name: Eric Rippey
Original Redmine Issue: 1562 from https://www.veripool.org


Running the attached testcase with:

verilator_bin --lint-only 4.sv

using version:

Verilator 4.020 devel rev v4.020-19-gc73336f

Produces:

%Error: 4.sv:2: syntax error, unexpected '.', expecting '['
 interface i(.a);
              ^
%Error: Internal Error: 4.sv:1: ../V3ParseSym.h:115: Symbols suggest ending IFACE 'i' but parser thinks ending MODULE 'm'
module m;
        ^

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Eric Rippey
Original Date: 2019-10-16T22:20:05Z


This is not specific to interfaces. The attached testcase does this with a function and union:

%Error: 5.sv:2: syntax error, unexpected '}', expecting TYPE-IDENTIFIER
  union {};
          ^
%Error: Internal Error: 5.sv:1: ../V3ParseSym.h:115: Symbols suggest ending UNIONDTYPE but parser thinks ending FUNC 'f'
function f;
          ^

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2019-10-16T23:43:47Z


Going to ignore internal errors after normal errors.

@veripoolbot veripoolbot added area: parser Issue involves SystemVerilog parsing resolution: wontfix Closed; work won't continue on an issue or pull request labels Dec 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: parser Issue involves SystemVerilog parsing resolution: wontfix Closed; work won't continue on an issue or pull request
Projects
None yet
Development

No branches or pull requests

1 participant