RegisterLogin  
Update Profile
   
You are here: Forum  
Minimize 
SVUG Community Forum
Subject: interface instances inside interface declaration
Prev Next
You are not authorized to post a reply.

Author Messages
DavidUser is Offline

Posts:9

05/20/2008 2:35 PM  
Can an interface declaration contain an interface instance (of another interface) ?

if I undertand correctly, the LRM Formal Syntax annex allows for an interface to be instantiated inside another interface e.g.

   interface a_if;
      ... // signal items
   endinterface

   interface b_if;
      a_if   intf_inst();
      ...
   endinterface

Assuming this is correct, is it valid to include the intf_inst as an item of a modport? or do I need to list  intf_inst signals one by one in a modport declaration?

Thanks,

David

You are not authorized to post a reply.
Forums > General Discussion > Main Discussion Area > interface instances inside interface declaration



ActiveForums 3.7
  

 Copyright 2008 by SystemVerilog User Group Contact Us    Privacy Statement