Case

chisel3.choice.`package`.Case
abstract class Case(implicit val group: Group, _sourceInfo: SourceInfo)

An option case declaration.

Attributes

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

Members list

Value members

Concrete 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

Source
package.scala

Implicits

Implicits

implicit val group: Group

Attributes

Source
package.scala