coder.hdl.arraydistance
Syntax
Description
coder.hdl.arraydistance(specifies
the minimum array distance inside a pipelined arr_name,'min',arr_distance)for-loop. The array
distance is the number of clock cycles between a memory read operation and memory
write operation in an array. You must insert this pragma at the start of the
for-loop body.
coder.hdl.arraydistance(
specifies the maximum array distance inside a pipelined arr_name,'max',arr_distance)for-loop.
You must insert this pragma at the start of the for-loop
body.
This pragma does not affect MATLAB® simulation behavior and supports only MATLAB to HLS code generation workflow.
Note
coder.hdl.arraydistance pragma is supported only when
Cadence® Stratus is chosen as the synthesis tool for HLS code
generation.
Examples
Input Arguments
Version History
Introduced in R2022b