-------------BEGINNING OF IR---------------- VHDL Issue Number: 2076 Language_Version VHDL-93 Classification Language Modeling Enhancement or Deficiency Summary a member attribute for records Relevant_LRM_Sections Related_Issues Key_Words_and_Phrases record, attribute Authors_Name Rickard Norberg Authors_Phone_Number +467075884108 Authors_Fax_Number Authors_Email_Address rickard.norberg@saabtech.se Authors_Affiliation Authors_Address1 Authors_Address2 Authors_Address3 Current Status: Forwarded Superseded By: ------------------------ Date Submitted: 20 October 2005 Date Analyzed: Author of Analysis: Revision Number: 0 Date Last Revised: 17 November 2005 Description of Problem ---------------------- For a record like : type MyRecord_type is record Alice : unsigned(5 downto 0); Bob : signed(9 downto 0); John :Boolean; Adam :bit; end record MyRecord_type; It would be nice to have an attribute something like this. MyRecord'members which will return (Alice, Bob, John, Adam) And in the other way around used in a loop For n in MyRecord'members'left to MyRecord'members'right loop If MyRecord.n'member : SomeThing then Do this.. Else Do that... End if; End loop; Proposed Resolution ------------------- VASG-ISAC Analysis & Rationale ------------------------------ This is a language enhancement, so the ISAC has forwarded this to the VASG. In addition, the ISAC believes that the utility of a record iterator is far from clear, since the iterator index would range over various types. A more complete use case is needed to understand just what problem is being solved. The ISAC has contacted the submitter to request a more complete use case. VASG-ISAC Recommendation for IEEE Std 1076-2002 ----------------------------------------------- TBD VASG-ISAC Recommendation for Future Revisions --------------------------------------------- Forward to VASG as an enhancement. -------------END OF IR----------------