Giter VIP home page Giter VIP logo

Comments (6)

AaronJing avatar AaronJing commented on June 1, 2024 1

@hngenc
Oh, I did not see there are submodules. Now the problem fixed. Thanks.

from gemmini.

Zeldax64 avatar Zeldax64 commented on June 1, 2024

Use chipyard at version 1.3.0 and not at 1.4.0 (lastest version).

I got the same problem when simulating mobilenet-baremetal. It seems like a problem with rs1 value in a custom3 instruction when used to configure Gemmini. According to the documentation, the new_acc_shift variable should be in bits [63:32] of rs1. However, the value in this field was 0x3c000000, which is much bigger than sizeof(acc_t)*8. I believe the problem is related to the preprocessor macros used to encode gemmini operations in gemmini.h.

from gemmini.

hngenc avatar hngenc commented on June 1, 2024

Yes, unfortunately, it seems the preprocessor macros were broken. I would recommend switching over to the dev branch of Gemmini, where these issues have been resolved (we probably won't bump master till Chipyard gets another major release).

If you do want to use the dev branch, then you can check the CHIPYARD.hash and SPIKE.hash files, which will tell you exactly which Chipyard and which Spike commit you need to be on.

from gemmini.

AaronJing avatar AaronJing commented on June 1, 2024

I switched to the dev branch and checkout to the commit from hash files. I recompiled and installed the spike. When I was running the test, I received the following output.
Screenshot 2021-04-06 162812
Is this "CORRECT" output? Or I missed something after checkout to the commit you mentioned above.

from gemmini.

hngenc avatar hngenc commented on June 1, 2024

@AaronJing Are you sure you remembered to git submodule update after pulling dev? The following command seems to have worked for me:

spike --extension=gemmini build/imagenet/mobilenet-baremetal

from gemmini.

hngenc avatar hngenc commented on June 1, 2024

@AaronJing

Great, thanks for the update!

from gemmini.

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.