[logo] 
 
Home
News
Activity
About/Contact
Major Tools
  Dinotrace
  Verilator
  Verilog-mode
  Verilog-Perl
Other Tools
  BugVise
  CovVise
  Force-Gate-Sim
  Gspice
  IPC::Locker
  Rsvn
  Schedule::Load
  SVN::S4
  Synopsys-modes
  SystemPerl
  Verilog-Pli
  Voneline
  Vregs
General Info
  Papers

Issue #91

Struct content

Added by Saul Cuellar almost 3 years ago. Updated almost 3 years ago.

Status:Closed Start date:05/25/2009
Priority:High Due date:
Assignee:Wilson Snyder % Done:

0%

Category:-
Target version:-

Description

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

History

Updated by Wilson Snyder almost 3 years ago

  • Status changed from New to Assigned
  • Assignee set to Wilson Snyder

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

Updated by Wilson Snyder almost 3 years ago

  • Status changed from Assigned to Resolved

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

Updated by Wilson Snyder almost 3 years ago

  • Status changed from Resolved to Closed

In 3.211.

Also available in: Atom