A counter's terminal count output (TC, or RCO, ripple carry out, on many chips) is 1 while the counter is in its final state, the one just before it wraps.
- 4-bit up counter: TC = , 1 at
1111. - 4-bit down counter: TC = , 1 at
0000. - BCD counter: 1 at
1001(9). Within states 0–9, is enough.
Counters with a count enable usually AND the enable in as well, TC = , so that TC only says "I am about to wrap at this edge".
TC is the counter's version of a carry: it's 1 exactly when adding 1 would carry out of the top bit. That's why it's the key to cascading counters: connect TC of the low counter to E of the high one, on the same clock, and the high counter steps once each time the low one wraps. It's also a ready-made frequency divider output: it is 1 for one clock period in every N.