Comments (7)
Sorry to hear this. I suspect this is some sort of mismatched versioning problem. I was able to able run. After the following steps on a machine like this
Linux a6 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
After the following steps
rm -rf ~/.ivy2/cache/edu.berkeley.cs//*
rm -rf ~/.ivy2/local/edu.berkeley.cs//*
mkdir workspace
cd workspace
git clone https://github.com/ucb-bar/chisel-tutorial.git
./run-examples.sh
So questions:
Are your running the release branch or the master branch (release is the default)
Have you tried clearing the dependencies, as with the rm commands shown?
from chisel-tutorial.
Thank you for your prompt reply. I followed the steps you mentioned and the problem is gone. However, running the following commands was not enough.
rm -rf ~/.ivy2/cache/edu.berkeley.cs/*
rm -rf ~/.ivy2/local/edu.berkeley.cs/*
I had to remove the local repo and clone again to solve the issue.
Do you know what could have been different between my local copy and the release branch that caused this issue? I get the same errors in my own chisel projects and would like to know how to solve them.
from chisel-tutorial.
Sorry for the delay, I've been asking around here. I think it's likely related to change in the Module hierarchy #469. Do you have sharable code that exhibits the problem
from chisel-tutorial.
Sorry for my late reply. Attached, please find the implementation of floating-point multiplication.
The testing mechanism is similar to the TutorialRunner in this package, so the commands will look like this:
sbt
test:run-main easi.Launcher FPMul
from chisel-tutorial.
One of the differences I noticed is that the line
import Chisel.iotesters.{ChiselFlatSpec, Driver, PeekPokeTester}
in previous implementations is changed to
import chisel3.iotesters.{ChiselFlatSpec, Driver, PeekPokeTester}
.
But even after applying the same modification, I get
object iotesters is not a member of package chisel3
.
from chisel-tutorial.
After making the change mentioned in the previous comment, I did
rm -rf ~/.ivy2/cache/edu.berkeley.cs/*
rm -rf ~/.ivy2/local/edu.berkeley.cs/*
sbt clean
and the issue is gone.
So I guess the issue was related to both mismatched versions and changing Chisel to chisel3 in import statements.
from chisel-tutorial.
@MahdiNazemi
Glad to hear it, I just compiled it all here and I think you got it.
- Definitely try to use import chisel3._ instead of capital chisel.
- I found it difficult to have sbt sort things out given the directory hierarchy. I'd recommend using the layout found in the chisel-template repo. I think it's a bit convoluted for very simple tests but the tools have expectations and conventions and they work better the more those are kept too
- sbt, does a lot of caching, after I had move things around, it seemed to take an exit from the sbt shell and a clean command before things started working
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
- sbt run fails with EvalException HOT 9
- 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.