PRNG

chisel3.util.random.PRNG
See thePRNG companion class
object PRNG

Helper utilities related to the construction of Pseudo Random Number Generators (PRNGs)

Attributes

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

Members list

Value members

Concrete methods

def apply(gen: => PRNG, increment: Bool = ...): UInt

Wrap a PRNG to only return a pseudo-random UInt

Wrap a PRNG to only return a pseudo-random UInt

Value parameters

gen

a pseudo random number generator

increment

when asserted the PRNG will increment

Attributes

Returns

the output (internal state) of the PRNG

Source
PRNG.scala