A function is a term used in mathematics and logic to denote a relationship between input and output variables. Each variable is restricted to binary (0, 1) values The relationship is the complex of three primitive functions (And \\Not\\Or)
simple counters Counting is a fundamental function of digital circuits. A digital counter consists of a collection of flip-flops that change states (set or reset) in a prescribed sequence