Introduction to Computer Organization, ARM
About
Chapter 7
2-bit counter with discrete gates:
Branch predictor with discrete gates: