1 / 21

CSC 3650 Introduction to Computer Architecture

CSC 3650 Introduction to Computer Architecture. Spring 2011. Time: 3:30 to 6:30. Meeting Days: W. Location: Oxendine 1237B. Textbook : Essentials of Computer Architecture , Author: Douglas E. Comer, 2005, Pearson Prentice Hall. Introduction to Computer Architecture. Dr. Chuck Lillie.

Download Presentation

CSC 3650 Introduction to Computer Architecture

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CSC 3650 Introduction to Computer Architecture Spring 2011 Time: 3:30 to 6:30 Meeting Days: W Location: Oxendine 1237B Textbook: Essentials of Computer Architecture, Author: Douglas E. Comer, 2005, Pearson Prentice Hall Introduction to Computer Architecture Dr. Chuck Lillie

  2. Computer Architecture • Central Processing Unit • Memory • Input/Output

  3. Generic Computer Organization

  4. Instruction Cycle • Microprocessor places address of instruction on address bus • Memory subsystem inputs address and decodes it • After allowing time for address to be decoded, microprocessor issues a read control signal • Data is placed on data bus • Data is taken from data bus and placed in register • Microprocessor decodes the instruction • Instruction is executed Memory Read Memory Write

  5. CPU Internal Organization READ, WRITE, IO/M Program counter Instruction register General purpose Instruction code Flag values Operations to perform

  6. Types of Memory • Read Only Memory (ROM) • Masked ROM: programmed with data as chip is fabricated • Programmable Read Only Memory (PROM): can be programmed by user, but only once • Erasable PROM (EPROM): content can be erased and reprogrammed • Electrically Erasable PROM (EEPROM): can modify individual locations on the EEPROM • Chip with 2n words, each having m bits, has n address inputs, An-1 to A0, and m data outputs, Dm-1 to D0 • D is used as input to program chip • Has chip enable (CE), output enable (OE), and program control input (Vpp) • CE must be active for something to happen

  7. Types of Memory • Random Access Memory (RAM) • Dynamic RAM (DRAM): like leaky capacitors, if not refreshed will eventually loose data. Used for primary memory. • Static RAM (SRAM): Does not have to be refreshed. Faster than DRAM but more expensive. Used for cache memory. • Each 2n X m chip has n address inputs and m bidirectional data pins • Chips have chip enable (CE or CE’) • Chips may have either read enable input (RD or RD’) and write enable (WR or WR’) or one combined signal, such as R/W’ . R/W’ would be set to 1 for read and 0 for write. • CE must be active for read or write to happen

  8. Internal Linear Organization of 8 X 2 ROM Chip Three address inputs, two data outputs, and 16 bits of internal storage arranged as eight 2-bit locations The three addrss bits are decoded to select one of the eight locations

  9. Internal two-dimensional organization fo an 8 X 2 ROM chip Two high order bits select one of the four rows, the low order bit selects the two desired bits Four rows with four bits per row Top row holds bits for address 000 and 001, second row address 010 and 011

  10. 8 X 4 memory subsystem constructed from two 8 X 2 ROM chips

  11. 16 X 2 memory subsystem constructed from two 8 X 2 ROM chips with high-order interleaving Upper chip always has A3 = 0 and the lower chip always has A3 = 1 Upper chip has addresses 0000 to 0111 Lower chip has addresses 1000 to 1111

  12. 16 X 2 memory subsystem constructed from two 8 X 2 ROM chips with low-order interleaving Upper chip enabled for A0 = 0, or addresses 0, 2, 4, 6, 8, 10, 12, 14 Lower chip enabled for A0 = 1, or addresses 1, 3, 5, 7, 9, 11, 13, 15 Low order interleaving offers speed advantages for pipelined memory access

  13. 8 X 4 memory subsystem constructed from two 8 X 2 ROM chips with control signals Output enable is just the RD signal from the CPU 6-bit address Use 3 low order bits for chip location Use 3 high order bits for chip enable (all must be 0 for chip to be active

  14. Big Endian and Little Endian for value 01020304H

  15. An Input Device Enable logic for tri-state buffers I/O device address is 11110000 Interface

  16. An Output Device Tri-state buffers are not need for output because the data is put on the data bus and only the device at the address buss address will read the data from the data bus

  17. Bidirectional input/output device with its interface and enable/load logic

  18. A relatively simple computer, CPU details

  19. A relatively simple computer, memory subsystem

  20. A relatively simple computer, final design

  21. A minimal 8085-based computer

More Related