1 Microprocessor-based Systems Course 4 - Microprocessors.

Slides:



Advertisements
Similar presentations
8088/86 Microprocessors and Supporting Chips
Advertisements

EZ-COURSEWARE State-of-the-Art Teaching Tools From AMS Teaching Tomorrow’s Technology Today.
AMD OPTERON ARCHITECTURE Omar Aragon Abdel Salam Sayyad This presentation is missing the references used.
Contents Even and odd memory banks of 8086 Minimum mode operation
Fall EE 333 Lillevik 333f06-l20 University of Portland School of Engineering Computer Organization Lecture 20 Pipelining: “bucket brigade” MIPS.
8086.  The 8086 is Intel’s first 16-bit microprocessor  The 8086 can run at different clock speeds  Standard 8086 – 5 MHz  –10 MHz 
Chapter 1 An Introduction To Microprocessor And Computer
THE AMD-K7 TM PROCESSOR Microprocessor Forum 1998 Dirk Meyer.
Microprocessors. Von Neumann architecture Data and instructions in single read/write memory Contents of memory addressable by location, independent of.
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
Pentium 4 and IA-32 ISA ELEC 5200/6200 Computer Architecture and Design, Fall 2006 Lectured by Dr. V. Agrawal Lectured by Dr. V. Agrawal Kyungseok Kim.
Processor history / DX/SX SX/DX Pentium 1997 Pentium MMX
Chapter 12 Three System Examples The Architecture of Computer Hardware and Systems Software: An Information Technology Approach 3rd Edition, Irv Englander.
University College Cork IRELAND Hardware Concepts An understanding of computer hardware is a vital prerequisite for the study of operating systems.
EECS 470 Superscalar Architectures and the Pentium 4 Lecture 12.
The Pentium 4 CPSC 321 Andreas Klappenecker. Today’s Menu Advanced Pipelining Brief overview of the Pentium 4.
Vacuum tubes Transistor 1948 –Smaller, Cheaper, Less heat dissipation, Made from Silicon (Sand) –Invented at Bell Labs –Shockley, Brittain, Bardeen ICs.
Computer Organization and Assembly language
COMP381 by M. Hamdi 1 Commercial Superscalar and VLIW Processors.
Gursharan Singh Tatla Block Diagram of Intel 8086 Gursharan Singh Tatla 19-Apr-17.
Unit-1 PREPARED BY: PROF. HARISH I RATHOD COMPUTER ENGINEERING DEPARTMENT GUJARAT POWER ENGINEERING & RESEARCH INSTITUTE Advance Processor.
7-Aug-15 (1) CSC Computer Organization Lecture 6: A Historical Perspective of Pentium IA-32.
Intel Pentium 4 Processor Presented by Presented by Steve Kelley Steve Kelley Zhijian Lu Zhijian Lu.
Computer Organization and Assembly language
Lect 13-1 Lect 13: and Pentium. Lect Microprocessor Family  Microprocessor  Introduced in 1989  High Integration  On-chip 8K.
Microcomputer & Interfacing Lecture 2
Intel
Semiconductor Memory 1970 Fairchild Size of a single core –i.e. 1 bit of magnetic core storage Holds 256 bits Non-destructive read Much faster than core.
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
Simultaneous Multithreading: Maximizing On-Chip Parallelism Presented By: Daron Shrode Shey Liggett.
Wait states Wait states can be inserted into a bus cycle
1 Structure of Computer Systems Course 7 – examples of CPU implementations - Microprocessors.
Introduction of Intel Processors
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
Top Level View of Computer Function and Interconnection.
Intel Pentium II Processor Brent Perry Pat Reagan Brian Davis Umesh Vemuri.
MICROCOMPUTER ARCHITECTURE 1.  2.1 Basic Blocks of a Microcomputer  2.2 Typical Microcomputer Architecture  2.3 Single-Chip Microprocessor  2.4 Program.
History of Microprocessor MPIntroductionData BusAddress Bus
Minimum System Requirements Clock Generator Memory Interfacing.
MODES OF Details of Pins Pin 1GND –Connected Ground Pins 2-16 AD14-AD0–acts as both input/output. Outputs address at the first part of the cycle.
EEE440 Computer Architecture
CHAPTER 4 The Central Processing Unit. Chapter Overview Microprocessors Replacing and Upgrading a CPU.
Introduction First 32 bit Processor in Intel Architecture. Full 32 bit processor family Sixth member of 8086 Family SX.
Computer Organization & Assembly Language © by DR. M. Amer.
Introduction to Microprocessors
Microprocessor Microprocessor (cont..) It is a 16 bit μp has a 20 bit address bus can access upto 220 memory locations ( 1 MB). It can support.
Different Microprocessors Tamanna Haque Nipa Lecturer Dept. of Computer Science Stamford University Bangladesh.
Chapter Overview Microprocessors Replacing and Upgrading a CPU.
80386DX. Features of 80386DX It supports 8/16/32 bit data operands It has 32-bit internal registers It supports 32-bit data bus and 32-bit non-multiplexed.
80386DX functional Block Diagram PIN Description Register set Flags Physical address space Data types.
EFLAG Register of The The only new flag bit is the AC alignment check, used to indicate that the microprocessor has accessed a word at an odd.
Computer and Information Sciences College / Computer Science Department CS 206 D Computer Organization and Assembly Language.
The Intel 86 Family of Processors
Different Microprocessors Tamanna Haque Nipa Lecturer Dept. of Computer Science Stamford University Bangladesh.
Capability of processor determine the capability of the computer system. Therefore, processor is the key element or heart of a computer system. Other.
Chapter 3 System Buses.  Hardwired systems are inflexible  General purpose hardware can do different tasks, given correct control signals  Instead.
1 x86 Programming Model Microprocessor Computer Architectures Lab Components of any Computer System Control – logic that controls fetching/execution of.
Submitted To: Submitted By: Seminar On 8086 Microprocessors.
Protection in Virtual Mode
Phnom Penh International University (PPIU)
INTRODUCTION TO MICROPROCESSORS
Basic Computer Organization
Introduction to Pentium Processor
The Microarchitecture of the Pentium 4 processor
Microprocessor & Assembly Language
Comparison of Two Processors
Morgan Kaufmann Publishers Computer Organization and Assembly Language
Computer Architecture Assembly Language
Presentation transcript:

