Cadence Question: what does # mean in below fomular: ((frame>>word(bit_index))&2#1?

38 Views Asked by At

I'm reviewing some cadence test program and wondering what does # means in below formula: It is to count the total 1 bit in frame data, Thanks! Appreciate your time!

total_one_bit = 0
for bit_index = 0 to 15 do
    total_one_bit = total_one_bit + ((frame>>word(bit_index))&2#1)
endfor    
0

There are 0 best solutions below