Chisel
the bit position of the trailing 1 in the input vector with the assumption that multiple bits of the input bit vector can be set
data_out := PriorityEncoder(data_in)
the bit position of the trailing 1 in the input vector with the assumption that multiple bits of the input bit vector can be set