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: terminate called after throwing an instance of 'std::length_error' #1530

Closed
veripoolbot opened this issue Sep 30, 2019 · 1 comment
Closed
Assignees
Labels
area: parser Issue involves SystemVerilog parsing resolution: fixed Closed; fixed

Comments

@veripoolbot
Copy link
Contributor


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

Original Assignee: Wilson Snyder (@wsnyder)


Running the attached test case with "verilator_bin --cc 2.v" produces:

%Error: 2.v:1: syntax error, unexpected IDENTIFIER
le[=11111111111'k[=11111111111'd
^~
%Error: 2.v:1: Too many digits for 32 bit number: 11111111111
         ... As that number was unsized ('d...) it is limited to 32 bits (IEEE 2017 5.7.1)
         ... Suggest adding a size to it.
le[=11111111111'k[=11111111111'd
     ^~~~~~~~~~~
terminate called after throwing an instance of 'std::length_error'
  what():  vector::_M_default_append
Aborted

This on version:
Verilator 4.019 devel rev v4.018-33-gcb115e1a

The problem is also seen on:
Verilator 3.916 2017-11-25 rev verilator_3_914-65-g0478dbd

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2019-09-30T23:48:07Z


Fixed in git. As this is unlikely to be hit by users, closing immediately rather than waiting for a release.

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: fixed Closed; fixed
Projects
None yet
Development

No branches or pull requests

2 participants