Coder Social home page Coder Social logo

Comments (5)

quite avatar quite commented on May 28, 2024

@secworks I tried building with ENABLE_DIV=1, result is this increased device utilisation, from:

Info:            ICESTORM_LC:  4446/ 5280    84%

to

 Info:            ICESTORM_LC:  5189/ 5280    98%

Maybe this is not great at all, considering that the space might be needed for other things, like a blake2 in hw? Or what else we've had on the table.

from tillitis-key1.

quite avatar quite commented on May 28, 2024

Maybe we can just avoid DIV/REM being used? If so, then eating up more space in the FPGA seems like really bad idea. In this case, would it be fine for now to check for DIV/REM in the final ELF, and fail if they are present? And once we get onto clang 16 (or what is needed), we can benefit from Zmmul extension.

from tillitis-key1.

quite avatar quite commented on May 28, 2024

Ah yes, we should try to use a DIV and see what happens, crash or not?

from tillitis-key1.

secworks avatar secworks commented on May 28, 2024

@secworks I tried building with ENABLE_DIV=1, result is this increased device utilisation, from:

Info:            ICESTORM_LC:  4446/ 5280    84%

to

 Info:            ICESTORM_LC:  5189/ 5280    98%

Maybe this is not great at all, considering that the space might be needed for other things, like a blake2 in hw? Or what else we've had on the table.

Interesting, I don't see the change in utilization when I enable DIV (which I expect to get).

To answer the the use of resources - if apps crash when using a div instruction that would make this a high priority, and thus a good use of resources. As long as we get good clock frequency with 98% fill rate I would be happy. I don't see any things more important to add right now.

Blake2s in HW will require more resources that we have as it is before enabling DIV.

from tillitis-key1.

secworks avatar secworks commented on May 28, 2024

Fixed in commit f09ff87

from tillitis-key1.

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.