<Forwarding bounced email from Daniel Mlynek> -------- Original Message -------- Subject: RE: [Fwd: Should it be allowed to use interface(virtual and not virtual) in conditional expr] Date: Mon, 27 Oct 2008 15:06:46 -0700 From: Daniel Mlynek <DanielM2@aldec.com> To: Neil.Korpusik@Sun.COM Should it be allowed to use interface(virtual and not virtual) in conditional expr: COND? ARG1 : ARG2 As ARG1 ARG2 arguments virtual interfaces and interfaces instance? This would be usefull feature while LRM seams to forbid that. See example interface iface; int a,b; endinterface module top; iface ifc1(); iface ifc2(); virtual iface v_ifc, v_ifc1, v_ifc2; int a; initial begin v_ifc = (a == 1)? ifc1:ifc2; //iface instances used v_ifc = (a == 1)? v_ifc1:v_ifc2;// virtual iface variable used end endmodule DANiel -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Mon Oct 27 15:15:31 2008
This archive was generated by hypermail 2.1.8 : Mon Oct 27 2008 - 15:16:15 PDT