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

Struct content #91

Closed
veripoolbot opened this issue May 25, 2009 · 3 comments
Closed

Struct content #91

veripoolbot opened this issue May 25, 2009 · 3 comments
Assignees

Comments

@veripoolbot
Copy link
Collaborator


Author Name: Saul Cuellar
Original Redmine Issue: 91 from https://www.veripool.org
Original Date: 2009-05-25
Original Assignee: Wilson Snyder (@wsnyder)


Hello,

First of all, this is a great project and I wanted to thank you for making it free software. I've just started using it and it has been very useful. That being said I have a problem I hope you'll be able to help me with.

Currently I'm trying to implement the system task $bits (this system task resolve the number of bits needed by any bit compatible type) using the SigParse. So I need to search for type definitions and variables declarations in all dependecy tree (packages, includes, etc).

Therefore I'm using the callback "var" to identify the variables types and typedef declarations, but I have a problem when a user defined type it's declared as struct or union, I can't access the internal variable declarations of the struct or union (I can't get the field names and data types).

Is there any workaround or suggestion you could provide?

Thanks in advance

@veripoolbot
Copy link
Collaborator Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2009-05-28T00:27:22Z


I'm traveling at the moment, but think it's easy to add this to the callbacks, I'll look at it next Tuesdayish.

@veripoolbot
Copy link
Collaborator Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2009-06-05T21:31:04Z


Please try the git version. See the bottom of t/35_sigparser.out and verilog/parser_sv.v for an example.

@veripoolbot
Copy link
Collaborator Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2009-06-17T12:02:05Z


In 3.211.

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

No branches or pull requests

2 participants