Settings

chisel3.simulator.Settings
See theSettings companion object
final class Settings[A <: RawModule]

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_ifelsefatal intrinsics

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_LIBS environment variable and chiselsim.libraries Java property.

libraryPaths

Paths to libraries to include in simulation. Use this to provide implementations for DPI functions, for example.

plusArgs

Verilog $value$plusargs or $test$plusargs to 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 from circt_chisel_ifelsefatal intrinsics enabled during Verilog elaboration.

Attributes

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

Members list

Value members

Concrete methods

def copy(verilogLayers: Type = ..., assertVerboseCond: Option[Type[A]] = ..., printfCond: Option[Type[A]] = ..., stopCond: Option[Type[A]] = ..., plusArgs: Seq[PlusArg] = ..., enableWavesAtTimeZero: Boolean = ..., randomization: Randomization = ...): Settings[A]

Attributes

Source
Settings.scala
def withLibraries(libraries: Seq[String]): Settings[A]

Attributes

Source
Settings.scala
def withLibraryPaths(libraryPaths: Seq[String]): Settings[A]

Attributes

Source
Settings.scala

Concrete fields

val assertVerboseCond: Option[Type[A]]

Attributes

Source
Settings.scala
val enableWavesAtTimeZero: Boolean

Attributes

Source
Settings.scala
val libraries: Seq[String]

Attributes

Source
Settings.scala
val libraryPaths: Seq[String]

Attributes

Source
Settings.scala
val plusArgs: Seq[PlusArg]

Attributes

Source
Settings.scala
val printfCond: Option[Type[A]]

Attributes

Source
Settings.scala

Attributes

Source
Settings.scala
val stopCond: Option[Type[A]]

Attributes

Source
Settings.scala

Attributes

Source
Settings.scala