switch
chisel3.util.switch
object switch
Conditional logic to form a switch block. See is for the case API.
Attributes
- Example
-
switch (myState) { is (state1) { // some logic here that runs when myState === state1 } is (state2) { // some logic here that runs when myState === state2 } } - Source
- Switch.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
switch.type
Members list
In this article