The sc_fifo example, SystemC AXI4-Stream Interface on pages 90-91 of ug902 (v2019.2, jan 13, 2020) the following pragma is shown so that sc_fifo_in and sc_fifo_out are converted to axis (axi-streaming) interface:
#pragma HLS resource core=AXI4Stream variable=din
Vivado_hls generates the following warningWARNING: [HLS 200-41] Resource core 'AXI4Stream' on port '&din' is deprecated. Please use the interface directive to specify the AXI interface. Also the ports done and start are not generated.
When the following interface pragma is used, an error is generated:
#pragma HLS INTERFACE axis port=din
ERROR: [HLS 200-70] Synthesizability check failed. command 'ap_source' returned error code while executing "source build.tcl"
1- Is the interface pragma correct?
2- Is there a method to get this example to generate properly with HLS resource pragma