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) ) ; 


Ada supports variant records. See Wikibooks ADA records


General Comments


Add your signature here to indicate your support for the proposal

Topic revision: r2 - 2020-02-17 - 15:34:42 - JimLewis
Copyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback