EnableAll

chisel3.simulator.LayerControl.EnableAll
case object EnableAll extends Type

Enable all layers

Attributes

Source
LayerControl.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Type
class Object
trait Matchable
class Any
Show all
Self type
EnableAll.type

Members list

Type members

Inherited types

type MirroredElemLabels = EmptyTuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton
Source
Mirror.scala
type MirroredElemTypes = EmptyTuple

Attributes

Inherited from:
Singleton
Source
Mirror.scala
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
Source
Mirror.scala
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton
Source
Mirror.scala

Inherited and Abstract types

type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Inherited methods

def fromProduct(p: Product): MirroredMonoType

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
Source
Mirror.scala

Return the preprocessor defines that should be set to enable the layers of this LayerControl.Type.

Return the preprocessor defines that should be set to enable the layers of this LayerControl.Type.

This requires passing an elaborated module in order to know what layers exist in the design.

Value parameters

module

an elaborated Chisel module

Attributes

Returns

preprocessor defines to control the enabling of these layers

Inherited from:
Type
Source
LayerControl.scala
final def preprocessorDefines(module: RawModule, allLayers: Seq[Layer]): Seq[VerilogPreprocessorDefine]

Return the preprocessor defines that should be set to enable the layers of this LayerControl.Type.

Return the preprocessor defines that should be set to enable the layers of this LayerControl.Type.

Value parameters

allLayers

all the layers that are allow

module

a Chisel module

Attributes

Returns

preprocessor defines to control the enabling of these layers

Inherited from:
Type
Source
LayerControl.scala
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def shouldIncludeDirectory(module: ElaboratedModule[_ <: RawModule], buildDir: String): PartialFunction[File, Boolean]

Return a partial function that will return true if a directory should be visited when determining files to include in the build based on if a layer is enabled. This supplements shouldIncludeFile by allowing for the constituent modules of extract layers to be fully excluded from the build.

Return a partial function that will return true if a directory should be visited when determining files to include in the build based on if a layer is enabled. This supplements shouldIncludeFile by allowing for the constituent modules of extract layers to be fully excluded from the build.

Value parameters

buildDir

the build directory

module

a Chisel module

Attributes

Returns

a partial function to test if a directory should be included

Inherited from:
Type
Source
LayerControl.scala
final def shouldIncludeDirectory(module: RawModule, allLayers: Seq[Layer], buildDir: String): PartialFunction[File, Boolean]

Return a partial function that will return true if a directory should be visited when determining files to include in the build based on if a layer is enabled. This supplements shouldIncludeFile by allowing for the constituent modules of extract layers to be fully excluded from the build.

Return a partial function that will return true if a directory should be visited when determining files to include in the build based on if a layer is enabled. This supplements shouldIncludeFile by allowing for the constituent modules of extract layers to be fully excluded from the build.

Value parameters

allLayers

all the layers that can be enabled

buildDir

the build directory

module

a Chisel module

Attributes

Returns

a partial function to test if a directory should be included

Inherited from:
Type
Source
LayerControl.scala
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 a layer. This partial function is not defined if the file is not a layer file.

Return a partial function that will return true if a file should be included in the build to enable a layer. This partial function is not defined if the file is not a layer file.

Value parameters

module

an elaborated Chisel module

Attributes

Returns

a partial function to test if layer files should be included

Inherited from:
Type
Source
LayerControl.scala
final def shouldIncludeFile(module: RawModule, allLayers: Seq[Layer]): PartialFunction[File, Boolean]

Return a partial function that will return true if a file should be included in the build to enable a layer. This partial function is not defined if the file is not a layer file.

Return a partial function that will return true if a file should be included in the build to enable a layer. This partial function is not defined if the file is not a layer file.

Value parameters

allLayers

all the layers that can be enabled

module

a Chisel module

Attributes

Returns

a partial function to test if layer files should be included

Inherited from:
Type
Source
LayerControl.scala