Reduce the resource usage of your design on a target FPGA or SoC device by applying area optimizations. You can reduce the area needed by your design by using RAM mapping, resource sharing, streaming, and other area optimizations. For an overview on area optimizations, see Speed and Area Optimizations in HDL Coder.
- Apply RAM Mapping to Optimize Area
Map elements to RAM to optimize area on your target hardware.
- RAM Mapping With the MATLAB Function Block
How to use RAM mapping optimization with
MapPersistentVarsToRAMparameter for MATLAB Function blocks in your model.
- Map Matrices to ROM
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.
- Resource Sharing
How to use resource sharing to save chip area.
What is streaming and how to use the optimization to save resources.
- Find Feedback Loops
Highlight feedback loops that are inhibiting optimizations.
- Subsystem Optimizations for Filters
Select resource sharing and pipeline optimization options.
- HDL Optimizations Across MATLAB Function Block Boundary Using MATLAB Datapath Architecture
Apply optimizations inside and across MATLAB Function blocks with other Simulink® blocks.