[sv-ec] Query on interface

From: Swapnajit Chakraborti <swapnaj_at_.....>
Date: Tue Mar 15 2005 - 02:58:49 PST
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 Tue Mar 15 02:58:56 2005

This archive was generated by hypermail 2.1.8 : Tue Mar 15 2005 - 02:59:37 PST