主要内容

速度与面积优化

通过资源复用和 RAM 映射实现改进

针对目标硬件,使用速度和面积优化从 MATLAB® 函数生成满足时序和面积要求的高级综合代码。面积优化可减少设计的资源使用量。速度优化通过优化关键路径改进目标硬件上设计的时序,使设计以更高频率运行。

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

函数

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

主题

精选示例