Chisel
Conditional logic to form a switch block
... // default values here switch ( myState ) { is( state1 ) { ... // some logic here } is( state2 ) { ... // some logic here } }
Conditional logic to form a switch block