[sv-bc] Query about $typename

From: Sumay Guin <sumay_at_.....>
Date: Tue Feb 05 2008 - 02:31:55 PST
Hi,
       Consider the scenario,
       module m;
       typedef struct {
          int i;
       }X;
       typedef struct {
          X a;
          int b;
       }Y;
       Y b;
       .....
       endmodule
       If any one place b as an argument of $typename then what will be 
the output ? Whether it will be
       "struct { X a;  int b; } m.Y" or "struct { struct { int i; }m.X a 
; int b; }m.Y" . Please any one
       can help me to resolve this issue as SV LRM  IEE Std 1800-2005,at 
section 22.2   does not 
       mentioned this behaviour clearly .   
     
Thanks & Regards,
Sumay



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Feb 5 02:51:27 2008

This archive was generated by hypermail 2.1.8 : Tue Feb 05 2008 - 02:52:31 PST