RAM Mapping with the MATLAB Function Block
This example shows how to map persistent arrays to RAM using
the MapPersistentVarsToRAM
block-level parameter.
To map a matrix constant to ROM:If your MATLAB® code meets these requirements, HDL Coder™ inserts a no-reset register at the output of the matrix in the generated code.
Optimize loops for area or speed.
How to use resource sharing to save chip area
Check Compatibility for Resource Sharing
To determine whether your model is compatible for resource sharing:
What is streaming?
This example illustrates:
Highlight feedback loops that are inhibiting optimizations
RAM mapping for Simulink blocks
Subsystem Optimizations for Filters
HDL subsystem optimizations for filter blocks.