1 Microprocessor-based Systems Course 4 - Microprocessors

2 Microprocessors  Definition 1: It is a VLSI circuit that integrates a central processing unit (CPU)  Definition 2: An integrated circuit that integrates:  one or more central processing units (CPUs) Symmetric multiprocessor architecture Asymmetric multiprocessor architecture  Cache memory  Other components: Interrupt controller, Bus management unit, Memory Management unit (MMU)

3 Microprocessors -  First microprocessor: Intel Company, I4004 – 4 bits organization  First successful microprocessor: Intel I8080 – 8 bits processor  First 16 bits processor Intel I8086 –  First 32 bit processor Intel I80386  Superscalar microprocessor architecture Pentium Pro  64 bits processors, multi-core architectures Pentium IV, dual core, Core Duo

4 Components of a microprocessor  Traditional components: Control Unit (CU) Arithmetical and Logical Unit (ALU) General and special Registers (GR, SR)  Supplementary components: Cache memories (Cache)  high speed low capacity memories  hierarchical organization on 2-3 levels Mathematical co-processor (CoP)  for floating point arithmetic Memory Management Unit (MMU)  controls the traffic (instructions and data) between the main memory and the cache memory Interrupt controller  handles internal and external events  synchronize the processor with I/O interfaces

5 Signals of a microprocessor – the System Bus

6 Typical signals for a microprocessor

7  Address signals: A 0 -A n Used for specifying memory locations or I/O ports (registers) Generated by the microprocessor to other components in order to address them (read or write operations) The number of address lines determine the maximum addressing space of a microprocessor  Ex: 20 lines=> 1MB  32 lines =>4GB  Data signals: D 0 -D m Bidirectional lines used to transfer instruction codes and data between the microprocessor and the other components of the system The number of data lines is usually in accordance with the internal organization of the processor (there are also exceptions, see 8088, Pentium Pro) The number of data lines determine the maximum width of a data transferred on a bus  Ex: 8, 16, 32, 64 lines

8 Typical signals for a microprocessor  Command and control signals Command signals:  MRDC\, MWTC\, IORC\, IOW\, INTA\  determine memory and interface read and write cycles  very important signals,  similar signals for any microprocessor Control signals: ALE (Address Latch Enable), DEN (Data enable)  help controlling the address and data amplifiers  specific for every microprocessor Interrupt signals: INTR, NMI Clock signals: CLK, PCLK  Power supply signals: GND +5V, 3,3V

9 Instructions execution  Steps: Instruction fetch Operands read Operation execution Write the result  Seen from outside: Instruction fetch cycle – read from the memory - mandatory Operand(s) read - optional Write the result - optional  Transfer cycle (on the bus) o a transfer on the bus that involve:  Processor and memory or  Processor and an I/O interface A cycle has a fixed number of clock periods (determined by the microprocessors architecture)  it may be extended on request with an integer number of clock periods, if a slow module is addressed (e.g. EPROM memory) A cycle is a sequence of signal activations on the bus (address, data and command)  a cycle is described by a time diagram

