[sv-ec] Proposal for ERR-41 associatve array index restrictions (with formatting)


Subject: [sv-ec] Proposal for ERR-41 associatve array index restrictions (with formatting)
From: Dave Rich (David.Rich@synopsys.com)
Date: Tue Nov 11 2003 - 07:49:53 PST


The following changed refer to SV3.1 or SV3.1aDraft1

Add the text in blue to the end of the fist paragraph in section 4.9

Associative arrays do not have any storage allocated until it is used, and the index expression is not
restricted to integral expressions, but can be of any type where the equality operation has been defined..

Add a new section after 4.9.6

4.9.7 Other user defined types


Example:
	typedef struct {real R; int I[*];} Unpkt;
	int array_name [ Unpkt ];

In general, associative arrays that specify an index of any type have the following properties

-- 
--
David.Rich@Synopsys.com
Technical Marketing Consultant
http://www.SystemVerilog.org
tele:  650-584-4026
cell:  510-589-2625



This archive was generated by hypermail 2b28 : Tue Nov 11 2003 - 11:20:43 PST