SwitchContext

chisel3.util.SwitchContext
class SwitchContext[T <: Element](cond: T, whenContext: Option[WhenContext], lits: Set[BigInt])

Implementation details for switch. See switch and is for the user-facing API.

Attributes

Note

DO NOT USE. This API is subject to change without warning.

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

Members list

Value members

Concrete methods

def is(v: Iterable[T])(block: => Any)(implicit sourceInfo: SourceInfo): SwitchContext[T]

Attributes

Source
Conditional.scala
def is(v: T)(block: => Any)(implicit sourceInfo: SourceInfo): SwitchContext[T]

Attributes

Source
Conditional.scala
def is(v: T, vr: T*)(block: => Any)(implicit sourceInfo: SourceInfo): SwitchContext[T]

Attributes

Source
Conditional.scala