Chap2 Part Two
Chap2 Part Two
A0 = D1 + D3 + D5 + D7
A1 = D2 + D3 + D6 + D7
A2 = D4 + D5 + D6 + D7
• A register is a group of flip-flops with each flip-flop capable of storing one bit of
information
• An n-bit register has a group of n flip-flops
• A register may also have combinational gates that perform certain data-processing
tasks
• The flip-flops hold the data and the gates control when and how new data is
transferred into the register
• The flip-flops have a common clock input
• A common clear input is available to reset all the flip-flops asynchronously
• The transfer of new data into a register is called loading the register
• If all bits are loaded simultaneously with a common clock pulse transition, then
the loading is done in parallel
• The load input determines the action to be taken with each clock pulse
• If the load input is 1, then the data in the four inputs are transferred at the next
positive clock transition
• If the load input is 0, the data inputs are inhibited and the output is fed back to
simulate a no change condition
Section 2.5 – Shift Registers
• A read-only memory (ROM) is a memory unit that performs the read operation
only – there is no write capability
• The binary information stored in a ROM is permanent during the hardware
production
• RAM is a general-purpose device whose contents can be altered
• The information in ROM forms the required interconnection pattern
• ROMs come with special internal electronic fuses that can be programmed for a
specific configuration
• An m x n ROM is an array of binary cells organized into m words of n bits each
• A ROM has k address lines to select one of m words in memory and n output
lines, one for each bit of the word
• May have one or more enable inputs for expansion
• The outputs are a function of only the present input (the address), so it is a
combinational circuit constructed of decoders and OR gates
• When used as a memory unit, it stores fixed programs that are not to be altered
and for tables of constants that will not change
• When used in the design of control units for digital computers, it stores coded
information that represents the sequence of internal control variables to enable the
various operations
• A control unit that utilizes a ROM is called a microprogrammed control unit
• The required paths may be programmed in three different ways
• Mask programming is done by the semiconductor company based upon a truth
table provided by the manufacturer
• Programmable read-only memory (PROM) is more economical. PROM units
contain all fuses intact and are blown by users
• Erasable PROM (EPROM) can be altered using a special ultraviolet light
• Electrical erasable PROM (EEPROM) can be erased with electrical signals