This object contains factories of Settings.
Attributes
- Companion
- class
- Source
- Settings.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Settings.type
Members list
Value members
Concrete methods
Simple factory for construcing a Settings from arguments.
Simple factory for construcing a Settings from arguments.
This method primarily exists as a way to make future refactors that add options to Settings easier.
Value parameters
- assertVerboseCond
-
a condition that guards the printing of assert messages created from
circt_chisel_ifelsefatalintrinsics - 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.
- printfCond
-
a condition that guards printing of chisel3.printfs
- stopCond
-
a condition that guards terminating the simulation (via
$fatal) for asserts created fromcirct_chisel_ifelsefatalintrinsics
Attributes
- Returns
-
a Settings with the provided parameters set
- Source
- Settings.scala
Return a default Settings for a Module. Macros will be set to disable chisel3.assert-style assertions using the Module's reset port.
Return a default Settings for a Module. Macros will be set to disable chisel3.assert-style assertions using the Module's reset port.
Note: this requires that an explicit type parameter is provided. You must invoke this method like:
Settings.default[Foo]
If you invoke this method like the following, you will get an error:
Settings.default
Attributes
- Source
- Settings.scala
Return a default Settings for a RawModule.
This differs from default in that it cannot set default values for macros because a RawModule has no defined reset port. You will likely want to override the macros after using this factory.
Note: this requires that an explicit type parameter is provided. You must invoke this method like:
Settings.defaultRaw[Foo]
If you invoke this method like the following, you will get an error:
Settings.defaultRaw
Attributes
- Source
- Settings.scala
Return a default Settings for a SimulationTestHarnessInterface. Macros will be set to disable chisel3.assert-style assertions using the SimulationTestHarnessInterface's init port.
Return a default Settings for a SimulationTestHarnessInterface. Macros will be set to disable chisel3.assert-style assertions using the SimulationTestHarnessInterface's init port.
Note: this requires that an explicit type parameter is provided. You must invoke this method like:
Settings.default[Foo]
If you invoke this method like the following, you will get an error:
Settings.default
Attributes
- Source
- Settings.scala