Something like this:
a=b?c:d ; would make a=c, if b=1, else a would be made equal to d;
But what would doing the same thing on an array do? Like this:
assign a = (|b[10:8])?8'hff : b[7:0]; // to limit the max value to 255 Does it check each of the 3 bits, 8, 9 & 10?