chiseltest
package chiseltest
Basic interfaces and implicit conversions for testers2
- Alphabetic
- By Inheritance
- chiseltest
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Package Members
Type Members
- class ChiselAssertionError extends Exception
Indicates that a Chisel
assert(...)
orassume(...)
statement has failed. - trait ChiselScalatestTester extends Assertions with TestSuiteMixin with HasTestName
- class ClockResolutionException extends Exception
- class DecoupledDriver[T <: Data] extends AnyRef
- class FailedExpectException extends Exception
- trait HasTestName extends AnyRef
- class LiteralTypeException extends Exception
- class NonLiteralValueError extends Exception
Indicates that a value used in a poke/expect is not a literal.
Indicates that a value used in a poke/expect is not a literal. It could be hardware or a DontCare which is only allowed when using pokePartial/expectPartial.
- sealed abstract class Region extends AnyRef
Base class for regions, akin to Verilog regions for ordering events between threads within the same timestep.
Base class for regions, akin to Verilog regions for ordering events between threads within the same timestep. order is the order regions run in, with 0 being the default, and incrementing regions running later. TODO: have a more extensible ordering than ints.
- class StopException extends Exception
Indicates that a Chisel
stop()
statement was triggered. - class TemporalParadox extends Exception
- class TestResult extends AnyRef
- class ThreadOrderDependentException extends Exception
- class TimeoutException extends Exception
- class UnpeekableException extends Exception
- class UnpokeableException extends Exception
- class ValidDriver[T <: Data] extends AnyRef
- type WriteLxtAnnotation = chiseltest.simulator.WriteLxtAnnotation
- implicit class testableBool extends AnyRef
allows access to chisel Bool type signals with Scala native values
- implicit class testableClock extends AnyRef
- implicit class testableData[T <: Data] extends AnyRef
- implicit class testableRecord[T <: Record] extends AnyRef
- implicit class testableSInt extends AnyRef
allows access to chisel SInt type signals with Scala native values
- implicit class testableUInt extends AnyRef
allows access to chisel UInt type signals with Scala native values
- implicit class testableVec[T <: Vec[_]] extends AnyRef
Value Members
- val IcarusBackendAnnotation: chiseltest.simulator.IcarusBackendAnnotation.type
- val TreadleBackendAnnotation: chiseltest.simulator.TreadleBackendAnnotation.type
- val VcsBackendAnnotation: chiseltest.simulator.VcsBackendAnnotation.type
- val VerilatorBackendAnnotation: chiseltest.simulator.VerilatorBackendAnnotation.type
- val WriteFsdbAnnotation: chiseltest.simulator.WriteFsdbAnnotation.type
- val WriteFstAnnotation: chiseltest.simulator.WriteFstAnnotation.type
- val WriteLxtAnnotation: chiseltest.simulator.WriteLxtAnnotation.type
- val WriteVcdAnnotation: chiseltest.simulator.WriteVcdAnnotation.type
- val WriteVpdAnnotation: chiseltest.simulator.WriteVpdAnnotation.type
- implicit def decoupledToDriver[T <: Data](x: ReadyValidIO[T]): DecoupledDriver[T]
- def parallel(run1: => Unit, run2: => Unit): Unit
- def step(cycles: Int = 1): Unit
Advances the default clock of the current step by cycles.
- def timescope(contents: => Unit): Unit
- implicit def validToDriver[T <: Data](x: ValidIO[T]): ValidDriver[T]
- object Monitor extends Region
- object RawTester
This is a simple tester that does not require that it be within the scope of a scalatest in order to run.
This is a simple tester that does not require that it be within the scope of a scalatest in order to run. This form is suitable for running in the Jupyter notebook.
- object Region
- object TestdriverMain extends Region
- object fork extends ForkBuilder