[sv-ec] unpacked array embedded in struct as wire type

From: danielm <danielm_at_.....>
Date: Fri Jul 13 2007 - 04:22:02 PDT
How to interpret below LRM statement:

>If a data type is not specified in the net declaration, then the data type
of the net is logic.Certain restrictions apply to the data type of a net. A
valid data type for a net shall be one of the following:

>a) A 4-state integral type, including a packed array or packed struct

>b) An unpacked array or unpacked struct, where each element has a valid
data type for a net

Is it allowed to have net with type :  struct with unpacked array inside -
example:

typedef struct {reg a; reg [3:0] arr [10];} T;

wire T w;

Maybe LRM may be worded more precise here.

DANiel


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Fri Jul 13 05:18:44 2007

This archive was generated by hypermail 2.1.8 : Fri Jul 13 2007 - 05:19:23 PDT