Ресурсные и информационные конфликты в конвейерных системах

Автор работы: Пользователь скрыл имя, 10 Декабря 2012 в 21:45, курсовая работа

Описание работы

Конвейерная обработка основана на разделении исполняемой команды на сегменты, и выделении для каждой из них отдельного блока аппаратуры[1]. Сегментами конвейера могут быть оперативная память, арифметическое устройство, логическое устройство и др. Так же важную роль в конвейере играет организация передачи данных от одного сегмента к следующему. Конвейерную обработку можно использовать для совмещения этапов выполнения разных команд. Производительность при этом возрастает в разы, так как на различных тактах конвейера может выполняться несколько команд.

Содержание работы

Теоретический материал 4
Конвейерная организация 4
Информационные и ресурсные конфликты 7
Организация памяти 10
Признаковый обмен и сквозная запись 13
Блоки GENERATE и TERMINATE 14
Блок ADVANCE 15
Блоки SEIZE и RELEASE 16
Блок TRANSFER 16
Блок LOGIC 17
Блок GATE 18
Задание для лабораторной работы 18
Пример выполнения задания 22
Описание используемых в модели обозначений 22
Описание модели 23
Блок-схема модели конвейерной ВС 25
Текст программы-модели конвейерной ВС 28
Выбор времени моделирования 30
Отладка модели 31
Тест 1 31
Тест 2 35
Тест 3 45
Тест 4 54
Анализ результатов моделирования 68
Анализ влияния длины I-очереди на производительность модели 68
Анализ влияния количества РАО и РДО на производительность модели 69
Анализ влияния ширины выборки из кэш-памяти на производительность модели 70
Анализ влияния формата команд на производительность модели 72
Анализ простоя логики декодирования при загруженной I-очереди 73
Варианты заданий для студентов 75
Вариант 1 75
Вариант 2 75
Вариант 3 75
Вариант 4 75
Вариант 5 76
Вариант 6 76
Вариант 7 76
Вариант 8 76
Вариант 9 77
Вариант 10 77
Список используемой литературы 77

Файлы: 1 файл

Отчёт 2.docx

— 2.30 Мб (Скачать файл)

 

 

Xact 2 Placed on FEC at Block 22 (TES7).  Relative Clock: 0.

: STEP 1

 

 

Xact 1 Poised at Block 16 (OUTL).  Relative Clock: 1.0000

: STEP 1

 

Xact 1 Placed on FEC at Block 16 (OUTL).  Relative Clock: 1.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         TEST3.GPS Source Code...

18          1         2                 SPLIT 1,TES3

19                    1         BUF2    PRIORITY 20

20                    0                 LINK BUF2,FIFO

21                    1                 GENERATE ,,,1,10

22          1         1         TES7    ADVANCE 8

--------------------------------------------------------------------------------

S/C: ON   Abs Clock:  2.0000       Rel Clock: 2.0000       TTG: 1

--------------------------------------------------------------------------------

 Xact: 1        Curblk: BUF2     Nextblk: 20        Chains: CEC      PC:

 

Mark-Time: 0.           Move-Time: 2.0000       Priority: 20

--------------------------------------------------------------------------------

 

 

Xact 1 Poised at Block 18 (OUTL+2).  Relative Clock: 2.0000

: STEP 1

 

 

Xact 1 Poised at Block 19 (BUF2).  Relative Clock: 2.0000

: STEP 1

 

Xact 1 Poised at Block 20 (BUF2+1).  Relative Clock: 2.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         TEST3.GPS Source Code...

2                     2         TES3    SAVEVALUE NUMB+,1

3                     2                 ASSIGN 1,NUMB

4                     1                 TEST L CH$BUF2,X$SBF2

5                     1                 PRIORITY 15

6                     1                 SEIZE LOGC

--------------------------------------------------------------------------------

S/C: OFF  Abs Clock:  2.0000       Rel Clock: 2.0000       TTG: 1

--------------------------------------------------------------------------------

 Xact: 4        Curblk: 3        Nextblk: 4         Chains: CEC      PC:

 

Mark-Time: 0.           Move-Time: 0.           Priority: 15

--------------------------------------------------------------------------------

 

 

Xact 1 Placed on user chain at Block 20 (BUF2+1).  Relative Clock: 2.0000

: STEP 1

 

 

Xact 4 Poised at Block 3 (TES3+1).  Relative Clock: 2.0000

: STEP 1

 

