Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
90
Добавлен:
01.03.2016
Размер:
921.07 Кб
Скачать

PM0044

Pipelined execution

 

 

5.4.5Pipeline with 1 wait state

In the example given in Table 14, performing the fetch takes 2 cycles, and there is no overlap between the 2 fetch cycles.

If the instruction is decoded/executed during the last 2 fetch cycles, then the wait state is transparent compared to the no-wait state execution.

Table 14.

Pipeline with 1 wait state

 

 

 

 

 

 

 

 

 

 

 

 

Address

Instruction

Decode

Execute

lgth

 

 

 

 

Time (cycle)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

cycles

cycles

1

2

3

4

 

5

6

7

8

9

10

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0xC000

NEG A

1

1

1

MS

F1

D

E

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0xC001

DEC ($10, X)

1

1

3

 

 

D

 

E

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0xC004

LDW X, #20

1

1

3

 

 

MS

F2

 

D

E

E

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0xC007

LD (X), A

1

1

1

 

 

 

 

 

D

D

E

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0xC008

INC A

1

1

1

 

 

 

 

 

MS

F3

 

D

E

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0xC009

NEG ($5A, Y)

1

1

1

 

 

 

 

 

 

 

 

D

E

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 15. Legend

Symbol/Color

Definition

 

 

F

Fetch

 

 

D

Decode stalled

 

 

D

Decode

 

 

MS

Memory stalled

 

 

E

Execute

 

 

Doc ID 13590 Rev 3

29/162

Соседние файлы в папке Минимум документации STM8