[sv-bc] array of interfaces

From: Paul Graham <pgraham@cadence.com>
Date: Tue Apr 27 2004 - 06:47:35 PDT

For an array of interfaces instantiated with an interface port:

    wire [3:0] x;
    my_intf mi[3:0] (x);

Does the port get sliced up among the different instances the way that
it would with an array of instances? Or is the whole port connected
to each instance? In other words, is the above equivalent to this:

    wire [3:0] x;
    my_intf mi[3](x[3]), mi[2](x[2]), mi[1](x[1]), mi[0](x[0]);

or to this:

    wire [3:0] x;
    my_intf mi[3](x), mi[2](x), mi[1](x), mi[0](x);

Paul
Received on Tue Apr 27 06:47:53 2004

This archive was generated by hypermail 2.1.8 : Tue Apr 27 2004 - 06:48:16 PDT