SU1278867A2 - Device for exchanging data between group of input-output channels and internal memory - Google Patents
Device for exchanging data between group of input-output channels and internal memory Download PDFInfo
- Publication number
- SU1278867A2 SU1278867A2 SU853908709A SU3908709A SU1278867A2 SU 1278867 A2 SU1278867 A2 SU 1278867A2 SU 853908709 A SU853908709 A SU 853908709A SU 3908709 A SU3908709 A SU 3908709A SU 1278867 A2 SU1278867 A2 SU 1278867A2
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- group
- channel
- priority
- output
- input
- Prior art date
Links
Landscapes
- Bus Control (AREA)
Abstract
Изобретение относитс к вычислительной технике и может быть использовано при разработке процессоров , оборудование которых используетс дл передачи данных между каналами ввода - вывода и оперативной пам тью . Целью изобретени вл етс увеличение пропускной способности устройства за счет организации возможности присвоени любого приоритета любому каналу ввода - вывода из группы на момент выполнени этим каналом операции ввода - вывода в зависимости от того, с каким периферийным устройством канал организует пере- дачу данных. Это дает возможность с максимальной эффективностью использовать менее приоритетные каналы за счет возможности подключени к ним тех же периферийных устройств, которые могут подключатьс к самому приоритетному каналу ввода - вывода.Устройство содержит блок микропрограммного управлени , входной и выходной регистры, две группы элементов И-ШШ, с & два элемента И, три триггера, два элемента И-НЕ, элемент ИЛИ, коммута (Л тор, две группы регистров, блок упс равлени , блок приоритета запросов, группу блоков согласовани , группу регистров фиксации, регистр отбора, блок дешифрации приоритета. 9 tm. ю | 00 00 оThe invention relates to computing and can be used in the development of processors whose equipment is used to transfer data between I / O channels and main memory. The aim of the invention is to increase the capacity of the device by organizing the possibility of assigning any priority to any I / O channel from the group at the time the I / O operation is performed, depending on which peripheral device the channel organizes the data transfer with. This makes it possible with maximum efficiency to use less priority channels due to the possibility of connecting to them the same peripheral devices that can be connected to the priority I / O channel itself. The device contains a firmware control unit, input and output registers, two groups of I-SHS, c & two AND elements, three triggers, two AND-NOT elements, an OR element, a switch (L tor, two groups of registers, a control block, a request priority block, a group of matching blocks, a group of latch registers, a selection register, a priority decryption block. 9 tm . y | 00 00 about
Description
1-12 Изобретение относитс к вычислительной технике, может быть использовано при разработке процессоров, оборудование которых используетс дл передачи данных между каналами ввода- - вывода и оперативной пам тью и вл етс усовершенствованием устройства по авт. св. № 1190385. Цель изобретени - увеличение про пускной способности устройства за счет организации возможности присвое ни любого приоритета любому каналу ввода - вывода из группы на момент выполнени этим каналом операции ввода вывода в зависимости от того, с каки периферийным устройством канал организует передачу данных. Ввведение в устройство дл обмена данными между группой каналов вво да - вывода оперативной пам тью груп пы регистров фиксации позвол ет зада вать дл каждого канала ввода - выво да такой приоритет, которьш определ етс тем периферийным устройством, с которым канал ввода - вывода организует св зь. Разр дность регистра фиксации определ етс количеством каналов в группе. Например, дл четырех каналов в группе регистр фиксации должен содержать два разр да. Максимальное количество регистров фиксации, которое должно быть в каждом канале, в общем случае определ етс количеством периферийных устройств , которое может быть подключено- к каналу ввода - вывода.Однако количество регистров фиксации может быть значительно уменьшено, если оди регистр фиксации использовать дл группы периферийных устройств со смежными адресами, быстродействие ко торых по обмену данными с каналом ввода - вывода составл ет ОДРШ пор док. Введение в устройство регистра выбора дает возможность выбора самог приоритетного канала с целью организации передачи данных в первую очередь между этим каналом и оперативной пам тью. Разр дность регистра выбора определ етс разр дностью регистра фикса ции и количеством каналов ввода вывода в группе. Например, дл четырех каналов ввода - вывода в группе регистр выбора должен содержать восемз . разр дов. 7 Введение в устройство блока дешифрации приоритета позвол ет выбрать самый приоритетный канал дл организации передачи данных между этим каналом и оперативной пам тью. На фиг. 1 изображена схема устройства дл обмена данными между группой каналов ввода - вывода и оперативной пам тью; на фиг. 2 - схема блока микропрограммного управлени ; на фиг.З схема блока управлени ; на фиг. 4 схема блока согласовани ; на фиг. 5 схема блока приоритета запросов; на фиг. 6 - схема блока дешифрации приоритета ; на фиг. 7 - временна диаграмма выполнени микрокоманды Пам ть при обращении к ней процессора; на фиг. 8 - временна диаграмма вьтолнени микрокоманды Пам ть считывани .из оперативной пам ти в каналы; на фиг. 9 - временна диаграмма выполнени микрокоманды Пам ть записи в оперативную пам ть из каналов. Устройство дл обмена данными между группой каналов ввода -вывода и оперативной пам тью (фиг. 1) содержит блок 1 микропрограммного управлени , входной регистр 2, оперативнее пам ть 3, выходной регистр 4, первую группу 5 элементов И-ИЛИ, первый элемент И 6,первый триггер 7, первый элемен- И-НЕ 8, третий триггер 9, второй элемент И-НЕ 10, второй триггер 11, элемент ИЛИ 12, второй элемент И 13, коммутатор 14, первую 15 и вторую 16 группы регистров, блок 17 управлени , блок 18 приоритета запросов, группу блоков 19 согласовани , вторую группу 20 элементов ИИЛИ , синхровход 21 устройства, группу информационных входов - выходов 22) устройства, группу регистров 23 фиксации , регистр 24 выбора, блок 25 дешифрации приоритета. Блок 1 микропрограммного управлени (фиг. 2) содержит пам ть 26 микрокоманд , регистр 27 адреса, регистр 28 микрокоманд, дешифратор 29, местную пам ть 30, первый 31 и второй 32 регистры, арифметико-логический узел 33, регистр 34 результата, первую 35 и вторую 36 группы элементов И-ШШ, элемент И 37, элемент И-НЕ 38, первый 39 и второй 40 информационные Ёходы блока, вход 41 режима блока, стробирующий вход 42 блока, вход 43 разрешени блока, синхровход 44 блока , стробирующий выход 45 блока, адресный выход 46 блока, первый информационный выход 47 блока, с первого по третий управл ющие выходы 48-50 блока ср.ответственно, выход 51 выбор ки блока, второй информационный выхо 52блока, третий информационный вход 53блока. Блок управлени (фиг, З) содерж 1т триггер 54 передачи данных, группу триггеров 55 и 56 передачи данных каналов, первую группу элементов И 57 и 58, второй 59 и первый 60 элементы ИЛИ, первьш 61 и второй 62 эле менты И, элемент НЕ 63, триггер 64 запроса передачи данных, триггер 65 первого цикла передачи, триггер 66 промежуточного цикла передачи, триггер 67 второго цикла передачи, группу триггеров 68 и 69 второго цикла передачи каналов, вторую группу элементов И 70 и 71, группу элементов И-ИЛИ-НЕ 72 и 73, первый .74 и второй 75 элементы И-ИЛИ, первую группу элементов И-ИЛИ 76 и 77, вторую груп пу элементов И-ИЛИ 78 и 79, первую 80, вторую 81, третью 82 и четвертую 83 группы входов блока, первый 84 и второй 85 входы блока, с первого по п тый входы 86-90 блока соответственно , с первой по третью группы выходов 91-93 соответственно. Блок согласовани (фиг. 4) содердит регистр 94 данных, буферную пам ть 95 данных, триггер 96 обраще- НИН интерфейса, триггер 97 выбора буфера интерфейса, счетчик 98 адреса байтов, триггер 99 выбора буфера процессора, триггер 100 номера слова , счетчик 101 двойных слов, первый 102 и второй 103 узлы.синхронизации, коммутатор 104,, узел 105 обмена по интерфейсу, триггер 106 зан тости регистра данных, триггер 107 зан тос ти группы регистров, регистр 108-код операции, дешифратор 109, первую 110 и вторую 111 группы элементов И-ИЛИ, с первого по шестой элементы И-ИПИ 112-117 соответственно, элемент ИИЛИ-НЕ 118, первый 119 и второй 120 информационные входы блока, информационный вход - выход 121 блока,вход 122 разрешени блока, синхровход 123 блока, информационный выход 124 блока , первый 125 и второй 126 синхровыходы блока, выход 127 запроса блока , выход 128 записи блока, выход 12 чтени блока. Блок приоритета запросов (фиг, 5) содержит с первого по четвертый триггеры 130-133 соответственно, приоритетный шифратор 134, регистр 135 хранени , информационный вход 136 и вы- , ход 137 блока, групповой управл ющий вход 138 блока, через который по лини м 139-142 информационные входы триггеров 130-133 соединены соответственно с входом 138 блока, групповой управл ющий выход 143; с которым первый, второй и третий выходы приоритетного шифратора соединены соответственно лини ми 144-146, групповой вход -147 запросов и групповой выход 148 запросов блока. Блок 18 приоритета запросов работает следующим образом. Группу запросов , прин тую из группы блоков 19 согласовани на групповой вход 147 запросов блок 18 приоритета запросов транслирует на групповой выход 148 запросов блока. Группа приоритетных сигналов, поступающа с группового входа 138 блока на информационные входы триггеров 130-133, устанавливает эти триггеры в соответствующие состо ни .Причем сигнал, поступающий по линии 39 на информационньш вход триггера 130, вл етс самым приоритетным. Так как сигналы, сн тые с группового управл ющего входа 138 блока, поступают асинхронно на информационные входы триггеров 130-133, то дл одновременной установки этих триггеров используетс подсинхронизаци путем подачи на синхровходы триггеров 130-133 синхроимпульса с синхровхода 21 блока . Выходы триггеров 130-133 подключены к входам (с первого по четвертый ) приоритетного шифратора 134, на первом 144 и втором 145 выходах которого формируетс двухразр дный код, который вл етс адресом самого приоритетного сигнала четырехразр дного слова, которое поступает на входы триггеров 130-133, Например, если триггер 130 установлен , то с первого- и второго выходов приоритетного шифратора по лини м 144 и 145 будет выдан код ОО, т.е. адрес первого разр да четырехразр дного слова. Если ни один триггер 130133 не введен, то возбуждаетс третий выход приоритетного шифратора по линии 146, что говорит о том, что ни один триггер 130-133 не взведен. Регистр 135 хранени используетс дл приема соответствующим синхроимпульсом с синхровхода 21 информации, поступающей с информационного входа 136 блока, и выдачи информации с выхода регистра 135 хранени на информационный выход 137 блока. Блок дешифрации приоритета (фиг,6 содержит шесть мультиплексоров 149154 , элемент НЕ 155, дешифратор 156, информационный вход 157 блока, содер жащий линии 158-165. Кроме того, блок микропрограммного управлени содержит (фиг. 2) выхо 166 занесени . Блок формировани работает следующим образом. На первые информа- й. ционные входы с первого по четвертьш мультиплексоры 149-152 поступает с группового входа 148 запроса блока сигнал запроса от первого канала группы. На второй, третий и четвертый информационные входы с первого по четвертый мультиплексоры 149-152 поступают с группового входа 148 запроса блока сигналы запросов от второго , третьего и четвертого каналов соответственно. На первый и второй адресные входы первого мультиплексора 149 с информа ционного входа 157 блока по лини м 15 и 159 поступаетС первого и второго выходов регистра выборадвухразр дный код номера канала, дл которого уста новлена сама высока приоритетность На первые и вторые адресные входы второго, третьего и четвертого мультиплексоров 150-152 с информационног входа 157 блока по лини м 160 и 161, 162 и 163, 164 и 165 поступают с тре тьего и четвертого, с п того и шестого , с седьмого и восьмого выходов регистра выбора соответственно двухразр дные коды номеров каналов, дл которых установлены второй, третий и четвертый приоритеты соответственно , Таким образом, с выхода мультиплексора 149 по линии 139 нагрупповой управл ющий вход 138 выдел етс самый приоритетный сигнал, который может принадлежать первому, второму, третьему или четвертому каналам ввода-вывода . С выхода мультиплексора 152 по линии 142 на групповой управл ющий выход 138 выдаетс сигнал самой низкой приоритетности. Сигналы с выходов мультиплексоров 149-152 по1-12 The invention relates to computing, can be used in the development of processors, the equipment of which is used to transfer data between input-output channels and RAM, and is an improvement to the device by author. St. No. 1190385. The purpose of the invention is to increase the capacity of the device by organizing the possibility of assigning any priority to any I / O channel from the group at the time this channel performs an I / O operation, depending on how the peripheral device organizes the data transfer. Introducing into the device for data exchange between a group of input-output channels by the operational memory, the fixation register group allows setting for each input channel — the output is the priority that is determined by the peripheral device with which the input-output channel establishes communication . The capacity of the latch register is determined by the number of channels in the group. For example, for four channels in a group, the latch register must contain two bits. The maximum number of latch registers that must be in each channel is generally determined by the number of peripherals that can be connected to the I / O channel. However, the number of latch registers can be significantly reduced if one latch register is used for a group of peripheral devices with adjacent addresses, the speed of which for exchanging data with the I / O channel is HLSR. Introduction to the selection register device allows you to select the priority channel itself in order to organize the transfer of data primarily between this channel and the RAM. The size of the selection register is determined by the capacity of the latch register and the number of input / output channels in the group. For example, for four I / O channels in a group, the selection register must contain eighth. bits 7 Introduction to the device of the priority decryption unit allows you to select the most priority channel for organizing the transfer of data between this channel and the main memory. FIG. 1 shows a diagram of an apparatus for exchanging data between a group of I / O channels and random access memory; in fig. 2 is a diagram of a firmware control unit; Fig. 3 is a control block diagram; in fig. 4 is a block matching circuit; in fig. 5 diagram of the priority block of requests; in fig. 6 is a diagram of the priority decoding unit; in fig. 7 is a timing diagram of the execution of the microcommand Memory when the processor accesses it; in fig. 8 is a timing diagram of the microcommand. Memory read from RAM to channels; in fig. 9 is a timing diagram of the execution of the microcommand Write Memory to RAM from channels. A device for exchanging data between a group of input-output channels and random-access memory (Fig. 1) contains a microprogram control unit 1, an input register 2, a memory 3, an output register 4, the first group 5 of AND-OR elements, the first And 6 element , the first trigger 7, the first element AND-NOT 8, the third trigger 9, the second element AND-NOT 10, the second trigger 11, the element OR 12, the second element AND 13, the switch 14, the first 15 and the second 16 groups of registers, block 17 control, request priority block 18, group of matching blocks 19, second group of elements ORI, sync input device 21, group of information inputs - outputs 22) of the device, a group of registers 23, fixing selection register 24, decryption unit 25 priority. The microprogram control unit 1 (Fig. 2) contains a memory of 26 micro-instructions, an address register 27, a micro-register register 28, a decoder 29, a local memory 30, the first 31 and second 32 registers, the arithmetic logic unit 33, the result register 34, the first 35 and the second 36 groups of I-SHS elements, the AND 37 element, the IS-NE 38 element, the first 39 and the second 40 block informational outputs, the block mode input 41, the block gate input 42, the block resolution input 43, the block synchronous input 44, gate 45 output block, address output 46 block, the first information output 47 block, first to third channeling guides sr.otvetstvenno unit outputs 48-50, the output selection unit 51 ki, vyho 52bloka second information, third information input 53bloka. The control unit (FIG. 3) contains 1t data transfer trigger 54, a group of data transfer trigger 55 and 56, the first group of elements AND 57 and 58, the second 59 and the first 60 elements OR, the first 61 and the second 62 elements AND, the element NOT 63, trigger 64 of a data transfer request, trigger 65 of the first transmission cycle, trigger 66 of the intermediate transmission cycle, trigger 67 of the second transmission cycle, group of triggers 68 and 69 of the second transmission cycle of channels, second group of elements AND 70 and 71, group of elements AND-OR- NOT 72 and 73, the first .74 and the second 75 elements are AND-OR, the first group of elements is AND-OR 76 and 77, the second group of elements AND-OR 78 and 79, the first 80, the second 81, the third 82 and the fourth 83 groups of block inputs, the first 84 and the second 85 block inputs, the first to fifth inputs 86-90 blocks, respectively, the first by the third group of outputs 91-93, respectively. The matching unit (Fig. 4) contains data register 94, data buffer memory 95, interface trigger 96, interface buffer selection trigger 97, byte address counter 98, processor buffer selection trigger 99, word number trigger 100, double counter 101 words, the first 102 and second 103 nodes. synchronization, the switch 104, the interface exchange node 105, the data register trigger trigger 106, the register group trigger 107, the register group 108, the opcode 108, the decoder 109, the first 110 and the second 111 groups of elements AND-OR, from the first to the sixth elements AND-IPI 112-117 respectively Actually, the ORI-NE 118 element, the first 119 and the second 120 information inputs of the block, the information input — the output 121 of the block, the input 122 of the block resolution, the synchronous input 123 of the block, the information output 124 of the block, the first 125 and second 126 sync outputs of the block, 127 output of the block , block write output 128, block read output 12. The priority block of requests (FIG. 5) contains from the first to the fourth triggers 130-133, respectively, the priority encoder 134, the storage register 135, the information input 136 and you, the block move 137, the group control control input 138, through which 139-142, the information inputs of the flip-flops 130-133 are connected respectively to the input 138 of the unit, group control output 143; to which the first, second and third outputs of the priority encoder are connected respectively by lines 144-146, group input -147 requests and group output 148 of block requests. Block 18 priority requests works as follows. A group of requests received from a group of matching blocks 19 for group input 147 of requests block 18 of request priority translates to group output 148 of block requests. The group of priority signals, coming from the group input 138 of the block to the information inputs of the flip-flops 130-133, sets these flip-flops to the appropriate states. And the signal arriving via line 39 to the information input of the flip-flop 130 is the highest priority. Since the signals taken from the group control input 138 of the block are accessed asynchronously at the information inputs of the flip-flops 130-133, for the simultaneous installation of these flip-flops, subsynchronization is used by applying sync pulses from the synchronous input 21 blocks to the sync inputs of the triggers 130-133. The outputs of the flip-flops 130-133 are connected to the inputs (first to fourth) of the priority encoder 134, on the first 144 and second 145 outputs of which a two-digit code is formed, which is the address of the highest priority signal of the four-digit word, which goes to the trigger inputs 130-133 For example, if the trigger 130 is set, then from the first and second outputs of the priority encoder, an OO code will be issued via lines 144 and 145, i.e. the address of the first bit of a four-word word. If no trigger 130133 is entered, the third output of the priority encoder is triggered via line 146, which indicates that no trigger 130-133 is cocked. The storage register 135 is used to receive the corresponding clock pulse from the synchronous input 21 of information received from the information input 136 of the block and to output information from the output of the storage register 135 to the information output 137 of the block. The priority decryption unit (FIG. 6) contains six multiplexers 149154, an HE element 155, a decoder 156, a block information input 157 containing lines 158-165. In addition, the firmware control block contains (FIG. 2) the insertion output 166. The forming unit is working as follows: The first to quarterly first multiplexers 149-152 come from the group request 148 of the block request signal from the first channel of the group.The second, third, and fourth information inputs from the first to fourth multiplexers 149-152 From the group request 148 request block signals from the second, third and fourth channels, respectively.The first and second address inputs of the first multiplexer 149 from the information input 157 of the block via lines 15 and 159 are received from the first and second outputs of the selection register with a two-digit code for the channel number for which the highest priority is set up. The first and second address inputs of the second, third and fourth multiplexers 150-152 from the information input 157 of the block are received from lines 3 and 161, 162 and 163, 164 and 165 from the third and fourth In addition, from the fifth and sixth, from the seventh and eighth outputs of the selection register, respectively, two-digit channel numbers for which the second, third, and fourth priorities are set, respectively. Thus, from the output of multiplexer 149, through line 139, the group control input 138 is allocated the highest priority signal that may belong to the first, second, third, or fourth I / O channels. From the output of multiplexer 152, via line 142 to the group control output 138, a signal of the lowest priority is output. The signals from the outputs of multiplexers 149-152 on
ни .neither
Устройство работает следующим образом . лини м 139-142 соответственно поступают на групповой управл ющий вход 138 блока и далее через групповой управл ющий вход 138 блока 18 приоритета запросов на информационные входы триггеров 130-133, Таким образом, на первом и втором выходах приоритетного щифратора 134 на лини х 144 и 145 получаетс двухразр дный код номера самого приоритетного сигнала, которьш сформирован по сигналам запросов от группы каналов , поступивших на информационные входы мультиплексоров 149-152, Первый , второй и третий выходы приоритетного шифратора 134 по лини м 144146 соответственно через групповой управл ющий выход I43 блока поступает на групповой управл ющий вход 143 блока 25 .формировани . Сигнал по линии 146 поступает на элемент НЕ 155, сигнал с которого поступает на управл ющие входы п того 153 и шестого 554 мультиплексоров, разреша работу этих мультиплексоров. Сигналы по лини м 144 и 145 поступают на двухразр дные адресные входы п того 153 и шестого 154 мультиплексоров. На первые информационные входы п того 153 и шестого 154 мультиплексоров поступают по лини м 158 и 159 соответственно сигналы с первого и второго выходов регистра 24 выбора. На вторые, третьи и четвертые информационные входы п того 153 и шестого 154 мультиплексоров поступают по лини м 160 и 161, 162 и 163, 164 и 165 сигналы с третьего и четвертого, п того и шестого, седьмого и восьмого выходов регистра 24 выбора соответственно . Выходы п того 153 и шестого 154 мультиплексоров подключены к первому и второму входам дешифратора 156. Таким образом, на одном из выходов дешифратора 156 по вл етс сигнал адреса . Сигнал на первом выходе дешифратора 156 - запрос от первого канала; на втором - от второго канала; на третьем - от третьего канала; на четвертом - от четвертого канала. Полученна с выходов дешифратора 156 информаци принимаетс по синхросигналу в регистр 135 хранени и далее эта информаци вьщаетс через информационный выход 137 в блок 17 управле1 Имеетс блок 19 согласовани , бу ферна пам ть 95 данных, котора име ет две зоны заполнени данными. Емкость каждой из зон соответствует разр дности оперативной пам ти. В рассматриваемом случае она равна , двойному слову. Ширина разр дности буферной пам ти соответствует разр д ности информационного тракта процессора , который в рассматриваемом случае равен одкому слову и через тракты которого канал обмениваетс данными с оперативной пам тью. Код операции, выполн емой блоком 19 согласовани , находитс в регистре 108 кода операции. Сигнал с второ го выхода дешифратора 109 определ ет , что в блоке согласовани выполн етс операци записи. Сигнал с первого выхода дешифратора определ ет , что в блоке согласовани выполн етс операци чтени . . При выполнении чтени данные из периферийного устройства побайтно с информационного входа - выхода блока 19 согласовани через коммута тор 104 поступают в регистр 94 данных . Из регистра 94 данных через пер вую группу 110 элементов И-ИЛИ данные записываютс в буферную пам ть 95 данных по адресу с выхода второй группы 111 элементов И-ИЛИ. Если триггер 107 зан тости группы сброшен, то после накоплени двойного слова пам ти производитс сначала считывание первого слова из буферной пам ти и передача его через информационный выход блока согласовани , вторую группу 20 элементов И-ИЛИ, первую группу 15 регистров во вторую группу 16 регистров, затем считывание слова и передача его в первую группу 15 регистров. После заполнени регистров устанавливаетс в единичное состо ние триг.гер 107 зан тости группы регистров. Дл определени чтени в этом случае третьим элементом И-ИЛИ 114 выра батываетс запрос на передачу данных который через выход запроса блока 19 согласовани поступает на вход блока 18 приоритета запросов. При операции записи во врем второго цикла переда чи данных соответствующего канала по сигналу, поступающему на вход разрешени блока согласовани , устанавливаетс триггер 107 зан тости группы регистров, фиксирующий наличие дан7 ных, прин тых из оперативной пам ти в первый 15 и второй 16 регистры соответствующего канала. Если в буфер ной пам ти 95 данных одна из зон свободна, то происходит передача сначала первого слова данных из второй группы регистров 16, а затем второго слова данных через второй информационный вход блока 19 согласовани , первую группу 110 элемента И-ИЛИ в буферную пам ть 95 данных. Данные из буферной пам ти 95 данных через второй информационный вход коммутатора 104 поступают в регистр 94 данных, откуда выдаютс на информационный выход блока согласовани под управлением узла 105 обмена по интерфейсу и триггера 106 зан тости регистра данных. При операции записи запрос на передачу данных устанавливаетс с помощью третьего элемента И-ИЛИ 114, если триггер 107 зан тости группы регистров сброшен. Сигнал операции чтени с первого выхода дешифратора 109 и сигнал операции записи с второго выхода дещифратора 109 подаютс соответственно через выходы 129 чтени и 128 записи блока 19 согласовани на группу 20 элегентов И-ШШ, управл ющие направлением загрузки первой 15 и второй 16 групп регистров, и на блок 17 управлени . Дл управлени адресацией буфера данных используетс триггер 96 обращени интерфейса. Если триггер 96 обращени интерфейса сброшен, то выполнение обмена данными между буферной пам тью данных и группой регистров адресации, буферной пам тью до зоны двойного слова происходит с помощью триггера 99 выбора буфера процессора, а до слова - с помощью триггера 100 номера слова. Триггер 100 номера слова во врем передачи двойного слова переключаетс . Если триггер 96 обращени интерфейса установлен, то может выполн тьс обмен между буферной пам тью 95 данных и регистром 94 дан- . ных. При этом адресаци зоны происходит с помощью триггера 97 выбора буфера интерфейса, а слова и байта внутри слова - с помощью трехразр дного счетчика 98 адреса байтов. Двухразр дный счетчик 101 двойных слов указывает количество двойных слов в буферной.пам ти 95 данных. Во врем операции записи он показывает количество незаполненных двойных слов 1 в буферной пам ти 95 данных, во врем операции чтени - количество заполненных двойных слов, В начале операции записи счетчик устанавливаетс на 2 (два двойных слова не заполнено ) и во врем передачи двойного слова из групп 15 и 16 регистров уменьшаетс . После передачи двойного слова через интерфейс счетчик 101 двойных слов увеличиваетс . Б начале операции чтени счетчик устанавливаетс в О и при обмене данными соот ветственно модифицируетс . Управление последовательностью работы оборудовани блока 19 согласо вани во врем передачи данных между буферной пам тью 95 данных и регистром 94 осуществл етс с помощью второго синхронизатора 103. Управление передачей между буферной пам тью 95 данных и группами 15 и 16 регистров производитс первым синхронизатором 102. Первый синхронизатор 102 вырабатывает стробы загрузки первой 15 и второй 16 групп регистров соответствующего канала, которые поступают соответственно при передаче данных в буферную пам ть или из буферной пам ти на первый и второй синхровходы блока 19 согласовани . Запуск второ го син. о.газатора 103 производитс через э. V ент И-ИЛИ-НЕ 118, а запуск пе, го синхронизатора 102 через п и элемент И-ИЛИ 116. Запр сы от всч-х блоков 19 согласовани поступают на блок 18 приоритета запросов и далее при помопщ регистра 24 выбора, блока 25 формировани определ етс наиболее приоритетный из них и из блока 18 передаетс в блок 17 управлени , в котором устанавливаетс триггер 54 передачи дан ных и один из группы триггеров 55 и 56 передачи данных каналов, которые указывают, какой блок 19 согласовани будет производить обмен дан ными . На вход блока 17 управлен и на вторую группу входов из блоков 19 согласовани поступает код операции который используетс дл аппаратурного формировани микрокоманды обра щени к оперативной пам ти на первой группе элементов И 57 и 58 и вт ром элементе ИЛИ 59, с выхода второ го микрокоманда поступает на вход режима блока 1 микропрограммного уп равлени , в регистр 28 микрокоманд 7 через первую группу 35 элементов -ИЛИ. При этом потенциалом с триггера 55 передачи данных блока 17 управлени блокируетс прием микрокоманд из пам ти 26 микрокоманд блока 1 микропрограммного управлени на первой группе 35 элементов И-ИЛИ и пропускаетс команда из блока 17 управлени , в ходе выполнени которой должен производитьс обмен данными между оперативной пам тью и первой 15 и второй 16 группами регистров через внутренние тракты процессора. Дл управлени прохождением данных блок 17 управлени вырабатывает последовательность сигналов с выхода триггера 64 запроса передачи данных, триггера 65 первого цикла передачи, триггера 66 промежуточного цикла передачи, триггера 67 второго цикла передачи, а дл управлени первой 15 и второй 16 группами регистров с выходов первой группы элементов И-ИЛИ 76 и 77 и второй группы элементов И-ИЛИ 78 и 79. Микрокоманда Пам ть выполн етс в два цикла. В первом цикле пам ти готов тс адрес данных и в случае записи в пам ть записываемые данные. Чтение и запись производ тс в паузе между первым и вторым циклами. Длительность паузы зависит от времени обращени к пам ти. Это врем намного превосходит первый и второй циклы пам ти. Во втором цикле пам ти в слу-чае считывани выбираютс данные из пам ти и пересьшсиотс через внутренние тракты процессора в первую 15 и вторую 16 группы регистров. Триггер 64 запроса передачи данных блока 17 используетс дл запуска циклов аппаратурно сформированной микрокоманды Пам ть, Блок 18 приоритета запросов , а также регистр 24 выбора и блок 25 формировани предназначены дл выбора наиболее приоритетного из каналов. Коммутатор 14 предназначен дл выбора данных из оперативной пам ти или регистра 34 результата блока 1 микропрограммного управлени и представл ет собой группу элементов ИИЛИ . На временной диаграмме (фиг. 7) работы устройства дл обмена данными между группой каналов вйОда - вывода и оперативной пам тью дл выполнени микрокоманды Пам ть при обращении к ней процессора прин ты следующие обозначени : d- синхронизаци ; Sприем в первый регистр 31 адреса оперативной пам ти; 6- прием двойно го слова данных в выходной регистр 4 I запись в местную пам ть 30 модифицированного адреса оперативной пам ти; 5- выдача первого слова, данных с первой группы 5 элементов И-ИЛИ; е- выход третьего триггера 9 тк: - выдача второго слова данных с первой группы 5 элементов И-ИЛИ; з управление коммутатором 14 на выбор данных из оперативной пам ти; и - за пись первого слова данных; к - запис второго слова данных. Устройство дл обмена данными меж ДУ группой каналов .ввода, - вывода и оперативной пам тью дл выполнени микрокоманды Пам ть при обращении к ней процессора работает следующим образом. Из пам ти 26 микрокоманд блока 1 микропрограммного управлени по адресу из регистра 27 адреса чере первую группу 35 элементов И-ИЛИ в регистр 28 микрокоманд заноситс мик рокоманда, поступагоща на дешифратор 29, с седьмого выхода которого в местную пам ть 30 подаетс адрес, по которому на первый регистр 31 считы ваетс адрес данных оперативной пам ти , который через адресньй выход 46 блока 1 микропрограммного управлени подаетс на адресный выход опе ративной пам ти. Двойное слово данны из оперативной пам ти заноситс в вы ходной регистр 4, из которого с помощью первой группы 5 элементов И-ИЛ на коммутатор 14 подаетс первое сло во данных.. Управление выбором нового слова осуществл етс первым элементов И-НЕ 8 по установленному первому триггеру 7, который устанавливаетс через первый элемент/И 6, по младшему биту адреса двойного слова из первого регистра 31 блока 1 микропрограммного .управлени . Адрес данных оперативной пам ти подаетс также на арифметико-логический узел 33, где он модифицируетс и через регистр 34 результата и коммутатор 14 записываетс в местную пам ть 30. После этого управление коммутатором 14 по выходу второго элемента И 13 переклю чаетс на выбор первого слова данных из оперативной пам ти. После записи первого слова данных по второму выходу дешифратора 29 блока 1 устанавливаетс третий триггер 9, который инверсным выходом на первом элементе И 6 измен ет младший бит адреса оперативной пам ти, который запоминаетс в конце выполнени микрокоманды Пам ть на первом триггере 7 и через первый элемент И-НЕ 8 измен ет управление первой группы 5 элементов И-ИЛИ на выдачу второго слова данных из выходного регистра 4 на коммутатор 14, а пр мой выход третьего триггера 9 управл ет передачей этого слова данных через коммутатор 14 на фоне выполнени следующей микропрограммы . На временной диаграмме (фиг. 8) работы устройства дл обмена данными между группой каналов ввода - вывода и оперативной пам тью дл выполнени агшаратурно сформированной микрокоманды Пам ть считывани из оперативной пам ти прин ты следующие обозначени : а- синхронизаци ; Б- выход триггера 65 первого цикла передачи; 6- выход триггера 66 промежуточного цикла передачи; г- выход триггера 67 второго цикла передачи; 3прием в первый регистр 31 адреса оперативной пам ти и счетчика байтов; е - прием двойного слова данных в выходной регистр 4; эк - выдача первого слова данных с первой группы 5 элементов И-ИЛИ; 3 выдача второго слова данных с первой группы 5 элементов И-ИЛИ; ,ч - выход второго триггера 11;. к - управление коммутатором 14 на выбор данных из оперативной пам ти; л - запись в местную пам ть 30 модифицированного адреса оперативнор пам ти и счетчика байтов; м- строб первой группы 15 регистров; н - строб второй группы 16 регистров. Устройство дл обмена данными между группой каналов и оперативной пам тью дл считывани данных из оперативной пам ти в первую 15 и вторую .16 группы регистров работает следующим образом. Из блока 17 управлени в блок 1 микропрограммного управлени в регистр 28 микрокоманд заноситс аппаратурно сформированна микрокоманда , котора поступает на дешифратор 29, с седьмого выхода которого в местную пам ть 30 подаетс адрес, по которрму на первый регистр 31 в первом цикле пам ти считываетс ад- Dfic данных оперативной пам ти, который подаетс иа адресный вход оперативной пам ти и на арифметико-логический узел 33, на котором он модифицируетс . Из оперативной пам ти в выходной регистр А считываетс двойное слово данных. Младший бит адреса оперативной пам ти, адресующий первое слово данных из первого регистра 31 блока 1 через первый элемент И 6, устанавливает первый триггер 7, который через первый злемент И-НЕ 8 управл ет выбором на первой группе 5 элементов И-ИЛИ первого слова данных которое поступает на коммутатор 14. С выхода триггера 54 передачи данных блока 17 управлени на информационный вход второго триггера 11 подаетс сигнал, который устанавливает этот триггер в начале первого цикла микро команды Пам ть, Второй триггер 1 1 управл ет передачей через коммутатор 14 первого слова данных оперативной пам ти, которое проходит через вторую группу 20 элементов И-ЯЛИ под управлением выхода записи блока 19 согласовани и через первую группу 1 регистров, так как на синхронизируюпшй вход подаетс посто нный строб и защелкиваетс во второй группе 16 регистров по стробу, сформированному на первой группе элементов И-ИЛИ 76 и 77 блока 17 управлени по сигналам с выхода группы триггеров 55 и 56 передачи данных каналов триггера 67 второго цикла передачи и синхросигна ла, Из местной пам ти 30 блока 1 микр программного управлени во втором цикле пам ти на первый регистр 31 считываетс счетчик байтов, который указывает то колшчество байтов, которое осталось передать из оперативно ; пам ти в каналы. Счетчик байтов передаетс на арифметико-логический узел 33, на котором он модифицирует с . После сброса второго триггера 11 управление коммутатором 14 переключа етс на выдачу из регистра 34 резуль тата модифицированного адреса, который записываетс в местную пам ть 30 Затем на втором элементе И-НЕ 10 по сигналу с выхода триггера 67 второго цикла передачи блока 17 и сигналу с синхровхода 21 устройства вырабатываетс сигнал, который поступает на второй вход первого элемента И-НЕ 8 и инвертирует выходы этого элемента. Таким образом, перва группа 5 элементов И-ИЛИ выбирает второе слово данных, которое через коммутатор 14 под управлением сигнала с выхода второго элемента И 13 поступает через вторую группу 20 элементов И-ИЛИ на первую группу 15 регистров, где оно и защелкиваетс по стробу, сформированному на второй группе элементов И-ИЛИ 78 по сигналам с выхода группы триггеров 55 и 56 передачи данных каналов, синхросигнала и сигнала с выхода группы триггеров 68 и 69 второго цикла передачи каналов, Запись модифицированного счетчика из регистра 34 результата блока 1 в местную пам ть 30 выполн етс на фоне выполнени следующей микрокоманды. На временной диаграмме (фиг. 9) работы устройства дл обмена данными между группой каналов ввода - вывода и оперативной пам тью дл выполнени аппаратурно сформированной команды Пам ть записи в оперативную пам ть прин ты следующие условные обозначени : р- синхронизаци ; 8- выход триггера65 первого цикла передачи; &- выход триггера 66 промежуточного цикла передачи; г- прием в первый регистр 31 адреса оперативной пам ти; д прием во второй регистр 32 данных из второй группы 16 регистров; е- прием данных во входной регистр 2; лс- строб второй группы 16 регистров; з запись в оперативную пам ть. Устройство дл обмена данными между группой каналов ввода - вывода и оперативной пам тью дл записи даннь1х из первой 15 и второй 16 групп регистров в оперативную пам ть работает следующим образом. Со второго информационного выхода группы 16 регистров в блок микропрограммного управлени во второй регистр 32 через вторую 36 группу элементов И-ИЛИ под управлением сигнала с выхода триггера 54 передачи данных блока 17 управлени принимаетс первое слово данных по стробу с выхода первого элемента И-ИЛИ 74 блока 17 управлени , который перерабатываетс по синхросигналу. После приема первого слова во второй регистр 32 блока 1 данные через первый информационный выход 47 блока 1 подаютс на входной регистр 2, где они принимаютс по стробу, сформированному на втором элементе И-ИЛИ 75 блока 17, который Бы1 абатываетс по синхросигналу и третьему управл ющему выходу блока 1 После, приема первого слова данных во входной регистр 2 второе слово данных из первой группы 15 регистров переписываетс во вторую группу 16 регистров по стробу с выхода первой группы элементов И-ИЛИ 76 и 77 блока 17, сформированного по сигналам с выхода группы триггеров 55 и 56 пе редачи данных каналов триггера 65 первог цикла передачи и синхросигнала . С выхода второй группы 16 регистров второе слово данных записываетс во второй регистр 32 блока 1 через вторую группу 36 элементов И-ИПИ по стробу с выхода первого элемента И-ИЛИ.74 блока 17, сформированного по сигналам с выхода триггера 54 передачи данных, триггера 65 первого цикла передачи и синхросигна ла, С выхода второго регистра 32 бло ка 1 второе словоданных поступает н входной регистр 2, на котором оно защелкиваетс по стробу с выхода вто рого элемента И-ИЛИ 75 блока 17, 1 сформированного по сигналам с выхода триггера передачи данных и синхронизирующему сигналу. Из местной пам ти 30 блока 1 считываетс адрес, которы через первый регистр 31 передаетс на адресный выход оперативной пам ти По первому выходу дешифратора 29 бло ка 1 на элементе И 37 вырабатывает(; строб записи в оперативную пам ть, который подаеус в оперативную пам ть 3. Устройство дл обмена данными меж ду группой каналов ввода--- вывода и оперативной пам тью дл выбора и назначени соответствующего приорите каналу ввод - вывода из группы каналов, выставивших запросы на организацию передачи данных между группой каналов и оперативной пам тью, работает следующим образом. При подключении определенной конфигурации периферийных устройств к группе каналов ввода-вывода на группе регистров 23 фиксации вручную,(или каким-либо другим способом) при помощи коммутационных переключателей дл каждого периферийного устройства, подключенного к соответствующему каналу вводавывода , устанавливаетс информаци , котора в рассматриваемом случае характеризуетс двухразр дным словом и котора определ ет приоритетность канала ввода-вывода, если этот канал организовывает св зь дл обмена байтами данных с периферийным устройством . Например, если прин ть в качестве приоритета 1 (высший приоритет) комбинацию двух разр дов слово 00, а в качестве приоритета 4 (низший) 11, тогда если дл св зи периферийного 16-го устройства с адресом с I-м каналом высший приоритет необходим по отношению к другим каналам из группы каналов, то в шестнадцатом двухразр дном регистре 23 фиксации, принадлежащего 1-му каналу, фиксируетс двухразр дный код 00. Это значит, если 1-й канал начинает св зь дл обмена данными с периферийным 16-м устройством, то дл 1-го канала устанавливаетс высший приоритет. Установка соответствующего приоритета дл любого канала ввода - вывода, из группы каналов выполн етс следующим образом. В процессе выполнени команды ввода - вывода (до организации логической св зи канала с периферийным устройством) микропрограммным путем определ етс приоритет того канала, по которому необходимо выполнить команду ввода - выв9да,и ана/.изируютс установленные приоритеты всех ранее запущенных каналов из группы каналов ввода - вывода,которые еще не закончили св зь с периферийными устройствами. Если приоритет вновь запускаемого канала не пересекаетс с приоритетами ранее запущенных каналов, то: если приоритет вновь запускаемого канала свободен и если этот канал не работает, приоритет дл данного канала присваиваетс и выполнение команды/ввода - вывода пррд. стандартным образом; если приоритет вновь запускаемого канала ниже или равен приоритету этого же ранее запущенного канала, то старый приоритет этого канала сохран етс ивьшолнение комаьщыввода -выода продолжаетс стандартным образом, если приоритет вновь запускаемого канала вьшзе приоритета этого же ранее запущенного канала, то дл даного канала устанавливаетс новый риоритет и-выполнение команды ввоа - вывода продолжаетс стандартным бразом. Если приоритет вновь запускаемого анала ввода - вывода пересекаетс с приоритетом одного из запущенных ранее каналов ввода вывода, то: если есть свободный более высокий приоритет, то этот приоритет присваи ваетс вновь запускаемому каналу и выполнение команды ввода - вырода продолжаетс , стандартным образом; если все более высокие приоритеты зан ты, то выполнение команды ввода вывода прекращаетс и формируетс признак результата, который говорит о том, что канал зан т. При этом запоминаетс условие, по которому после того, как канал ввода - вывода, приоритет которого оказалс таким же который требовалс дл вновь запускаемого канала, закончит начатую св зь со всеми периферийными устройствами , будет организовано повторное вьтолнение команды ввода - вывода по ранее неудачно запускавшемус каналу ввода - вывода. При повторном вьшолнении команды ввода - вывода описанное микропрограммное назначение приоритета вновь запускаемому каналу ввода вывода повтор етс . Рассмотрим назначение приоритета дл конкретного канала ввода - вывода В процессе выполнени .команды ввода вывода ,,в которой указываетс номер канала (например, З-й) и адрес периферийного устройства (например, 13-е), с которым канал должен св затьс дл организации передачи данных , микропрограммно определ етс приоритет 3-го канала, который необходимо ему установить, чтобы организовать правильную передачу данных между 3-м каналом и 13-м периферийным устройством. Дл этой цели по микрокоманде, продешифрированной на де-пифраторе 29 (сигнал с восьмого вы хода дешифратора, который клапанируе по п тому входу элемент И-ИЛИ группы 36), с тринадцатого регистра 23 фиксации , принадлежащего 3-му каналу, считываетс двухразр дный код, который через третий информациоиньш вход 53, шестой вход элемента И-ИЛИ груп пы 36 стандартным образом через первый регистр 31, арифметико-логически узел 33, регистр 34 результата, вто рой управл юпщй выход 52 блока 1 ми ропрограммного управлени , через ко мутатор 14, первый информационный вход 39 блока 1 заноситс в специал ную чейку (например, чейку 1} местной пам ти 30 и там запоминаетс . По следующеймикрокоманде, продешифрированной на дешифраторе 29 (сигнал с дев гого выхода дешифратора 29, который клапанирует по седьмому входу лемент И-ИЛИ группы 36), с регистра 24 выбора считываетс восьмиразр дный код, который через второй групповой информационный вход 40, восьмой вход элемента И-ИЛИ группы 36 стандартным образом заноситс в специальную чейку (например, чейку 2) местной пам ти 30 и там запоминаетс . После считывани информации из регистра 23 фиксации и регистра 24 выбора микропрограммно выполн ютс анализы , необходимые дл назначени соответствующего приоритета дл 3-го канала . Дл этой цели используетс информаци о том, какие каналы ввода - вывода из группы каналов запущены ранее и сколько периферийных устройств при этом запущено на каждом канале. Эта информаци размещаетс в специальных чейках местной пам ти, например в чейке 3, четыре тетрады которой, адресуемые по номеру канала (00 - тетрада дл 1-го канала; 11 - тетрада дл 4-го канала), используютс дл определени активности каждого канала в зависимости от того, с каким присвоенным приоритетом он работает (бит в тетраде с адресом 00 указывает, что канал работает с высшим приоритетом, бит в. тетраде с адресом 11 - с. низшим приоритетом ). Например, в чейке 4, четыре бита (счетчика) которой определ ют , сколько периферийных устройств по каждому каналу запущено, байт с адресом 00 - дл 1-го канала, байт с адресом 11 - дл 4-го канала. Предположим, что двухразр дный код, считанный из 13-го регистра 23 фиксации, равен 01, т.е. дл 3-го канала необходимо назначить приоритет, равный 2. Прежде чем .назначить 3-му каналу приоритет 2 необходимо определить, работает ли один из каналов группы каналов с этим приоритетом или нет. Дл этой цели из чейки 4, где хранитс содержимое регистра 24 выбора, которое определ ет, какой канал с каким приО1зитетом работает (нулевой и первый биты с адресацией 00 определ ют вые- пмй приоритетканапа,номер которого записан в этих битах; шестой и седьмой биты с адресацией 11 определ ют низший приоритет канала, номер которого записан в этих битах), по адресу, который определ етс приоритетом дл 3-го канала, т.е. по адресу 01, выде л ютс второй и третий биты содержимого регистра 24 выбора. По этим битам , которые вл ютс номером канала из чейки 2 местной пам ти выбираетс соответствующа тетрада, в которой анализируетс бит активности, соответствующий приоритету 2, т.е. бит активности с адресом 01. В зависимости от результата анализа вьшолн ютс следзпощие действи . 1.Канал, номер которого указан во втором, и третьем битах содержимог регистра 24 выбора, не работает. Выполн етс анализ всех битов активнос ти тетрады дл 3-го канала. A.3-й канал не работает. Во второй и третий биты регистра 24 выбора ( чейка 4 местной пам ти) заноситс номер вновь запускаемого канала 10, что говорит о том, что 3-му каналу присвоен приоритет 2; в тетраде - ( чейка 3 местной пам ти) дл 3-го канала бит по адресу 01 устанавливаетс - в I, т.е. 3-й канал становитс активным по приоритету 2; в счетчик по адресу 10 ( чейка 4 местной пам ти ), принадлежащий 3-му каналу, добавл етс 1, т.е. фиксируетс , что по 3-му каналу запущено одно периферийное устройство. Б. 3-й канал работает, и его приоритет выше или равен приоритету вновь запускаемого 3-го канала. Приоритет 3-го канала не измен етс . В счетчик 3 (адрес 10) добавл етс 1 т.е. фиксируетс , что по 3-му каналу запущено еще одно периферийное устройство . B.3-й канал работает, и его приоритет ниже приоритета вновь запускаемого 3-го канала. Приоритет канала устанавливаетс новый. Активность 3-го канала по старому приоритету снимаетс и устанавливаетс активность 3-го канала с присвоенным приоритетом 2. В счетчик 3 (адрес 10 добавл етс 1, т.е. фиксируетс , что по 3-му каналу запущено еще одно .периферийное устройство. 2.Канал, номер которого указан во втором и третьем битах содержимого регистра 24 выбора, работает. 3-й канал не работает. В этом случае анализируетс , есть ли свободные, более высокие приоритеты, в частности свободен ли приоритет 1. Это вьтолн етс путем анализа активности того канала, номер которого определ етс содержимым нулевого и первого битов регистра 24 выбора ( чейка 2 местной пам ти). А. Ни один канал с приоритетом 1 не работает, В нулевой и первый биты содержимого регистра 24 выбора заноситс номер вновь запускаемого канала (10), что говорит о том, что 3-му, каналу присвоен приоритет 1; в тетраде 3 по адресу 00 устанавливаетс бит активности 3-го канала, т.е. 3-й канал становитс активным по приоритету I ; в счетчик 3-го канала добавл етс 1, т.е. фиксируетс , что по 3-му аналу запущено одно периферийное устройство. Б. Один из каналов с приоритетом I работает. Выполнение команды ввода - вывода прекращаетс . Микропро- граммно формируетс признак результата ,который говорит о том,что по 3-му каналу 13-е периферийное устройство запустить нельз . Вместе с этим в местной пам ти запоминаетс информаци о том, что по 3-му каналу с приоритетом 2 выполнение команды ввода - вывода было безуспешным. Эта информаци в дальнейшем анализируетс каждый раз, когда один из каналов группы каналов ввода - вывода освобождаетс . Если канал, закончивший работу, имеет приоритет выше или одинаковый (в рассматриваемом случае приоритеты 1 или 2), то по 3-му каналу микропрограммно формируетс прерывание, по которому повторно выполн етс попытка запуска 13-го периферийного устройства по 3-му каналу. Информаци , запомненна в местной пам ти о безуспешной попытке запуска 13-го периферийного устройства по 3-мз каналу , при этом уничтожаетс . 3. Канал, номер которого указан во втором и третьем битах содержимого регистра 24 выбора, работает. 3-й канал также работает. В этом случае анализируетс установленный приоритет дл 3-го канала. Это выполн етс путем вы влени в тетраде 3 адреса установленного бита активности 3-го канала ( чейка 3 местной пам ти). А, Дл 3-го канала установлен такой же или более высокий нриоритет, чем TOTj который трабуетс дл вновь запускаемого периферийного устройства по 3-му каналу. В этом случае в счетчик 3 ( чейка 4 местной пам ти) З-го канала добавл етс 1, т.е. фиксируетс ; что по 3-му каналу запуа ено еще одно устройство. Б. Дл канала установлен более низкий приоритет,, чем тот, который требуетс дл вновь запускаемого 13-то устройства по 3-му каналу. Анализируетс - ,, свободен ли более высокий приоритет, чем тот, который требуетс дл вновь запускаемого 3 го канала (в рассматриваемом случае приоритет 1 .) Если он свободен,, 3-му каналу присваиваетс приоритет 1, бит активности но более низкому приорите ту сбрасываетс у а бит активности 3--ГО канала в тетраде 3 по приоритету 1 устанавливаетс . Если приоритет 1 зан т, выполн ет с описанный подпункт Б 2-го пункта. После присвоени 3-му каналу нужного приоричета содержимое регистра 24 выбора из чейки 2 местной пам ти 30 перепршываетс в регистр 24 выбора. Пересылка выпо1П етс микропрограммно стандартным образом через элемент И-ИЛИ группы 36 и далее чере первый регистр 31, арифметико-логический узел 33, регистр 34 результата , второй управл юший выход 52, ком мутатор 14, с выхода которого информаци ПС сигналу с дес того выхода дешифратора 29 через выкод 166 занесени записываетс в регистр 24 выбора . После присвоени нужного приорите та каналу ввода - вывода и записи информации в регистр 24 выбора и в слу , ,е возникновени запросов от группы каналов ввода - выво,цана обмен данны ми с оперативной пам тью выбор наибо лее приоритетного на данный момент времени канала из группы каналов выполн етс на мультиплексорах 149-152 путем подачи на адресный вход мульти плексора 149 но лини м 158 и 159 управл ющих сигналов с нулевого и пер вого выходов periicTpa 24 выбора; н.а адресный вход мультиплексора 150 по лини м 160 и 161 - с второго и третьего выходов регистра 24 выбора; на адресный вход мультинлексора 151 но лини м J62 и 163 -- с четвертого и п того выходов регистра 24 выбора; на адресный вход, мультиплексора 152 по лини м 164 и 165 с шестого и седьмого выходов регистра 24 выбора. Таким образом, сигнал запроса с выхода мультиллексора 149 (лини 139) имеет всегда самый высокий приоритет, а сигнал запроса с выхода мультинлексора 52 (лини 142) имеет всегда самый низкий приори7 ет, В блоке 18 приоритета запросов стандартным образом выбираетс наиболее приоритетный запрос из всех запросов , выставленг ых грешной каналов ввода - вывода, при помоши триггеров 130-1 33и приорите:тного шифратора 134. При этом с первого и второго выходов приоритетного шифратора 134 снимаетс номер о,г,ного из мул)зтиплексорОЕ 149-152, снгнал занроса с выхода которого на момент ггриема запросов на триггеры 130-133 но сипхрои пульсу подсинхронизации, поступающего на синхровходы триггеров 130-133 с синхроззхода 21 5 вл ете самым приоритетньи„ Дл определени , какому каь:алу ввода - выБО,цз принадлежит самый приоритетньй запрос, используютс два мультиплексора 153 и 154 и дешифратор 156. Па первые входы мультиплексоров 153 и 154 подаетс лини м 158 и 159 соответственно помер того канала, который подаетс на адресные ,входы мультиплексора 149, на вторые входы мультиплексоров 153 и 154 соответственно номер того канала, ко торый подаетс на адресный вход мультиплексора и т.д. Таким образом,, с . выходов муль-типле.тссоров , 1 53 и 154 снимаетс номер того канала, запрос которого на данньп- момент времени вл етс самым приоритетньм. Этот номер санала дешифр -1руетс на -дешифраторе 156, с выходов которого снимаетс один ИЗ сигналов запроса; с первого выхода - дл первого канала, с Второго выхода - дл второго канала и т,д. Эти ,запросл запоминаютс по синхроимпульсу в регистре 135 хранени , с выхода которого запросы по информационному выходу 137 поступают в блок 17Управлеии и там обрабатываютс стандартным образом. Ф о р м у Устройство дл обмена данными между группой каналов внода-вывода и The device works as follows. lines 139-142, respectively, arrive at the group control input 138 of the block and then through the group control input 138 of the priority 18 block 18 requests for the information inputs of the trigger 130-133, Thus, at the first and second outputs of the priority equalizer 134 on the lines 144 and 145 a two-digit code of the number of the most priority signal is obtained, which is formed by the request signals from a group of channels received at the information inputs of multiplexers 149-152; The first, second and third outputs of the priority encoder 134 are through lines 144146 respectively via the group control output I43 of the block enters the group control input 143 of block 25. formation. The signal on line 146 is fed to the element HE 155, the signal from which is fed to the control inputs of the fifth 153 and sixth 554 multiplexers, allowing the operation of these multiplexers. The signals on lines 144 and 145 are sent to the two-bit address inputs of an additional 153 and sixth 154 multiplexers. The first information inputs of the fifth 153 and sixth 154 multiplexers are received via lines 158 and 159, respectively, from the first and second outputs of the selection register 24. The second, third and fourth information inputs of the fifth 153 and sixth 154 multiplexers are received via lines 160 and 161, 162 and 163, 164 and 165 signals from the third and fourth, fifth and sixth, seventh and eighth outputs of the selection register 24, respectively. The outputs of the fifth 153 and sixth 154 multiplexers are connected to the first and second inputs of the decoder 156. Thus, an address signal appears at one of the outputs of the decoder 156. The signal at the first output of the decoder 156 is a request from the first channel; on the second - from the second channel; on the third - from the third channel; on the fourth - from the fourth channel. The information received from the outputs of the decoder 156 is received via the synchronization signal into the storage register 135 and then this information is transmitted via the information output 137 to the control block 17. There is a matching block 19, a data buffer 95, which has two data fill zones. The capacity of each of the zones corresponds to the size of the RAM. In this case, it is equal to a double word. The width of the buffer memory corresponds to the width of the information path of the processor, which in this case is equal to one word and through the paths of which the channel exchanges data with the RAM. The operation code executed by matching unit 19 is in operation code register 108. The signal from the second output of the decoder 109 determines that a write operation is performed in the matching unit. The signal from the first output of the decoder determines that a read operation is performed in the matching unit. . When reading is performed, data from the peripheral device is byte-byte from the information input - output of the matching unit 19 via the switch 104 being transferred to the data register 94. From the data register 94, through the first group of 110 AND-OR elements, the data is recorded in the buffer memory 95 data at the output from the second group 111 of the AND-OR elements. If the group trigger 107 is reset, after accumulating a double word of memory, the first word is first read from the buffer memory and transmitted through the information output of the matching unit, the second group 20 of AND-OR elements, the first group 15 of registers to the second group 16 of registers then read the word and transfer it to the first group of 15 registers. After the registers are filled, the trigger is set to one. hers 107 is occupied by a group of registers. To determine the reading in this case, the third element AND-OR 114 generates a request for data transfer which, through the output of the request of the matching unit 19, arrives at the input of the request priority unit 18. During a write operation, during the second data transfer cycle of the corresponding channel, a trigger group 107 is set by a signal received at the resolution input of the matching unit, registering the presence of data received from the main memory into the first 15 and second 16 registers of the corresponding channel . If one of the zones is free in the data buffer memory 95, the first data word from the second group of registers 16 and then the second data word is transferred through the second information input of the matching unit 19, the first group 110 of the AND-OR element to the buffer memory 95 data. Data from the buffer memory 95 data through the second information input of the switch 104 enters the data register 94, from where they are output to the information output of the matching unit under the control of the exchange node 105 via the interface and the data register trigger 106. During a write operation, the request for data transfer is established using the third AND-OR 114 element if the trigger 107 for the group of registers is cleared. The read operation signal from the first output of the decoder 109 and the write operation signal from the second output of the decryptor 109 are supplied respectively via the read outputs 129 and 128 records of the matching unit 19 to a group of 20 I-NLs controlling the load direction of the first 15 and second 16 groups of registers, and on control block 17. An interface access trigger 96 is used to control the data buffer addressing. If the interface reset trigger 96 is reset, data exchange between the buffer data memory and the address register group, the buffer memory to the double word zone is performed using the processor buffer trigger 99, and before the word using the word number trigger 100. The word number trigger 100 during the transmission of the double word is switched. If the interface access trigger 96 is set, then an exchange between the buffer memory 95 data and the data register 94 can be performed. of In this case, the zone is addressed using the interface selection buffer trigger 97, and the words and bytes inside the word are triggered by the byte address counter 98. A two-bit double word counter 101 indicates the number of double words in the buffer. memory 95 data. During the write operation, it shows the number of empty double words 1 in the buffer memory 95 data, during the read operation the number of filled double words. At the beginning of the write operation the counter is set to 2 (two double words not filled) and during the transfer of the double word from register groups 15 and 16 are decreasing. After transmitting a double word through an interface, the double word counter 101 is enlarged. At the beginning of the read operation, the counter is set to O and is modified accordingly when exchanging data. The operation sequence of the equipment of the matching unit 19 during data transfer between the buffer memory 95 of the data and the register 94 is performed using the second synchronizer 103. Transmission between data buffer memory 95 and register groups 15 and 16 is controlled by the first synchronizer 102. The first synchronizer 102 generates the load gates of the first 15 and second 16 groups of registers of the corresponding channel, which are received respectively when transferring data to the buffer memory or from the buffer memory to the first and second synchronization inputs of the matching unit 19. Run the second syn. about. gasator 103 is produced via e. V ent AND-OR-NOT 118, and the launch of ne, th synchronizer 102 through n and the element AND-OR 116. Requests from all the matching blocks 19 are sent to the request priority block 18 and then with the help of the selection register 24, the priority block is determined by the formation block 25 and transferred from the block 18 to the control block 17, in which the data transfer trigger 54 is set and one of the group of data channel triggers 55 and 56, which indicate which matching unit 19 will exchange data. The input of block 17 is managed and the second group of inputs from matching blocks 19 receives an operation code that is used for instrumental generation of a microcommand for memory access on the first group of elements 57 and 58 and in the element OR 59, the output of the second microcommand enters to the input of the mode of the microprogram control block 1, to the register 28 micro-commands 7 through the first group of 35 elements -OR. In this case, the potential from the data transfer trigger 55 of control unit 17 blocks the reception of micro-commands from memory 26 of micro-commands of microprogram control unit 1 on the first group 35 of AND-OR elements and passes a command from control block 17, during which the data must be exchanged between operational memory Tew and the first 15 and second 16 groups of registers through the internal paths of the processor. To control the data flow, the control unit 17 generates a sequence of signals from the output of a data request trigger 64, a trigger 65 for the first transmission cycle, an intermediate transmission cycle trigger 66, a second transmission cycle trigger 67, and for control of the first 15 and second 16 groups of registers from the outputs of the first group elements AND-OR 76 and 77 and the second group of elements AND-OR 78 and 79. The microcommand Memory is executed in two cycles. In the first cycle of the memory, the data address is prepared and in the case of writing to the memory the recorded data. The reading and writing is done in the pause between the first and second cycles. The length of the pause depends on the time it takes to access the memory. This time is much longer than the first and second memory cycles. In the second cycle of memory, in the case of reading, data from the memory and transfer through the internal paths of the processor to the first 15 and second 16 groups of registers are selected. A data request request trigger 64 of block 17 is used to start the cycles of the hardware-formed microcommand Memory, Request Priority Block 18, as well as the selection register 24 and generation block 25 are designed to select the most priority channel. The switch 14 is designed to select data from the main memory or the register 34 of the result of the firmware control unit 1 and is a group of ORS elements. In the timing diagram (FIG. 7) the operation of the device for data exchange between a group of iRODE channels and random access memory for execution of the microcommand. When the processor is accessed by the processor, the following symbols are used: d- synchronization; Taking in the first register 31 addresses of the RAM; 6- reception of the double data word in the output register 4; I write to the local memory 30 of the modified address of the operational memory; 5- issue of the first word, given from the first group of 5 elements AND-OR; e- output of the third trigger 9 mc: - outputting the second data word from the first group of 5 AND-OR elements; control switch 14 to select data from the main memory; and - for writing the first word of the data; k - write the second data word. A device for exchanging data between a remote channel group. input, output, and RAM to execute a microcommand. When a processor accesses it, the processor works as follows. From the memory 26 of the micro-commands of the microprogram control unit 1, the address from the register 27 of the address through the first group of 35 AND-OR elements is entered into the micro-command of the microcomputer register 28 by the decoder 29, from the seventh output of which the local memory 30 is fed the address by which The first register 31 reads the address of the RAM data, which through the address output 46 of the microprogram control unit 1 is fed to the address output of the RAM. The double word data from the RAM is entered into the output register 4, from which the first data layer is fed to the switch 14 using the first group of 5 I-IL elements. . The selection of a new word is controlled by the first AND-NE 8 elements according to the established first trigger 7, which is established via the first element / AND 6, by the least significant bit of the double word address from the first register 31 of microprogram block 1. management The address of the RAM data is also supplied to the arithmetic logic unit 33, where it is modified and through the result register 34 and the switch 14 is recorded in the local memory 30. After that, the control of the switch 14 at the output of the second element And 13 is switched to the selection of the first word of data from the operational memory. After writing the first data word, the second output of the decoder 29 of block 1 sets the third trigger 9, which inverse output on the first element And 6 changes the low bit of the address of the working memory, which is stored at the end of the execution of the microcommand Memory on the first trigger 7 and through the first element The IS-NE 8 changes the control of the first group 5 of the AND-OR elements to output the second data word from the output register 4 to the switch 14, and the direct output of the third trigger 9 controls the transmission of this data word through the switch 14 against the background of For the next firmware. In the timing diagram (FIG. 8) the operation of the device for exchanging data between the I / O channel group and the RAM for performing the micro-command of the microcommand. Memory read from the main memory is used the following symbols: a - synchronization; B - trigger output 65 of the first transmission cycle; 6 output trigger 66 intermediate transfer cycle; g - trigger output 67 of the second transmission cycle; 3 reception in the first register 31 of the memory address and byte counter; e - receiving a double data word in the output register 4; eq - issue of the first data word from the first group of 5 AND-OR elements; 3 issuance of the second data word from the first group of 5 elements AND-OR; , h - the output of the second trigger 11 ;. K - control switch 14 to select data from RAM; l - record in the local memory 30 of the modified address memory memory and byte counter; m-strobe of the first group of 15 registers; n - the gate of the second group of 16 registers. A device for exchanging data between a group of channels and RAM for reading data from RAM into the first 15 and second. 16 groups of registers works as follows. From control block 17 to microprogram control block 1, micro-command register 28 is entered into an instrumented micro-command that goes to decoder 29, from the seventh output of which the local memory 30 is fed to the first register 31 in the first cycle of memory is read Dfic data of the RAM, which is supplied to the address input of the RAM, and to the arithmetic logic unit 33, on which it is modified. From the memory into the output register A, a double data word is read. The low-order bit of the RAM address, addressing the first data word from the first register 31 of block 1 through the first element AND 6, sets the first trigger 7, which through the first AND-NO element 8 controls the selection of the first data word on the first group of 5 AND-OR elements which arrives at the switch 14. From the output of the data transfer trigger 54 of the control unit 17 to the information input of the second trigger 11, a signal is set that sets this trigger at the beginning of the first cycle of the Micro Memory command. The second trigger 1 1 controls the transfer of the first word of RAM data through the switch 14 through the second group of 20 I-YAL elements under the control of the write output of the matching unit 19 and through the first group 1 of registers, since a constant gate is applied to the synchronizing input and latched in the second group 16 registers with the coffin formed on the first group of elements AND-OR 76 and 77 of the control block 17 by signals from the output of the group of flip-flops 55 and 56 of the data transmission channels of the flip-flop 67 of the second transmission cycle and synchronization signal the memory on the first register 31 is read by the byte counter, which indicates the amount of bytes that remains to be transferred from the operational; memory channels. The byte counter is transmitted to the arithmetic logic unit 33 on which it modifies c. After resetting the second trigger 11, the control of the switch 14 is switched to issuing from register 34 the result of the modified address, which is recorded in the local memory 30 Then on the second AND-NE element 10 according to the signal from the output of the trigger 67 of the second transmission cycle of block 17 and the signal from the synchronous input 21 of the device, a signal is generated which is fed to the second input of the first element NAND 8 and inverts the outputs of this element. Thus, the first group of 5 AND-OR elements selects the second data word, which through the switch 14 under the control of the signal from the output of the second element AND 13 enters through the second group of 20 AND-OR elements to the first group of 15 registers, where it is latched along the gate, formed on the second group of elements AND-OR 78 according to the signals from the output of the group of trigger data 55 and 56 for the transmission of channel data, the clock signal and the output signal for the group of trigger elements 68 and 69 of the second channel transmission cycle, Recording the modified counter from the register 34 of the block result 1 to the local memory 30 is performed against the background of the following microcommand. In the timing diagram (FIG. 9) the operation of the device for exchanging data between the I / O channel group and the operational memory for executing an instrumented command. The following symbols are used in the operational memory: p-synchronization; 8- trigger output65 of the first transmission cycle; & - output of the intermediate transfer trigger 66; d - reception in the first register 31 of the memory address; d the reception in the second register 32 of the data from the second group of 16 registers; e- receiving data in input register 2; ls-strobe second group 16 registers; Record in the RAM. A device for exchanging data between a group of I / O channels and random access memory for writing data from the first 15 and second 16 groups of registers into the operational memory works as follows. From the second information output of the group 16 of registers to the firmware control block to the second register 32, through the second 36 group of AND-OR elements, under the control of the signal from the output of the data transfer trigger 54 of the control block 17, the first gate data word is received from the output of the first AND-74 block 74 17, which is processed on a clock signal. After receiving the first word in the second register 32 of block 1, the data is transmitted through the first information output 47 of block 1 to input register 2, where they are received via a gate formed on the second AND-OR element 75 of block 17, which B1 is abated by a sync signal and a third control output of block 1 After receiving the first data word in input register 2, the second data word from the first group of 15 registers is rewritten into the second group of 16 registers by strobe from the output of the first group of elements AND-OR 76 and 77 of block 17, generated from the output signals Trigger groups 55 and 56 of the data transmission of trigger channels 65 of the first transmission cycle and clock signal. From the output of the second group of 16 registers, the second data word is recorded in the second register 32 of block 1 via the second group of 36 I-IPI elements along the gate from the output of the first AND-OR element. 74 of the block 17 generated by the signals from the output of the data transfer trigger 54, the trigger 65 of the first transmission cycle and the sync signal. From the output of the second register 32 of block 1, the second word data is sent to input register 2, on which it is latched along the gate from the output of the second element AND-OR 75 of the block 17, 1 formed on the signals from the output of the trigger data and the clock signal. From the local memory 30 of block 1, the address is read, which through the first register 31 is transferred to the address output of the RAM. On the first output of the decoder 29, the block 1 on the AND 37 element generates (; write strobe into the RAM, which is fed into the RAM 3 A device for exchanging data between a group of input-output channels and random-access memory to select and assign an appropriate priority to an input-output channel from a group of channels that have made requests for organizing data transfer between a group of channels and random-access memory, works as follows. When a specific configuration of peripheral devices is connected to a group of I / O channels on a group of latching registers 23, manually, (or in some other way) using information switches for each peripheral device connected to the corresponding input / output channel, the information is defined a two-bit word and which prioritizes an I / O channel if this channel communicates to exchange data bytes with peripherals m device. For example, if you take the combination of two bits as word 00 as priority 1 (highest priority) and 11 as the priority 4 (lowest), then if to connect the peripheral 16th device to the address with the I channel, the highest priority is needed with respect to the other channels of the channel group, the two-bit code 00 is fixed in the sixteenth two-bit latch register 23 belonging to the 1st channel. This means that if the 1st channel starts communication for data exchange with the peripheral 16th device, then for the 1st channel the highest priority is set. Setting the appropriate priority for any I / O channel from a group of channels is performed as follows. During the execution of an I / O command (before establishing a logical connection between the channel and the peripheral device), the firmware determines the priority of the channel on which the input command is to be executed — and / and. The established priorities of all previously started channels from the I / O channel group that have not yet completed communication with peripheral devices are modified. If the priority of the newly launched channel does not intersect with the priorities of the previously started channels, then: if the priority of the newly launched channel is free and if this channel does not work, the priority for the given channel is assigned and the execution of the command / input-output pred. in the standard way; if the priority of a newly started channel is lower than or equal to the priority of the same previously started channel, then the old priority of this channel is maintained. The output of the output output card continues in the standard way, if the priority of the newly started channel is higher than the priority of the same previously started channel, and the execution of the input - output command continues with standard braz. If the priority of the newly started input-output channel intersects with the priority of one of the previously started input-output channels, then: if there is a free higher priority, then this priority is assigned to the newly started channel and the execution of the input-degenerate command continues, in a standard way; if all higher priorities are occupied, then the execution of the I / O command is terminated and a result indication is generated that indicates that the channel is busy. At that, the condition is remembered that after the I / O channel, the priority of which turned out to be the same as that required for the newly started channel, terminates the started communication with all peripheral devices, the I / O command will be re-executed via the previously unsuccessful channel input - output. When the I / O command is re-executed, the described firmware priority assignment to the newly started I / O channel is repeated. Consider the assignment of priority for a particular I / O channel during execution. an I / O command, which indicates the channel number (for example, Wth) and the address of the peripheral device (for example, 13th) with which the channel is to communicate with in order to transfer data, the firmware determines the priority of the 3rd channel, which it needs to be installed in order to organize the correct transfer of data between the 3rd channel and the 13th peripheral device. For this purpose, the microcommand interpreted on de-pyfrarator 29 (the signal from the eighth output of the decoder, which valve the fifth input of the AND-OR group 36), from the thirteenth fixation register 23 belonging to the 3rd channel, reads the two-digit code which is via the third information input 53, the sixth input of the AND-OR group 36 in the standard way through the first register 31, the arithmetic-logical node 33, the result register 34, the second control output 52 of the program control unit 1, through the controller 14 first information the input 39 of block 1 is stored in a special cell (for example, cell 1} of local memory 30 and is stored there. According to the following micro command, interpreted on the decoder 29 (the signal from the ninth output of the decoder 29, which valves the AND-OR element of group 36 on the seventh input), the eight-input code AND is read from the selection register 24 from the selection register 24 -OR group 36 is stored in a standard way in a special cell (e.g., cell 2) of the local memory 30 and is stored there. After reading the information from the latch register 23 and the select register 24, the tests necessary for the assignment of the appropriate priority for the 3rd channel are performed by the firmware. For this purpose, information is used on which input / output channels from the channel group were previously started and how many peripheral devices were running on each channel. This information is placed in special local memory cells, such as cell 3, whose four tetrads addressed by channel number (00 is the tetrad for channel 1; 11 is the tetrad for channel 4) are used to determine the activity of each channel in depending on which priority it is assigned to (the bit in the tetrad with address 00 indicates that the channel is working with the highest priority, bit c. a tetrad with address 11 - with. lower priority). For example, in cell 4, the four bits (counter) of which determine how many peripheral devices are started for each channel, byte with address 00 for the 1st channel, byte with address 11 for the 4th channel. Assume that the two-digit code read from the 13th fixation register 23 is 01, t. e. For channel 3, you must assign a priority equal to 2. Before . assign the 3rd channel priority 2 it is necessary to determine whether one of the channels of the channel group is working with this priority or not. For this purpose, cell 4, where the contents of selection register 24 is stored, which determines which channel with which priority it operates (the zero and first bits with addressing 00 determine the output priority of the channel, which number is written in these bits; the sixth and seventh bits with address 11, the lowest priority of the channel whose number is written in these bits is determined by the address that is determined by the priority for the 3rd channel, t. e. at address 01, the second and third bits of the contents of the selection register 24 are allocated. For these bits, which are the channel number from cell 2 of the local memory, the corresponding tetrad is selected, in which the activity bit corresponding to priority 2, t is analyzed. e. activity bit with address 01. Depending on the result of the analysis, the following actions are performed. one. The channel whose number is specified in the second and third bits of the contents of the selection register 24 does not work. The analysis of all bits of tetrad activity for the 3rd channel is performed. A. Channel 3 is not working. In the second and third bits of the selection register 24 (the cell of the 4th local memory), the number of the newly started channel 10 is entered, which indicates that priority 2 is assigned to the 3rd channel; in the tetrad - (the cell of the 3 local memory) for the 3rd channel the bit at address 01 is set to I, t. e. Channel 3 is becoming active in priority 2; 1, t is added to the counter at address 10 (cell 4 of the local memory) belonging to the 3rd channel. e. it is recorded that one peripheral device is running on channel 3. B. The 3rd channel is working, and its priority is higher or equal to the priority of the newly launched 3rd channel. The priority of the 3rd channel does not change. 1 t is added to counter 3 (address 10). e. it is recorded that another peripheral device is running on channel 3. B. The 3rd channel is working, and its priority is lower than the priority of the newly launched 3rd channel. Channel priority is set to new. The activity of the 3rd channel according to the old priority is removed and the activity of the 3rd channel with the assigned priority 2 is set. Counter 3 (address 10 is added 1, m. e. it is recorded that another channel has been launched on the 3rd channel. peripheral device. 2 The channel whose number is indicated in the second and third bits of the contents of the selection register 24 is working. Channel 3 is not working. In this case, it is analyzed whether there are free, higher priorities, in particular, whether priority 1 is free. This is accomplished by analyzing the activity of that channel, whose number is determined by the contents of the zero and first bits of the selection register 24 (cell 2 of the local memory). BUT. No channel with priority 1 is working, the number of the newly started channel (10) is entered in the zero and first bits of the contents of the selection register 24, which indicates that the 3rd channel has priority 1; in tetrad 3, at address 00, the 3rd channel activity bit is set, t. e. Channel 3 becomes active in priority I; 1 is added to the counter of the 3rd channel. e. it is recorded that one peripheral device is running on the 3rd channel. B. One of the channels with priority I is working. The execution of an I / O command is terminated. A result sign is formed microprogrammatically, which indicates that the 13th peripheral device cannot be started on the 3rd channel. At the same time, information is stored in the local memory that on channel 3 with priority 2, the execution of an I / O command was unsuccessful. This information is further analyzed each time one of the channels of the I / O channel group is released. If the channel that has completed its operation has priority above or the same (in this case, priorities 1 or 2), then an interrupt is formed on the 3rd channel, which re-attempts to launch the 13th peripheral on the 3rd channel. The information stored in the local memory about the unsuccessful attempt to launch the 13th peripheral device on the 3 MHz channel is destroyed. 3 The channel whose number is indicated in the second and third bits of the contents of the selection register 24 is working. Channel 3 also works. In this case, the set priority for the 3rd channel is analyzed. This is accomplished by detecting in the tetrad 3 the address of the set bit of the 3rd channel activity (the cell of the 3 local memory). A, For the 3rd channel, the same or higher priority is set than the TOTj that is required for the newly launched peripheral device on the 3rd channel. In this case, 1, t is added to counter 3 (cell 4 of the local memory) of the 3rd channel. e. fixed; that one more device was started up on channel 3. B. The channel has a lower priority than the one required for the newly launched 13th device over the 3rd channel. It is analyzed whether a higher priority is free than that which is required for the newly launched 3rd channel (in the present case, priority 1. ) If it is free, priority 3 is assigned to channel 1, the activity bit but the lower priority is cleared and the activity bit 3 of the GO channel in tetrad 3 according to priority 1 is set. If priority 1 is occupied, executes subsection B of item 2 described above. After assigning the desired priority to the 3rd channel, the contents of the selection register 24 from the cell 2 of the local memory 30 are recalled to the selection register 24. The transfer is performed in the standard way through the AND-OR element of group 36 and then through the first register 31, the arithmetic logic unit 33, the result register 34, the second controlled output 52, the switch 14, from which the PS information is output to the tenth output The decoder 29 through the code entry 166 is written to the selection register 24. After assigning the required priority to the input-output channel and recording information in the selection register 24 and in the case, when no requests from the input-output channel group originate, data exchange with the operational memory selects the channel with the highest priority at the current time. channels are performed on multiplexers 149-152 by providing control signals from the zero and first outputs of periicTpa 24 of choice to the address input of the multiplexer 149 on lines 158 and 159; n and the address input of the multiplexer 150 along lines 160 and 161 is from the second and third outputs of the selection register 24; to the address input of the multiplexer 151 with lines J62 and 163 from the fourth and fifth outputs of the register 24 of choice; to the address input, multiplexer 152 via lines 164 and 165 from the sixth and seventh outputs of the selection register 24. Thus, the request signal from the output of the multiplexer 149 (line 139) always has the highest priority, and the request signal from the output of the multiplexer 52 (line 142) always has the lowest priority. In block 18, the priority of requests is selected in the standard way. requests for sinful input-output channels, with the help of triggers 130-1 33 and the priority encoder 134. In this case, the first and second outputs of the priority encoder 134 remove the number of a, r, ny from the multiplexer OE 149-152, the link from which at the time of the request for trigger 130-133 but for the sync pulse of the sync input to the synchronous inputs of the trigger 130- 133 of the sync source 21 5 is the highest priority. To determine which input: AO is the highest priority request, two multiplexers 153 and 154 and a decoder 156 are used. The first inputs of multiplexers 153 and 154 are supplied by lines 158 and 159, respectively, of the channel that is fed to the address inputs of the multiplexer 149, to the second inputs of multiplexers 153 and 154, respectively, by the number of that channel that is fed to the address input of the multiplexer, etc. d. Thus, with. outputs are tippee. The channels, 1 53 and 154, take the number of that channel, the request of which is currently the highest priority. This sanal number is decrypted -1 on-decipher 156, one of which is removed from the request signals; from the first output - for the first channel, from the second output - for the second channel and t, d. These requests are remembered by a sync pulse in storage register 135, from which output requests for information output 137 are received in control unit 17 and processed there in the standard way. Ph o r y Device for exchanging data between a group of input-output channels and
оперативной пам тью по авт. св. № 1190385, отличающеес тем, что, с целью увеличени пропускной способности устройства за счет организации возможности присвоени любого приоритета любому каналу ввода-вывода из группы на момент вьшолнени этим канапом операции вводавывода , в него введены группа регистров фиксации, регистр выбора, блок дешифрации приоритета, причем выходы регистров фиксации группы соединены с третьим входом логических условий блока микропрограммного управлени , выход занесени которого соединен сoperative memory by aut. St. No. 1190385, characterized in that, in order to increase the capacity of the device by organizing the possibility of assigning any priority to any I / O channel from the group at the time of this cannon I / O operation, a group of latch registers, a selection register, a priority decryption unit, moreover, the outputs of the group latching registers are connected to the third input of the logic conditions of the firmware control block, the output of which is written to the
I fj I-LUI fj I-LU
входом записи регистра выбора, информационный вход которого соединен с выходом коммутатора, второй вход логических условий блока микропрограммного управлени соединен с выходом регистра выбора и с информационным входом блока дешифрации приоритета, информационный выход которого соединен с информационным входом блока приоритета запросов, группа выходов запроса, группы управл ющих входов и выходов которого соединены с группой входов запроса,группами управл ющих выходов и входов блока дешифрации приоритета соответственно.the input of the record of the selection register, whose information input is connected to the switch output, the second input of the logic conditions of the firmware control module is connected to the output of the selection register and the information input of the priority decryption unit, the information output of which is connected to the information input of the request priority block, group of request outputs, control groups Which of the inputs and outputs of which are connected to a group of inputs of the request, groups of control outputs and inputs of the priority decryption block, respectively.
WW
.m.m
сГSG
n.::3ft TL J rin.: percent tl j ri
j .U I . I ,.J . ,.. j .U I. I, .J. ..
5f 5f
P8iP8i
./{:./ {:
5 five
Т-4T-4
-15/H-,-15 / H-,
:.f: .f
W-БWB
Wp-|-iИWp- | -iI
ЙTh
ИAND
f-Я.f-me.
nn
SS
§2.§2.
6ff 6ff
OJ Oj
™j,«j™ j, “j
138138
Фиг.FIG.
фиг. 5 FIG. five
{Я нимрономанда{I am a Nimronomand
Wuufiff nQfiflmu naysa i LLH/ па mm иWuufiff nQfiflmu naysa i LLH / pa mm and
J V.J V.
1й1}- fiuHpoH-da1st1} - fiuHpoH-da
аbut
6 г6 g
д г тd g t
33
и н fl н нand fl fl n n
па п ти pa five
{{
5 в г5 in g
в ж in w
Фиг.99
ПаузаPause
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU853908709A SU1278867A2 (en) | 1985-06-07 | 1985-06-07 | Device for exchanging data between group of input-output channels and internal memory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU853908709A SU1278867A2 (en) | 1985-06-07 | 1985-06-07 | Device for exchanging data between group of input-output channels and internal memory |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU1190385 Addition |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1278867A2 true SU1278867A2 (en) | 1986-12-23 |
Family
ID=21181979
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU853908709A SU1278867A2 (en) | 1985-06-07 | 1985-06-07 | Device for exchanging data between group of input-output channels and internal memory |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1278867A2 (en) |
-
1985
- 1985-06-07 SU SU853908709A patent/SU1278867A2/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1190385, кл. G 06 F 13/00, 1984. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US3728693A (en) | Programmatically controlled interrupt system for controlling input/output operations in a digital computer | |
KR910001448B1 (en) | Memory access control system | |
US4354225A (en) | Intelligent main store for data processing systems | |
US3678467A (en) | Multiprocessor with cooperative program execution | |
US4516199A (en) | Data processing system | |
US4527237A (en) | Data processing system | |
US4470113A (en) | Information processing unit | |
EP0571395A1 (en) | System for distributed multiprocessor communication. | |
GB2026218A (en) | Refresh timing in memory system | |
US4204252A (en) | Writeable control store for use in a data processing system | |
WO1980001521A1 (en) | Data processing system | |
EP0460853B1 (en) | Memory system | |
US3740722A (en) | Digital computer | |
US3444526A (en) | Storage system using a storage device having defective storage locations | |
EP1132818A2 (en) | Multiple processor interface, synchronization, and arbitration scheme using time multiplexed shared memory for real time systems | |
US20020110038A1 (en) | Fast random access DRAM management method | |
SU1278867A2 (en) | Device for exchanging data between group of input-output channels and internal memory | |
WO1981001066A1 (en) | Data processing system | |
CA1175581A (en) | Data processing machine with improved cache memory management | |
KR100438736B1 (en) | Memory control apparatus of performing data writing on address line | |
EP0269370B1 (en) | Memory access controller | |
US4233669A (en) | Redundant bubble memory control system | |
SU1280642A2 (en) | Device for exchanging data between group of input-output channels and internal memory | |
SU1190385A1 (en) | Device for exchanging data between group of input-output channels and internal storage | |
KR870000117B1 (en) | Access control processing |