chisel3.testing.HasTestingDirectory
See theHasTestingDirectory companion object
This is a trait that can be mixed into a class to determine where compilation should happen and where simulation artifacts should be written.
Attributes
- Companion
-
object
- Source
-
HasTestingDirectory.scala
- Graph
-
- Supertypes
-
class Object
trait Matchable
class Any
- Self type
-
Members list
Return the directory where tests should be placed.
Factory that returns a new HasTestingDirectory which will put test files in a subdirectory of the parent HasTestingDirectory.
Factory that returns a new HasTestingDirectory which will put test files in a subdirectory of the parent HasTestingDirectory.
For example, the object bar will have an output directory of foo/bar/.
import java.nio.file.Paths
val foo = new HasTestingDirectory {
override def getDirectory = Paths.get("foo")
}
val bar = foo.getSubDir("bar")
Value parameters
- subdirectory
-
a subdirectory
Attributes
- Source
-
HasTestingDirectory.scala