onehot

Parameters


W u32

Ports


i_data input logic
o_onehot output logic 1'b1 iff i_data contains exactly one set bit
o_zero output logic 1'b1 iff i_data is zero