Text
Digital Logic and Microprocessors
This volume has been designed to serve as a textbook for the first course in computer hardware. The topics have been chosen to introduce digital hardware to the student who will go on to study nothing more about computers than using a high-level language as well as to the student who plans to specialize in computer science or computer engineering. It begins with the time-honored topics in logic design, moves smoothly into microprocessors, and finishes with an in-depth treatment of interface design and assembly-language programming. The material should be suitable for a class of students including a broad range of majors or for a class of electrical engineering and computer science students. The authors use the book for a two-semester course given in the sophomore year to students in electrical and computer engineering. Very little in the way of prior background has been assumed. Only the interest and desire to learn about computer hardware is reguired. Many students will have had prior experience with some high-level language, but even this is not essential. For a few pages in Chapter 5 the reader is presumed to have been previously introduced to electricity at the level of ohms law. In classes where this background is not uniformly present, the instructor need only take a more descriptive approach to the material on loading and delay. Our intention has been to satisfy the need for a so-called “modern approach” to the topics of digital hardware. This need is easily justified by the observation that the two current action areas of digital design were unknown 15 or even 10 years before this writing. These two related, but separate, subjects are VLSI design and microprocessor-based system design. Chapters 1 through 10 of this book provide the fundamentais of digital logic common to both these areas. The potential VLSI designer wili then go on to study MOS electronics, interactive graphics, exploitation of the pass transistor, and silicon compilers in other courses. A much larger portion of the readers will be invoived at some level with microprocessor-based design. Chap. ters 11 through 16 continue with this topic. Mastery of these chapters should make U possible for students to apply this subject in the work place whether or not they Subseguently take more advanced courses. Chapters 2, 3, and 4 present the traditional subjects of Boolean algebra, num. ber systems, and Karnaugh maps to develop students' background and catch their interest. Chapters $ and 7 introduce the common off-the-shelf SSI and MSI parts and notation to facilitate their use. Chapter 6 treats arithmetic and coding, including such microprocessor-related topics as BCD addition and subtraction and overflow. The treatment of circuits with memory, or seguential circuits, in Chapters 8 9, and 10 has been somewhat abbreviated from that of the authors' previous book, Introduction to Switching Theory and Logical Design. Understanding the fundamen. tal timing assumptions of seguential circuits is as important as ever, s0 this subjeci has not been neglected. State table minimization and state assignment have been deemphasized. The algorithmic state machine or ASM chart is introduced as an alternative notation to the state table. Only clock-mode seguential circuits are considered in these chapters. For the reader who wishes to explore the problems that appear when the clock-mode assumption cannot be satisfied, a comprehensive treatment is included at the end of the book as Chapter 17. A simplified RTL notation is introduced in Chapter 10 and is found helpful (in moderation) in Chapters 11, 13, 14, and 15. Chapters 11 through 16 treat microprocessors at the hardware and assembly-language level. To come to grips with “real worid” details and to include programming, it was necessary to select a particular microprocessor. We chose the 6502 as the simplest architecture still in (and likely to remain in) the marketplace. The instruction set of the TB6502, used in the book, is a proper subset of and includes nearly all the fcatures of the 6502 instruction set. By not reguiring the TB6502 to be cycle-by-cycle compatible with the 6502, we were able to provide a partial RTL description of the former at a level appropriate to this book. Simplified versions df the common parallel and serial interface chips were devised to familiarize the stw dents most efficiently with the typical control features of thcse units. Whether the students are freshmen, sophomores, juniors, or seniors, this book can serve as a first introduction to digital hardware. It may be used for either one or two semesters. The first 10 chapters can fit nicely into a one-semester course suppk mented by a logic design laboratory. Chapters 11 through 16 can constitute a second Semester, if supported by a comprehensive laboratory experience in assembty-lam Buage programming. With less emphasis on laboratory, Chapters 11 and 12 mug be added to the first semester, thereby providing 8 brief introductiom to micropTA vessors. Chapter 17 could be included at the end of cither the first or the semester For the second semester a laboratory using 2 6502-based mecrocomputer, such as he AIM or SYM, Is ideal but not esenual At the essembiy-langunge kevet. Then Is considerable similarity between the various 8-bit microprocessors. It should be Guite satisfactory to use this book for the lecture portion of a course in conjunction wuih a laboratory supported by a non-6502-based microcomputer and programming manuals for that computer
Tidak tersedia versi lain