Technical data

LibMapSignalSource
4
-41
LibMapSignalSource
Purpose
Determines the appropriate source signal given the mapping source and
mapping index
Syntax
%<LibMapSignalSource(mappingSource, mappingIndex, ucv, lcv)>
Arguments
mappingSource
String
"U"
,
"X"
,
"B"
, or
"G"
.
mappingIndex
Integer index into the map for
U
,
X
,
B
, or
G
.
ucv
User control variable string.
lcv
Loop control variable string.
Returns
The appropriate source signal given the mapping source and mapping index.
Description
LibMapSignalSource
returns the appropriate source signal given the mapping
source and mapping index. Valid mapping sources are
U
,
X
,
B
, and
G
. The
mapping index is the index into these maps.
Example
A wide input signal named
Vin
may produce the following result for
LibMapSignalSource(U, mappingIndex, "", "")
U.Vin[2]