Comments (4)
you can try to use mill to publish local or build hardfloat from source.
from berkeley-hardfloat.
I'm having similar issues with Scala version compatibility. I'm trying to build a Chisel project from the latest official chisel-template and import the HardFloat library, but the Scala versions of them aren't compatible. Apologies if my question look naive, but I'm quite a novice to the Scala - Maven world and I'm also not a frequent user of Chisel (my background leans more on the C/C++ side of languages) , so I'm still trying to learn the best practices in Chiselworld.
The current chisel-template requires Scala 2.13.8 (build.sbt), but so far I've only found 2.12-compatible releases of HardFloat on the Maven Repository hardfloat_2.12.
What options do I have if I want to import HardFloat into a Scala 2.13 project?
from berkeley-hardfloat.
For now I'm copying the "hardfloat" directory into my Chisel project directory like this: <project_root>/external/hardfloat
and adding this line to my build.sbt file: Compile / unmanagedSourceDirectories += baseDirectory.value / "external/hardfloat/src"
. The SBT compilation went fine.
from berkeley-hardfloat.
I also sovled by this
from berkeley-hardfloat.
Related Issues (20)
- Recode format
- Printing value
- Do you plan to upload a document of the implementation details of this FPU? HOT 1
- Question about arbitrary precision support HOT 5
- Can you provide a detailed explanation of floating point division? The code is too hard to read. HOT 2
- Where is hardfloat code HOT 1
- Mult for Mantissa HOT 1
- make error
- compilation error HOT 4
- Why RawModule instead of Module? HOT 3
- chisel3.Driver.execute is deprecated HOT 4
- Recoded format HOT 3
- The algorithm used in DivSqrtRecF64_mulAddZ31 to calculate square-root HOT 1
- Is Recoded Format more hardware-friendly for denormal numbers than IEEE754 format?
- How to compile it to verilog! HOT 1
- sbt test fail HOT 1
- "Recoded Format" table in README.md is incorrect
- Potentially incorrect execution with negative zeros HOT 12
- How to include in my own projects? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from berkeley-hardfloat.