Re: [sv-bc] assignment pattern to scalar

From: Greg Jaxon <Greg.Jaxon@synopsys.com>
Date: Wed Oct 20 2010 - 08:20:59 PDT
At first glance, a seems to have neither "structure fields" nor "array elements".
But, depending on which array theory you accept, a scalar can sometimes be considered a zero dimensional array.
A "scalar array" has one element, whose index position is the empty vector of subscripts along each axis of the array.
If we accept this reading, then the description of array assignment patterns might be understood to assign the value 1
to a.

On 10/18/2010 5:09 AM, Bresticker, Shalom wrote:
logic a;
always_comb a = '{default:'1};

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean. Received on Wed Oct 20 08:21:21 2010

This archive was generated by hypermail 2.1.8 : Wed Oct 20 2010 - 08:23:46 PDT