Oh, that's what you had an issue with. Yes, it was made illegal by mantis 1330. > -----Original Message----- > From: Surya Pratik Saha [mailto:spsaha@cal.interrasystems.com] > Sent: Thursday, August 28, 2008 1:08 AM > To: Rich, Dave > Cc: Kakoli Bhattacharya; sv-ec@eda.org > Subject: Re: [sv-ec] Virtual interface initialized with inst_name.modport > > Hi Dave, > As per LRM, virtual interface can point to an instance of an interface. > But here it is pointing to a modport. I think this is illegal. > > Regards > Surya > > > > -------- Original Message -------- > Subject: Re:[sv-ec] Virtual interface initialized with inst_name.modport > From: Rich, Dave <Dave_Rich@mentor.com> > To: Kakoli Bhattacharya <kakoli@cal.interrasystems.com>, sv-ec@eda.org > Date: Thursday, August 28, 2008 1:28:26 PM > > As long as the hierarchical reference is legal in the context where the > > declaration occurs, it should be legal. It would not be legal inside a > > package or $unit. > > > > Dave > > > > > > > >> -----Original Message----- > >> From: owner-sv-ec@server.eda.org [mailto:owner-sv-ec@server.eda.org] > >> > > On > > > >> Behalf Of Kakoli Bhattacharya > >> Sent: Thursday, August 28, 2008 12:37 AM > >> To: sv-ec@server.eda.org > >> Subject: [sv-ec] Virtual interface initialized with inst_name.modport > >> > >> Hello, > >> > >> Consider the following scenario: > >> > >> virtual my_interface virtual1 = intf1.top; > >> > >> where, > >> interface my_interface; > >> wire in1,in2; > >> bit out1,out2; > >> modport top(input in1,output out1); > >> endinterface > >> > >> Is the above initialization of the virtual interface legal? > >> Some of the standard simulators pass this but LRM is not clear about > >> > > this > > > >> issue. > >> > >> Regards, > >> Kakoli > >> > >> > >> > >> > >> > >> -- > >> This message has been scanned for viruses and > >> dangerous content by MailScanner, and is > >> believed to be clean. > >> > > > > > > > > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Thu Aug 28 01:21:43 2008
This archive was generated by hypermail 2.1.8 : Thu Aug 28 2008 - 01:24:36 PDT