%Error: t/t_bitsel_const_bad.v:20: Illegal bit or array select; type does not have a bit range, or bad dimension: type is logic
                                 : ... In instance t
   assign a = b[0];   
               ^
%Error: Exiting due to
