Skip to content

UCLA-VAST/vivado-hls-broadcast-optimization

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Introduction

This repo provides analysis and methods to optimize the generated RTL by Vivado HLS regarding the ultimate achievable frequency. Specifically we focus on optimizing the "implicit" broadcasts in HLS-generated designs, which in many cases become the critical paths. This repo can potentially help you with the following:

  • A better understanding of the seemingly messy RTL generated by Vivado HLS, which will be beneficial to expert users who want to manually hack the RTL.
  • Proper coding style that leads to designs with good timing quality.
  • An automated tool to optimize the micro-architecture of the pipelines in dataflow designs.

In this repo, we will complement our paper by presenting in detail our benchmark HLS designs and the generated RTL designs. The results in this repo are generated by Vivado HLS 2018.2. For more details please see our paper and cite:

L. Guo*, J. Lau*, Y. Chi, J. Wang, C. H. Yu, Z. Chen, Z. Zhang and J. Cong, “Analysis and Optimization of the Implicit Broadcasts in FPGA HLS to Improve Maximum Frequency", the 57th Annual Design Automation Conference (DAC) 2020. * indicates co-first authors.

Two Types of Broadcasts

We classify two major types of implicit broadcasts in HLS-generated designs:

  • Data Broadcast refers to a high-fanout signal in the datapath, which is typically formed after loop unrolling or array partitioning during the HLS compilation process. The wire delay of an operator will increase as the broadcast factor increases. Such varying delay may cause trouble to the HLS scheduler, which generally relies on static pre-characterized delay estimation.

  • Control Broadcast refers to a high-fanout control signal which typically originates from an FSM (or controller) and reaches numerous data-path components such as registers or multiplexers. In our study, we particularly focus on two critical classes of control broadcast: (1) synchronization signal broadcast and (2) pipeline control signal broadcast. These structures commonly cause timing degradation in deeply pipelined and/or highly parallelized designs. Compared to the data broadcasts, the control broadcasts are less studied in HLS.

About

[DAC 2020] Analysis and Optimization of the Implicit Broadcasts in FPGA HLS to Improve Maximum Frequency

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ada 42.7%
  • Coq 24.7%
  • C++ 22.7%
  • VHDL 8.3%
  • Verilog 0.6%
  • Tcl 0.6%
  • Other 0.4%