Coding advantages of casex or casez
By using casex or casez has the following coding advantages:
- It reduces number of lines, especially if the number of bits had been more
- Makes code look more clear and less cluttered
- Simplifies the optimization, as it is clear that bits with x are to be ignored.