このページの翻訳は最新ではありません。ここをクリックして、英語の最新版を参照してください。
速度と面積の最適化
リソースの共有および RAM マッピングによる改善
関数
coder.hdl.loopspec | Unroll or stream loops in generated HDL and SystemC code |
coder.hdl.constrainlatency | Specify the minimum and maximum acceptable hardware latency for a MATLAB function for SystemC code generation |
coder.hdl.arraydistance | Specify minimum or maximum array distance inside pipelined
for -loop |
coder.hdl.stable | Define stable inputs in MATLAB design |
トピック
- Map Persistent Arrays to RAM
To map the persistent variables to RAMs in the generated SystemC code use the RAM Mapping optimization. Without this optimization, the variables are mapped to registers. RAM mapping is an area optimization. It reduces the area of your design in the target hardware.
- 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.