速度与面积优化
通过资源复用和 RAM 映射实现改进
针对目标硬件,使用速度和面积优化从 MATLAB® 函数生成满足时序和面积要求的高级综合代码。面积优化可减少设计的资源使用量。速度优化通过优化关键路径改进目标硬件上设计的时序,使设计以更高频率运行。
类
hdl.WorkingSet | Working set object that generates working sets form input image for HLS code generation (自 R2023a 起) |
函数
coder.hdl.arraydistance | Specify minimum or maximum array distance inside pipelined
for -loop (自 R2022b 起) |
coder.hdl.constrainlatency | Specify the minimum and maximum acceptable hardware latency for a MATLAB function for High-Level Synthesis (HLS) code generation (自 R2022a 起) |
coder.hdl.literaltext | Specify the literal text to define in the pragma (自 R2024b 起) |
coder.hdl.loopspec | Unroll or stream loops in generated HDL and High-Level Synthesis (HLS) code |
coder.hdl.stable | Define stable inputs in MATLAB design (自 R2022b 起) |
coder.inline | Control inlining of current function in generated code |
coder.hdl.interface | Map input or output variable to interface in generated HLS code (自 R2023a 起) |
getWorkingSet | Get working set from the input image at specified position (自 R2023a 起) |
nextWorkingSet | Get next working set from input image from last pixel position (自 R2024a 起) |
hasNextWorkingSet | Check whether another working set can be constructed from input image (自 R2024a 起) |
currentWorkingSet | Get current working set or the last generated working set from input image (自 R2024a 起) |
主题
- Map Persistent Arrays to RAM
- Pipelining of for-Loops
Pipelining allows concurrent execution of multiple iterations.