Technical data
LibBlockInputSignal
4
-3
LibBlockInputSignal
Purpose
Determines the input signal label based on the type of input signal
Syntax
%<LibBlockInputSignal(portNum, ucv, lcv, sigIdx)>
Arguments
portNum
Integer data input port number.
ucv
User control variable string.
lcv
Loop control variable string.
sigIdx
Integer offset into block signal.
Returns
The input signal label based on the type of input signal, i.e., 
U
, 
X
, 
B
, or 
G
.
Description
LibBlockInputSignal
 returns the input signal label based on the type of input 
signal, i.e., 
U
, 
X
, 
B
, or 
G
. For example,
 U.Vin[2]
 is generated for a wide input 
signal named 
Vin
 (nonloop rolling case). In general, 
LibBlockInputSignal
returns:
where 
Source
 is 
U
, 
X
, or 
B
.
rtGROUND
If input signal is 
GROUND
.
Source.block[ucv]
If 
ucv
 is specified.
u%<portNum>[lcv]
If 
lcv
 specified and signal is wide.
Source.block
If 
lcv
 is specified and signal is scalar.
Source.block[sigIdx]
Otherwise, where 
[sigIdx]
 is optional for 
wide signals.










