4.7 CPU Chips

The most important integrated circuit in any computer is the central processing unit (CPU). The processing of a CPU is discussed in the next chapter, but it is important to recognize at this point that the CPU is, in one sense, merely an advanced circuit with input and output lines.

Each CPU chip contains a large number of pins through which essentially all communication in a computer system occurs. This communication connects the CPU to memory and I/O devices, which are themselves, at fundamental levels, advanced circuits.

The explanation of CPU processing and its interaction with other devices takes us to another level of computer processing, sometimes referred to as component architecture. Although it is still primarily focused on hardware, computer component architecture applies the principle of abstraction yet again, allowing us to temporarily ignore the details of the gates and circuits discussed in this chapter and bringing us ever closer to a complete understanding of computer processing.

SUMMARY

In this chapter we discussed how a computer operates at its lowest level by controlling the flow of electricity. Because we are dealing with digital computers that use binary information, we concern ourselves with only two voltage ranges, which we interpret as binary 1 or 0. The flow of electricity is guided by electronic devices called gates, which perform basic logical operations such as NOT, AND, and OR. A gate is created by using one or more transistors, an invention that revolutionized computing.

Gates can be combined into circuits, in which the output of one gate serves as an input to another gate. By designing these circuits carefully, we can create devices that perform more complex tasks, such as adding, multiplexing, and storing data. Collections of gates, or complete circuits, are often embedded into a single integrated circuit, or chip, which leads to the concept of a central processing unit (CPU).

KEY TERMS

EXERCISES

For Exercises 1–17, mark the answers true or false as follows:

  1. True

  2. False

  1.   1. Logic diagrams and truth tables are equally powerful in expressing the processing of gates and circuits.

  2.   2. Boolean expressions are more powerful than logic diagrams in expressing the processing of gates and circuits.

  3.   3. A NOT gate accepts two inputs.

  4.   4. The output value of an AND gate is 1 when both inputs are 1.

  5.   5. The AND and OR gates produce opposite results for the same input.

  6.   6. The output value of an OR gate is 1 when both inputs are 1.

  7.   7. The output of an OR gate is 0 when one input is 0 and one input is 1.

  8.   8. The output value of an XOR gate is 0 unless both inputs are 1.

  9.   9. The NOR gate produces the opposite results of the XOR gate.

  10. 10. A gate can be designed to accept more than two inputs.

  11. 11. A transistor is made of semiconductor material.

  12. 12. Inverting the output of an AND gate is equivalent to inverting the individual signals first, then passing them through an OR gate.

  13. 13. The sum of two binary digits (ignoring the carry) is expressed by an AND gate.

  14. 14. A full adder takes the carry-in value into account.

  15. 15. A multiplexer adds all of the bits on its input lines to produce its output.

  16. 16. Integrated circuits are classified by the number of gates contained in them.

  17. 17. A CPU is an integrated circuit.

For Exercises 18–29, match the gate with the description of the operation or the diagram.

  1. AND

  2. NAND

  3. XOR

  4. OR

  5. NOR

  6. NOT

  1. 18. Inverts its input.

  2. 19. Produces a 1 only if all its inputs are 1 and a 0 otherwise.

  3. 20. Produces a 0 only if all its inputs are 0 and a 1 otherwise.

  4. 21. Produces a 0 only if its inputs are the same and a 1 otherwise.

  5. 22. Produces a 0 if all its inputs are 1 and a 1 otherwise.

  6. 23. Produces a 1 if all its inputs are 0 and a 0 otherwise.

  7. 24.

    A figure represents the logical diagram symbol of a NOT gate with input A and output X.
  8. 25.

    A figure represents the logical diagram symbol of an AND gate with inputs A and B and output X.
  9. 26.

    A figure represents the logical diagram symbol of an OR gate with inputs A and B and output X.
  10. 27.

    A figure represents the logical diagram symbol of an XOR gate with inputs A and B and output X.
  11. 28.

    A figure represents the logical diagram symbol of a NAND gate with inputs A and B and output X.
  12. 29.

    A figure represents the logical diagram symbol of a NOR gate with inputs A and B and output X.

