Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

Calculating no. of transitions

How can i identify the no. of transition (0->1 or 1->0) in a sequence and the number of non transitions in that sequence(1->1 or 0->0)..... for example..... consider a 8 bit sequence 0110100...