newic
|
How to implement multiple assignments in the case statement (as like LUT)? there is a syntax error for multiple assignments. the 'code' range from 0-3 for a simplified version (2bit)
case(code) 0: c1=0, c0=0; 1: c1=0, c0=1; 2: c1=1, c0=0; 3: c1=1, c0=1; default: c1=0, c0=0; endcase
|