Randomization

chisel3.simulator.Randomization
See theRandomization companion class
object Randomization

Attributes

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

Members list

Value members

Concrete methods

Randomize everything

Randomize everything

This will randomize everything that the FIRRTL/Verilog ABI allows. All Verilog that Chisel produces will have a random two-state value. Verilog that Chisel does not have control of (e.g., blackboxes) will be brought up in a different state unless they opt-in to the FIRRTL/Verilog ABI.

Non-two-state values (i.e., x)

Attributes

Note

The FIRRTL/Verilog ABI for randomization is undocumented in the FIRRTL ABI specification.

Source
Randomization.scala

Randomize nothing

Randomize nothing

This will cause the simulation to be brought up in whatever state the simulator brings up a simulation in. If the simulator supports x, then uninitialized hardware will be brought up in x. However, if the simulator is two-state (e.g., Verilator), then it will be brought up in a simulator-dependent state.

Attributes

Source
Randomization.scala