def iterBits(sigOrVal: Union[RtlSignal, Value], bitsInOne: int=<NUM_LIT:1>,<EOL>skipPadding: bool=True, fillup: bool=False):
bw = BitWalker(sigOrVal, skipPadding, fillup)<EOL>for _ in range(ceil(sigOrVal._dtype.bit_length() / bitsInOne)):<EOL><INDENT>yield bw.get(bitsInOne)<EOL><DEDENT>bw.assertIsOnEnd()<EOL>
Iterate over bits in vector

:param sigOrVal: signal or value to iterate over
:param bitsInOne: number of bits in one part
:param skipPadding: if true padding is skipped in dense types