Code Monkey home page Code Monkey logo

Comments (3)

eneriz-daniel avatar eneriz-daniel commented on June 14, 2024

Hi @13835571914yp ! Thanks for your interest in our work, it's great to see it may help others!

Unfortunately, I don't see anything that may be causing the problem. It's weird since you could successfully evaluate 340 samples.

To debug this, I would recommend you to run a floating-point test bench in a non-Vivado C/C++ compiler. In MI-BCI.h there is this line that should automatically adjust all the dependence to enable the floating-point simulation. This will hopefully elp you to find the possible error causing this. Once you'll have checked this works outside Vivado HLS with floating point, you'll can then try to simulate it with fixed-point datatypes.

Another possible reason causing this is an issue with the generated dataset or the .npy loading from Vivado.

All the best,

Daniel

from mibci-qcnns.

13835571914yp avatar 13835571914yp commented on June 14, 2024

Hi Daniel.
I took your advice, adjust all the dependence.like this
p1
Strangely, still Windows OS. HLS2020.1. HLS C simulation successful.

p2
Although the fixed point type of simulation I still did not find the cause of the error.Thanks again for your advice.

All the best

13835571914yp

from mibci-qcnns.

eneriz-daniel avatar eneriz-daniel commented on June 14, 2024

Hi @13835571914yp !

It might be some issue with the Vivado version, since I've tested this with Vivado HLS 2019.2.

You can also try to variate the fixed-point datatype parameters, to discard any kind of strange problem related with the default datatype.

All the best,
Daniel

from mibci-qcnns.

Related Issues (1)

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.