Comments (9)
This is quite an old version of chisel-tutorial (excuse us for not tagging a more recent release). Please try cloning the current head of the release branch:
git clone https://github.com/ucb-bar/chisel-tutorial.git
cd chisel-tutorial
git checkout release
git pull
from chisel-tutorial.
I've just bumped the current release to match the tip of the release branch.
NOTE: we expect you to build chisel-tutorial from source, by cloning the GitHub repository and checking out the release branch.
The appropriate versions of sbt
and Scala
will be selected by the project/build.properties
and build.sbt
in the release branch commits.
from chisel-tutorial.
Thanks for the quick support!
I cloned branch "origin/release" into empty directory and tried "sbt run" again, but get the same error.
Am I right, that it's enough to have this installed to build chisel tutorial?
- java (jdk and jre)
- sbt
- scala
Or there are another dependences?
from chisel-tutorial.
java
and sbt
are the only dependencies. sbt
should download any required dependencies (including the correct version of Scala
). The errors look like the sbt
version is incorrect. Could you please try running the following in the chisel-tutorial folder:
sbt about
and past the results in this issue.
from chisel-tutorial.
...
...
at xsbt.boot.Boot$.run(Boot.scala:26)
at xsbt.boot.Boot$.main(Boot.scala:21)
at xsbt.boot.Boot.main(Boot.scala)
[error] sbt.compiler.EvalException: Type error in expression
[error] Use 'last' for the full log.
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? i
[warn] Ignoring load failure: no project loaded.
[info] This is sbt 1.3.10
[info] No project is currently loaded
[info] sbt, sbt plugins, and build definitions are using Scala 2.10.6
[DDRDmakar@localhost chisel-tutorial]$
from chisel-tutorial.
There's something fundamentally wrong with your sbt
. sbt 1.3.10 requires Scala 2.12. You should be seeing something like:
[info] Loading project definition from .../chisel-tutorial/project
[info] Loading settings for project chisel-tutorial from build.sbt ...
[info] Set current project to chisel-tutorial (in build file:.../chisel-tutorial/)
[info] This is sbt 1.3.10
[info] The current project is ProjectRef(uri("file:.../chisel-tutorial/"), "chisel-tutorial") 3.3.0
[info] The current project is built against Scala 2.12.10
[info] Available Plugins
[info] - com.typesafe.sbt.SbtPgp
[info] - sbt.ScriptedPlugin
[info] - sbt.plugins.CorePlugin
[info] - sbt.plugins.Giter8TemplatePlugin
[info] - sbt.plugins.IvyPlugin
[info] - sbt.plugins.JUnitXmlReportPlugin
[info] - sbt.plugins.JvmPlugin
[info] - sbt.plugins.SbtPlugin
[info] - sbt.plugins.SemanticdbPlugin
[info] sbt, sbt plugins, and build definitions are using Scala 2.12.10
from chisel-tutorial.
Could you try installing a version of sbt
greater than 0.13?
from chisel-tutorial.
Yes, it's something wrong with sbt from fedora repositories.
I tried another machine with antiX linux and everything works perfect there!
"sbt about" on antiX gives exactly the same results as in your comment.
So, it's better to use official repository from SBT website:
https://www.scala-sbt.org/download.html
YaY
from chisel-tutorial.
Good to hear.
sbt
0.13.1 dates from Dec 10, 2013. This is incredible. Fedora 30, whose release was announced in April, 2019, includes sbt 0.13.1 as their default (and only) version of sbt
.
from chisel-tutorial.
Related Issues (20)
- error sbt run HOT 2
- Error on generating Verilog HOT 2
- question about Firrtl(IR) optimization HOT 11
- can I generate verilog without sbt ? HOT 12
- sbt run get error HOT 2
- firrtl.passes.CheckInitialization$RefNotInitializedException
- Need a consistent naming convention on variables HOT 1
- how to read a text file whose contents represents an array in testcase
- how to run chisel-tutorial in the IntelliJ IDE with Scala and SBT plug-ins? HOT 4
- why the code of VendingMachineSwitch.scala in the tutorial generate if-else statement instead of case statement HOT 2
- xorR is broken in chisel-tutorial
- How to use Seq as Seq(0.U, 1.U, 2.U)(Cat(x(1),x(6,5))) in chisel?
- Risc example broken with treadle backend
- I hope to study chisel but i can't start. please help me. HOT 2
- not found: type SwitchContext HOT 3
- make -jN run Error and cannot locate project 'chisel' in 'chisel3' directory
- Is there any method to prevent the generation of lot of directory when using chisel PeekPokeTester?
- "chisel-iotesters" -> "1.4.1+" in build.sbt breaks Vec code (which is also in your solutions)
- iotesters.Driver has deprecated in Chisel 3.5.3, should this tutorial changed to ChiselStage?
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 chisel-tutorial.