编译指示 - 2022.1 Chinese

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

Document ID
UG1399
Release Date
2022-06-07
Version
2022.1 简体中文
  • 如果实参包含 m_axi INTERFACE 编译指示用于指定含 2 个或 2 个以上端口的 bundle,则不支持此实参上同时包含 DEPENDENCE 编译指示。
    void top(int *a, int *b) { // both a and b are bundled to m_axi port gmem 
    
    #prgama HLS interface m_axi port=a offset=slave bundle=gmem 
    
    #prgama HLS interface m_axi port=b offset=slave bundle=gmem 
    
    #pragma HLS dependence variable=a false 
    
    } 
  • 编译指示 INTERFACE 不再支持原先 Vivado HLS 中支持的 ap_bus 模式。您应改为使用 m_axi 接口。