Unlike type names, interface names can apparently be referred to in a module declaration before the interface is declared, even though they are being used there like type names. module test (io, IFC ifc1, ifc2); ... endmodule:test interface IFC(input clk); ... endinterface:IFC -- Brad -----Original Message----- From: Steven Sharp [mailto:sharp@cadence.com] Sent: Thursday, July 27, 2006 12:15 PM To: sv-bc@eda.org; Brad.Pierce@synopsys.COM Subject: Re: [sv-bc] Nested module questions >>Yes. Only data types and typedefs have this restriction. > >What about parameters? In fact, what doesn't have this restriction? Tasks and functions don't count, because an apparent forward reference to them is actually a hierarchical reference instead. Steven Sharp sharp@cadence.comReceived on Thu Jul 27 12:25:47 2006
This archive was generated by hypermail 2.1.8 : Thu Jul 27 2006 - 12:25:58 PDT