Main Content

Speed and Area Optimization

Improvements through resource sharing and RAM mapping

For your target hardware, generate High-Level Synthesis code from a MATLAB® function that meets timing and area requirements by using speed and area optimizations. Area optimizations reduce resource usage of your design. Speed optimizations improve the timing of your design on the target hardware so that your design runs at higher frequencies by optimizing the critical path.

Classes

hdl.WorkingSetWorking set object that generates working sets form input image for HLS code generation (Since R2023a)

Functions

coder.hdl.arraydistanceSpecify minimum or maximum array distance inside pipelined for-loop (Since R2022b)
coder.hdl.constrainlatencySpecify the minimum and maximum acceptable hardware latency for a MATLAB function for High-Level Synthesis (HLS) code generation (Since R2022a)
coder.hdl.literaltextSpecify the literal text to define in the pragma (Since R2024b)
coder.hdl.loopspecUnroll or stream loops in generated HDL and High-Level Synthesis (HLS) code
coder.hdl.stableDefine stable inputs in MATLAB design (Since R2022b)
coder.inlineControl inlining of current function in generated code
coder.hdl.interfaceMap input or output variable to interface in generated HLS code (Since R2023a)
getWorkingSetGet working set from the input image at specified position (Since R2023a)
nextWorkingSetGet next working set from input image from last pixel position (Since R2024a)
hasNextWorkingSetCheck whether another working set can be constructed from input image (Since R2024a)
currentWorkingSetGet current working set or the last generated working set from input image (Since R2024a)

Topics

Featured Examples