Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any method to prevent the generation of lot of directory when using chisel PeekPokeTester? #170

Open
ken881015 opened this issue Jan 11, 2022 · 0 comments

Comments

@ken881015
Copy link

Here is the code instruction I usually use for testing...

========================CODE=======================
import chisel3.iotester.{Driver,PeekPokeTester}

class {module name}Tester (dut :...) extends PeekPokeTester(dut){
...
}
object {module name}Tester extend App{
Driver.execute(args,()=>new {module name}()){
c => new {module name}Tester(c)
}
}
======================CODE END=====================

======================Instruction=======================
sbt "Test / runMain {package}.{Tester} -td ./generated -tbn verilator"

Every time I run the instruction , it will generate a new folder (name: Module name with random number) under the -td,
and it's a trouble to me when I need to use the wave viewer.

I want to ask that is there any method to avoid this situation (don't generate so many file )
-> like don't generate a new folder, and overwrite the file with same name

Thank in advance to who read this question !!!
Do not hesitate to enlighten me of my coding style or usage of chisel/scala class, object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant