Pipelining Of Instructions - Texas Instruments TMS320C28x Reference Manual

Dsp cpu and instruction set
Table of Contents

Advertisement

Pipelining of Instructions

4.1 Pipelining of Instructions
4-2
When executing a program, the C28x CPU performs these basic operations:
Fetches instructions from program memory
-
Decodes instructions
-
Reads data values from memory or from CPU registers
-
Executes instructions
-
Writes results to memory or to CPU registers
-
For efficiency, the C28x performs these operations in eight independent
phases. Reads from memory are designed to be pipelined in two stages, which
correspond to the two pipeline phases used by the CPU for each memory-read
operation. At any time, there can be up to eight instructions being carried out,
each in a different phase of completion. Following are descriptions of the eight
phases in the order they occur. The address and data buses mentioned in
these descriptions are introduced in section 1.4.1 on page 1-9.
Fetch 1
In the fetch 1 (F1) phase, the CPU drives a program-memory ad-
(F1)
dress on the 22-bit program address bus, PAB(21:0).
Fetch 2
In the fetch 2 (F2) phase, the CPU reads from program memory
(F2)
by way of the program-read data bus, PRDB (31:0), and loads
the instruction(s) into an instruction-fetch queue.
Decode 1
The C28x supports both 32-bit and 16-bit instructions and an
(D1)
instruction can be aligned to an even or odd address. The
decode 1 (D1) hardware identifies instruction boundaries in the
instruction-fetch queue and determines the size of the next
instruction to be executed. It also determines whether the
instruction is a legal instruction.

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Table of Contents

Save PDF