Giter VIP home page Giter VIP logo

Comments (5)

chick avatar chick commented on August 22, 2024

@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.

shunshou avatar shunshou commented on August 22, 2024

@chick see my latest PR. It's not that line. I was wrong :\ changed too many things at once...

from chisel-testers.

chick avatar chick commented on August 22, 2024

@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.

shunshou avatar shunshou commented on August 22, 2024

@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.

chick avatar chick commented on August 22, 2024

Sorry, not sure how that happened. It's pushed now

from chisel-testers.

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.