Hi, I see there is an LRM text: "The formal arguments of a covergoup cannot be accessed using a hierarchical name (the formals cannot be accessed outside the covergroup declaration)." So I got the answer. Regards Surya -------- Original Message -------- Subject: [sv-bc] Hierarchical reference of covergroup formal argument From: Surya Pratik Saha <spsaha@cal.interrasystems.com> To: sv-bc@eda.org <sv-bc@eda.org>, sv-ac@eda.org <sv-ac@eda.org> Date: Monday, January 05, 2009 11:13:34 AM > Hi, > Is it not allowed to refer covergroup formal argument hierarchically > like task/function formal argument? For example: > > module top; > covergroup cg ( input int x , int y, int c); > d: coverpoint x; > endgroup > initial begin:b > cg c_g; > c_g.y = 1; // is it not allowed > end > endmodule > > I did not see anything mentioned in the LRM, though some of the > standard simulators fail for that. > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Sun Jan 4 22:55:29 2009
This archive was generated by hypermail 2.1.8 : Sun Jan 04 2009 - 22:56:03 PST