coder.hdl.stable
Define stable inputs in MATLAB design
Description
coder.hdl.stable(
enables you
to define stable inputs in your MATLAB® code and thus facilitate area optimization of the synthesized
SystemC™ code. This pragma can be used 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. The specified stable inputs are stored inside the
ml.tcl
file that is read by the Cadence® Stratus importer.
This pragma does not affect MATLAB simulation behavior.
Examples
Input Arguments
Version History
Introduced in R2022b