Hi,
I have a query regarding the usage of modport in hierarchical references.
From the LRM, I was able to understand that the modports are either used while creating ports or while creating a port connections.
Apart from these can we use the modport in a hierarchical reference.
Example:
interface intf;
wire c;
modport m1(output .mp( c ) );
endinterface
module top;
intf i1();
mid i2(i1);
endmodule
module mid (interface port_p1);
wire d;
assign port_p1.m1.mp = d; //is this usage valid
endmodule
Regards,
Harpreet
________________________________
NOTE: This message and its attachments are intended only for the individual or
entity to which it is addressed and may contain confidential information or
forward-looking statements regarding product development. Forward-looking
statements are subject to change at Atrenta's sole discretion and Atrenta will have
no liability for the delay or failure to deliver any product or feature mentioned in
such forward-looking statements.
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Wed, 16 Mar 2011 17:36:57 +0530
This archive was generated by hypermail 2.1.8 : Wed Mar 16 2011 - 05:08:01 PDT