编译 ap_[u]fixed<> 类型 - 2021.2 Chinese

Vitis 高层次综合用户指南 (UG1399)

Document ID
UG1399
Release Date
2021-12-15
Version
2021.2 Chinese

要使用 ap_[u]fixed<> 类,必须将 ap_fixed.h 头文件包含在引用 ap_[u]fixed<> variables 的所有源文件中。

编译使用这些类的软件模型时,可能需要指定 Vitis HLS 头文件的位置,例如,为 g++ 编译添加 “-I/<HLS_HOME>/include” 选项。