Xact 4 Poised at Block 4 (TES3+2).  Relative Clock: 2.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         TEST3.GPS Source Code...

5                     2                 PRIORITY 15

6                     2                 SEIZE LOGC

7                     1                 ASSIGN 2,FN$OPR1

8                     1                 ASSIGN 3,FN$OPR2

9                     1                 GATE LR P2

--------------------------------------------------------------------------------

S/C: ON   Abs Clock:  2.0000       Rel Clock: 2.0000       TTG: 1

--------------------------------------------------------------------------------

 Xact: 4        Curblk: 6        Nextblk: 7         Chains: CEC      PC:

 

Mark-Time: 0.           Move-Time: 0.           Priority: 15

--------------------------------------------------------------------------------

 

 

Xact 4 Poised at Block 5 (TES3+3).  Relative Clock: 2.0000

: STEP 1

 

 

Xact 4 Poised at Block 6 (TES3+4).  Relative Clock: 2.0000

: STEP 1

 

Xact 4 Poised at Block 7 (TES3+5).  Relative Clock: 2.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         TEST3.GPS Source Code...

22                    1         TES7    ADVANCE 8

23          1         1                 UNLINK BUF2,TES8,1

24                    0                 TRANSFER ,TES7

25                    0         TES8    LOGIC R P2

26                    0                 LOGIC R P3

--------------------------------------------------------------------------------

S/C: ON   Abs Clock:  8.0000       Rel Clock: 8.0000       TTG: 1

--------------------------------------------------------------------------------

 Xact: 2        Curblk: 23       Nextblk: 24        Chains: CEC      PC:

 

Mark-Time: 0.           Move-Time: 8.0000       Priority: 10

--------------------------------------------------------------------------------

 

 

Xact 4 Poised at Block 8 (TES3+6).  Relative Clock: 2.0000

: STEP 1

 

 

Xact 4 Poised at Block 9 (TES3+7).  Relative Clock: 2.0000

: STEP 1

 

Xact 2 Poised at Block 24 (TES7+2).  Relative Clock: 8.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         TEST3.GPS Source Code...

20                    1                 LINK BUF2,FIFO

21                    1                 GENERATE ,,,1,10

22          1         2         TES7    ADVANCE 8

23          1         1                 UNLINK BUF2,TES8,1

24                    1                 TRANSFER ,TES7

--------------------------------------------------------------------------------

S/C: ON   Abs Clock:  8.0000       Rel Clock: 8.0000       TTG: 1

--------------------------------------------------------------------------------

 Xact: 2        Curblk: TES7     Nextblk: 23        Chains: FEC      PC:

 

Mark-Time: 0.           Move-Time: 16.0000      Priority: 10

--------------------------------------------------------------------------------

 

 

Xact 2 Poised at Block 24 (TES7+2).  Relative Clock: 8.0000

: STEP 1

 

 

Xact 2 Poised at Block 22 (TES7).  Relative Clock: 8.0000

: STEP 1

 

Xact 2 Placed on FEC at Block 22 (TES7).  Relative Clock: 8.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         TEST3.GPS Source Code...

25                    1         TES8    LOGIC R P2

26                    1                 LOGIC R P3

27                    1                 TERMINATE

28                    0                 GENERATE 100

29                    0                 TERMINATE 1

--------------------------------------------------------------------------------

S/C: ON   Abs Clock:  8.0000       Rel Clock: 8.0000       TTG: 1

--------------------------------------------------------------------------------

 Xact: 1        Curblk: 26       Nextblk: 27        Chains:          PC:

 

Mark-Time: 0.           Move-Time: 2.0000       Priority: 20

--------------------------------------------------------------------------------

 

 

Xact 1 Poised at Block 26 (TES8+1).  Relative Clock: 8.0000

: STEP 1

 

 

Xact 1 Poised at Block 27 (TES8+2).  Relative Clock: 8.0000

: STEP 1

 

Xact 1 Destroyed at Block 27 (TES8+2).  Relative Clock: 8.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         TEST3.GPS Source Code...

12                    0                 GATE LR P3

13                    0                 LOGIC S P3

14                    1         WFCP    ADVANCE 1

15                    1                 TRANSFER ,OUTL

16                    1         OUTL    ADVANCE 1

--------------------------------------------------------------------------------

S/C: ON   Abs Clock:  8.0000       Rel Clock: 8.0000       TTG: 1

--------------------------------------------------------------------------------

 Xact: 4        Curblk: 11       Nextblk: WFCP      Chains: CEC      PC:

 

