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

Автор работы: Пользователь скрыл имя, 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 1 Poised at Block 2 (TES6).  Relative Clock: 1.0000

: STEP 1

 

 

Xact 1 Poised at Block 3 (TES6+1).  Relative Clock: 1.0000

: STEP 1

 

Xact 1 Placed on FEC at Block 3 (TES6+1).  Relative Clock: 1.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         test2.gps Source Code...

9                     1                 SAVEVALUE NNEW+,1

10                    1                 ASSIGN 1,X$NNEW

11                    0                 ASSIGN 2,FN$OPR1

12                    0                 ASSIGN 3,FN$OPR2

13                    0                 SAVEVALUE LOADN-,1

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

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

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

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

 

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

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

 

 

Xact 2 Poised at Block 9 (TES7+1).  Relative Clock: 1.0000

: STEP 1

 

 

Xact 2 Poised at Block 10 (TES7+2).  Relative Clock: 1.0000

: STEP 1

 

Xact 2 Poised at Block 11 (TES7+3).  Relative Clock: 1.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         test2.gps Source Code...

12                    1                 ASSIGN 3,FN$OPR2

13                    1                 SAVEVALUE LOADN-,1

14                    0                 SPLIT 1,STP2

15                    0                 TRANSFER ,TES7

16                    0         STP2    PRIORITY 20

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

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

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

 Xact: 2        Curblk: 13       Nextblk: 14        Chains: CEC      PC:

 

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

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

 

 

Xact 2 Poised at Block 12 (TES7+4).  Relative Clock: 1.0000

: STEP 1

 

 

Xact 2 Poised at Block 13 (TES7+5).  Relative Clock: 1.0000

: STEP 1

 

Xact 2 Poised at Block 14 (TES7+6).  Relative Clock: 1.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         test2.gps Source Code...

15          1         1                 TRANSFER ,TES7

16                    1         STP2    PRIORITY 20

17                    0                 SEIZE CPU

18                    0                 ADVANCE X$WCPU

19                    0                 RELEASE CPU

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

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

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

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

 

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

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

 

 

Xact 2 Poised at Block 15 (TES7+7).  Relative Clock: 1.0000

: STEP 1

 

 

Xact 2 Poised at Block 8 (TES7).  Relative Clock: 1.0000

: STEP 1

 

Xact 4 Poised at Block 17 (STP2+1).  Relative Clock: 1.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         test2.gps Source Code...

16                    1         STP2    PRIORITY 20

17                    1                 SEIZE CPU

18          1         1                 ADVANCE X$WCPU

19                    0                 RELEASE CPU

20                    0                 TEST NE P1,2,RONW

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

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

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

 Xact: 4        Curblk: 18       Nextblk: 19        Chains: FEC      PC:

 

Mark-Time: 1.0000       Move-Time: 2.0000       Priority: 20

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

 

 

Xact 4 Poised at Block 17 (STP2+1).  Relative Clock: 1.0000

: STEP 1

 

 

Xact 4 Poised at Block 18 (STP2+2).  Relative Clock: 1.0000

: STEP 1

 

Xact 4 Placed on FEC at Block 18 (STP2+2).  Relative Clock: 1.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         test2.gps Source Code...

18                    1                 ADVANCE X$WCPU

19                    1                 RELEASE CPU

20                    0                 TEST NE P1,2,RONW

21                    0                 TEST E P1,3,RONW

22                    0         WSTR    SEIZE STOR

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

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

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

 Xact: 4        Curblk: 19       Nextblk: 20        Chains: CEC      PC:

 

Mark-Time: 1.0000       Move-Time: 2.0000       Priority: 20

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

 

 

Xact 4 Poised at Block 18 (STP2+2).  Relative Clock: 1.0000

: STEP 1

 

 

Xact 4 Placed on FEC at Block 18 (STP2+2).  Relative Clock: 1.0000

: STEP 1

 

Xact 4 Poised at Block 20 (STP2+4).  Relative Clock: 2.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         test2.gps Source Code...

24                    0                 RELEASE STOR

25                    0         DEL2    TERMINATE

26                    0         RONW    ADVANCE 1

27                    0                 TRANSFER ,DEL2

28                    0                 GENERATE 10000

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

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

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

 Xact: 4        Curblk: 20       Nextblk: RONW      Chains: CEC      PC:

 

Mark-Time: 1.0000       Move-Time: 2.0000       Priority: 20

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

 

 

Xact 4 Placed on FEC at Block 18 (STP2+2).  Relative Clock: 1.0000

: STEP 1

 

 

Xact 4 Poised at Block 20 (STP2+4).  Relative Clock: 2.0000

: STEP 1

 

Xact 4 Poised at Block 26 (RONW).  Relative Clock: 2.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         test2.gps Source Code...

4                     2                 SAVEVALUE LOADN+,1

5                     2                 RELEASE LOAD

6                     1                 TRANSFER ,TES6

7                     1                 GENERATE ,,,1,10

8                     1         TES7    TEST G X$LOADN,0

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

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

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

 Xact: 1        Curblk: 5        Nextblk: 6         Chains: CEC      PC:

 

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

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

 

 

Xact 4 Placed on FEC at Block 26 (RONW).  Relative Clock: 2.0000

: STEP 1

 

 

Xact 1 Poised at Block 5 (TES6+3).  Relative Clock: 2.0000

: STEP 1

 

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

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         test2.gps Source Code...

1                     1                 GENERATE ,,,1,10

2                     3         TES6    SEIZE LOAD

3           1         3                 ADVANCE 1

4                     2                 SAVEVALUE LOADN+,1

