HasTestingDirectory

chisel3.testing.HasTestingDirectory
See theHasTestingDirectory companion trait

This provides some default implementations of the HasTestingDirectory type class.

Attributes

Companion
trait
Source
HasTestingDirectory.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def temporary(deleteOnExit: Boolean = ...): HasTestingDirectory

An implementation generator of HasTestingDirectory which will use an operating system-specific temporary directory. This directory can optionally be deleted when the JVM shuts down.

An implementation generator of HasTestingDirectory which will use an operating system-specific temporary directory. This directory can optionally be deleted when the JVM shuts down.

Value parameters

deleteOnExit

if true, delete the temporary directory when the JVM exits

Attributes

Source
HasTestingDirectory.scala

An implementation of HasTestingDirectory which will use the class name timestamp. When this implementation is used, everything is put in a test_run_dir/<class-name>/<timestamp>/. E.g., this may produce something like:

An implementation of HasTestingDirectory which will use the class name timestamp. When this implementation is used, everything is put in a test_run_dir/<class-name>/<timestamp>/. E.g., this may produce something like:

build
└── chiselsim
   ├── 2025-02-05T16-58-02.175175
   ├── 2025-02-05T16-58-11.941263
   └── 2025-02-05T16-58-17.721776

Attributes

Source
HasTestingDirectory.scala

Implicits

Implicits

The default testing directory behavior. If the user does not provide an alternative type class implementation of HasTestingDirectory, then this will be what is used.

The default testing directory behavior. If the user does not provide an alternative type class implementation of HasTestingDirectory, then this will be what is used.

Attributes

Source
HasTestingDirectory.scala