Mark-Time: 0.           Move-Time: 0.           Priority: 15

--------------------------------------------------------------------------------

 

 

Xact 4 Poised at Block 10 (TES3+8).  Relative Clock: 8.0000

: STEP 1

 

 

Xact 4 Poised at Block 11 (TES3+9).  Relative Clock: 8.0000

: STEP 1

 

Xact 4 Poised at Block 14 (WFCP).  Relative Clock: 8.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         TEST3.GPS Source Code...

16                    2         OUTL    ADVANCE 1

17                    2                 RELEASE LOGC

18                    2                 SPLIT 1,TES3

19                    1         BUF2    PRIORITY 20

20                    1                 LINK BUF2,FIFO

--------------------------------------------------------------------------------

S/C: ON   Abs Clock:  10.0000      Rel Clock: 10.0000      TTG: 1

--------------------------------------------------------------------------------

 Xact: 4        Curblk: 17       Nextblk: 18        Chains: CEC      PC:

 

Mark-Time: 0.           Move-Time: 10.0000      Priority: 15

--------------------------------------------------------------------------------

 

 

Xact 4 Poised at Block 16 (OUTL).  Relative Clock: 9.0000

: STEP 1

 

 

Xact 4 Placed on FEC at Block 16 (OUTL).  Relative Clock: 9.0000

: STEP 1

 

Xact 4 Poised at Block 18 (OUTL+2).  Relative Clock: 10.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         TEST3.GPS Source Code...

18          1         4                 SPLIT 1,TES3

19                    2         BUF2    PRIORITY 20

20          1         2                 LINK BUF2,FIFO

21                    1                 GENERATE ,,,1,10

22          1         2         TES7    ADVANCE 8

--------------------------------------------------------------------------------

S/C: ON   Abs Clock:  10.0000      Rel Clock: 10.0000      TTG: 1

--------------------------------------------------------------------------------

 Xact: 4        Curblk: 20       Nextblk: --??--    Chains: UCH      PC:

 

Mark-Time: 0.           Move-Time: 10.0000      Priority: 20

--------------------------------------------------------------------------------

 

 

Xact 4 Poised at Block 19 (BUF2).  Relative Clock: 10.0000

: STEP 1

 

 

Xact 4 Poised at Block 20 (BUF2+1).  Relative Clock: 10.0000

: STEP 1

 

Xact 4 Placed on user chain at Block 20 (BUF2+1).  Relative Clock: 10.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         TEST3.GPS Source Code...

3                     3                 ASSIGN 1,NUMB

4                     3                 TEST L CH$BUF2,X$SBF2

5                     2                 PRIORITY 15

6                     2                 SEIZE LOGC

7                     2                 ASSIGN 2,FN$OPR1

--------------------------------------------------------------------------------

S/C: OFF  Abs Clock:  10.0000      Rel Clock: 10.0000      TTG: 1

--------------------------------------------------------------------------------

 Xact: 5        Curblk: 4        Nextblk: 5         Chains: CEC      PC:

 

Mark-Time: 0.           Move-Time: 0.           Priority: 15

--------------------------------------------------------------------------------

 

 

Xact 5 Poised at Block 3 (TES3+1).  Relative Clock: 10.0000

: STEP 1

 

 

Xact 5 Poised at Block 4 (TES3+2).  Relative Clock: 10.0000

: STEP 1

 

Xact 5 Poised at Block 5 (TES3+3).  Relative Clock: 10.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         TEST3.GPS Source Code...

6                     3                 SEIZE LOGC

7                     3                 ASSIGN 2,FN$OPR1

8                     2                 ASSIGN 3,FN$OPR2

9                     2                 GATE LR P2

10                    2                 LOGIC S P2

--------------------------------------------------------------------------------

S/C: ON   Abs Clock:  10.0000      Rel Clock: 10.0000      TTG: 1

--------------------------------------------------------------------------------

 Xact: 5        Curblk: 7        Nextblk: 8         Chains: CEC      PC:

 

Mark-Time: 0.           Move-Time: 0.           Priority: 15

--------------------------------------------------------------------------------

 

 

Xact 5 Poised at Block 6 (TES3+4).  Relative Clock: 10.0000

: STEP 1

 

 

Xact 5 Poised at Block 7 (TES3+5).  Relative Clock: 10.0000

: STEP 1

 

Xact 5 Poised at Block 8 (TES3+6).  Relative Clock: 10.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         TEST3.GPS Source Code...

