Comments (5)
@shunshou I'm pretty surprised that removing that line fixes things. All that says is don't run firrtl as part of the chisel.Driver.execute. I'll look over your changes more carefully right now
from chisel-testers.
@chick see my latest PR. It's not that line. I was wrong :\ changed too many things at once...
from chisel-testers.
@shunshou The problem is definitely caused by chisel-testers using the same directory for different tests, the number of files created when using the verilator backend seems to increase the likelihood of the error. I have created a branch in dsptools that fixes the problem with a work-around that overrides the directory. This is fix-simpletb-dir-stomping. I am not suggesting this is the final fix, but it is a short term workaround. The issues as I see them are:
- Two tests of the same dut get assigned the same dir by chisel-testers
- destructive stomping is more likely with verilator, but could happen with any backend
- it's test_run_dir/dutname
- One fix might be to use timestamp instead of hashcode
- this fixes the cross stomping
- but leads to a new directory for each test every time it is run
- chisel-testers could some how automate the clearing of the directories after each test
- would need an easy override of this, because debugging often requires looking at these dirs
- another fix might be to default to serial execution of tests
from chisel-testers.
@chick i don't think you ever pushed anything new to that branch. It'd prob be really convenient, if, at least as a temporary patch, this gets merged in with master...
from chisel-testers.
Sorry, not sure how that happened. It's pushed now
from chisel-testers.
Related Issues (20)
- PeekPokeTester Type inference HOT 1
- Support CXXFLAGS, LDFLAGS environment variables
- Supporting ZIO fibers HOT 8
- [BUG] verilator: 0-width signals in Decoupled Bundle lead to incorrect peek HOT 4
- firrtl backend with ChiselFlatSpec assert fails weirdly HOT 1
- verilator poke incorrect signal for 0-width RRArbiter HOT 7
- have plan to port UVM into chisel test
- should work with verilator *** FAILED ***
- Can't poke MixedVec HOT 6
- poke io as different format using bundle in PeekPokeTester HOT 1
- Peek/Poke/Step/Expect messages not displayed HOT 7
- firrtl vs. verilator behave different HOT 6
- Make Treadle the Default Backend HOT 2
- Clock is initialized at 1 instead of 0 HOT 1
- g++ compile error while adding --trace-fst to verilator options
- [Question] How to use of tester2 (installation) HOT 1
- Inconsistence between VCD and log
- Removed `io` in Module cause compilation error HOT 2
- java.lang.VerifyError
- Converting Uint32 signal output to BigInt
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-testers.