Exercises 30–73 are short-answer or design questions.

  1. 30. How is voltage level used to distinguish between binary digits?

  2. 31. Distinguish between a gate and a circuit.

  3. 32. What are the three notational methods for describing the behavior of gates and circuits?

  4. 33. Characterize the notations asked for in Exercise 32.

  5. 34. How many input signals can a gate receive, and how many output signals can a gate produce?

  6. 35. Name six types of gates.

  7. 36. Give the three representations of a NOT gate and say in words what NOT means.

  8. 37. Give the three representations of an AND gate and say in words what AND means.

  9. 38. Give the three representations of an OR gate and say in words what OR means.

  10. 39. Give the three representations of an XOR gate and say in words what XOR means.

  11. 40. Give the three representations of a NAND gate and say in words what NAND means.

  12. 41. Give the three representations of a NOR gate and say in words what NOR means.

  13. 42. Compare and contrast the AND gate and the NAND gate.

  14. 43. Give the Boolean expression for a three-input AND gate, and then show its behavior with a truth table.

    A figure represents the logical diagram symbol of a three-input AND gate with inputs A, B, and C and output X.
  15. 44. Give the Boolean expression for a three-input OR gate, and then show its behavior with a truth table.

    A figure represents the logical diagram symbol of a three-input OR gate with inputs A, B, and C and output X.
  16. 45. What is used in a gate to establish how the input values map to the output value?

  17. 46. How does a transistor behave?

  18. 47. Of what is a transistor made?

  19. 48. What happens when an electric signal is grounded?

  20. 49. What are the three terminals in a transistor, and how do they operate?

  21. 50. How many transistors does it take for each of these gates?

    1. NOT

    2. AND

    3. NOR

    4. OR

    5. XOR

  22. 51. Draw a transistor diagram for an AND gate. Explain the processing.

  23. 52. Draw a transistor diagram for an OR gate. Explain the processing.

  24. 53. How can gates be combined into circuits?

  25. 54. What are the two general categories of circuits, and how do they differ?

  26. 55. Draw a circuit diagram corresponding to the following Boolean expression: (A + B)(B + C)

  27. 56. Draw a circuit diagram corresponding to the following Boolean expression: (AB + C)D

  28. 57. Draw a circuit diagram corresponding to the following Boolean expression: A’B + (B + C)’

  29. 58. Draw a circuit diagram corresponding to the following Boolean expression: (AB)’ + (CD)’

  30. 59. Show the behavior of the following circuit with a truth table:

    Solve the circuit diagram shown with a truth table. Two inputs A and B are fed to an AND gate, and an OR gate with their outputs given as inputs to another OR gate.
  31. 60. Show the behavior of the following circuit with a truth table:

    Solve the circuit diagram shown with a truth table. Two inputs A and B are fed to an AND gate, and an input A is fed to a NOT gate with their outputs given as inputs to a NOR gate.
  32. 61. Show the behavior of the following circuit with a truth table:

    Solve the circuit diagram shown with a truth table. Two inputs B and C are fed to a NOR gate, and an input A is fed to a NOT gate with their outputs given as inputs to an AND gate.
  33. 62. Show the behavior of the following circuit with a truth table:

    Solve the circuit diagram shown with a truth table.
  34. 63. What is circuit equivalence?

  35. 64. Name six properties of Boolean algebra and explain what each means.

  36. 65. Differentiate between a half adder and a full adder.

  37. 66. What is the Boolean expression for a full adder?

  38. 67. What is a multiplexer?

  39. 68.

    1. Circuits used for memory are what type of circuits?

    2. How many digits does an S-R latch store?

    3. The design for an S-R latch shown in Figure 4.12 guarantees what about the outputs X and Y?

  40. 69. What is an integrated circuit or chip?

  41. 70. Define the abbreviations SSI, MSI, LSI, and VLSI.

  42. 71. In the chip shown in Figure 4.13, what are the pins used for?

  43. 72. Draw a circuit using two full adders that adds two 2-bit binary values. Show its corresponding truth table.

  44. 73. How can the XOR operation be expressed using other operators?

THOUGHT QUESTIONS

  1. Throughout this chapter we have used Boolean expressions, truth tables, and logic diagrams to describe the same behavior. Are the relationships among these notational methods clear to you? Which do you find the most intuitive? Which do you find the least intuitive?

  2. Many situations can be described by the ideas in this chapter—for example, the operation of a single light switch or a light that has two switches. Can you think of other everyday occurrences that can be described by the notational methods presented in this chapter?

  3. How do the two sets of codes of ethics presented at the end of this chapter differ? How are they similar?

  4. Have you ever sent email to someone, only to regret it immediately? Do you find that you would say something in email that you would never say in person? Consider the following premise: “Email has lowered the civility of personal discourse.” Do you agree or disagree?

  5. If a person sends email from a school computer or a business computer, should that message be considered private? Does the institution or person that owns the computer from which email is sent have a right to inspect the message?

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.161.116