Re: [sv-bc] Sign of a signed packed array of struct

From: John Michael Williams <jwill@BasicISP.net>
Date: Fri Sep 10 2010 - 19:07:53 PDT

Hi Paul.

An array is an unordered set, and it does not represent a quantity,
so I think it could not be either signed or unsigned.

On 09/10/2010 02:11 PM, Paul Graham wrote:
> Given this array-of-struct declaration:
>
> struct packed signed { ... } [3:0] S;
>
> I can't tell if the signed keyword applies to the struct or to the array as a whole. Is S signed? Is S[0] signed?
>
> Paul
>

-- 
         John Michael Williams
         jwill@BasicISP.net
-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Fri Sep 10 18:56:12 2010

This archive was generated by hypermail 2.1.8 : Fri Sep 10 2010 - 18:58:46 PDT