[sv-ec] Virtual interface initialized with inst_name.modport

From: Kakoli Bhattacharya <kakoli_at_.....>
Date: Thu Aug 28 2008 - 00:37:06 PDT
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.
Received on Thu Aug 28 00:45:39 2008

This archive was generated by hypermail 2.1.8 : Thu Aug 28 2008 - 00:46:19 PDT