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

Pipelined execution

PM0044

 

 

5 Pipelined execution

The STM8 family uses a 3-stage pipeline to increase the speed of the flow of instructions sent to the processor. Pipelined execution allows several operations to be performed simultaneously, rather than serially:

Fetch

Decode and address

Execute

The Program Counter (PC) points always to the instruction in decode stage as shown in

Figure 5.

Figure 5. Pipelined execution principle

&%4#(

0# #N

0# $%#/$%

0# N

%8%#54%

 

)NSTRUCTIONS S FETCHED FROMDMEMORY

)NSTRUCTIONSIDECODING AND DATADREAD FROMAMEMORYY IF NEEDED

2EGISTER S TDATA READ FROM REGISTERRBANK 3HIFTIANDT!,5AOPERATION 7RITETBACKKREGISTER S SDATA TO 2EGISTER BANK

7RITETBACKKDATA TOTMEMORY

-3 6

5.1Description of pipelined execution stages

Figure 6 and Section 5.1.1, Section 5.1.2, and Section 5.1.3 provide a detailed description of each stage of the pipeline execution.

20/162

Doc ID 13590 Rev 3

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