[Paper Review] Using Vivado-HLS for Structural Design: a NoC Case Study
This paper demonstrates that Xilinx Vivado-HLS can effectively implement cycle- and bit-accurate network-on-chip (NoC) routers and complete NoCs as exact replacements for reference RTL designs. Using C++ with pragmas and a disciplined coding approach, the authors achieve comparable resource utilization and critical path delay to RTL, with notable productivity gains in functional verification and structural exploration, though hierarchical design complexity introduces challenges.
There have been ample successful examples of applying Xilinx Vivado's "function-to-module" high-level synthesis (HLS) where the subject is algorithmic in nature. In this work, we carried out a design study to assess the effectiveness of applying Vivado-HLS in structural design. We employed Vivado-HLS to synthesize C functions corresponding to standalone network-on-chip (NoC) routers as well as complete multi-endpoint NoCs. Interestingly, we find that describing a complete NoC comprising router submodules faces fundamental difficulties not present in describing the routers as standalone modules. Ultimately, we succeeded in using Vivado-HLS to produce router and NoC modules that are exact cycle- and bit-accurate replacements of our reference RTL-based router and NoC modules. Furthermore, the routers and NoCs resulting from HLS and RTL are comparable in resource utilization and critical path delay. Our experience subjectively suggests that HLS is able to simplify the design effort even though much of the structural details had to be provided in the HLS description through a combination of coding discipline and explicit pragmas. The C++ source code can be found at https://github.com/zhipengzhaocmu/HLS_NoC.
Motivation & Objective
- To evaluate the effectiveness of Vivado-HLS for structural hardware design, particularly in synchronous register and combinational logic-heavy designs.
- To determine whether C/C++ with HLS can replicate complex, parameterized RTL designs such as NoC routers with cycle- and bit-level accuracy.
- To assess the productivity benefits of HLS over traditional RTL flows in separating functional correctness from structural optimization.
- To identify limitations and challenges when scaling from individual router modules to hierarchical NoC designs using HLS.
- To compare the quality of results (QoR) between HLS-generated and RTL-generated NoC implementations in terms of LUTs, flip-flops, and critical path delay.
Proposed method
- The authors implemented NoC routers and complete NoCs in C++ using Vivado-HLS, targeting Xilinx Virtex-7 FPGA devices.
- They applied Vivado-HLS pragmas to control dataflow, pipelining, and resource sharing, ensuring structural determinism.
- A coding discipline was enforced to represent router submodules as C++ objects, enabling modular hierarchical design.
- The HLS flow was used with the 'evaluate' option to perform both synthesis and implementation in a single run.
- Equivalent RTL designs were generated using the CONNECT NoC generator and synthesized using the standard Vivado RTL flow with identical strategies.
- Performance and resource utilization were compared across multiple configurations, including varying data widths and network topologies.
Experimental results
Research questions
- RQ1Can Vivado-HLS be used to implement structural designs involving synchronous registers and combinational logic with cycle- and bit-level precision?
- RQ2How does the quality of results (LUTs, FFs, critical path delay) of HLS-generated NoC routers compare to equivalent RTL designs?
- RQ3What are the productivity gains of using C and HLS for functional verification and structural exploration in structural design?
- RQ4What challenges arise when using HLS for hierarchical modular designs, particularly in netlisting multiple router submodules?
- RQ5Does the use of C++ objects and coding discipline in HLS enable scalable, maintainable structural design without sacrificing QoR?
Key findings
- HLS-generated NoC routers achieved 1.33x the LUTs, 0.42x the FFs, and 0.87x the critical path delay compared to equivalent CONNECT RTL routers.
- The reduction in flip-flop usage was attributed to HLS’s more efficient state register encoding and optimization.
- In 128-bit wide configurations, HLS routers used more LUTs due to differences in virtual-channel flit buffer datapath logic, though the storage itself was comparable.
- For NoC topologies like ring, mesh, and torus, HLS NoCs showed place-and-route ratios within 1.23x for LUTs and 0.46x for FFs compared to RTL counterparts.
- The critical path delay in HLS routers was sometimes better than RTL despite identical allocator logic, likely due to differing synthesis optimizations.
- The productivity gain was most evident in functional verification and structural exploration, enabled by C’s sequential semantics and debug environment.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.