10 Processors of the Intel x86 family  I8086 and I8088

11 I8086, I8088  I bits processor with 16 data lines, 20 address lines (1MB addressing space) 40 pins integrated circuit Supporting circuits:  8087 – mathematic co-processor (floating point)  8288 – bus controller  – bus arbiter Structure:  EU –Execution Unit – dedicated for instruction execution CU, ALU, general registers, state register  BIU – Basic Interface Unit – a unit responsible for the operations (transfer cycles) with the external bus transfers instructions (in advance) and data contains:  Special registers (segment registers, IP)  Instruction queue, bus amplifiers  8088 identical with 8086 but with 8 data signals on the external bus

12 I80286  16 bits processor  16 data lines, 24 address lines (16MB addressing space)  Working modes: real and protected (privileged)

13 I80386  32 bits processor, 32 data lines, 32 address lines (4GB addressing space)  General registers extended to 32 bits  2 extra segment registers (FS and GS)  Protected mode improved

14 I80486  Integrates: processor + co-processor + MMU  Enables the use of cache memory  Protected mode improved

15 Pentium  Two pipelines: U (integers) and V (floats)  64 bits external bus (for a 32 bits processor)  Versions: Pentium –2 pipeline architecture Pentium Pro Pentium II - superscalara P6 architecture Pentium III Pentium IV – NetBurst architecture I7 - multicore

16 Pentium Processors  Pentium Pro Superscalar P6 architecture (CPI<1) Dynamic instruction execution:  Data flow analysis  Branch prediction  Speculative execution of instructions  Pentium II MMX technology:  a SIMD execution unit dedicated for multimedia data  Parallel (SIMD) execution of arithmetic operations  57 new MMX instructions  Pentium III SSE2 technology  Parallel execution (SIMD) on floating point variables  good for 2D/3D graphics

17 P6 superscalar architecture  3 autonomous units  Speculative execution

18 Detailed view of the P6 architecture

19 Instruction fetch and decoding unit  Fetch and decode instructions in advance  In-order unit  3 instructions decoded /clock  Branch prediction  Components: Decoder (3 units) Address generator unit (next_IP) Branch target buffer Micro-operation sequencer Alias registers allocator

20 Instruction dispatch and execute unit  Responsible for instruction execution  Out-of-order unit  7 execution units + reservation station IEU – Integer Execution Unit FEU – Floating-point Execution Unit MMX – Multimedia execution unit AGU – Address generation unit JGU – Jump generation unit

21 Retirement Unit  Reestablish the normal order of the instructions (of results)  In-order unit  Components: MIU – memory interface unit RRF – Retirement register file

22 The P6 Bus  The main elements of the P6 bus: the bus works in a synchronous mode; every signal is considered on clock signal edges transfers are made through transactions that may be executed in parallel it is a multi-processor bus; more processors on the same bus block transfers are preferred there are error detection and correction mechanisms there are mechanisms that assure cache memory consistency a new digital technology (different amplifiers) that assure high frequency transmissions on bus

23 Transfer on the P6 bus  Parallel transactions (pipeline)  Phases: Arbitration Transfer request Snooping Error Response Transfer  Technology: GTL (instead of TTL)

24 Time diagram for the P6 bus

25 Pentium IV –NetBurst Architecture  a 20 stage pipeline architecture double compared with P6  bus frequency is increased 4 times 400MHz, with "quad pump“ technology, 3.2Gbytes/s transfer speed  doubles the speed of the ALU, 2 arithmetical operations are executed in every clock period; the ALU works with a double frequency clock  the use of very high speed cache memory Advanced Transfer Cache, that assures at 2GHz 64Gbytes/s data transfer  extension of the MMX technology the SSE – Streaming SIMD Extension 144 new SIMD instructions that extend the data width to 128 bits (16 bytes processed in parallel)  improvement of branch prediction with aprox. 30% through the extension of the BTB unit and increasing the instruction queue to 126 instructions

26 Pentium IV BTB Decoder Alias reg alocator Trace cache Instr. queues for microoperations Schedulers L2 Cache and control Reg. for „floats” Registers for „integers” ALU AGU ALU-F L1 D-Cache ROM The NetBurst Pentium IV architecture Interface with the external bus Instruction fetch and decode Instruction scheduling and execution

27 Pentium IV  New tendencies: Hyper-threading technology  two threads executed in parallel on the same core Multi-core technology  more processors on the same chip 64 bits architecture