prim_bin2gray
Convert an N-bit binary value to Gray code.
Drive each z_o[i] as a_i[i] XOR a_i[i+1], and copy the MSB. N must be positive at elaboration.
Convert an N-bit binary value to Gray code.
Drive each z_o[i] as a_i[i] XOR a_i[i+1], and copy the MSB. N must be positive at elaboration.