EphemeralSimulator

chisel3.simulator.EphemeralSimulator

Provides a simple API for "ephemeral" invocations (where you don't care about the artifacts after the invocation completes) to simulate Chisel modules. To keep things really simple, EphemeralSimulator simulations can only be controlled using the peek/poke API, which provides enough control while hiding some of the lower-level svsim complexity.

Attributes

Example
import chisel3.simulator.EphemeralSimulator._
...
simulate(new MyChiselModule()) { module => ... }
Source
EphemeralSimulator.scala
Graph
Supertypes
trait PeekPokeAPI
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def simulate[T <: RawModule](module: => T, layerControl: Type = ...)(body: T => Unit): Unit

Attributes

Source
EphemeralSimulator.scala

Implicits

Inherited implicits

implicit def toTestableBool(bool: Bool): TestableBool

Attributes

Inherited from:
PeekPokeAPI
Source
PeekPokeAPI.scala
implicit def toTestableClock(clock: Clock): TestableClock

Attributes

Inherited from:
PeekPokeAPI
Source
PeekPokeAPI.scala
implicit def toTestableData[T <: Data](data: T): TestableData[T]

Attributes

Inherited from:
PeekPokeAPI
Source
PeekPokeAPI.scala
implicit def toTestableEnum[T <: EnumType](data: T): TestableEnum[T]

Attributes

Inherited from:
PeekPokeAPI
Source
PeekPokeAPI.scala
implicit def toTestableRecord[T <: Record](record: T): TestableRecord[T]

Attributes

Inherited from:
PeekPokeAPI
Source
PeekPokeAPI.scala
implicit def toTestableReset(reset: Reset): TestableReset

Attributes

Inherited from:
PeekPokeAPI
Source
PeekPokeAPI.scala
implicit def toTestableSInt(sint: SInt): TestableSInt

Attributes

Inherited from:
PeekPokeAPI
Source
PeekPokeAPI.scala
implicit def toTestableUInt(uint: UInt): TestableUInt

Attributes

Inherited from:
PeekPokeAPI
Source
PeekPokeAPI.scala
implicit def toTestableVec[T <: Data](vec: Vec[T]): TestableVec[T]

Attributes

Inherited from:
PeekPokeAPI
Source
PeekPokeAPI.scala