spinal.core
case/switch SpinalHDL statement
case
switch
switch(x) { is(value1) { // execute when x === value1 } is(value2) { // execute when x === value2 } default { // execute if none of precedent conditions are meet } }
switch Documentation
(Since version ) see corresponding Javadoc for more information.
case
/switch
SpinalHDL statementswitch
Documentation