package internal
- Alphabetic
- Public
- All
Type Members
- trait AbstractTesterThread extends AnyRef
-
trait
BackendInstance[T <: Module] extends BackendInterface
Backend associated with a particular circuit, and can run tests
-
trait
BackendInterface extends AnyRef
Common interface definition for tester backends.
Common interface definition for tester backends. Internal API.
- class FailedExpectException extends Exception
- case class ForkBuilder(name: Option[String], region: Option[Region], threads: Seq[AbstractTesterThread]) extends Product with Serializable
-
class
GenericBackend[T <: Module] extends BackendInstance[T] with ThreadedBackend[T]
Chiseltest threaded backend using the generic SimulatorContext abstraction from chiseltest.simulator
-
class
SingleThreadBackend[T <: Module] extends BackendInstance[T]
Chiseltest backend that does not support fork or timescope but is generally faster since it does not need to launch any Java threads.
-
trait
TestEnvInterface extends AnyRef
Interface into the testing environment, like ScalaTest
- class TesterThreadList extends AnyRef
-
trait
ThreadedBackend[T <: Module] extends BackendInterface
Base trait for backends implementing concurrency by threading.
Base trait for backends implementing concurrency by threading.
Implements these BackendInterface methods: - doFork - doJoin
Provides these methods for use by subclasses: - doPoke, doPeek, which logs peek and poke actions for cross-thread-interaction checking - newTimescope, closeTimescope: provides record-keeping for timescopes - runThreads: runs all threads waiting on a set of clocks - scheduler: called from within a test thread, suspends the current thread and runs the next one
Value Members
- object BackendExecutive
-
object
CachingAnnotation extends NoTargetAnnotation with Product with Serializable
Hint for the backend to try and re-use a compiled simulation from a prior run.
- object Context
-
object
HardwareTesterBackend
Backend that allows us to run hardware testers in the style of
chisel3.testers.BasicTester
efficiently.Backend that allows us to run hardware testers in the style of
chisel3.testers.BasicTester
efficiently.- Note
if the dut extends chisel3.testers.BasicTester the
finish
method will be called
-
object
NoThreadingAnnotation extends NoTargetAnnotation with Product with Serializable
This option may speed up your test, but any use of
fork
ortimescope
will fail. -
object
PeekPokeTesterBackend
Backend that allows us to run old-style "PeekPoke" testers.
-
object
PrintPeekPoke extends NoTargetAnnotation with Product with Serializable
Use this option to have all simulator interactions printed to stdout.