Main Content

Speed and Area Optimization

Improvements through resource sharing and RAM mapping

For your target hardware, generate SystemC™ 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.


hdl.WorkingSetWorking set object that generates working sets form the input image (Since R2023a)


coder.hdl.loopspecUnroll or stream loops in generated HDL and SystemC code
coder.hdl.constrainlatencySpecify the minimum and maximum acceptable hardware latency for a MATLAB function for SystemC code generation (Since R2022a)
coder.hdl.arraydistanceSpecify minimum or maximum array distance inside pipelined for-loop (Since R2022b)
coder.hdl.stableDefine stable inputs in MATLAB design (Since R2022b)
coder.hdl.interfaceSpecify input to be mapped to the line buffer interface in HLS (Since R2023a)