Michael, I remember that the connection of a interface instance at a higher level of hierarchy was written to make connection to an interface instance at a lower level of hierarchy illegal. I think that interfaces which are top level should be allowed. That is my opinion. However the LRM makes implicit instantiation of interfaces illegal : only modules and programs can be implicitly instantiated as top levels. In section 25.3: ================ Interfaces can be declared and instantiated in modules (either flat or hierarchical), but modules can neither be declared nor instantiated in interfaces. In contrast to modules (see 23.3) and programs (see 24.3), interfaces are never implicitly instantiated. Francoise ' -----Original Message----- From: owner-sv-ec@eda.org [mailto:owner-sv-ec@eda.org] On Behalf Of Michael Burns Sent: Wednesday, April 15, 2009 1:15 PM To: sv-ec@eda.org Subject: [sv-ec] Question about interface ports on modules Hi folks, There is a restriction in 23.3.3.4 (that has been around since Accellera SV) that any interface ports of a module must be connected to an interface instance at a higher level of hierarchy. This would seem to preclude creating an RTL design with interface ports at the top level. What is the reason for this restriction? Am I misunderstanding the meaning here? More specifically, for simulation one would normally have a testbench that instantiates the DUT and connects the interface ports - no problem there. However, many other tools (synthesis, formal, back-end, etc.) read in just the DUT. Would those tools be required to reject a design with top-level interface ports? Thanks, Mike -- 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 Wed Apr 15 10:30:57 2009
This archive was generated by hypermail 2.1.8 : Wed Apr 15 2009 - 10:31:43 PDT