1 / 49

Computer Logic Design Introduction

Computer Logic Design Introduction. Computer. CPU. Main Memory (DDR2). FSB (Front-Side Bus). North Bridge. DMI (Direct Media I/F). South Bridge. What are there inside a computer?. Computer. Computer is composed of many components CPU (Intel’s Core 2 Duo, AMD’s Opteron etc)

bpalomino
Download Presentation

Computer Logic Design Introduction

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. Computer Logic DesignIntroduction

  2. Computer CPU Main Memory (DDR2) FSB (Front-Side Bus) North Bridge DMI (Direct Media I/F) South Bridge What are there inside a computer?

  3. Computer Computer is composed of many components • CPU (Intel’s Core 2 Duo, AMD’s Opteron etc) • Chipsets (North Bridge and South Bridge) • Power Supply • Peripheral devices such as Graphics card and Wireless card • Monitor • Keyboard/mouse • etc

  4. Bottom layer of a Computer Each component is basically made based on analog and digital circuits • Analog • Continuous signal • Digital • Only knows 1 and 0

  5. What you mean by 0 or 1 in Digital Circuit? In fact, everything in this world is analog • For example, sound, light, electric signals are all analog since they are continuous in time Digital circuit treats a signal above a certain level as “1” and a signal below a certain level as “0” • Power supply provides power to the computer system

  6. What you mean by 0 or 1 in Digital Circuit? 1.325V “1” Not determined “0” 0V time • Power supply in your computer has several outlets • Different components may have different voltage requirements • CPU (Core 2 Duo): 1.325 V • Chipsets: 1.45 V • Peripheral devices: 3.3V, 1.5V Note: Voltage requirements change as the technology advances

  7. Digital and Analog? Analog Digital music video wireless signal

  8. Structure & Function • Structure is the way in which components relate to each other • Function is the operation of individual components as part of the structure

  9. Function • All computer functions are: • Data processing • Data storage • Data movement • Control

  10. Data Storage Facility Data Movement Apparatus Control Mechanism Data Processing Facility Functional view • Functional view of a computer

  11. Data Storage Facility Data Movement Apparatus Control Mechanism Data Processing Facility Operations (1) • Data movement • e.g. keyboard to screen

  12. Data Storage Facility Data Movement Apparatus Control Mechanism Data Processing Facility Operations (2) • Storage • e.g. Internet download to disk

  13. Data Storage Facility Data Movement Apparatus Control Mechanism Data Processing Facility Operation (3) • Processing from/to storage • e.g. updating bank statement

  14. Data Storage Facility Data Movement Apparatus Control Mechanism Data Processing Facility Operation (4) • Processing from storage to I/O • e.g. printing a bank statement

  15. Structure - Top Level Computer Peripherals Central Processing Unit Main Memory Computer Systems Interconnection Input Output Communication lines

  16. Structure - The CPU CPU Arithmetic and Login Unit Computer Registers I/O System Bus CPU Internal CPU Interconnection Memory Control Unit

  17. Structure - The Control Unit Control Unit CPU Sequencing Login ALU Control Unit Internal Bus Control Unit Registers and Decoders Registers Control Memory

  18. Computer Architecture is the design of computer , including their instruction sets, hardware components, and system organization. The computer architecture consists of two parts; • Instruction set architecture (ISA) • Hardware system architecture (HAS)

  19. The instruction set architecture : เป็นการแสดงรายละเอียด Software/Hardware ที่ใช้ในการเชื่อมต่อที่อยู่ในระดับภาษาเครื่องที่โปรแกรมเมอร์มองเห็นได้ รวมถึง • The instruction set • The instruction formats • The available addressing techniques • The format of the available data types • The Operational register set and usage

  20. The hardware system architecture : บางครั้งก็อ้างถึงโครงสร้างทางคอมพิวเตอร์ เป็นแนวคิดถึงฮาร์ดแวร์หลักของคอมพิวเตอร์รวมถึง CPU , Memory , และ I/O devices ส่วนของ Hardware system architecture รวมทั้ง logical design และ data flow organization ของระบบย่อยฮาร์ดแวร์ต่างๆและประสิทธิภาพการทำงานของระบบคอมพิวเตอร์ เราจะพิจารณาดังนี้ • เทคโนโลยี • ความเร็ว • ราคา ฯลฯ

  21. Computational Models • Two primary computational models • Von Neumann Model • System Bus Model • The Von Neumann Model consists of five major subsystems (input, output, control, arithmetic, memory) • The System Bus Model streamlines this into three subsystems (CPU, memory, IO)

  22. Von Neumann Model Memory Unit Control Path Data Path Arithmetic and Logic Unit (ALU) Input Unit Output Unit Control Unit

  23. System Bus Model CPU (ALU, Registers, and Control) Memory Input and Output Data Bus Address Bus Control Bus

  24. Computational Models • Consider the implications of these alternative designs • Design 1: Central processor with special cabling to specialized devices • Design 2: Multi-bus with common parsing of data and control packets for device-ids

  25. Introduction to Computer Architecture • History • Computational Models • >> Levels of the Machine • Computer System Metaphor

  26. Levels of the Machine • 1. Individual electrical components • Transistors • Resisters • Capacitors • 2. Circuit boards • 3. Specialized devices • Power supply • Cooling fan

  27. Levels of the Machine • 4. Specialized components • Graphics accelerator • Memory banks • 5. Mother board • CPU • Battery • Plug-in expansion card slots • Specialized components • Connector for power supply

  28. Levels of the Machine • 6. Operating system and device drivers • 7. Machine language • 8. Compilers and interpreters • 9. High-level languages • Java • C++ • Visual Basic • Microsoft Excel (?)

  29. Levels of the Machine • 10. Single-user applications • 11. Network components and software • 12. Multi-user centralized applications • 13. Internet connection devices and s/w • 14. Internet utilities (global / specific) • 15. Web connection devices and s/w • 16. Web utilities (global / general)

  30. Introduction to Computer Architecture • History • Computational Models • Levels of the Machine • >> Computer System

  31. Typical Computer System • Hard Disk • Floppy Disk • Tape Backup • Random Access Memory • Central Processing Unit • Graphics Accelerator Card • Keyboard • Monitor • Printer

  32. Computer System The intent of the following slides is to remind us to ask, when studying any computer component, “What problem is this intended to solve?”

  33. Digital Computers • Computer Structure Figure 1-2: Block Diagram of a Digital Computer

  34. Digital Computers • Basic Structure • memory unit: stores programs, input, output, data • processor unit: performs arithmetic and other data-processing operations, as specified by the program • control unit: supervises the flow of information between units (CPU = control unit + data path) • input device: key board • output device: CRT, LCD • More • FPU (floating-point unit) • MMU (memory management unit) (Memory: MMU + internal cache + external cache + RAM)

  35. Classification of Computer Architectures

  36. Von Neumann Machine ระบบคอมพิวเตอร์ที่สร้างขึ้นมาโดยใช้พื้นฐานการพัฒนามาจาก John von nuemenn ผู้ที่ออกแบบระบบคอมพิวเตอร์ IAS ( Institute for Advanced Studies) คอมพิวเตอร์ ที่ Princeton University in the 1940’s

  37. Von Neumann Machine สถาปัตยกรรมของ Von nuemann มีคุณสมบัติดังนี้ • มีระบบฮาร์ดแวร์พื้นฐาน 3 ชนิดคือ • CPU • Main memory • I/O system • โปรแกรมและข้อมูลจะจัดเก็บไว้ในหน่วยความจำ

  38. โปรแกรมและข้อมูลจะจัดเก็บไว้ในหน่วยความจำ หมายความว่าชุดคำสั่งที่ใช้ในการจัดการข้อมูลจะอยู่ในหน่วยความจำเดียวกัน • ชุดคำสั่งที่ใช้เอ็กซีคิวส์จะทำงานเรียงตามลำดับ ยกเว้นคำสั่งข้ามการทำงาน • จะมีทางผ่านข้อมูลทางเดียวระหว่างหน่วยความจำกับหน่วยควบคุมของ CPU จะทำให้ประสิทธิภาพการทำงานเป็นแบบ Bottleneck

  39. The major subsystems within the CPU are: • The control unit (CU) • The arithmetic and logic unit (ALU) • A register set

  40. Von Neumann Model • Input Unit • Provides instructions and data to system Memory Unit Input Unit Arithemtic and Logical Unit (ALU) Output Unit Control Unit

  41. Von Neumann Model • Output Unit • Returns data from system Memory Unit Input Unit Arithemtic and Logical Unit (ALU) Output Unit Control Unit

  42. Von Neumann Model • Memory • Storage for instructions and data Memory Unit Input Unit Arithemtic and Logical Unit (ALU) Output Unit Control Unit

  43. Von Neumann Model • ALU • Processes data Memory Unit Input Unit Arithemtic and Logical Unit (ALU) Output Unit Control Unit

  44. Von Neumann Model • Control Unit • Directs processing Memory Unit Input Unit Arithemtic and Logical Unit (ALU) Output Unit Control Unit

  45. Von Neumann Model • CPU • ALU and Control Unit combined Memory Unit CPU Input Unit Arithemtic and Logical Unit (ALU) Output Unit Control Unit

  46. System Bus Model • Streamlined version of von Nuemann model • Data Bus • Address Bus • Control Bus • Power Bus (optional) CPU (ALU, Registers, & Control) Memory Input & Output (I/O) Data Bus Address Bus System Bus Control Bus

  47. System Bus Model • Data Bus • Carries the information being transmitted • Sometimes implemented as data-in and data-out buses CPU (ALU, Registers, & Control) Memory Input & Output (I/O) Data Bus Address Bus System Bus Control Bus

  48. System Bus Model • Address Bus • Identifies where the information is being sent • “Memory” address identifies read/write location CPU (ALU, Registers, & Control) Memory Input & Output (I/O) Data Bus Address Bus System Bus Control Bus

  49. System Bus Model • Control Bus • Describes aspects of how the information is being sent, & in what manner CPU (ALU, Registers, & Control) Memory Input & Output (I/O) Data Bus Address Bus System Bus Control Bus

More Related