hossam abdo
Full Member level 2
- Joined
- Mar 13, 2011
- Messages
- 122
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,298
- Location
- Alexandria, Egypt, Egypt
- Activity points
- 2,064
Hello
addrs is 5 bits
case (addrs)
5'h10: statement; //case 1
5'h11: statement; //case 2
5'h12: statement; //case 3
5'h20: statement; //case 4
default: statement;
endcase
In cases(2,3), the MSB is dontcare, can I select only the first 4 bits withen the same case statement?
Thanks in advance.
addrs is 5 bits
case (addrs)
5'h10: statement; //case 1
5'h11: statement; //case 2
5'h12: statement; //case 3
5'h20: statement; //case 4
default: statement;
endcase
In cases(2,3), the MSB is dontcare, can I select only the first 4 bits withen the same case statement?
Thanks in advance.