Re: [sv-bc] Bit/Part select of modport named argument

From: Greg Jaxon <Greg.Jaxon@synopsys.com>
Date: Tue Feb 08 2011 - 08:05:53 PST

On 2/7/2011 1:20 PM, Steven Sharp wrote:
> interface iface;
> logic [2:0] [2:0] [2:0] x;
> modport mport (input .j (x));
> endinterface
>
> The type of the identifier x is a 3-dimensional packed array. The self-determined type of the port expression x is a 27-bit vector.

I disagree.

If you'd said x+1'b1, I'd agree; + ignores x's shape, but until that shape is consumed somewhere, it is the
part of the self-determined type of any reference to x.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Feb 8 08:06:39 2011

This archive was generated by hypermail 2.1.8 : Tue Feb 08 2011 - 08:06:51 PST