Code Monkey home page Code Monkey logo

Comments (2)

vt-lib-support avatar vt-lib-support commented on July 25, 2024 1

Hi Arash,

There are some changes on the pragma in Vitis HLS, and it should be the cause of your issue.

In FFT source code, we can find some of the FIFOs are described like:

T_scaledFFTOutputType fftOutData_local2[t_R][t_L / t_R];
#pragma HLS data_pack variable = fftOutData_local2
#pragma HLS RESOURCE variable = fftOutData_local2 core = FIFO_LUTRAM
#pragma HLS STREAM variable = fftOutData_local2 depth = 8 dim = 2 

In the code above, the third pragma is no longer supported in vitis_hls, so it is ignored and consequently leads to an ap_memory interface because vitis_hls now sees fftOutData_local2 as a buffer instead of a FIFO.

It is no longer the preferred way to use pragma to specify an array as FIFO, and the code will be refactored to use hls::stream when a FIFO is expected. We will fix Vitis HLS compatibility issues in DSP sub library in 2020.2 release.

The current release should work with vivado_hls, although the tool has entered end of its life cycle.

from vitis_libraries.

aroshanineshat avatar aroshanineshat commented on July 25, 2024

I want to confirm that using the exact same code in vivado_hls and activating c++11 flag for gcc, produces the correct ap_fifo interfaces with correct bit count.

from vitis_libraries.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.