EasyManua.ls Logo

AMD K5 User Manual

AMD K5
406 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
Page #1 background image
AMD-K5 Processor
Technical Reference Manual
TM

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the AMD K5 and is the answer not in the manual?

AMD K5 Specifications

General IconGeneral
ManufacturerAMD
ModelK5
Architecturex86
MicroarchitectureK5
Introduction Year1996
Clock Speed75 - 133 MHz
Core Count1
SocketSocket 7
Core steppingSSA/5, 5k86
Voltage3.3V
Transistors4.3 million
L1 Cache8 KB (data) + 16 KB (instruction)
FSB50 MHz to 66 MHz
Process Technology350 nm

Summary

1 Overview

1.1 Features

Details the AMD-K5 processor's compatibility, performance, low-power, and test/debug features.

2 Internal Architecture

2.1 Prefetch and Predecode

Explains the processor's instruction prefetch and predecode logic for efficient instruction fetching.

2.2 Execution Pipeline

Describes the five-stage execution pipeline (Fetch, Decode, Execute, Result, Retire) and its impact on performance.

2.3 Cache Organization and Management

Details the 16-Kbyte instruction and 8-Kbyte data caches, including their organization and coherency.

2.4 Memory Management Unit (MMU)

Covers the MMU's role in virtual-to-physical address translation and its TLBs for paging.

3 Software Environment and Extensions

3.1 Control Register 4 (CR4) Extensions

Explains CR4 bits for enabling features like global pages, VME, and PVI.

3.2 Model-Specific Registers (MSRs)

Describes MSRs like MCAR, MCTR, TSC, AAR, and HWCR accessed via RDMSR/WRMSR.

3.3 New Instructions

Introduces new instructions such as CPUID, CMPXCHG8B, RDTSC, RDMSR, WRMSR, and RSM.

4 Performance

4.1 Code Optimization

Provides techniques for optimizing code for superscalar execution and AMD-K5 specific features.

4.2 Dispatch and Execution Timing

Details functional unit usage and relative cycle numbers for instruction dispatch and execution.

5 Bus Interface

5.1 Signal Overview

Summarizes the processor's signals, their I/O types, and functional groups.

5.2 Signal Descriptions

Provides detailed descriptions of individual bus signals, their behavior, and timing characteristics.

5.3 Bus Cycle Overview

Summarizes bus cycle features: definition, addressing, alignment, and priorities.

5.4 Bus Cycle Timing

Illustrates the timing and relationship of bus signals during various bus transactions.

6 System Design

6.1 Memory

Covers memory configuration, bus speeds, and DRAM timing for system board designers.

6.2 Cache

Discusses methods for controlling shared memory access and maintaining cache coherency.

6.3 System Management Mode (SMM)

Summarizes SMM state-save area, entry/exit, exceptions, and interrupts.

6.4 Clock Control

Explains processor and bus clock control for power management, including stop states.

7 Test and Debug

7.1 Hardware Configuration Register (HWCR)

Describes the HWCR for enabling cache, branch tracing, debug, and clock control functions.

7.2 Built-In Self Test (BIST)

Details normal and TAP BIST modes for testing internal hardware like caches and TLBs.

7.3 Output-Float Test

Explains the Output-Float Test mode to test board trace integrity by floating output signals.

7.4 Cache and TLB Testing

Covers testing of cache and TLB arrays using the Array Access Register (AAR).

7.5 Debug Registers

Discusses standard debug functions, registers (DR7-DR0), and I/O breakpoint extension.

7.6 Branch Tracing

Explains branch tracing enablement and the special bus cycles generated for branch information.

7.7 Functional-Redundancy Checking

Describes the master-checker test mode for real-time system testing.

7.8 Boundary-Scan Test Access Port (TAP)

Details the JTAG boundary-scan testing standard implemented by the processor.

7.9 Hardware Debug Tool (HDT)

Details the hardware debug tool (HDT) and its activation via R/S or TAP instruction.

Appendix A Compatibility With the Pentium and 486 Processors

A.1 Bus Signals

Compares the AMD-K5 processor's bus signals with those of the Pentium and 486 processors.

A.2 Bus Interface

Details differences in bus interface operations between AMD-K5 and Pentium processors.

A.3 Bus Mastering Operations (including Snooping)

Explains differences in bus mastering operations and snooping behavior compared to Pentium.

A.4 Memory Management

Highlights differences in memory management features, like TLB refills and page faults.

A.5 Power Saving Features

Compares power-saving features such as STPCLK and SMM interrupt handling.

A.6 Exceptions

Details differences in exception handling, such as limit faults and task switches.

A.7 Debug

Outlines differences in debug functions, including branch trace messages and breakpoint matches.

Related product manuals