DynamicCase

chisel3.choice.`package`.DynamicCase
abstract class DynamicCase(implicit val dynamicGroup: DynamicGroup, _sourceInfo: SourceInfo) extends Case

An option case declaration for DynamicGroup.

DynamicCase objects must be defined inside a DynamicGroup class. They use implicit parameters to automatically associate with their parent DynamicGroup.

Attributes

Source
package.scala
Graph
Supertypes
class Case
class Object
trait Matchable
class Any
Self type
Singleton

Members list

Value members

Inherited methods

def ->[T](module: => T): (Case, () => T)

A helper method to allow ModuleChoice to use the -> syntax to specify case-module mappings.

A helper method to allow ModuleChoice to use the -> syntax to specify case-module mappings.

It captures a lazy reference to the module and produces a generator to avoid instantiating it.

Value parameters

module

Module to map to the current case.

Attributes

Inherited from:
Case
Source
package.scala

Implicits

Implicits

implicit val dynamicGroup: DynamicGroup

Attributes

Source
package.scala

Inherited implicits

implicit val group: Group

Attributes

Inherited from:
Case
Source
package.scala