Unions and/or Variant Records
Proposal Editing Information
- Who Updates: JimLewis, <Add YourName>, ...
- Date Proposed: 2012-11-19
- Date Last Updated: 2012-11-19
- Priority:
- Complexity:
- Focus: Testbench
Requirement Summary
Support unions and/or variant records
Related and/or Competing Issues: none
Use Model
A coverage bin can be either a range of values such as 1 to 5 or a single values such as 7, 11, 13.
To create such a coverage bin, I need multiple calls:
Cov.AddBins(GenBin(1,5) & GenBin( (7, 11, 13)) ;
It is desirable to have a single call to
GenBin:
Cov.AddBins(GenBin( ((1,5),7,11,13) ) ;
Proposal
Ada supports variant records. See
Wikibooks ADA records
Questions
General Comments
Supporters
Add your signature here to indicate your support for the proposal
Topic revision: r2 - 2020-02-17 - 15:35:00 -
JimLewis