Type

chisel3.simulator.InstanceChoiceControl.Type
sealed trait Type

The type of all instance choice control variations

Attributes

Source
InstanceChoiceControl.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

protected def getVerilogElaborationTimeChoices: Seq[(String, String)]

Return the (option, value) pairs for VerilogElaborationTime choices

Return the (option, value) pairs for VerilogElaborationTime choices

Attributes

Source
InstanceChoiceControl.scala
def toFirtoolOptions: Seq[String]

Convert instance choices to firtool command-line options

Convert instance choices to firtool command-line options

Attributes

Source
InstanceChoiceControl.scala

Concrete methods

Return the preprocessor defines that should be set to enable instance choices.

Return the preprocessor defines that should be set to enable instance choices.

Instance choices use a macro-based ABI where each option case is represented by a macro with the format targets$<option>$<case> (e.g., targets$Platform$FPGA).

Value parameters

module

an elaborated Chisel module

Attributes

Returns

preprocessor defines to control instance choice selection

Source
InstanceChoiceControl.scala

Deprecated methods

final def shouldIncludeFile(module: ElaboratedModule[_ <: RawModule]): PartialFunction[File, Boolean]

Return a partial function that will return true if a file should be included in the build to enable an instance choice.

Return a partial function that will return true if a file should be included in the build to enable an instance choice.

Value parameters

module

an elaborated Chisel module

Attributes

Returns

an empty partial function (no files are generated for instance choices)

Deprecated
[Since version Chisel 7.11.0] Instance choices no longer generate files; use preprocessorDefines instead

Instance choices now use a macro-based ABI with no generated files. Use preprocessorDefines instead to get the macro definitions.

Source
InstanceChoiceControl.scala