Technical data
LibDeclareRollVariables
4
-28
LibDeclareRollVariables
Purpose
Declares the necessary local variables required for loop rolling
Syntax
%<LibDeclareRollVariables(block, sigOffset, numIterations,\
rolledCount, rollVars)>
Arguments
block
Reference to the block record.
sigOffset
Integer signal offset of current roll region.
numIterations
Integer number of iterations in current roll region.
rolledCount
Integer number of times the Target Language Compiler has called
roller
for
a given
RollRegion
.
rollVars
String vector of variables to declare. Table 4-1 lists the valid
rollVars
.
Table 4-1: Valid rollVars
Declare All Declare Individual
Inputs
Uui
Outputs
Yyi
Continuous states
Xc, Xc
Discrete states
Xd, Xd
Parameters
P <param>/name
Real-work
RWork <rwork>/name
Integer-work
IWork <iwork>/name
Pointer-work
PWork <pwork>/name
Mode
Mode