VHDL Issue Number: 1120 Classification: Language Definition Problem Language Version: VHDL-93 Summary: Inconsistency about the mode of formal parameters of class file. Related Issues: Relevant LRM Sections: 2.1.1 Key Words and Phrases: Formal parameters, files Current Status: Submitted 1076-1993 Disposition: Unknown Disposition Rationale: Superseded By: N/A ----------------------- Date Submitted: 16 July 1996 Author of Submission: Ernst Christen Author's Affiliation: Analogy, Inc. Author's Post Address: 9205 SW Gemini Drive Beaverton, OR 97008 Author's Phone Number: (503) 520-2720 Author's Fax Number: (503) 643-3361 Author's Net Address: christen@analogy.com ----------------------- Date Analyzed: TBD Author of Analysis: TBD Revision Number: 1 Date Last Revised: 09 February 1996 Description of Problem ---------------------- Section 2.1.1 of the VHDL-93 LRM describes formal parameters of subprograms which "may be constants, variables, signals, or files" (line 38). On line 40 it states "In the fourth case, that of files, the parameters have no mode". Further down, the paragraph starting on line 45 states "For those parameters with modes, the only mode that is allowed for formal parameters of a function is the mode IN (whether this mode is specified explicitly or implicitly). The object class must be CONSTANT, SIGNAL, or FILE." This contradicts the previous statement, as file parameters cannot have no mode and mode IN at the same time. Proposed Resolution ------------------- Remove file objects from the list of object classes on line 46. VASG-ISAC Analysis & Rationale ------------------------------ TBD VASG-ISAC Recommendation for IEEE Std 1076-1993 ----------------------------------------------- TBD VASG-ISAC Recommendation for Future Revisions --------------------------------------------- TBD