From: Francoise Martinolle (fm@cadence.com)
Date: Wed May 05 2004 - 07:00:00 PDT
The following reply was made to PR errata/398; it has been noted by GNATS.
From: Francoise Martinolle <fm@cadence.com>
To: ptf-bugs@boyd.com
Cc:
Subject: errata/398: friendly amendment for proposal 398
Date: Wed, 05 May 2004 10:13:30 -0400
This is the final proposal which was voted on and passed on 5/3:
There are 3
actions:
changes to the diagrams, changes to 27.17 and changes to 27.18
1. The diagram modifications are:
In diagram 26.6.2, under the Instance array class add:
-> access by index
vpi_handle_by_index()
vpi_handle_by_multi_index()
In diagram 26.6.5, under the Ports class add:
-> access by index
vpi_handle_by_index()
vpi_handle_by_multi_index()
In diagram 26.6.6, under the Nets class add:
-> access by index
vpi_handle_by_index()
vpi_handle_by_multi_index()
In diagram 26.6.6 under the Net array class, add:
-> access by index
vpi_handle_by_index()
vpi_handle_by_multi_index()
In diagram 26.6.7, under the Regs class add:
-> access by index
vpi_handle_by_index()
vpi_handle_by_multi_index()
In diagram 26.6.7 under the Reg array class, add:
-> access by index
vpi_handle_by_index()
vpi_handle_by_multi_index()
In diagram 26.6.8 under the Variables class, add:
-> access by index
vpi_handle_by_index()
vpi_handle_by_multi_index()
In diagram 26.6.9 (Memory diagram) under the regarray diagram
add:
-> access by index
vpi_handle_by_index()
vpi_handle_by_multi_index()
In diagram 26.6.11 under the Named Event Array class, add:
-> access by index
vpi_handle_by_index()
vpi_handle_by_multi_index()
2. modify vpi_handle_by_index (27.17) as:
CHANGE description:
The VPI routine vpi_handle_by_index() shall return a handle to an object
based on the index number of the
object within a parent object. This function can be used to access all
objects that can access an expression
using vpiIndex. Argument obj shall represent the parent of the indexed
object. For example, to access a netbit,
obj would be the associated net, while for a memory word, obj would be the
associated memory.
TO:
The VPI routine vpi_handle_by_index() shall return a handle to an object
based on the index number of the object within the reference object, obj.
The reference object shall be an object that has the access by
index property. For example, to access a net bit, obj would be the
associated net, to access an element of a reg array, obj would be the
array. If the selection
represented by the index number does not lead to the construction of a legal
Verilog index select expression, the routine shall return a null handle.
3. modify vpi_handle_by_multi_index (27.18) as:
CHANGE synopsis section:
Obtain a handle to a sub object using an array of indexes and a parent
object.
TO:
Obtain a handle to a sub object using an array of indices and a reference
object.
in the description of the argument num_index:
CHANGE:
number of indexes in the index array
TO:
number of indices in the index array
In the description of argument index_array
CHANGE:
array of indexes.
TO:
array of indices
In the table description, CHANGE:
Handle to an object of type vpiRegBit, vpiNetBit, vpiRegWord, or vpiNetWord
TO:
Handle to an object
CHANGE description:
The VPI routine vpi_handle_by_multi_index() shall return a handle to an
object based on the list of
indexes and parent object passed in. The argument num_index will contain
the number of indexes in the provided
array index_array. The order of the indexes provided, shall be for the left
most select first, progressing
to the right most select last. This function can be used to access all
objects whose property vpiMultiArray is
TRUE. This routine shall only provide access to a bit or word of the parent
object.
TO:
The VPI routine vpi_handle_by_multi_index() shall provide access to
an index selected sub object of the reference handle. The reference object
shall be an object that has the access by index property. This routine
shall return
a handle to a valid Verilog object based on the list of indices provided
by the
argument index_array, and reference handle denoted by obj. The argument
num_index
shall contain the number of indices in the provided array index_array.
The order of the indices
provided, shall follow the array dimension declaration from the left most
range to the right
most range of the reference handle; the array indices
may be optionally followed by a bit select index. If the indices provided
do not lead to the construction of a legal Verilog index select expression,
the routine shall return a null handle.
This archive was generated by hypermail 2.1.4
: Wed May 05 2004 - 07:00:08 PDT
and
sponsored by Boyd Technology, Inc.