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

Verilog::SigParser falls over if localparam's are used in a parameterized interface #1133

Closed
veripoolbot opened this issue Mar 7, 2017 · 3 comments

Comments

@veripoolbot
Copy link
Collaborator


Author Name: Shareef Jalloq
Original Redmine Issue: 1133 from https://www.veripool.org


I'm getting the following errors when parsing an interface that uses localparams.

syntax error, unexpected localparam, expecting CLASS-IDENTIFIER or COVERGROUP-IDENTIFIER or TYPE-IDENTIFIER

My interface is of the form:

interface blah_if 
#( localparam A = 0,
    localparam B = 1 );
  logic [A:0] in;
endinterface

@veripoolbot
Copy link
Collaborator Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2017-03-08T12:26:31Z


The example you sent parses fine for me (when run through vhier ). Are you sure this is the exact case that fails for you, and you're using a recent version?

@veripoolbot
Copy link
Collaborator Author


Original Redmine Comment
Author Name: Shareef Jalloq
Original Date: 2017-03-08T13:14:35Z


Haven't tried that example. Will make sure I've got the latest version installed before I try again. Will report back (at the end of a long wait for IT to install the latest module).

@veripoolbot
Copy link
Collaborator Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2017-11-18T23:16:40Z


Presume you got this settled, if not please reopen or make a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant