Pragmas - 2022.1 English

Vitis High-Level Synthesis User Guide (UG1399)

Document ID
UG1399
Release Date
2022-06-07
Version
2022.1 English
  • Pragma DEPENDENCE on an argument that also has an m_axi INTERFACE pragma specifying a bundle with two or more ports is not supported.
    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 
    
    } 
  • Pragma INTERFACE no longer supports the ap_bus mode that was supported in Vivado HLS. You should use them_axi interface instead.