Hi Tom, Thanks for your clarification. Swapnajit. "Fitzpatrick, Tom" wrote: > > Hi Swapnajit, > > Your example is legal. This is one of the things modports are used for - > to limit visibility to a subset of the interface signals/methods. > > -Tom > Tom Fitzpatrick > Verification Technologist > Mentor Graphics Corporation > tfitz@model.com > W: (978)448-8797 > C: (978)337-7641 > > > > -----Original Message----- > > From: owner-sv-ec@eda.org [mailto:owner-sv-ec@eda.org] On > > Behalf Of Swapnajit Chakraborti > > Sent: Tuesday, March 15, 2005 5:59 AM > > To: sv-ec@eda.org > > Subject: [sv-ec] Query on interface > > > > I have a query related to declaration of modport inside an interface. > > > > Is it mandatory to include all signals of the interface in > > the modport declaration? In other words, can we form a > > modport declaration with a subset of signals declared in the > > interface? > > > > For example, > > > > interface i1; > > wire a, b, c, d; > > modport master(output a, input b); <--- Is this valid? > > endinterface > > > > Thx, > > Swapnajit. > >Received on Wed Mar 16 02:08:35 2005
This archive was generated by hypermail 2.1.8 : Wed Mar 16 2005 - 02:09:19 PST