HLS Coding Style: C++ Classes and Templates

  • IMPORTANT: Classes and class member functions cannot be the top-level for synthesis. Instantiate the class in a top-level function.
  • IMPORTANT: The top-level function cannot be a template.

 

Constructors, Destructors, and Virtual Functions

Global Variables and Classes

Templates

 

Reference

1. Xilinx UG902

posted @ 2019-06-03 10:32  wordchao  阅读(247)  评论(0编辑  收藏  举报