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

Anonymous Structures Coded Sequentially #788

Closed
veripoolbot opened this issue Jun 15, 2014 · 3 comments
Closed

Anonymous Structures Coded Sequentially #788

veripoolbot opened this issue Jun 15, 2014 · 3 comments
Assignees
Labels
resolution: fixed Closed; fixed

Comments

@veripoolbot
Copy link
Contributor


Author Name: Bob Newgard
Original Redmine Issue: 788 from https://www.veripool.org
Original Date: 2014-06-15
Original Assignee: Wilson Snyder (@wsnyder)


The attached file codes a few anonymous structures. Verilator fails when two anonymous structs are coded in sequence. If the commented code between the two structs is uncommented, verilator succeeds.

% verilator -Wall --cc sequential_anon_struct.v
%Error: sequential_anon_struct.v:11: Duplicate declaration of TYPEDEF '__typeimpsu0': __typeimpsu0
%Error: sequential_anon_struct.v:1: ... Location of original declaration
%Error: Exiting due to 1 error(s)
%Error: Command Failed /usr/bin/verilator_bin -Wall --cc sequential_anon_struct.v

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Bob Newgard
Original Date: 2014-06-15T12:27:47Z


Environment

% verilator --version
Verilator 3.860 2014-05-11 rev verilator_3_856-70-gb46f656
% uname -a
Linux xxxxx 3.14-1-amd64 #1 SMP Debian 3.14.4-1 (2014-05-13) x86_64 GNU/Linux
dpkg -l | grep verilator
||/ Name              Version          Architecture Description
+++-=================-================-============-=============================
ii  verilator         3.860-1          amd64        fast free Verilog simulator

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2014-06-15T15:19:38Z


Fixed in git towards 3.863.

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2014-09-21T13:10:21Z


In 3.864.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution: fixed Closed; fixed
Projects
None yet
Development

No branches or pull requests

2 participants