Two Other Forms of Case Statements
casez
- Treats all ¡®z¡¯ values in the case conditions as don¡¯t cares, instead of logic values
- All ¡®z¡¯ values can also be represented by ¡®?¡¯
casex
- Treats all ¡®x¡¯ and ¡®z¡¯ values in the case conditions as don¡¯t cares, instead of logic values
- if encoder = 4¡¯b1zzz, then high_lvl = 3
- if encoder = 4¡¯b1xzx, then high_lvl = 3