RunUntilFinished

chisel3.simulator.stimulus.RunUntilFinished
See theRunUntilFinished companion trait

Factory of RunUntilFinished stimulus for different kinds of modules.

Attributes

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

Members list

Value members

Concrete methods

def any[A](maxCycles: Int, getClock: A => Clock, period: Int = ...): RunUntilFinished[A]

Return stimulus for any type. This requires the user to specify how to extract the clock from the type.

Return stimulus for any type. This requires the user to specify how to extract the clock from the type.

Value parameters

getClock

a function to return a clock from the unit

maxCycles

the maximum number of cycles to run the unit for before a timeout

Attributes

Source
RunUntilFinished.scala
def apply(maxCycles: Int, period: Int = ...): RunUntilFinished[Module]

Return default stimulus. This is the same as module.

Return default stimulus. This is the same as module.

Value parameters

maxCycles

the maximum number of cycles to run the unit for before a timeout

Attributes

Source
RunUntilFinished.scala
def module(maxCycles: Int, period: Int = ...): RunUntilFinished[Module]

Return stimulus for a Module. This uses the default clock of the module to apply stimulus.

Return stimulus for a Module. This uses the default clock of the module to apply stimulus.

Value parameters

maxCycles

the maximum number of cycles to run the unit for before a timeout

Attributes

Source
RunUntilFinished.scala
def testHarness[A <: RawModule & SimulationTestHarnessInterface](maxCycles: Int, period: Int = ...): RunUntilFinished[A]

Return stimulus for a SimulationTestHarnessInterface.

Return stimulus for a SimulationTestHarnessInterface.

Value parameters

maxCycles

the maximum number of cycles to run the unit for before a timeout

Attributes

Source
RunUntilFinished.scala