Pragmas - 2021.2 English

Vitis High-Level Synthesis User Guide (UG1399)

Document ID
UG1399
ft:locale
English (United States)
Release Date
2021-12-15
Version
2021.2 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.