Pipeline; Pipeline Stages - NEC uPD98502 User Manual

Network controller
Table of Contents

Advertisement

2.3 Pipeline

This section describes the basic operation of the V
slots (instructions that follow a branch or load instruction in the pipeline), interrupts to the pipeline flow caused by
interlocks and exceptions, and CP0 hazards.

2.3.1 Pipeline stages

The pipeline is controlled by PClock(one cycle of PClock which runs at 4-times frequency of MasterClock) and one
cycle of this PClock is called PCycle. Each pipeline stage takes one PCycle.
2.3.1.1 Pipeline in MIPS III instruction mode
The V
4120A has a five-stage instruction pipeline; each stage takes one PCycle, and each PCycle has two
R
phases: Φ 1 and Φ 2, as shown in Figure 2-9. Thus, the execution of each instruction takes at least 5 PCycles. An
instruction can take longer - for example, if the required data is not in the cache, the data must be retrieved from main
memory.
PClock
Phase
Cycle
The five pipeline stages are:
IF - Instruction cache fetch
RF - Register fetch
EX - Execution
DC - Data cache fetch
WB - Write back
Figure 2-10 shows the five stages of the instruction pipeline. In this figure, a row indicates the execution process of
each instruction, and a column indicates the processes executed simultaneously.
84
CHAPTER 2 V
4120A Core pipeline, which includes descriptions of the delay
R
Figure 2-9. Pipeline Stages (MIPS III Instruction Mode)
PCycle
Φ 1
Φ 2
Φ 1
Φ 2
IF
RF
Preliminary User's Manual S15543EJ1V0UM
4120A
R
Φ 1
Φ 2
Φ 1
Φ 2
EX
DC
Φ 1
Φ 2
WB

Advertisement

Table of Contents
loading

Table of Contents