Professional Documents
Culture Documents
Registers 1.1
Registers
Registers are common sequential devices.
Theyre a good example of sequential analysis and design. They are also frequently used in building larger sequential circuits.
Benefits of registers
Flip-flops are limited because they can store only one bit.
Two flip-flops are used for two-bit counters. Most computers work with integers and single-precision floating-point numbers that are 32-bits long.
A register is an extension of a flip-flop that can store multiple bits. Registers are commonly used as temporary storage in a processor.
They are faster and more convenient than main memory. More registers can help speed up complex calculations.
Registers 1.4
Parallel communications: provides a binary number as binary digits through multiple data lines at the same time.
Registers 1.5
Shift Registers
Shift Registers are devices that store and move data bits in serial (to the left or the right),
..or in parallel,
Registers 1.6
Configuration
In Shift Registers, the binary digit transfers (shifts) from the output of one flip-flop to the input of the next individual Flip-Flop at every clock edge. Once the binary digits are shifted in, the individual Flip-Flops will each retain a bit, and the whole configuration will retain a binary number.
Registers 1.7
Construction
Shift registers are constructed from flip-flops due to their characteristics:
Edge-triggered devices Output state retention
Each binary digit transfer operation requires a clock edge. Asynchronous inputs are useful in resetting the whole configuration.
Registers 1.8
D Q Q
D Q Q
D Q Q
Registers 1.9
10110 10110
Input
D Q Q
D Q Q
D Q Q
Output
Registers 1.11
Output
Output
Output
Input
D Q Q
D Q Q
D Q Q
Registers 1.12
Input
Input
Input Output
D Q Q
D Q Q
D Q Q
Registers 1.13
Input
D Q Q
Input
D Q Q
Input
D Q Q
Output
Output
Output
Registers 1.14
But sometimes its necessary to send or receive data serially, or one bit at a time. Some examples include:
Input devices such as keyboards and mice. Output devices like printers. Any serial port, USB or Firewire device transfers data serially. Recent switch from Parallel ATA (Advanced Technology Attachment) to Serial ATA in hard drives thin wires help air cooling...
16
Registers summary
A register is a special state machine that stores multiple bits of data. Several variations are possible: Parallel loading to store data into the register. Shifting the register contents either left or right. Counters are considered a type of register too! One application of shift registers is converting between serial and parallel data. Most programs need more storage space than registers provide. Well introduce RAM to address this problem. Registers are a central part of modern processors.
17