Pragmas - 2020.2 English

Vitis HLS Migration Guide (UG1391)

Document ID
UG1391
Release Date
2020-11-24
Version
2020.2 English
  • Pragma DEPENDENCE on an argument that also has an INTERFACE pragma with a m_axi 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.