Steve has alread forwarded this to accellera, since it is an enhancement request. -------------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: Submitted Superseded By: ------------------------ Date Submitted: 20 October 2005 Date Analyzed: Author of Analysis: Revision Number: 0 Date Last Revised: 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 ------------------------------ TBD VASG-ISAC Recommendation for IEEE Std 1076-2002 ----------------------------------------------- TBD VASG-ISAC Recommendation for Future Revisions --------------------------------------------- TBD -------------END OF IR----------------Received on Fri Oct 21 10:56:52 2005
This archive was generated by hypermail 2.1.8 : Fri Oct 21 2005 - 10:56:53 PDT