TWiki
>
P1076 Web
>
Vhdl2019CollectedRequirements
>
ProtectedTypesAliases
(revision 5) (raw view)
Edit
Attach
---+ Aliases to a Protected Type %TOC% ---++ Proposal Information * State of this Proposal: Raw / Stream of Conscious * Current Owner: JimLewis, ... * Contributors: JimLewis, ... * Date Proposed: 2014-Nov-12 * Date Last Updated: * Priority: * Complexity: * Focus: Testbench * Related Issues: None * Competing Issues: None ---++ Requirement Summary Aliases to protected type methods and to protected types themselves allows for name updates to a protected type data structure without having ---++ Alias to Methods - %GREEN%[Author Comment: Subsumed by [[ProtectedTypeComposition]] ]%ENDCOLOR% Motivation: allow methods to have alternate names. During the long term support of data types implemented within a protected type, names change to bring consistency among different data structures. Aliases to methods offers a simple, light weight way to maintain backward compatibility with older naming structures <pre>type ScoreBoardPType is protected<br /> procedure Push (Item : in ExpectedType) ;<br />. . .<br /> -- Depreciated, but kept for backward compatibility<br /> alias PutExpectedData is Push[ExpectedType] ; <br />end protected ScoreBoardPType ;</pre> ---++ Alias to a Protected Type %GREEN%[Author Comment: No change required. This feature already supported.]%ENDCOLOR% Motivation: allow methods to have alternate names. During the long term support of data types implemented within a protected type, names change to bring consistency among different data structures. <pre>type CovagePType is protected<br /> . . .<br />end protected CovagePType ;<br /><br />-- Depreciated, but kept for backward compatibility<br />alias CovPType is CoveragePType ;</pre> ---++ Questions ---++ Issues ---++ General Comments Important for maintaining open source data structures. Permits minor revisions and name changes in interfaces and simplifies changes made to improve consistency between different packages. ---++ Supporters _Add your signature here to indicate your support for the proposal_ _-- Main.JimLewis - 2014-12-03_ -- [[Main.BrentHahoe][Brent Hayhoe]] - 2014-12-22 -- Main.MortenZilmer - 2015-01-21
Edit
|
Attach
|
P
rint version
|
H
istory
:
r7
<
r6
<
r5
<
r4
<
r3
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r1 - 2020-02-17 - 15:34:36 -
TWikiGuest
P1076
Log In
or
Register
P1076 Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
Webs
Main
P1076
Ballots
LCS2016_080
P10761
P1647
P16661
P1685
P1734
P1735
P1778
P1800
P1801
Sandbox
TWiki
VIP
VerilogAMS
Copyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback