RE: [sv-bc] typo in section 20.9 "Access to interface objects"

From: Rich, Dave <Dave_Rich_at_.....>
Date: Tue Apr 25 2006 - 05:47:08 PDT
No, a modport can only restrict access to those objects legal to be
listed in a modport. So parameters and types are always accessible.

And yes, a clocking block needs to be added to the list of legal
objects.

Dave




> -----Original Message-----
> From: owner-sv-bc@server.eda.org [mailto:owner-sv-bc@server.eda.org]
On
> Behalf Of Feldman, Yulik
> Sent: Tuesday, April 25, 2006 3:46 AM
> To: pgraham@cadence.com
> Cc: sv-bc@server.eda.org
> Subject: RE: [sv-bc] typo in section 20.9 "Access to interface
objects"
> 
> According to LRM, all objects declared in an interface are accessible
> through hierarchical references referencing the instance of the
> interface, but only objects legal to be listed in modports can be
> referenced using hierarchical reference referencing the modport.
> 
> --Yulik.
> 
> -----Original Message-----
> From: Paul Graham [mailto:pgraham@cadence.com]
> Sent: Tuesday, April 25, 2006 1:34 PM
> To: Feldman, Yulik
> Cc: sv-bc@eda.org
> Subject: Re: [sv-bc] typo in section 20.9 "Access to interface
objects"
> 
> > "When an interface is connected with a modport in either
> > the module header or port connection, access by port
> > reference is limited to only objects listed in the
> > modport, for only types of objects legal to be listed in
> > modports (nets, variables, tasks, and functions)."
> 
> Does this mean that a parameter in the interface is not
> accessible?  Or a type, for that matter?
> 
> Paul
Received on Tue Apr 25 05:47:12 2006

This archive was generated by hypermail 2.1.8 : Tue Apr 25 2006 - 05:47:22 PDT