80486 and Pentium - Advanced Microcomputer Systems

Download Report

Transcript 80486 and Pentium - Advanced Microcomputer Systems

EZ-COURSEWARE

State-of-the-Art Teaching Tools From AMS

Teaching Tomorrow’s Technology Today

www.advancedmsinc.com

www.advancedmsinc.com

80486 and Pentium

www.advancedmsinc.com

80486 Microprocessor Family • 80486 Microprocessor – Introduced in 1989 – High Integration • On-chip 8K Code and Data cache • Floating Point Unit • Paged, Virtual Memory Management – 168-pin PGA package – Multiprocessor Support • Multiprocessor Instructions • Cache Consistency Protocols

www.advancedmsinc.com

Internal Architecture of the • Complex Reduced-Instruction-Set Computer (CRISC) 80486 • RISC integer core

www.advancedmsinc.com

Real-Mode Software Model • the same as that shown for the 80386

www.advancedmsinc.com

Protected-Mode Software Architecture AC: Alignment-Check flag When this bit is set, an alignment check is performed during all memory accesses at privilege level 3. If an unaligned access takes place, exception 17 occurs.

www.advancedmsinc.com

Control Registers • AM : alignment mask -- If this is switched to 0, the alignment check is masked out.

• NE : Numeric Error • CD : cache disable • NW : not write-through • WP : write protect • •

PCD : page-level cache disable PWT : page-level write transparent www.advancedmsinc.com

System-Control Instruction Set + a flush bus cycle + a write-back bus cycle

www.advancedmsinc.com

Page Directory and Page Table Entries

www.advancedmsinc.com

Hardware Architecture of the 80486

www.advancedmsinc.com

Signal Interfaces

Pseudo-lock

www.advancedmsinc.com

On-Chip Cache of the 80486SX

www.advancedmsinc.com

Pentium Processor • Pentium Processor – 32-bit Microprocessor • 32-bit addressing • 64-bit Data Bus – Superscalar architecture • Two pipelined integer units • Capable of under one clock per instruction • Pipelined Floating Point Unit – Separate Code and Data Caches • 8K Code, 8K Write Back Data • 2-way 32-byte line size • MESI cache consistency protocol – Advance Design Features • Branch Prediction – 237-pin PGA

www.advancedmsinc.com

Internal Architecture of the Pentium Processors

www.advancedmsinc.com

Pentium Processor • Pipeline and Instruction Flow – 5 stage pipeline PF : prefetch D1 : Instruction decode D2 : Address Generation EX : Execute -ALU and Cache Access I 2 WB : Write Back PF I 3 I 4 D1 I 1 I 2 PF I 1 Intel 486 I 1 I 2 I 3 I 2 I 4 I 3 I 4 Pentium D2 D2 I 1 I 2 I 3 I 4 EX I 1 I 2 I 3 I 4 EX WB WB I 1 I 2 I 3 I 4 I 5 I 6 I 3 I 4 I 1 I 2 I 7 I 8 I 5 I 6 I 3 I 4 I 1 I 2 I 7 I 8 I 5 I 6 I 3 I 4 I 1 I 2 I 7 I 8 I 5 I 6 I 3 I 4 I 7 I 8 I 5 I 6 I 7 I 8

www.advancedmsinc.com

Pentium Processor – “U”, “V” pipes - “pairing” • U : any instruction • V : ‘simple instructions” as defined in the ‘Pairing” rules PF : instructions on chip cache or memory -> prefetch buffers prefetch buffers - two independent pairs of line size(32 bytes) D1 : two parallel decoders D2 : address generation for operand fetch EX : ALU operations and data cache access WB : modify processor state ; complete execution

www.advancedmsinc.com

Branch Prediction • Branch Prediction – Branch Target Buffer – The processor accesses the BTB with the address of the instruction in the D1 stage example) inner_loop : mov byte ptr flag[edx], al PF D1 D2 EX WB add edx, ecx cmp edx, FALSE EX WB PF D1 D2 EX WB PF D1 D2 PF jle inner_loop – 486 : 6 clocks Pentium : 2 clocks with branch prediction

www.advancedmsinc.com

EFLAGS

www.advancedmsinc.com

Control Registers of the Pentium Processor

www.advancedmsinc.com

Enhancements to the Instruction Set

www.advancedmsinc.com

Hardware Architecture

www.advancedmsinc.com

Memory Subsystem

www.advancedmsinc.com

Organization of the DRAM Array

www.advancedmsinc.com

RAS/CAS address MUX

www.advancedmsinc.com

Data Bus Transceiver Circuitry

www.advancedmsinc.com

On-Chip Cache

www.advancedmsinc.com

On-chip cache operating mode

www.advancedmsinc.com

www.advancedmsinc.com