HLS基础 (二十一 函数层面的优化)

Coding Styles on Function

image-20220509190851359

Inline

image-20220509191035583

Example of Inline

image-20220509191422320

Allocation

指定实例化次数。

使用Allocation 可以获得latencyarea的折中。

image-20220509191552430

image-20220509191803504

Task Level Pipelining : DataFlow

这里对Function使用DataFlow,下面的channel可以是PingPong Ram也可以是FIFO

image-20220509191936883

More about DATAFLOW

image-20220509192146015

image-20220509192246166

Example

image-20220509192400505

Summary

image-20220509192548127

  • 版权声明: 本博客所有文章除特别声明外,著作权归作者所有。转载请注明出处!
  • Copyrights © 2022-2024 lk
  • 访问人数: | 浏览次数:

请我喝杯咖啡吧~

支付宝
微信