VHDL Issue Number: 1029 Classification Language Definition Problem Summary: What should happen when there is a port clause in a block statement but no port map clause? Related Issues: Supersedes 0141 Relevant LRM Sections: 9.1, 12.2 Key Words and Phrases: Generic map clause, port map clause Current Status: Analyzed ----------------------- Date Submitted: 1989/06/21 Author of Submission: Ken Scott Author's Affiliation: Vantage Analysis Systems, Inc. Author's Post Address: 42840 Christy St., Suite 201 Fremont, CA 94538 Author's Phone Number: (415) 659-0901 Author's Fax Number: Author's Net Address: N/A ----------------------- Date Analyzed: 1994/07/25 Author of Analysis: John Willis Revision Number: $Revision: 1.4 $ Date Last Revised: $Date: 1995/07/25 19:11:02 $ Description of Problem ---------------------- The second paragraph of section 12.2.1 indicates explicitly what should happen in the absence of a generic map clause: The value of a generic constant is not defined until a subsequent generic map clause is evaluated, or in the absence of a generic map clause, until the default expression associated with the generic constant is evaluated to determine the value of the constant. There is no corresponding passage in section 12.2.3 for port maps. The LRM does not explicitly state what happens in the absence of an explicit port map clause. Proposed Resolution ------------------- Section 12.2.3 should be updated with a description of what to do when a port map clause is absent. VASG-ISAC Analysis & Rationale ------------------------------ This problem seems to be adequately addressed in the context of specific ports which lack a corresponding association element. It does however seem reasonable to broaden treatment of the third paragraph is Section 12.2.4 to include both ports of mode "in", as it does now, and ports of mode "inout". VASG-ISAC Recommendation for IEEE Std 1076-1993 ----------------------------------------------- The third paragraph of Section 12.2.4 should apply to ports of both "in" mode and "inout" mode. VASG-ISAC Recommendation for Future Revisions --------------------------------------------- The third paragraph of Section 12.2.4 should apply to ports of both "in" mode and "inout" mode.