速度と面積の最適化
リソースの共有および 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 | MATLAB 設計で安定した入力を定義する (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 以降) |
トピック
- 永続配列の RAM へのマッピング
- Pipelining of for-Loops
Pipelining allows concurrent execution of multiple iterations. The next iteration of a loop can begin execution before the previous iteration completes its execution. Pipelining optimises the execution speed and improves the throughput of the code at the expense of increased resources.