chisel3.simulator
Members list
Type members
Classlikes
Attributes
- Source
- package.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class SimulatedModule[T]
Attributes
- Source
- PeekPokeAPI.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait PeekPokable[T]class TestableData[T]trait TestableAggregate[T]class TestableRecord[T]class TestableVec[T]trait TestableElement[T]class TestableBoolclass TestableEnum[T]class TestableResetclass TestableSIntclass TestableUIntclass TestableClockShow all
Changes that ChiselSim should make to Chisel command line options
Changes that ChiselSim should make to Chisel command line options
This follows a type class pattern with a low-priority default of identity.
Attributes
- Companion
- object
- Source
- OptionsModifications.scala
- Supertypes
-
trait (Array[String]) => Array[String]class Objecttrait Matchableclass Any
Attributes
- Companion
- trait
- Source
- OptionsModifications.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
A trait that provides the minimal set of ChiselSim APIs.
A trait that provides the minimal set of ChiselSim APIs.
Example usage:
import chisel3.simulator.ChiselSim
class Foo extends ChiselSim {
/** This has access to all ChiselSim APIs like `simulate`, `peek`, and `poke`. */
}
Attributes
- See also
-
chisel3.simulator.scalatest.ChiselSim
- Source
- package.scala
- Supertypes
-
trait SimulatorAPItrait PeekPokeAPItrait ControlAPIclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- package.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Source
- package.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Source
- ControlAPI.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait ChiselSim
An opaque class that can be passed to Simulation.run to get access to a SimulatedModule in the simulation body.
An opaque class that can be passed to Simulation.run to get access to a SimulatedModule in the simulation body.
Attributes
- Source
- package.scala
- Supertypes
-
class Objecttrait Matchableclass Any
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.
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
- Supertypes
- Self type
-
EphemeralSimulator.type
Attributes
- Source
- Simulator.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Exceptions.type
Exception thrown when an expectation fails.
Exception thrown when an expectation fails.
Value parameters
- expected
-
the expected value
- message
-
the message to display
- observed
-
the observed value
Attributes
- Companion
- object
- Source
- PeekPokeAPI.scala
- Supertypes
-
trait Producttrait Equalstrait PeekPokeApiExceptiontrait NoStackTraceclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- PeekPokeAPI.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
Changes that ChiselSim should make to firtool command line options
Changes that ChiselSim should make to firtool command line options
This follows a type class pattern with a low-priority default of identity.
Attributes
- Companion
- object
- Source
- OptionsModifications.scala
- Supertypes
-
trait (Array[String]) => Array[String]class Objecttrait Matchableclass Any
Attributes
- Companion
- trait
- Source
- OptionsModifications.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Type class for providing a simulator.
Type class for providing a simulator.
Attributes
- Companion
- object
- Source
- HasSimulator.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Type class implementations of HasSimulator.
Type class implementations of HasSimulator.
Attributes
- Companion
- trait
- Source
- HasSimulator.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
HasSimulator.type
Utilities for enabling and disabling Chisel layers
Utilities for enabling and disabling Chisel layers
Attributes
- Source
- LayerControl.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
LayerControl.type
This object implements an enumeration of classes that can be used to generate macros for use in Settings.
This object implements an enumeration of classes that can be used to generate macros for use in Settings.
Attributes
- Source
- Settings.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MacroText.type
Attributes
- Source
- PeekPokeAPI.scala
- Supertypes
-
trait AnyTestableData[T]trait Pokable[T]trait Peekable[T]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class TestableData[T]trait TestableAggregate[T]class TestableRecord[T]class TestableVec[T]trait TestableElement[T]class TestableBoolclass TestableEnum[T]class TestableResetclass TestableSIntclass TestableUIntShow all
Attributes
- Companion
- trait
- Source
- PeekPokeAPI.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PeekPokeAPI.type
Attributes
- Companion
- object
- Source
- PeekPokeAPI.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait ChiselSimobject EphemeralSimulator
Attributes
- Source
- PeekPokeAPI.scala
- Supertypes
-
trait NoStackTraceclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class FailedExpectationException[T]
Attributes
- Source
- PeekPokeAPI.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait PeekPokable[T]class TestableData[T]trait TestableAggregate[T]class TestableRecord[T]class TestableVec[T]trait TestableElement[T]class TestableBoolclass TestableEnum[T]class TestableResetclass TestableSIntclass TestableUIntShow all
Attributes
- Source
- PeekPokeAPI.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait PeekPokable[T]class TestableData[T]trait TestableAggregate[T]class TestableRecord[T]class TestableVec[T]trait TestableElement[T]class TestableBoolclass TestableEnum[T]class TestableResetclass TestableSIntclass TestableUIntShow all
A description of how a Chisel circuit should be randomized
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
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Source
- Randomization.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Randomization.type
Settings for controlling ChiselSim simulations
Settings for controlling ChiselSim simulations
These setings are only intended to be associated with Chisel, FIRRTL, and FIRRTL's Verilog ABI and not to do with lower-level control of the FIRRTL compilation itself or the Verilog compilation and simulation.
Value parameters
- assertVerboseCond
-
a condition that guards the printing of assert messages created from
circt_chisel_ifelsefatalintrinsics - enableWavesAtTimeZero
-
enable waveform dumping at time zero. This requires a simulator capable of dumping waves.
- layerControl
-
determines which chisel3.layer.Layers should be
- libraries
-
Names of libraries to include in simulation. Use this to provide implementations for DPI functions, for example. The simulator will resolve these libraries to concrete files using the
CHISELSIM_LIBSenvironment variable andchiselsim.librariesJava property. - libraryPaths
-
Paths to libraries to include in simulation. Use this to provide implementations for DPI functions, for example.
- plusArgs
-
Verilog
$value$plusargsor$test$plusargsto set at simulation runtime. - printfCond
-
a condition that guards printing of chisel3.printfs
- randomization
-
random initialization settings to use
- stopCond
-
a condition that guards terminating the simulation (via
$fatal) for asserts created fromcirct_chisel_ifelsefatalintrinsics enabled during Verilog elaboration.
Attributes
- Companion
- object
- Source
- Settings.scala
- Supertypes
-
class Objecttrait Matchableclass Any
This object contains factories of Settings.
This object contains factories of Settings.
Attributes
- Companion
- class
- Source
- Settings.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Settings.type
A class that enables using a Chisel module to control an svsim.Simulation.
A class that enables using a Chisel module to control an svsim.Simulation.
Attributes
- Source
- package.scala
- Supertypes
Attributes
- Source
- Simulator.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SimulationOutcome.type
Attributes
- Companion
- trait
- Source
- Simulator.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Simulator.type
Attributes
- Companion
- object
- Source
- Simulator.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Source
- SimulatorAPI.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait ChiselSim
Attributes
- Source
- PeekPokeAPI.scala
- Supertypes
-
trait PeekPokable[T]trait AnyTestableData[T]trait Pokable[T]trait Peekable[T]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class TestableRecord[T]class TestableVec[T]
Attributes
- Source
- PeekPokeAPI.scala
- Supertypes
-
trait PeekPokable[T]trait AnyTestableData[T]trait Pokable[T]trait Peekable[T]class Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- Source
- PeekPokeAPI.scala
- Supertypes
-
trait Producttrait Equalstrait PeekPokeApiExceptiontrait NoStackTraceclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all