embblk.latency.cordicSqrtHDLOptimizedLatency
Syntax
Description
[
returns the latency and total number of iterations of the CORDIC Square Root HDL
Optimized block. This computation depends on the data type of the input
latency
,nIterations
] = embblk.latency.cordicSqrtHDLOptimizedLatency(u
,nIterPerReg
)u
to the block, number of iterations per pipeline register
nIterPerReg
, and the CORDIC maximum shift value. When the block
parameter Automatically select CORDIC maximum shift value based on input word
length is selected, the automatically selected value for the CORDIC maximum
shift value is used to compute block latency. Latency is defined as the number of clock
cycles between the input and the corresponding output.
[
specifies the CORDIC maximum shift value latency
,nIterations
] = embblk.latency.cordicSqrtHDLOptimizedLatency(u
,nIterPerReg
,maximumShiftValue
)maximumShiftValue
to use for
the latency computation when the block parameter Automatically select CORDIC
maximum shift value based on input word length is deselected.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2024a