Randomization

chisel3.simulator.Randomization
See theRandomization companion object
final class Randomization(val registers: Boolean, val memories: Boolean, val delay: Option[Int], val randomValue: Option[String])

A description of how a Chisel circuit should be randomized

Value parameters

delay

an optional delay value to apply to the randomization. This will cause the randomization to be applied this many Verilog time units after the simulation starts.

memories

if true, randomize the initial state of memories

registers

if true, randomize the initial state of registers

Attributes

Throws
IllegalArgumentException

if register and memory randomization are both disabled and delay or randomValue are non-empty

Companion
object
Source
Randomization.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def copy(registers: Boolean = ..., memories: Boolean = ..., delay: Option[Int] = ..., randomValue: Option[String] = ...): Randomization

Create a copy of this Randomization changing some parameters

Create a copy of this Randomization changing some parameters

Attributes

Source
Randomization.scala

Concrete fields

val delay: Option[Int]

Attributes

Source
Randomization.scala
val memories: Boolean

Attributes

Source
Randomization.scala
val randomValue: Option[String]

Attributes

Source
Randomization.scala
val registers: Boolean

Attributes

Source
Randomization.scala