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

Unexpected Generate Within an Interface #789

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

Unexpected Generate Within an Interface #789

veripoolbot opened this issue Jun 15, 2014 · 6 comments
Assignees
Labels
resolution: fixed Closed; fixed type: feature-IEEE Request to add new feature, described in IEEE 1800

Comments

@veripoolbot
Copy link
Contributor


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


The attached file codes a generate statement within an interface. Verilator seems to not support this.

% verilator -Wall --cc interface_gen.v
%Error: interface_gen.v:4: syntax error, unexpected generate
%Error: Cannot continue
%Error: Command Failed /usr/bin/verilator_bin -Wall --cc interface_gen.v

@veripoolbot
Copy link
Contributor Author


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


% 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: Bob Newgard
Original Date: 2014-06-15T16:38:49Z


Test case for this bug

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2014-06-28T01:40:17Z


According to IEEE 2012, interfaces may not be declared in packages. Several other simulators agree.

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2014-06-28T01:40:48Z


Sorry ignore last comment, wrong bug

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2014-11-29T02:34:33Z


Sorry, lots of complicated interface generates got fixed months ago but this slipped through.

Fixed in git towards 3.867.

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2014-12-20T21:53:07Z


In 3.868.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution: fixed Closed; fixed type: feature-IEEE Request to add new feature, described in IEEE 1800
Projects
None yet
Development

No branches or pull requests

2 participants