[sv-bc] Confusion whether string datatype itself is of dynamic type or not

From: Sumay Guin <sumay_at_.....>
Date: Tue Dec 11 2007 - 04:35:16 PST
Hi,
    consider the scenario, 
    module myMod();
      parameter type pt = int;
   endmodule

    module tb();
       myMod #($typeof(string)) m1();
    endmodule


 According to systemverilog 3.1a expression/datatype specified inside 
$typeof systemfunction as an argument

 shall not contain any hierarchical identifiers or references to 
elements of dynamic objects. Also according to
 systemverilog LRM IEE 1800-2005 string variable is of dynamic in 
nature. But consider the above scenario,
 where user specified string datatype itself as an argument to 
systemtask function $typeof.Can any one tell me
 whether it will be legal to specify string datatype itself as an 
argument to system function $typeof or whether
 "string" dataype itself is dynamic or static in nature.

Thanks,
Sumay



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Dec 11 05:11:29 2007

This archive was generated by hypermail 2.1.8 : Tue Dec 11 2007 - 05:12:20 PST