coder.hdl.stable
Description
coder.hdl.stable(
enables you
to define stable inputs in your MATLAB® code and facilitate area optimization of the synthesized High-Level
Synthesis (HLS) code. You can use this pragma when an input port holds a stable
value during MATLAB simulation. When you define a variable as stable, it is stored
in the hardware ports instead of memory (RAM). var_name
)
You must insert this pragma at the start of the MATLAB design.
This pragma does not affect MATLAB simulation behavior.
Note
For Cadence® Stratus synthesis tool, the specified stable inputs are stored
inside the ml.tcl
file that is read by the Cadence Stratus importer.