20                    2                 LINK BUF2,FIFO

21                    1                 GENERATE ,,,1,10

22                    2         TES7    ADVANCE 8

23          1         2                 UNLINK BUF2,TES8,1

24                    2                 TRANSFER ,TES7

--------------------------------------------------------------------------------

S/C: ON   Abs Clock:  16.0000      Rel Clock: 16.0000      TTG: 1

--------------------------------------------------------------------------------

 Xact: 2        Curblk: 24       Nextblk: TES7      Chains: CEC      PC:

 

Mark-Time: 0.           Move-Time: 16.0000      Priority: 10

--------------------------------------------------------------------------------

 

 

Xact 5 Poised at Block 9 (TES3+7).  Relative Clock: 10.0000

: STEP 1

 

 

Xact 2 Poised at Block 24 (TES7+2).  Relative Clock: 16.0000

: STEP 1

 

Xact 2 Poised at Block 22 (TES7).  Relative Clock: 16.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         TEST3.GPS Source Code...

25                    2         TES8    LOGIC R P2

26                    2                 LOGIC R P3

27                    1                 TERMINATE

28                    0                 GENERATE 100

29                    0                 TERMINATE 1

--------------------------------------------------------------------------------

S/C: ON   Abs Clock:  16.0000      Rel Clock: 16.0000      TTG: 1

--------------------------------------------------------------------------------

 Xact: 4        Curblk: 26       Nextblk: 27        Chains: CEC      PC:

 

Mark-Time: 0.           Move-Time: 10.0000      Priority: 20

--------------------------------------------------------------------------------

 

 

Xact 2 Placed on FEC at Block 22 (TES7).  Relative Clock: 16.0000

: STEP 1

 

 

Xact 4 Poised at Block 26 (TES8+1).  Relative Clock: 16.0000

: STEP 1

 

Xact 4 Poised at Block 27 (TES8+2).  Relative Clock: 16.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         TEST3.GPS Source Code...

9                     3                 GATE LR P2

10                    3                 LOGIC S P2

11                    2                 TEST NE P2,P3,WFCP

12                    0                 GATE LR P3

13                    0                 LOGIC S P3

--------------------------------------------------------------------------------

S/C: ON   Abs Clock:  16.0000      Rel Clock: 16.0000      TTG: 1

--------------------------------------------------------------------------------

 Xact: 5        Curblk: 10       Nextblk: 11        Chains: CEC      PC:

 

Mark-Time: 0.           Move-Time: 0.           Priority: 15

--------------------------------------------------------------------------------

 

 

Xact 4 Destroyed at Block 27 (TES8+2).  Relative Clock: 16.0000

: STEP 1

 

 

Xact 5 Poised at Block 10 (TES3+8).  Relative Clock: 16.0000

: STEP 1

 

Xact 5 Poised at Block 11 (TES3+9).  Relative Clock: 16.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         TEST3.GPS Source Code...

12                    0                 GATE LR P3

13                    0                 LOGIC S P3

14          1         3         WFCP    ADVANCE 1

15                    2                 TRANSFER ,OUTL

16                    2         OUTL    ADVANCE 1

--------------------------------------------------------------------------------

S/C: ON   Abs Clock:  16.0000      Rel Clock: 16.0000      TTG: 1

--------------------------------------------------------------------------------

 Xact: 5        Curblk: WFCP     Nextblk: 15        Chains: FEC      PC:

 

Mark-Time: 0.           Move-Time: 17.0000      Priority: 15

--------------------------------------------------------------------------------

 

 

Xact 5 Poised at Block 11 (TES3+9).  Relative Clock: 16.0000

: STEP 1

 

 

Xact 5 Poised at Block 14 (WFCP).  Relative Clock: 16.0000

: STEP 1

 

Xact 5 Placed on FEC at Block 14 (WFCP).  Relative Clock: 16.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         TEST3.GPS Source Code...

14                    3         WFCP    ADVANCE 1

15                    3                 TRANSFER ,OUTL

16          1         3         OUTL    ADVANCE 1

17                    2                 RELEASE LOGC

18                    4                 SPLIT 1,TES3

--------------------------------------------------------------------------------

S/C: OFF  Abs Clock:  17.0000      Rel Clock: 17.0000      TTG: 1

--------------------------------------------------------------------------------

 Xact: 5        Curblk: OUTL     Nextblk: 17        Chains: FEC      PC:

Информация о работе Ресурсные и информационные конфликты в конвейерных системах