VHDL Issue Number: 0150 Classification: Language Deficiencies and Modeling Problems Language Version: VHDL-87 Summary: Independent local subelement association should be allowed in generic map and port map aspects. Related Issues: None. Relevant LRM Sections: 4.3.3.2, 5.2.1.2 Key Words and Phrases: Association lists, generic map aspects, port map aspects Current Status: Submitted 1076-1993 Disposition: Closed (All Issues Completely Addressed) Disposition Rationale: Section 5.2.1.2 was revised. Superseded By: N/A ----------------------- Date Submitted: 1991/03/12 Author of Submission: Paul Menchini Author's Affiliation: CAD Language Systems, Inc. Author's Post Address: P.O. Box 13036 Research Triangle Park, NC 27709-3036 Author's Phone Number: (919) 361-1913 Author's Fax Number: Author's Net Address: mench@clsi.com ----------------------- Date Analyzed: TBD Author of Analysis: TBD Revision Number: $Revision: 1.9 $ Date Last Revised: $Date: 1995/08/04 01:42:22 $ Description of Problem ---------------------- Section 4.3.3.2 allows subelements of formals to be independently associated with actuals. However, Section 5.2.1.2 states "Each local port or generic ... must be associated as an actual with at least one formal.", which doesn't allow the subelements of the map aspect actuals to be independently associated. This ability is sometimes convenient, as illustrated by the following example: entity E1 is port (in0, in1, in2: out bit); end E1; entity E is end E; architecture ILSA of E is component c1 port (i0: out bit_vector (0 to 2)); end component; for u1:c1 use entity work.E1 port map (in0 => i0(0), in1 => i0(1), in2 => i0(2)); -- this port map is illegal, but convenient signal s: bit_vector (0 to 2); begin u1:c1 port map (s); end ILSA; Proposed Resolution ------------------- Allow subelements of the actuals in port maps and generic maps to be independently associated, subject to restrictions similar to those for independently associated formals. VASG-ISAC Analysis & Rationale ------------------------------ TBD VASG-ISAC Recommendation for IEEE Std 1076-1987 ----------------------------------------------- TBD VASG-ISAC Recommendation for Future Revisions --------------------------------------------- TBD