RunUntilSuccess

chisel3.simulator.stimulus.RunUntilSuccess
See theRunUntilSuccess companion trait

Attributes

Companion
trait
Source
RunUntilSuccess.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, getSuccess: A => Bool, period: Int = ...): RunUntilSuccess[A]

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

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

Value parameters

getClock

a function to return a clock from the unit

getSuccess

a function to return a port which asserts when the simulation has sucessfully finished

maxCycles

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

Attributes

Source
RunUntilSuccess.scala
def apply[A <: Module](maxCycles: Int, getSuccess: A => Bool, period: Int = ...): RunUntilSuccess[A]

Return default stimulus. This is the same as module.

Return default stimulus. This is the same as module.

Value parameters

getSuccess

a function to return a port which asserts when the simulation has sucessfully finished

maxCycles

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

Attributes

Source
RunUntilSuccess.scala
def module[A <: Module](maxCycles: Int, getSuccess: A => Bool, period: Int = ...): RunUntilSuccess[A]

Return stimulus for a Module

Return stimulus for a Module

Value parameters

getSuccess

a function to return a port which asserts when the simulation has sucessfully finished

maxCycles

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

Attributes

Source
RunUntilSuccess.scala
def testHarness[A <: RawModule & SimulationTestHarnessInterface](maxCycles: Int, period: Int = ...): RunUntilSuccess[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
RunUntilSuccess.scala