|
3 | 3 | -- Design Unit Name: VendorCovApiPkg |
4 | 4 | -- Revision: ALDEC VERSION |
5 | 5 | -- |
6 | | --- Maintainer: |
| 6 | +-- Maintainer: |
7 | 7 | -- |
8 | 8 | -- Package Defines |
9 | 9 | -- A set of foreign procedures that link OSVVM's CoveragePkg |
10 | | --- coverage model creation and coverage capture with the |
| 10 | +-- coverage model creation and coverage capture with the |
11 | 11 | -- built-in capability of a simulator. |
12 | 12 | -- |
13 | 13 | -- |
14 | 14 | -- Revision History: For more details, see CoveragePkg_release_notes.pdf |
15 | 15 | -- Date Version Description |
16 | 16 | -- 11/2016: 2016.11 Initial revision |
| 17 | +-- 12/2016 2016.11a Fixed an issue with attributes |
17 | 18 | -- |
18 | 19 | -- |
19 | 20 | -- Copyright (c) 2016 by Aldec. All rights reserved. |
20 | 21 | -- |
21 | 22 | -- Verbatim copies of this source file may be used and |
22 | 23 | -- distributed without restriction. |
23 | 24 | -- |
24 | | --- Modified copies of this source file may be distributed |
25 | | --- under the terms of the ARTISTIC License as published by |
| 25 | +-- Modified copies of this source file may be distributed |
| 26 | +-- under the terms of the ARTISTIC License as published by |
26 | 27 | -- The Perl Foundation; either version 2.0 of the License, |
27 | 28 | -- or (at your option) any later version. |
28 | 29 | -- |
@@ -63,25 +64,25 @@ package VendorCovApiPkg is |
63 | 64 | -- Should not be called until the data structure is created by VendorCovPointCreate or VendorCovCrossCreate. |
64 | 65 | -- Replaces name that was set by VendorCovPointCreate or VendorCovCrossCreate. |
65 | 66 | procedure VendorCovSetName( obj: VendorCovHandleType; name: string ); |
66 | | - attribute foreign of VendorCovSetName[ VendorCovHandleType, string ]: procedure is "VHPI systf; cvg_SetCoverName"; |
| 67 | + attribute foreign of VendorCovSetName[ VendorCovHandleType, string ]: procedure is "VHPI systf; cvg_SetCoverName"; |
67 | 68 |
|
68 | 69 | -- Add a bin or set of bins to either a Point/Item or Cross Functional Coverage Model |
69 | 70 | -- Checking for sizing that is different from original sizing already done in OSVVM CoveragePkg |
70 | | - -- It is important to maintain an index that corresponds to the order the bins were entered as |
| 71 | + -- It is important to maintain an index that corresponds to the order the bins were entered as |
71 | 72 | -- that is used when coverage is recorded. |
72 | 73 | procedure VendorCovBinAdd( obj: VendorCovHandleType; bins: VendorCovRangeArrayType; Action: integer; atleast: integer; name: string ); |
73 | | - attribute foreign of CvpCrBinCreate[ VendorCovHandleType, VendorCovRangeArrayType, integer, integer, string ]: procedure is "VHPI systf; cvg_CvpCrBinCreate"; |
| 74 | + attribute foreign of VendorCovBinAdd[ VendorCovHandleType, VendorCovRangeArrayType, integer, integer, string ]: procedure is "VHPI systf; cvg_CvpCrBinCreate"; |
74 | 75 |
|
75 | 76 | -- Increment the coverage of bin identified by index number. |
76 | | - -- Index ranges from 1 to Number of Bins. |
| 77 | + -- Index ranges from 1 to Number of Bins. |
77 | 78 | -- Index corresponds to the order the bins were entered (starting from 1) |
78 | 79 | procedure VendorCovBinInc( obj: VendorCovHandleType; index: integer ); |
79 | 80 | attribute foreign of VendorCovBinInc[ VendorCovHandleType, integer ]: procedure is "VHPI systf; cvg_CvpCrBinIncr"; |
80 | 81 |
|
81 | 82 | -- Action (integer): |
82 | 83 | -- constant COV_COUNT : integer := 1; |
83 | 84 | -- constant COV_IGNORE : integer := 0; |
84 | | --- constant COV_ILLEGAL : integer := -1; |
| 85 | + -- constant COV_ILLEGAL : integer := -1; |
85 | 86 |
|
86 | 87 | end package; |
87 | 88 |
|
|
0 commit comments