5                     2                 RELEASE LOAD

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

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

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

 Xact: 1        Curblk: 3        Nextblk: 4         Chains: FEC      PC:

 

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

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

 

 

Xact 1 Poised at Block 2 (TES6).  Relative Clock: 2.0000

: STEP 1

 

 

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

: STEP 1

 

Xact 1 Placed on FEC at Block 3 (TES6+1).  Relative Clock: 2.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         test2.gps Source Code...

9                     2                 SAVEVALUE NNEW+,1

10                    2                 ASSIGN 1,X$NNEW

11                    1                 ASSIGN 2,FN$OPR1

12                    1                 ASSIGN 3,FN$OPR2

13                    1                 SAVEVALUE LOADN-,1

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

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

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

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

 

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

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

 

 

Xact 2 Poised at Block 9 (TES7+1).  Relative Clock: 2.0000

: STEP 1

 

 

Xact 2 Poised at Block 10 (TES7+2).  Relative Clock: 2.0000

: STEP 1

 

Xact 2 Poised at Block 11 (TES7+3).  Relative Clock: 2.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         test2.gps Source Code...

12                    2                 ASSIGN 3,FN$OPR2

13                    2                 SAVEVALUE LOADN-,1

14                    2                 SPLIT 1,STP2

15                    1                 TRANSFER ,TES7

16                    1         STP2    PRIORITY 20

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

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

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

 Xact: 2        Curblk: 13       Nextblk: 14        Chains: CEC      PC:

 

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

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

 

 

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

: STEP 1

 

 

Xact 2 Poised at Block 13 (TES7+5).  Relative Clock: 2.0000

: STEP 1

 

Xact 2 Poised at Block 14 (TES7+6).  Relative Clock: 2.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         test2.gps Source Code...

15          1         2                 TRANSFER ,TES7

16                    2         STP2    PRIORITY 20

17                    1                 SEIZE CPU

18                    1                 ADVANCE X$WCPU

19                    1                 RELEASE CPU

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

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

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

 Xact: 5        Curblk: STP2     Nextblk: 17        Chains: CEC      PC:

 

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

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

 

 

Xact 2 Poised at Block 15 (TES7+7).  Relative Clock: 2.0000

: STEP 1

 

 

Xact 2 Poised at Block 8 (TES7).  Relative Clock: 2.0000

: STEP 1

 

Xact 5 Poised at Block 17 (STP2+1).  Relative Clock: 2.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         test2.gps Source Code...

16                    2         STP2    PRIORITY 20

17                    2                 SEIZE CPU

18          1         2                 ADVANCE X$WCPU

19                    1                 RELEASE CPU

20                    1                 TEST NE P1,1,RONW

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

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

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

 Xact: 5        Curblk: 18       Nextblk: 19        Chains: FEC      PC:

 

Mark-Time: 1.0000       Move-Time: 3.0000       Priority: 20

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

 

 

Xact 5 Poised at Block 17 (STP2+1).  Relative Clock: 2.0000

: STEP 1

 

 

Xact 5 Poised at Block 18 (STP2+2).  Relative Clock: 2.0000

: STEP 1

 

Xact 5 Placed on FEC at Block 18 (STP2+2).  Relative Clock: 2.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         test2.gps Source Code...

23                    0                 ADVANCE 1

24                    0                 RELEASE STOR

25                    1         DEL2    TERMINATE

26                    1         RONW    ADVANCE 1

27                    1                 TRANSFER ,DEL2

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

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

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

 Xact: 4        Curblk: 27       Nextblk: DEL2      Chains:          PC:

 

Mark-Time: 1.0000       Move-Time: 3.0000       Priority: 20

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

 

 

Xact 5 Placed on FEC at Block 18 (STP2+2).  Relative Clock: 2.0000

: STEP 1

 

 

Xact 4 Poised at Block 25 (DEL2).  Relative Clock: 3.0000

: STEP 1

 

Xact 4 Destroyed at Block 25 (DEL2).  Relative Clock: 3.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         test2.gps Source Code...

20                    2                 TEST NE P1,1,RONW

21                    1                 TEST E P1,2,RONW

22                    0         WSTR    SEIZE STOR

23                    0                 ADVANCE 1

24                    0                 RELEASE STOR

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

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

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

 Xact: 5        Curblk: 21       Nextblk: WSTR      Chains: CEC      PC:

 

Mark-Time: 1.0000       Move-Time: 3.0000       Priority: 20

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

 

 

Xact 5 Poised at Block 20 (STP2+4).  Relative Clock: 3.0000

: STEP 1

 

 

Xact 5 Poised at Block 21 (STP2+5).  Relative Clock: 3.0000

: STEP 1

 

Xact 5 Poised at Block 22 (WSTR).  Relative Clock: 3.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         test2.gps Source Code...

3                     3                 ADVANCE 1

4                     3                 SAVEVALUE LOADN+,1

5                     2                 RELEASE LOAD

6                     2                 TRANSFER ,TES6

7                     1                 GENERATE ,,,1,10

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

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

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

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

 

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

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

 

 

Xact 5 Poised at Block 23 (WSTR+1).  Relative Clock: 3.0000

: STEP 1

 

 

Xact 5 Placed on FEC at Block 23 (WSTR+1).  Relative Clock: 3.0000

: STEP 1

 

Xact 1 Poised at Block 5 (TES6+3).  Relative Clock: 3.0000

:

 

                  GPSS/H Source-Mode Interactive Debugger

Block Current     Total         test2.gps Source Code...

1                     1                 GENERATE ,,,1,10

2                     4         TES6    SEIZE LOAD

3           1         4                 ADVANCE 1

4                     3                 SAVEVALUE LOADN+,1

5                     3                 RELEASE LOAD

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

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