1.

What Is The Use Of Modports ?

Answer»

MODPORTS are part of Interface. Modports are USED for specifing the direction of the SIGNALS with RESPECT to various modules the interface connects to.

  1. ...
  2. interface my_intf;
  3. wire x, y, z;
  4. modport master (input x, y, OUTPUT z);
  5. modport slave (output x, y, input z);

Modports are part of Interface. Modports are used for specifing the direction of the signals with respect to various modules the interface connects to.



Discussion

No Comment Found