SimulationTestStimulus

chisel3.simulator.stimulus.SimulationTestStimulus
See theSimulationTestStimulus companion object
sealed trait SimulationTestStimulus[A] extends () => A

Stimulus that runs a simulation until a "done" signal asserts, then checks a "success" signal to determine pass/fail.

If the "done" signal does not assert before the maximum number of cycles, an Exceptions.Timeout will be thrown. If "done" asserts but "success" is not asserted, an Exceptions.TestFailed will be thrown.

Attributes

See also
Companion
object
Source
SimulationTestStimulus.scala
Graph
Supertypes
trait A => Unit
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

final override def apply(dut: A): Unit

Apply stimulus to the unit.

Apply stimulus to the unit.

Value parameters

dut

the unit to apply stimulus to

Attributes

Definition Classes
Function1
Source
SimulationTestStimulus.scala

Inherited methods

def andThen[A](g: Unit => A): A => A

Attributes

Inherited from:
Function1
def compose[A](g: A => A): A => Unit

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1