Registers and Counters Registers and counters are sequential functional blocks made of FFs. • Registers are used for storing and manipulating data. • Counters are used for sequencing and controlling of operations.
Registers and Counters • Registers consist of set of FFs together with gates that implement their state transitions. • Counters are registers that go through a predetermined sequence of states upon the application of clock pulses.
Registers Gated clock input • Causes clock skews due to propagation delays
4 -Bit Register with Parallel Load
4 -Bit Shift Register
Serial Transfer
Serial Addition
Shift Register With Parallel Load
Bi-directional Shift Register with Parallel Load
4 -Bit Ripple Counter
4 -Bit Ripple Counter Downward counting can be achieved by connecting the complement of FF outputs to clock inputs or by using positive edge triggered FFs Ripple counters are asynchronous and with added logic may be unreliable and delay dependent.
Synchronous Binary Counters
JQ 3 = KQ 3 = Q 0. Q 1. Q 2. EN JQ 2 = KQ 2 = Q 0. Q 1. EN JQ 1 = KQ 1 = Q 0. EN JQ 0 = KQ 0 = EN
4 -Bit Binary Synchronous Counter JQ 0 = KQ 0 = EN JQ 1 = KQ 1 = Q 0. EN JQ 2 = KQ 2 = Q 0. Q 1. EN JQ 3 = KQ 3 = Q 0. Q 1. Q 2. EN