[go: up one dir, main page]

SU1280642A2 - 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 PDF

Info

Publication number
SU1280642A2
SU1280642A2 SU853950563A SU3950563A SU1280642A2 SU 1280642 A2 SU1280642 A2 SU 1280642A2 SU 853950563 A SU853950563 A SU 853950563A SU 3950563 A SU3950563 A SU 3950563A SU 1280642 A2 SU1280642 A2 SU 1280642A2
Authority
SU
USSR - Soviet Union
Prior art keywords
block
output
group
word
register
Prior art date
Application number
SU853950563A
Other languages
Russian (ru)
Inventor
Владислав Михайлович Пронин
Вадим Яковлевич Пыхтин
Иосиф Михайлович Зильбергельд
Александр Григорьевич Рымарчук
Владимир Семенович Хамелянский
Original Assignee
Предприятие П/Я М-5339
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Предприятие П/Я М-5339 filed Critical Предприятие П/Я М-5339
Priority to SU853950563A priority Critical patent/SU1280642A2/en
Application granted granted Critical
Publication of SU1280642A2 publication Critical patent/SU1280642A2/en

Links

Landscapes

  • Multi Processors (AREA)

Abstract

Изобретение относитс  к области вычислительной техники и может быть использовано при разработке процессоров , оборудование которых используетс  при передаче данных между каналами ввода-вывода и оперативной пам тью или системах ввода-вывода. Целью изобретени   вл етс  расширение . функциональных возможностей устройства за счет организации общего пол  подканалов с целью гибкой адаптации к услови м пользовател  как в части эффективного использовани  объемов пам ти , предназначенной дл  хранени  подканалов, так и в части возможности подключени  того или иного количества периферийных устройств к каждому каналу ввода-вывода из группы The invention relates to the field of computer technology and can be used in the development of processors whose equipment is used in the transmission of data between input / output channels and main memory or input / output systems. The aim of the invention is expansion. functional capabilities of the device due to the organization of a common field of subchannels for the purpose of flexible adaptation to user conditions, both in terms of efficient use of memory volumes intended for storing subchannels and in the possibility of connecting a certain number of peripheral devices to each I / O channel from groups

Description

«"

аbut

Кг-эналов. Устройство солержит блок 1 микропрограммного управлени , входной 2 регистр, Быходнор 1 регистр А, коммутатор 14, блок 17 управлени , 6JTOK IP, приоритета запросов, группу блоков согласовани  19, регистр 23 заданий, узел 24 коммутации, блок 25Cg-enals. The device contains firmware control block 1, input register 2, register 1, register A, switch 14, control block 17, 6JTOK IP, request priority, group of matching blocks 19, job register 23, switching node 24, block 25

приоритетных шифраторов, блок 26 регистров , узел 27 дешифраторов, две группы 15, 16 регистров, две группы 5, 2П элементов И-ИШ, два триггера 7, 11, элемент ИЛИ 12, два элемента И 6, 13, два элемента И-НЕ 8, 1П. 10 ил. priority encoders, block 26 registers, node 27 decoders, two groups of 15, 16 registers, two groups of 5, 2P elements of ISH, two triggers 7, 11, element OR 12, two elements AND 6, 13, two elements of IS AND 8, 1P. 10 il.

1one

Изобретение относитс  к вычисли ,тельной технике и может быть использовано при разработке процессоров, оборудование которых используетс  при передаче данных между каналами ввода-вывода и оперативной пам тью или в системах ввода-вывода.The invention relates to computational techniques, and can be used in the development of processors whose hardware is used in transferring data between I / O channels and main memory or in I / O systems.

Цель изобретени  - расширение функциональных возможностей устройства путем организации общего пол  подканалов дл  обеспечени  гибкой адаптации к услови м пользовател  как в части эффективного использовани  объемов пам ти, предназначенной дл  хранени  подканалов, так и в части возможности подключени  того или JHHoro количества периферийного устройства к каждому каналу ввода-вывода из группы каналов.The purpose of the invention is to expand the functionality of the device by organizing a common field of subchannels to provide flexible adaptation to user conditions, both in terms of efficient use of storage space intended for storing subchannels, and in terms of connecting one or more JHHoro peripheral devices to each input channel. - output from a group of channels.

Регистр заданий содержит п-разр дный регистр и группу из п переключателей , причем выход п-разр дного регистра соединен с информационными выходом узла, первый контакт каждого переключател  из группы подключен к входу соответствующего разр да п-разр дного регистра, а вторые контакты п-переключателей соединены с землей.The job register contains an n-bit register and a group of n switches, where the output of the n-bit register is connected to the information output of the node, the first contact of each switch from the group is connected to the input of the corresponding bit of the n-bit register, and the second contacts are n The switches are connected to ground.

Введение в устройство регистра за . даний дает возможность индивидуально дл  каждого пользовател  выбирать и устанавливать необходимый и оптималь-ны; объем пам ти дл  хранени  подканалов .Introduction to the device register for. Daniyan gives the chance individually for each user to choose and establish necessary and optimum; the amount of memory for storing subchannels.

На фиг.1 изображена структурна  схема устройства дл  обмена данными между группой каналов ввода-вывода и оперативной пам тью; на фиг.2 - функциональна  схема блока микропрограммного управлени ; на фиг.З - функциональна  схема блока управлени ; на фиг.4 - функциональна  схема блока .согласовани ; на фиг,5 - функциональна  схема блока приоритетных шифраторов; на фиг.6 - функциональна  схема блока регистров; на фиг«7 - функциональна  схема узла дешифратора; на фиг.8 - временна  диаграмма выполнени  микрокоманды ПАМЯТЬ при обращении к ней процессора; на фиг.9 - временна  диаграмма выполнени  микрокоманды Пам ть считывани  из оперативной пам ти в каналы; на фиг.10 - временна  диаграмма выполнени  микрокоманды Пам ть записи в оперативную пам ть из каналов.Fig. 1 shows a block diagram of a device for exchanging data between a group of I / O channels and random access memory; Fig. 2 is a functional block diagram of a firmware control unit; FIG. 3 is a functional block diagram of the control unit; Fig. 4 is a functional diagram of an agreement block; Fig, 5 is a functional block diagram of priority encoders; figure 6 is a functional block diagram of registers; Fig "7 is a functional diagram of the node decoder; Fig. 8 is a time diagram of the execution of the microcommand MEMORY when the processor accesses it; Fig. 9 is a timing diagram of the execution of a microcommand. Memory read from RAM to channels; Fig. 10 is a timing diagram of the execution of a microcommand. Write memory to the RAM from channels.

Устройство дл  обмена данными между группой каналов ввода-вывода и оперативной пам тью содержит блок 1 микропрограммного управлени , входной регистр 2, оперативную пам ть 3, выходной регистр 4, элемент И-ИЛИ 5 первой группы, первый элемент И 6, первый триггер 7, первый элемент И-НЕ 8, третий триггер 9, второй элемент И-НЕ 10, второй триггер 11, элемент ИЛИ 12, второй элемент И 13, коммутатор 14, регистры 15 и 16 первой и второй группы соответственно, блок 17 управлени , блок 18 приоритета запросов , группу блоков 19 согласовани , элемент И-ИЛИ 20 второй группы, синхровход устройства 21, групп информационных входов-выходов 22, регистр 23 заданий, узел 24 коммутации, блок 23 приоритетных шифраторов,блок 26 регистров и узел 27 дешифраторов.A device for exchanging data between a group of I / O channels and random-access memory contains a block 1 of firmware control, input register 2, random access memory 3, output register 4, the AND-OR 5 element of the first group, the first And 6 element, the first trigger 7, the first element IS-NE 8, the third trigger 9, the second element IS-NOT 10, the second trigger 11, the element OR 12, the second element AND 13, the switch 14, registers 15 and 16 of the first and second groups, respectively, control block 17, block 18 priority of requests, a group of blocks 19 approval, the element AND-OR 20 of the second group, with the input device 21, groups of information I / O 22, job register 23, switching node 24, priority encoder block 23, register block 26, and decoder node 27.

Блок 1 микропрограммного управлени  состоит из пам ти 28 микрокоманд, регистра 29 адреса, регистра 30 микрокоманд , дешифратора 31, местной пам ти 32,второго 33 и первого 34 регистров , арифметическо-логического узла 33, регистра 36 результата, первой 37 и второй 38 группы элементов И-ИЛИ, элемента И 39 и элемента И-НЕ Блок 1 имеет первый 41 и второй 42 и формационные входы, вход 43 режима, стробирующий вход 44, вход 45 разреше ни , синз ровход 46, стробирующий выход 47, адресный выход 48, с первого по п тый управл ющие выходы 49-53,выход 54 выборки, третий информационный вход 55 и группу управл ющих выходов 56 дешифрации блока. Блок 17 управлени  содержит триггер 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 второй группы . Блок 17 имеет с первого по четвертьй группы входов 83-86, первьй 87 и второй 88 входы, с первого по п тый выходы 89-93 и с первой по третью группы выходов 94-96 блока соответственно . Блок 19 согласовани  образуют регистр 97 данных, буферна  пам ть 98 данных, триггер 99 обращени  интерфейса , триггер 100 выбора буфера интерфейса , счетчик 101 адреса байтов, триггер 102 выбора буфера процессора, триггер 103 номера слова, счетчик 104 двойных слов, первьй 105 и второй 106The microprogram control unit 1 consists of memory of 28 micro-instructions, address register 29, register of micro-instructions 30, decoder 31, local memory 32, second 33 and first 34 registers, logical arithmetic unit 33, result register 36, first 37 and second groups 38 elements AND-OR, element 39 and element-NONE Block 1 has the first 41 and second 42 and formation inputs, mode input 43, gate input 44, permission input 45, gate rotor 46, gate output 47, address output 48, first to fifth control outputs 49-53, sample output 54, third information The input 55 and the group of control outputs 56 decryption unit. The control block 17 contains a data transfer trigger 57, a group of data transmission trigger 58 and 59, AND elements 60 and 61 of the first group, second 62 and first 63 OR elements, first 64 and second 65 AND elements, HE element 66, data transfer request trigger 67 , trigger 68 of the first transmission cycle, trigger 69 of the intermediate transmission cycle, trigger 70 of the second transmission cycle, group of triggers 71 and 72 of the second transmission cycle of channels, elements 73 and 74 of the second group, group of elements AND-OR 75 and 76, first 77 and second 78 elements AND-OR, elements AND-OR 79 and 80 of the first group and ale nty and-or 81 and 82 of the second group. Unit 17 has the first to fourth groups of inputs 83-86, the first 87 and the second 88 inputs, the first to the fifth outputs 89-93, and the first to the third groups of outputs 94-96 of the block, respectively. The matching unit 19 constitutes data register 97, data buffer memory 98, interface reversal trigger 99, interface buffer selection trigger 100, byte address counter 101, processor buffer selection trigger 102, word number trigger 103, double word counter 104, first 105 and second 106

уэлы синхронизации, коммутатор 107, узел 108 обмена по интерфейсу, триггер 109 зан тости регистра данных, триггер 110 зан тости группы регистров , регистр 111 кода операции, де-. шифратор 112, элементы И-ИЛИ 113 и 114 первой и второй группы, с первого по шестой элементы И-ИЛИ 115-120 и элемент И-ИЛИ-НЕ 121, Блок 19 имее первый 122 и второй 123 информационные входы, информационньй вход-выход 124, вход 125 разрешени , синхровход 126, информационный вьпсод 127, первый 128 и второй 129 синхровыходы , выход 130 запроса, выход 131 записи и выход 132 чтени .synchronization wells, switch 107, interface exchange 108, data register trigger trigger 109, register group trigger 110, opcode register 111, de-. encoder 112, elements AND-OR 113 and 114 of the first and second groups, first to sixth elements AND-OR 115-120 and element AND-OR-NOT 121, Block 19 have the first 122 and second 123 information inputs, information input-output 124, resolution input 125, synchronization input 126, information output 127, first 128 and second 129 synchronization outputs, request output 130, write output 131 and read output 132.

Блок 25 приоритетных шифраторов содержит (в данном случае) четыреBlock 25 priority encoders contains (in this case) four

хода дешифратора 112 определ ет, что в блоке согласовани  выполн етс  операци  чтени .the progress of the decoder 112 determines that a read operation is performed in the matching unit.

При выполнении чтени  данные из периферийного устройства побайтно с информационного входа-выхода блока 19 через коммутатор 107 поступают в регистр 97 данных, из которого через первую группу элементов И-ИЛИ 113 данные записываютс  в буферную пам ть 98 по адресу с выхода второй группы элементов И-ИЛИ 114,When reading data, the data from the peripheral device is byte-byte from the information input-output of block 19 via the switch 107 to the data register 97, from which, through the first group of AND-OR 113 elements, the data is written to the buffer memory 98 at the output of the second group of elements AND- OR 114,

Если триггер 110 зан тости группы регистров сброшен, то после накоплени  двойного слова в буферной пам ти производитс , сначала считывание первого слова из буферной пам ти и передача его через информавосьмивходовых приоритетных шифратора 133-136, один четырехвходовый приоритетный шифратор 137 и три мультиплексора 138-140, а также информационный вход 141 мультиплексоров, информационные выходы 142 и 143 шифратора 137 и свои информационный вход 144 и выход 145. Блок 26 регистров состоит из двух одноразр дных регистров 146 и 147, двух двухразр дных регистров 148 и 149, двух трехразр дных регистров 150 и 151, своихИнформационного входа 152, группового входа 153 записи и первого 154 и второго 155 информационного выходов, а также выходов 156 и 157 регистров 150 и 151, Узел 27 дешифраторов содержит два дешифратора 158 и 159, информационный вход 160 и информационный выход 161, Устройство работает следующим образом . Буферна  пам ть 98 данных имеет две зоны заполнени  данньми. Емкость каждой из зон соответствует разр дности оперативной пам ти и в данном случае составл ет двойное слово (восемь байт). Ширина разр дности буферной пам ти соответствует разр дности информационного тракта процессора (в рассматриваемом случае она составл ет одно слово), через тракты которого канал обмениваетс  данными с оперативной пам тью, Код операции, выполн емый блоком 19 согласовани , находитс  в регистре 111 кода операции. Сигнал второго выхода дешифратора 112 определ ет , что в блоке 19 выполн етс  oneраци  записи. Сигнал с первого вы51 Г1ИОННЫЙ выход блока 19, вторую группу элементов И-ИЛИ 20 и первую группу регистров 15 во вторую группу регистров 16, затем считывание второго слова и передача его в первую группу регистров 15.оПосле заполнени  регистров триггер 110 зан тости груп пы регистров устанавливаетс  в единичное состо ние. Дл  операции чтени  в этом случае третьим элементом И-ИЛИ 117 вырабатьгааетс  запрос на передачу данных, который через выход запроса блока 19 поступает на вход блока 18 приоритета запросов. При опе рации записи во врем  второго цикла передачи данных соответствующего кана ла по сигналу, поступающему на вход разрешени  блока 19, устанавливаетс  триггер 110 зан тости группы регистров , фиксирующий наличие данных, прин тых из -оперативной пам ти в первую и вторую группы регистров 15 и 16 соответствующего канала. Если в буферно пам ти 98 данных одна из зон свободна то происходит передача сначала первого слова данных из второй группы регистров 16, а затем второго слова данных через второй информационный вход блока 19 и первую группу элементов Й-ИЛИ 113 в буферную пам ть 98, Данные из буферной пам ти 98 через второй информационный вход коммутатора 107 поступают в регистр 97 данных откуда выдаютс  на информационный вход-выход блока 19 под управлением узла 108 обмена по интерфейсу и триггера 109 зан тости регистра данных. При операции записи запрос на передачу данных устанавливаетс  с помощью третьего элемента И-ИЛИ 117, если триггер 110 зан тости группы регистров сброшен. Сигнал операции чтени  с первого выхода дешифратора 112 и сигнал операции записи с второго выхода дешифратора 112 подаетс  соответственно через выходы чтени  132 и записи 131 блока 19 на группу элементов И-ИЛИ 20 и дл  управлени  направлением загрузки первой и второй группы регистров 15 и 16 на блок 17 управлени . Дл  управлени  адресацией буфера данных используетс  триггер 99 обращени  интерфейса. Если триггер 99 обращени  интерфейса сброшен, то при выполнении обмена данными между буферной пам тью данных и группой регистров адресаци  буферной пам ти до /42 зоны двойного слова происходит с помощью триггера 102 выбора бусЬера процессора , а до зоны слова - с помощью триггера 103 номера слова. Триггер 103 номера слова во врем  передачи двойного слова переключаетс . Если триггер 99 обращени  интерфейса установлен, то может выполн тьс  обмен между буферной пам тью и регистром 97. При этом адресаци  зоны происходит с помощью триггера 100 выбора буфера интерфейса, а слова и байта внутри слова - с помощью трехраэр дного счетчика 101 адреса байтов, Лвухразр дный счетчик 104 двойных слов указывает количество двойных слов в буферной пам ти 98 данных. Во врем  операции записи он показывает количество незаполненных двойных слов в буферной пам ти 98, во врем  операции чтени  количество заполненных двойных слов, В начале операции записи счетчик устанавливаетс  на 2 (два двойных слова не заполнеJ ,Q) jj go врем  передачи двойного слова из групп регистров 15 и 16 его содержимое уменьшаетс . После передачи двойного слова через интерфейс содержимое счетчика 104 двойных слов увеличиваетс , В начале операции чтени  счетчик устанавливаетс  на О и при обмене данными соответственно модифи- цируетс . Управление последовательностью работы оборудовани  блока 19 во врем  передачи данных между буферной пам тью 98 и регистром 97 осуществл етс  с помощью узла 106, Управление передачей данных между буферной пам тью 98 и группой регистров 15 и 16 производитс  узлом 105. Этот узел вырабатывает стробы загрузки первой и второй групп регистров 15 и 16 соответ- ствующего канала, которые поступают соответственно при передаче данных в буферную пам ть или из буферной пам ти на первый и второй синхровходы блока 19, Запуск узла 106 производитс  через элемент И-ИЛИ-НЕ 121, а запуск узла 105 - через п тый элемент И-ИЛИ 119, Запросы от всех блоков 19 поступают на блок 18, который по синхронизирующему сигналу принимает их, определ ет наиболее приоритетный из них и передает в блок 17, в котором устанавливаетс  триггер 57 передачи данных и один из группы триггеров 58If the trigger 110 for the group of registers is reset, after accumulating a double word in the buffer memory, first reading the first word from the buffer memory and transmitting it through the information to the input priority 133-136 encoder, one four-input priority encoder 137 and three multiplexers 138-140 as well as information input 141 multiplexers, information outputs 142 and 143 of the encoder 137 and its information input 144 and output 145. Block 26 of the registers consists of two one-bit registers 146 and 147, two two-bit registers 148 and 149, two three-bit registers 150 and 151, its Information input 152, group entry 153 and the first 154 and second 155 information outputs, as well as outputs 156 and 157 registers 150 and 151, Node 27 decoders contains two decoders 158 and 159 , information input 160 and information output 161, the Device operates as follows. Buffer memory 98 has two data zones. The capacity of each of the zones corresponds to the size of the RAM and in this case is a double word (eight bytes). The width of the buffer memory corresponds to the width of the information path of the processor (in this case it is one word), through the paths of which the channel exchanges data with the main memory. The Operation Code, executed by matching unit 19, is located in the operation code register 111. The second output signal of the decoder 112 determines that in block 19 one of the recordings is performed. The signal from the first high output of block 19, the second group of AND-OR elements 20 and the first group of registers 15 to the second group of registers 16, then reading the second word and transferring it to the first group of registers 15. After filling the registers, the trigger 110 of the group of registers set to one. For the read operation in this case, the third element AND-OR 117 generates a request for data transfer, which through the output of the request of block 19 enters the input of the block 18 of the priority of requests. During the recording operation, during the second cycle of data transmission of the corresponding channel, a trigger for triggering 110 of the register group is detected by a signal received at the resolution input of block 19, registering the availability of data received from the primary memory in the first and second groups of registers 15 and 16 corresponding channel. If in the data buffer buffer 98 one of the zones is free, the first word of data from the second group of registers 16, and then the second data word is transmitted first through the second information input of block 19 and the first group of D-OR elements 113 to the buffer memory 98, Data from the buffer memory 98, via the second information input of the switch 107, are received into the data register 97, from where they are output to the information input / output of the block 19 under the control of the exchange node 108 via the interface and the data register trigger 109. During a write operation, the request for data transfer is established using the third AND-OR element 117, if the trigger 110 for the group of registers is cleared. The read operation signal from the first output of the decoder 112 and the write operation signal from the second output of the decoder 112 are respectively supplied through the read outputs 132 and the write 131 of block 19 to the group of AND-OR elements 20 and to control the loading direction of the first and second groups of registers 15 and 16 to the block 17 controls An interface call trigger 99 is used to control the data buffer addressing. If the interface call trigger 99 is reset, then when exchanging data between the buffer data memory and the register group, the buffer memory is up to / 42 of the double word zone using the processor buser trigger 102, and with the word number trigger 103 . The word number trigger 103 is switched during the transmission of a double word. If the interface call trigger 99 is set, then the exchange between the buffer memory and the register 97 can be performed. In this case, the zone is addressed using the interface buffer trigger 100, and the word and byte inside the word are addressed using a three-byte counter 101 byte address, Lvukhrazr A single double word counter 104 indicates the number of double words in the data buffer 98. During the write operation, it shows the number of empty double words in the buffer memory 98, 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), Q) jj go the time of transfer of the double word from the groups of registers 15 and 16, its contents are reduced. After a double word is transmitted via the interface, the contents of the double word counter 104 are increased. At the beginning of the read operation, the counter is set to O and is modified accordingly during data exchange. The control of the operation of the equipment of block 19 during data transfer between the buffer memory 98 and the register 97 is performed by the node 106. The control of the data transfer between the buffer memory 98 and the group of registers 15 and 16 is performed by the node 105. This node generates the load gates first and the second groups of registers 15 and 16 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 block 19, the node 106 is started via an ANDI element NO-121, and the launch of node 105 through the fifth AND-OR element 119, Requests from all blocks 19 are received at block 18, which receives them via a synchronizing signal, determines the most priority of them, and transmits to block 17, in which a data transfer trigger 57 is set up and one of the trigger group 58

и 59 передачи данных каналов, которые указывают, какой блок 19 должен производить обмен данными. На вход блока 17, на вторую группу входов, из блока 19 поступает код операции, который используетс  дл  аппаратурного формировани  микрокоманды обращени  и оперативной пам ти на первой группе элементов И 60 и 61 и втором элементе ИЛИ 62, с выхода которого микрокоманда поступает на вход режима блока 1 в регистр микрокоманд 30 через первую группу элементов И-ИЛИ 37, При этом потенциалом с триггера 57 передачи данных блока 17 блокируетс  прием микрокоманд из пам ти 28 микрокоманд блока 1 на первую группу элементов И-ИЛИ 37 и пропускаетс  микрокоманда из блока 17, в ходе выполнени  которой должен производитьс  обмен данными между оперативной пам тью и первой и второй группами регистров 15 и 16 через внутренние тракты процессора.and 59 data channels that indicate which unit 19 should exchange data. The input of block 17, to the second group of inputs, from block 19 receives the operation code, which is used for instrumental generation of the access microcommand and RAM in the first group of elements AND 60 and 61 and the second element OR 62, from the output of which the microcommand enters the mode input block 1 into the micro-command register 30 through the first group of elements AND-OR 37, and the potential from the data transfer trigger 57 of block 17 blocks the reception of micro-instructions from memory 28 of the micro-commands of block 1 to the first group of elements AND-OR 37 and passes the micro-command and From block 17, during the execution of which the data must be exchanged between the RAM and the first and second groups of registers 15 and 16 through the internal paths of the processor.

Дл  управлени  прохождением данных блок 17 вырабатывает последовательность сигналов с выходов триггера 67 запроса передачи данных,триггера 68 первого цикла передачи, триггера 69 промежуточного цикла передач триггера 70 второго цикла передачи, дл  управлени  первой и второй группами регистров 15 и 16 - с выходов первой и второй групп элементов И-ИЛИ 79-82.To control the data flow, unit 17 generates a sequence of signals from the outputs of the trigger 67 for sending data, trigger 68 for the first transmission cycle, trigger 69 for the intermediate cycle for triggering 70 for the second transmission cycle, for controlling the first and second groups of registers 15 and 16 for the outputs of the first and second groups of elements AND-OR 79-82.

Микрокоманда Пам ть выполн етс  в два цикла,The microcommand Memory runs in two cycles,

В первом цикле готовитс  адрес данных.и при записи в пам ть записываютс  данные. Чтение и запись производитс  в паузе между первым и вторим циклами. Длительность паузы зависит от времени обращени  к пам ти. Это врем  намного превышает первый и второй циклы пам ти. Во втором цикле в случае считывани  выбираютс  данные из пам ти и пересылаютс  через внутренние тракты.процессора в первую и вторую группу регистров 15 и 16,Триггер 67 запроса передачи данных блока 17 использует два запуска циклов аппаратурно сформированной микрокоманды Пам ть, Блок 18 предназначен дл  выбора наиболее приоритетных из каналов.In the first cycle, the data address is prepared. Data is recorded when the memory is written to it. 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, in the case of reading, data is selected from the memory and sent through internal paths. The processor is in the first and second group of registers 15 and 16, the data request request trigger 67 of block 17 uses two runs of hardware-generated microcommand Memory, Block 18 is designed to select top priority channels.

Коммутатор 14 служит дл  выбора данных из оперативной пам ти или регистра результата 36 блока 1 и представл ет собой группу элементов И-ИЛИThe switch 14 serves to select data from the main memory or result register 36 of block 1 and is a group of AND-OR elements.

На сЬиг.В изображена временна  диаграмма работы устройства дл  обмена данными между группой каналов вводавывода и оперативной пам тью дл  выполнени  микрокоманд Пам ть при обращении к ней процессора. На диаграмме прин ты следующие условные обозначени : а - синхронизаци ; S - прием в первый регистр 34 адреса оперативной пам ти; 6 - прием двойного слова данных в выходной регистр 4; 2 - запись в местную пам ть 32 модифицированного адреса оперативной пам ти; а - вьщача первого слова данных с первой группы элементов И-ИЛИ 5; е - выход третьего триггера 9; ж- вЪщача второго слова данных с первой группы элементов И-ИЛИ 5; управление коммутатором 14 на выбор данных из оперативной пам ти; U эапись первого слова данных; к - запись второго слова данных.Fig. B shows a time diagram of the operation of the device for exchanging data between a group of I / O channels and random access memory for executing micro-instructions Memory when the processor accesses it. The following symbols are used in the diagram: a - synchronization; S — reception in the first register 34 of a memory address; 6 - reception of the double data word in the output register 4; 2 — an entry in the local memory 32 of the modified memory address; a - the first word of data from the first group of elements AND-OR 5; e - the output of the third trigger 9; zhvacha second data word from the first group of elements AND-OR 5; control switch 14 to select data from the RAM; U record the first data word; k - write the second data word.

Устройство дл  выполнени  микрокоманды Пам ть при обращении к ней процессора работает следующим образом .The device for executing the microcommand Memory, when the processor accesses it, works as follows.

Из пам ти 28 микрокоманд блока 1 по адресу из регистра 29 адреса, через первую группу элементов И-ИЛИ 37 и регистр 30 заноситс  микрокоманда, котора  поступает на дешифратор 31, с седьмого выхода которого на местную пам ть 32 подаетс  адрес, по которому на первый регистр 34 считываетс  адрес данных оперативной пам ти, который через адресный -выход 38 блока 1 подаетс  на адресный выход устройства в оперативную пам ть. Двойное -слово данных иэ оперативной пам ти заноситс  в выходной регистр 4, из которого с помощью первой группы элементов И-ИЛИ 5 на коммутатор 14 подаетс  первое слово данных. Управление выбором нового слова осуществл етс  первым элементом И-НЕ 8 поустановленному первому триггеру 7, который устанавливаетс  через первый элемент И 6 по младшему байту адреса двойного слова из первого регистра 34 блока 1. Адрес данных оперативной пам ти подаетс  также на арифметико-логический узел 35, в котором он модифицируетс  и через регистр результата 36 и коммутатор 14 записываетс  в местную пам ть 32, После этого, управление коммутатором 14 по выходу второго элемента И 13 переключаетс  на выбор первого слова данных из оперативной пам ти . После записи первого слова данных по второму выходу дешифратора 31 блока 1 устанавливаетс  триггер 9, которьт инверсным выходом на первом элементе И.6 измен ет младший адрес оперативной пам ти, который запоминаетс  в конце вы олнени  микрокоманды Пам ть на первом триггере 7 и через первый элемент И-НЕ 8 измен ет управление первой группой элементов И-ИЛИ 5 и на выдачу второго слова Данных из выходного регистра 4 на коммутатор 14, а пр мой выход третьего триггера 9 управл ет передачей этого слова данных через коммутатор 14 на фоне выполнени  следующей микрокоманды.From the memory 28 of the micro-instructions of block 1, the address from the register 29 of the address, through the first group of AND-OR elements 37 and the register 30 is entered into the micro-command that goes to the decoder 31, from the seventh output of which the local memory 32 is fed to the first The register 34 reads the address of the RAM data, which, through address-output 38 of block 1, is fed to the address output of the device in RAM. The double data word and RAM is entered into the output register 4, from which, using the first group of AND-OR 5 elements, the first data word is fed to the switch 14. The selection of the new word is controlled by the first AND-NE 8 element of the installed first trigger 7, which is established through the first AND 6 element by the low byte of the double word address from the first register 34 of block 1. The RAM data address is also fed to the arithmetic logic node 35 in which it is modified and through the result register 36 and the switch 14 is recorded in the local memory 32. After that, the control of the switch 14 on the output of the second element I 13 switches to the selection of the first data word from the operational memory After recording the first data word, the second output of the decoder 31 of block 1 is set to trigger 9, which inverse output to the first element I.6 changes the lower address of the RAM, which is stored at the end of the microcommand. Memory on the first trigger 7 and through the first element AND-NE 8 changes the control of the first group of AND-OR elements 5 and for issuing 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 eduyuschey microcode.

На фиг,9 изображена временна  диаграмма работы устройства дл  выполнени  аппаратурно-сформированной микрокоманды Пам ть считывани  из оперативной пам ти. На ней прин ты следующие обозначени : а - синхронизаци ; S - выход триггера 68 первого цикла передачи; Ь - выход триггера 69 промежуточного цикла передачи; 2 - выход триггера 70 второго цикла передачи; а - прием в первьй регистр 34 адреса оперативной пам ти и счетчика байтов; 6 - прием двойного слова данных в выходной регистр 4; К - вьщача первого слова данных с первой группы элементов И-ИЛИ 5; выдача второго слова данных с первой группы элементов И-ИПИ 5; U - выход второго триггера 11; к управление коммутатором 14 на выбор данных из оперативной пам ти; -л - запись в местную пам ть 32 модифицированного адреса оперативной пам ти и счетчика байтов; м строб первой группы регистров 15; Н - строб второй группы регистров 16, Устройство при считывании данных из оперативной пам ти в первую и вторую группы регистров 15 и 16 работает следующим образом, Из блока 17 в блок 1 в регистр 30 заноситс  аппаратурно-сформированна  микрокоманда, котора  поступает на дещифратор 31, с седьмого выхода кото рого на местную пам ть 32 подаетс  Fig. 9 shows a time diagram of the operation of the device for performing hardware-formed microcommand Memory read from a RAM. The following symbols are used on it: a - synchronization; S is the trigger output 68 of the first transmission cycle; L is the output of the 69 intermediate transfer cycle trigger; 2 - the output of the trigger 70 of the second transmission cycle; a — reception in the first register 34 of the memory address and byte counter; 6 - reception of the double data word in the output register 4; K - the first word of data from the first group of elements AND-OR 5; issuing a second data word from the first group of I-IPI 5 elements; U - the output of the second trigger 11; control switch 14 to select data from main memory; -l - an entry in the local memory 32 of the modified memory address and byte counter; m strobe of the first group of registers 15; H - the strobe of the second group of registers 16; The device, when reading data from the RAM into the first and second groups of registers 15 and 16, works as follows: From block 17 to block 1 to register 30, a hardware-generated micro-command is entered, which goes to decipher 31, from the seventh exit to the local memory 32 is fed

адрес, по которому на первьй регистр 34 в первом цикле пам ти считьгеаетс  адрес данных оперативной пам ти, который подаетс  на адресный выход устройства в оперативную пам ть и на арифметико-логический узел 35, на котором он модифицируетс . Из оперативной пам ти в выходной регистр 4 считываетс  двойное слово данных,Младший байт адреса оперативной пам ти, который адресует первое слово данных из первого регистра 34 блока 1 через первый элемент И 6 устанавливает первый триггер 7, который через первый элемент И-НЕ 8 управл ет выбором на первой группе элементов И-ИЛИ 5 первого слова данных, которое поступает на коммутатор 14, С выхода триггера 55 передачи данных блока 17 на информационный вход второго триггера 11 подаетс  сигнал, который устанавливает этот триггер в начале первогоthe address to which the first register 34 in the first memory cycle counts the address of the RAM data, which is fed to the address output of the device to the RAM and to the arithmetic logic unit 35 on which it is modified. The double data word is read from the RAM into the output register 4. The low byte of the RAM address that addresses the first data word from the first register 34 of block 1 through the first element AND 6 sets the first trigger 7, which through the first element AND-NOT 8 controls E by selecting the first data word on the first group of elements AND-OR 5, which goes to the switch 14, From the output of the data transfer trigger 55 of the block 17, the information input of the second trigger 11 is given a signal that sets this trigger at the beginning of the first

цикла микрокоманды Пам ть, Второй триггер 11 управл ет передачей через коммутатор 14 первого слова данных из оперативной пам ти, которое проходит через вторую группу элементовcycle of microcommand Memory, Second trigger 11 controls the transfer through the switch 14 of the first word of data from the operational memory that passes through the second group of elements

И-ИЛИ 20 под управлением выхода записи блока 19 и через первую группу регистров 15, так как на синхронизирующий вход подаетс  посто нный строб, защелкиваетс  во второй группе регистров 16 по стробу, сформированному на первой группе элементов И-ИЛИ 79 и 80 блока 17 по сигналам с выхода группы триггеров 58 и 59 передачи данных каналов и триггера 70 второгоAND-OR 20 under the control of the write output of block 19 and through the first group of registers 15, since a constant gate is applied to the synchronization input, is latched into the second group of registers 16 along the gate formed on the first group of elements AND-OR 79 and 80 of block 17 the signals from the output of the group of triggers 58 and 59 of data transmission channels and the trigger 70 of the second

ных, которое через коммутатор 14 под управлением сигнала с выхода второго элемента И 13 поступает через вторую цикла передачи и синхросигнала. Из местной пам ти 32 блока 1 во втором цикле пам ти на первый регистр 34 считываетс  счетчик байтов, которые осталось передать из оперативной пам ти в каналы. Счетчик байтов передаетс  на арифметико-логический узел 35, на котором он модифицируетс . После сброса второго триггера 11 управление коммутатором 14 переключаетс  на выдачу из регистра результата 36 модифицированного адреса, который записываетс  в местную пам ть 32,Затем на втором элементе И-НЕ 10 по сигналу с выхода триггера 70 второго цикла передачи блока 17 и сигналу с синхровхода устройства 21 вырабатываетс  сигнал, который поступает на рторой вход первого элемента И-НЕ 8 и инвертирует выходы этого элемента. Таким образом, перва  группа элементов И-ИЛИ 5 выбирает второе слово дангруппу элементов И-ИЖ 20 на первую группу регистров 15 и защелкиваетс  по стробу, сформированному на второй группе элементов И-ШТИ 81 по сигнала1 с выхода группы триггеров 58 и 59 пе11 :which, through the switch 14 under the control of the signal from the output of the second element, And 13 enters through the second transmission cycle and the synchronization signal. From the local memory 32 of block 1 in the second cycle of memory to the first register 34, the byte count is read, which remains to be transferred from the main memory to the channels. The byte counter is transmitted to the arithmetic logic unit 35 on which it is modified. After resetting the second trigger 11, the control of the switch 14 switches to issuing from the register the result 36 of the modified address, which is recorded in the local memory 32, then at the second AND-NE 10 element according to the output signal of the trigger 70 of the second transmission cycle of the unit 17 and the signal from the device's synchronous input 21, a signal is generated which is supplied to the second input of the first element NAND 8 and inverts the outputs of this element. Thus, the first group of elements AND-OR 5 selects the second word dan group of elements I-IL 20 onto the first group of registers 15 and latches along the gate formed on the second group of elements I-STI 81 on signal 1 from the output of the group of triggers 58 and 59 ne11:

редачи данных каналов, синхросигнала с выхода группы триггеров 75 и 76 второго цикла передачи каналов. Запись модифицированного счетчика из регистра 36 результата блока 1 в мес тную пам ть 32 выполн етс  на фоне выполнени  следующей микрокомандьг,data transmission channels, the sync signal from the output of the group of triggers 75 and 76 of the second cycle of transmission channels. A modified counter is recorded from the register 36 of the result of block 1 into the local memory 32 against the background of the following microinstruction,

На фиг,10 изображена диаграмма работы устройства дл  выполнени  аппаратурно-сформированной микрокоманды Пам ть записи в оперативную пам ть . На диаграмме прин ты следующие обозначени : а - синхронизаци ; &выход триггера 68 первого цикла передачи; В - выход триггера 69 промежуточного цикла передачи;;2 - прием в первый регистр 34 адреса оперативной пам ти; J - прием во второй регистр 33 данных из второй группы регистров 16; е - прием данных во входной регистр 2; Ж - строб второй группы регистров 16; 0 - запись в оперативную пам ть.FIG. 10 shows a diagram of the operation of the device for performing hardware-generated microcommand Memory in RAM. The following notation is used in the diagram: a - synchronization; & trigger output 68 of the first transmission cycle; B - output of the intermediate transfer cycle trigger 69 ;; 2 - reception of the memory address in the first register 34; J - receiving in the second register 33 data from the second group of registers 16; e - receive data in the input register 2; W - gate of the second group of registers 16; 0 - write to the RAM.

Устройство дл  записи данных из первой и второй групп регистров 15 и 16 в оперативную пам ть работает следующим образом.A device for recording data from the first and second groups of registers 15 and 16 into the RAM operates as follows.

С второго информационного выхода группы регистров 16 в блок 1 во второй регистр 33 через вторую группу элементов И-ИЛИ 38 под управлением сигнала с выхода триггера 57 передачи данных блока 17 принимаетс  первое слово данных по стробу с выхода первого элемента И-ИЛИ 77 блока 17, который вырабатываетс  по синхросигналу . После приема первого слова во второй регистр 33 блока 1 данные через первый управл ннций выход 51 блока 1 подаютс  на входной регистр 2, в котором принимаютс  по стробу, ° сформированному на втором элементе И-ИЛИ 78 блока 17, который вырабатываетс  .по синхросигналу и третьему управл ющему выходу блока 1, После приема первого слова данных во- входной-регистр 2 второе слово данных из первой группы регистров 15 переписываетс  во вторую группу регистров 16 по стробу с выхода первой группы элементов И-ИЖ 79 и 80 блока 17, сформированного по сигналам с выхода группы триггеров 58 и 59 передачи ,данных каналов, триггера 68 первого цикла передачи и синхросигнала, С выхода второй труппы регистров 16 второе слово данных записываетс  во второй регистр 33 блока 1 через рторую группу элементов И-ИЛИ 38 по стробуFrom the second information output of the group of registers 16 to block 1 to the second register 33, through the second group of elements AND-OR 38, under the control of the signal from the output of the data transfer trigger 57 of block 17, the first gate data word is received from the output of the first element AND-OR 77 of block 17, which is generated on a clock signal. After receiving the first word in the second register 33 of block 1, the data through the first control output 51 of block 1 is fed to the input register 2, in which it is received via a gate formed on the second element AND-OR 78 of block 17, which is generated by the sync signal and the third to the control output of block 1, after receiving the first data word in input-register 2, the second data word from the first group of registers 15 is rewritten into the second group of registers 16 by the gate from the output of the first group of elements I-IZH 79 and 80 of block 17, formed from signals out Yes, groups of trigger 58 and 59 of transmission, data of channels, trigger 68 of the first transmission cycle and clock signal. From the output of the second group of registers 16, the second data word is written into the second register 33 of block 1 via the second group of AND-OR 38 elements through the gate

80642128064212

с выхода первого;элемента И-ИЛИ 77 блока 17, сформированного по сигналам с выхода триггера 57 передачи данных, триггера 68 первого циклаfrom the output of the first; element AND-OR 77 of the block 17, generated by the signals from the output of the data transfer trigger 57, the trigger 68 of the first cycle

с передачи и синхросигнала, С выхода второго регистра 33 блока 1 второе слово данных поступает на входной регистр 2, на котором оно защелкиваетс  по стробу с выхода второго зле10 мента И-ИЛИ 78 блока 17, сформированному по сигналам с выхода тригге- ра 55 передачи данных и синхросигналу . Из местной пам ти 32 блока 1 считываетс  адрес, который через первый f5 регистр 34 передаетс  на адресный выход устройства в оперативную пам ть. По п тому выходу дешифратора 31 бло ка 1 на элементе И 39 вырабатываетс  строб замен в оперативную пам ть, ко20 торый подаетс  на стробирующий выход устройства.from the transmission and the clock signal; From the output of the second register 33 of block 1, the second data word is fed to the input register 2, on which it latches on the gate from the output of the second evil AND-OR 78 of block 17, generated from the signals from the output of the data transfer trigger 55 and sync signal. From the local memory 32 of block 1, the address is read, which through the first f5 register 34 is transmitted to the address output of the device in the operational memory. On the fifth output of the decoder 31 of block 1 on the element I 39, a gate of replacements is produced in the RAM, which is fed to the gate output of the device.

Организаци  общего пол  подканала в устройстве дл  обмена данными между группой каналов ввода-вывода и 25 оперативной пам тью выполн етс  аппаратно-микропрограммным способом.The organization of a common subchannel field in the device for data exchange between a group of I / O channels and 25 RAM is performed by hardware-firmware method.

Устройство в данном случае работает следующим образом,The device in this case works as follows

30 Аппаратна  часть реализации общего пол  подканалов основана на использовании регистра 23 заданий, узла 24 коммутации, блока 25 приоритетных шифраторов, блока 26 регистров,2 узла 27 дешифрации. Микропрограммна  часть реализации обобщенного пол  подканалов основана на использовании йсего оборудовани  процессора, в сос|Тав которого входит устройство дл 30 The hardware part of the implementation of the common subchannel floor is based on the use of the register of 23 tasks, switching node 24, block 25 priority encoders, block 26 registers, 2 nodes 27 decryption. The firmware part of the implementation of the generalized field of subchannels is based on the use of the processor’s hardware, which includes a device for

40 обмена данными между группой каналов ввода-вывода оперативной пам тью,При этом процессор управл ет работой группы каналов ввода-вывода с помощью специальных команд ввода-вывода, 40 data exchange between a group of I / O channels of RAM, wherein the processor controls the operation of a group of I / O channels using special I / O commands,

45 Обращение к программе канала осуществл етс  с помощью адресного слова канала , расположенного в фиксированной  чейке оперативной пам ти. Адресное слово канала содержит ключ защиты и45 A channel program is accessed using the channel address word located in a fixed memory cell. The channel address word contains the security key and

50 адрес первого управл ющего слова канала , которое первоначально находитс  в оперативной пам ти.50 is the address of the first control word of the channel, which is initially located in the RAM.

Программа канала состоит из последовательности управл ющих слов ка55 нала. Управл ющие слова канала содержат всю необходимую информацию дл  организации и проведени  св зи канала ввода-вывода с периферийным устройством , С целью обеспечени  макси ально эффективного с точки зрени  быстродействи  анализа управл ющего слова канала управл ющее слово канала из оперативной пам ти переписываетс  в определенные  чейки (подканалы ) более быстродействующей местной пам ти, в которой управл ющие слова канала сохран ютс  до конца работы канала ввода-вывода с периферийным устройством.A channel program consists of a sequence of control words of a channel. Channel control words contain all the necessary information for organizing and conducting communication of an I / O channel with a peripheral device. In order to ensure that the control word of the channel control word from the memory memory is efficient from the point of view of performance of the channel control word, it is copied into certain cells ( subchannels) of faster local memory in which the channel control words are kept until the end of the I / O channel operation with the peripheral device.

При работе одного канала.вводавывода из группы каналов с несколькими периферийными устройствами одновременно в местной пам ти необходимо хранить столько управл ющих слов канала, сколько периферийных устройств одновременно запущено по всей группе каналов. Таким образом, возможное количество одновременно запущенных периферийных устройств определ етс  количеством подканалов, т.е. тем максимальным объемом в местной пам ти, который отводитс  дл  хранени  общего количества управл ющих каналов. Таким образом, чтобы максимально использовать адресное поле периферийных устройств дл  каждого канала, которое определ ет максимально возможноеКоличество периферийных устройств, которое можно подключить к одному каналу ввода-вывода (а в рассматриваемом случае 256 устройств), в местной пам ти необходимо отвести объем, достаточный дл  хранени  256хп подканалов (где п - количество каналов ввода-вывода .в группе). Если учесть, что дл  хранени  одного подканала необходимо в местйой пам ти отвести четыре тридцатидвухразр дных слов, и то, что не дл  каждого пользовател  необходимо такое количество подканалов, вариант предоставлени  максимального количества подканалов не  вл етс  оптимальным.When a single channel of input from a group of channels with several peripheral devices is operating simultaneously, as many channel control words as the peripheral devices are simultaneously running across the entire group of channels in the local memory. Thus, the possible number of simultaneously running peripherals is determined by the number of subchannels, i.e. by that maximum amount in the local memory which is allocated for storing the total number of control channels. Thus, in order to maximize the address field of peripheral devices for each channel, which determines the maximum possible Number of peripheral devices that can be connected to one I / O channel (and in this case 256 devices), you need to allocate enough space in the local memory storing 256xp subchannels (where n is the number of I / O channels in the group). If we consider that four thirty-two-word words need to be allocated in local memory for storing one subchannel, and the fact that not every user needs such a number of subchannels, the option of providing the maximum number of subchannels is not optimal.

Организаци  общего пол  подканалов с их динамическим назначением позвол ет, во-первых,оптимальным образом перераспределить подканалы между группой каналов, во-вторых, при оптимальном количестве подканалов организовать возможность подключени  к каждому каналу ввода-вывода максимального количества периферийных устройств.The organization of a common field of subchannels with their dynamic assignment allows, first, to optimally redistribute subchannels between a group of channels, and secondly, with the optimal number of subchannels, it is possible to organize the possibility of connecting to each input / output channel the maximum number of peripheral devices.

Выбор оптимального количества подканалов осуществл етс  путем коммутации в регистре 23 вручную при помощиThe selection of the optimal number of subchannels is accomplished by switching in register 23 manually using

переключателей или каким-либо другим образом соответствующих разр дов (в данном случае тридцатидвухразр дного регистра) таким образом, чтобы на инЛормационный выход регистра 23 заданий поступал 32-разр дный код, определ ющий выбранное количество подканалов . При выполнении микропрограммы сброса системы, котора  выполн етс switches or otherwise appropriate bits (in this case, the thirty-two-bit register) so that the inLormation output register 23 of tasks received a 32-bit code defining the selected number of subchannels. When executing a firmware reset system that runs

каждьш раз при загрузке системы команд или после нажати  на пульте оператора кнопки Сброс системы, этот код по микрокоманде чтени , продешифрованной на дешифраторе 31, считыва5 етс  сигналом чтени  с группы выходов 56 из регистра 23 через узел 24, третий информационный вход 55 блока 1, элемент И-ИПИ 38, регистр 33, арифметико-логический узел 35, регистр 36every time when the command system is loaded or after pressing the System Reset button on the operator’s console, this code is read by the read microcommand decoded on the decoder 31 and read 5 by a read signal from the output group 56 from the register 23 through node 24, the third information input 55 of block 1, element I-IPI 38, register 33, arithmetic logic unit 35, register 36

0 результата, второй управл ющий выход 53 блока 1, первый вход коммутатора 14, первый информационный вход 41 блока 1 и записываетс  стандартным . образом в определенную  чейку мест5 ной пам ти 32 как характеристика количества подканалов, отведенных в местной пам ти дл  группы каналов ввода-вывода. В дальнейшем эта информаци  используетс  каждый раз при вы0 полнении очередной команды ввода-вывода дЛ  назначени  свободного подканала . Если свободных подканалов нет, выполнение команды ввода-вывода прекращаетс .0 result, the second control output 53 of unit 1, the first input of switch 14, the first information input 41 of unit 1 and is recorded as standard. Thus, in a certain cell of the memory 32 as a characteristic of the number of subchannels allocated in the local memory for a group of I / O channels. In the future, this information is used every time when the next I / O instruction is issued for assigning a free subchannel. If there are no free subchannels, the I / O command is terminated.

При этом канальна  микропрограмма формирует такой признак результата , который формировалс  бы, если бы при выполнении команды ввода-выво да оказалось, что нужного периферийного устройства нет. Подобный алгоритм формировани  признака результата при отсутствии свободных подканалов выбран из расчета, чтобы указать пользователю, что при существующем количестве подключенных к группе каналов ввода-вывода периферийных устройств выбранного количества подканалов недостаточно. Такой вывод дол0 жен сделать пользователь, когда операционна  система (или кака -либо друга  система) стандартно сообщает, что конкретного периферийного устройства нет, а на самом деле оно под5 ключено и нормально функционирует. Измен   общее количество подканалов в ту или другую сторону, пользователь индивидуально дл  собственных нужд выбирает, оптимальное количество подканалов. Организаци  подключени  максимального количества периферийных устройств к каждому каналу ввода-вывода из группы каналов выполн етс  путем произвольного назначени  подканалов , т.е. путем возможности назначени  любого подканала любому периферийному устройству с дальнейшим освобождением этого подканала после конца св зи с периферийным устройством . Произвольное назначение подка налов в рассматриваемом случае выполн етс  аппаратно-микропрограммным способом. При Этом используетс  апларатура узла 24, блоков 25, 26 и (узла 27. Кроме того, используютс  таблицы, расположенные в местной пам ти , и несколько  чеек местной пам  ти, необходимые дл  оперативной обработки управл ющей информации. Перва  таблица содержит 256 последовательно адресованных  чеек местной пам ти, кажда  из которых предназна чена дл  хранени  адреса назначенного подканала дл  конкретного периферийного устройства. Адресаци   чеек этой таблицы соответствует адресации. максимального количества периферийных устройств, которые могут быть подключены к одному каналу ввода-вывода. Количество первых таблиц определ етс  количеством каналов ввода-вывода в группе. Перва  таблица предназначена также дл  хранени  признака, который говорит о том, назначен дл  периферийного устройства подканал или нет. При назначении подканала этотAt the same time, the channel microprogram generates such an indication of the result, which would have been formed if during the execution of the input-output command it turned out that the required peripheral device does not exist. Such an algorithm for generating a result attribute in the absence of free subchannels is selected from the calculation to indicate to the user that with the existing number of peripheral devices connected to the I / O channel group, the selected number of subchannels is not enough. This conclusion should be made by the user when the operating system (or any other system) standardly reports that there is no specific peripheral device, but in fact it is connected and functioning normally. By changing the total number of subchannels in one direction or another, the user individually selects for his own needs the optimal number of subchannels. The organization of connecting the maximum number of peripheral devices to each I / O channel from the channel group is accomplished by randomly assigning subchannels, i.e. by the possibility of assigning any subchannel to any peripheral device with a further release of this subchannel after the end of communication with the peripheral device. The arbitrary assignment of pods in this case is performed in a hardware-firmware manner. This uses the hardware of node 24, blocks 25, 26, and (node 27. In addition, tables located in the local memory and several local memory cells are used for the operational processing of control information. The first table contains 256 consecutively addressed cells local memory, each of which is intended to store the address of the assigned subchannel for a specific peripheral device. The addressing cells of this table correspond to the addressing of the maximum number of peripheral devices that could They can be connected to one I / O channel. The number of first tables is determined by the number of I / O channels in a group. The first table is also used to store a sign that indicates whether a subchannel is assigned to a peripheral device or not.

признак устанавливаетс . После конца работы с периферийным устройством, когда подканал не нужен, этот признак сбрасываетс .the sign is established. After the end of the peripheral operation, when the subchannel is not needed, this flag is reset.

Втора  таблица, содержаща  В рассматриваемом случае тридцать два 32разр дных слова совместно с указателем слов второй таблицы, которьш в рассматриваемом случае состоит из одного 32-разр дного слова используетс  дл  формировани  адреса свободного подканала. Втора  таблица определ ет то максимальное количество подканалов, которое может быть отведено дл  группы каналов (в данном случае 1024), Действительное количество отведенных подканалов устанавливаетс  путем коррекции этой табли цы и указател  слов второй таблицыThe second table containing In this case, the thirty-two 32-bit words, together with the word pointer of the second table, which in this case consists of one 32-bit word, is used to form the address of the free subchannel. The second table defines the maximum number of subchannels that can be assigned to a group of channels (in this case 1024). The actual number of assigned subchannels is determined by correcting this table and the pointer to the second table.

хот  бы одного свободного подканала, определ емого одним словом этой таблицы характеризуетс  соответствующимat least one free subchannel defined in one word of this table is characterized by the corresponding

второй таблицы по адресу 3 нет. Учитыва  сказанное, первоначальна  устанрвка соответствующего количества подканалов, которое определ етс  кодом , считанным из регистра 23, осу45 ществл етс  микропрограммно путем установки в единичное состо ние соответствующего количества бит в словах второй таблицы и в указателе слов этой таблицы.The second table at address 3 is not. Considering the above, the initial installation of the corresponding number of subchannels, which is determined by the code read from register 23, is implemented microprogrammatically by setting the corresponding number of bits in the second table and in the index of words of this table in one state.

50 . В процессе выполнени  команды ввода-вывода по номеру канала и адресу периферийного устройства, указанных в выполн емой команде ввода-вывода, выбираетс  соответствующее слово из50 . During the execution of an I / O command, according to the channel number and the address of the peripheral device indicated in the I / O command being executed, the corresponding word is selected from

55 первой таблицы и запоминаетс  в одной из  чеек местной пам ти. Цель этой выборки - определить свободно ли адрессованное в команде ввода-вывода в соответствии С;характеристикой количества подканалов, ртведенн з1х в местной пам ти дл  группы каналов ввода-вывода, указанной в.коде, считайном из регистра 23 заданий. Указатель слов второй таблицы используетс  дл  оперативного нахождени  свободного подканала из общего количества отведенных подканалов. Формирование адреса свободного подканала выполн етс  путем определени  п тиразр дного адреса слова второй таблицы (старшие разр ды адреса подканала) и п тиразр дного адреса бита в этом слове (младшие разр ды адреса подканала), Так как адрес слова второй таблицы определ етс  адресом бита в указателе слов второй табдицы , то адрес свободного подканала Нормируетс  из адреса бита в указателе слов второй таблицы и адреса бита в соответствующем слове второй таблицы. Формирование адреса свободного подканала дл  конкретного периферийного устройства выполн етс  следующим образом. Общее количество подканалов задаетс  путем установки в нулевое.состо ние общего количества бит в словах второй таблицы. Причем наличие 35 битом указател  слов второй таблицы, установленного в нулевое состо ние, Например, если бит 3 указател  слов второй таблицы установлен, в 1, то свободных подканалов адресуемых слов55 of the first table and is stored in one of the local memory cells. The purpose of this sample is to determine whether the addressable in the I / O command in accordance with C is free; the characteristic of the number of subchannels merged into the local memory for the I / O channel group indicated by the code counted from the 23 jobs register. The word pointer of the second table is used to quickly find a free subchannel from the total number of allocated subchannels. The formation of the address of a free subchannel is performed by determining the five-bit address of the second table (the upper bits of the sub-channel address) and the five-bit address of the bit in this word (the lower bits of the subchannel address). Since the address of the word of the second table is determined by the bit address in index of the second table, the address of the free subchannel is normalized from the bit address in the index of the second table and the bit address in the corresponding word of the second table. The formation of the free subchannel address for a specific peripheral device is performed as follows. The total number of subchannels is specified by setting the total number of bits in the words in the second table to zero. Moreover, the presence of 35 bits of the pointer of the second table, set to the zero state. For example, if bit 3 of the pointer of the second table is set to 1, then the free subchannels of addressed words

периферийное устройство или нет, что, выполн етс  путем анализа признака назначени , подканала.peripheral device or not, which is accomplished by analyzing the destination attribute, the subchannel.

Если подканал назначен, следовательно , адресованное в команде ввода-вывода периферийное устройство, зан то и выполнение команды вводавывода прекращаетс .If a subchannel is assigned, therefore, a peripheral device addressed to the I / O command is busy, the execution of the I / O command is terminated.

Если подканал не назначен, периферийное устройство свободно, выпол- fO If no subchannel is assigned, the peripheral device is free, performed fO

нение Команды ввода-вывода продолжаетс .The I / O command continues.

Выполн етс  попытка назначени  свободного подканала. Дл  этой цели анализируетс  наличие свободных под- 15 146, An attempt is made to assign a free subchannel. For this purpose, the availability of free sites is analyzed.

каналов. Анализ выполн етс  с определени  наличи  нулевых битов в указателе слов второй таблицы. Если нулевых битов нет, т,е, свободные подканалы отсутствуют f выполнение операции ввода-вывода прекращаетс . Если свободные подканалы есть, формируетс  адрес свободного подканала следующим образом.channels. The analysis is performed by determining the presence of zero bits in the pointer of the second table. If there are no zero bits, t, e, there are no free subchannels; the I / O operation is terminated. If there are free subchannels, the address of the free subchannel is formed as follows.

Указатель слов второй таблицы из местной пам ти через регистр 34, арифметико-логический узел 35, регистр 36 результата, управл ющий выход 53 и коммутатор 14 поступает в блок 25 приоритетных шифраторов, Через информационный вход 14 с первого по четвертый байты этого слова поступают на входы с первогоч по четвертый приоритетных шифраторов 133-136 соответственно. Таким образом, на адресных выходах приоритетных шифраторов 133-136 формируютс  адреса первых нулевых битов каждого байта елова . При этом, если нулевых битов в байте нет, соответствующий приоритетный шифратор возбуждает свой управл ющий выход. Следовательно, если в указателе слов второй, таблицы нет ни бдного нулевого бита, возбуждаетс  управл ющий выход п того приоритетно го шифратора 137,который по линии 14 соединен с информационным выходом 145 Если свободные подканалы есть, то двухразр дный адрес, сн тый с адресного выхода приоритетного шифратора 137, указывает адрес первого байта указател  слов второй таблицы, в котором есть по крайней мере один нуле вой бит, а трехразр дный адрес, сн тый с выходов мультиплексоров 138140 , указывает адрес бита в соответствующем байте, Двухразр дный адрес .байта по лини м 142 и трехразр дный адрес бита по лини м 141 соединеныThe pointer of the words of the second table from the local memory through the register 34, the arithmetic logic unit 35, the result register 36, the control output 53 and the switch 14 enters the block 25 of priority encoders. Through the information input 14 from the first to the fourth bytes of this word are fed to the inputs From first to fourth priority encoders 133-136 respectively. Thus, the addresses of the first zero bits of each byte of the spruce are formed at the address outputs of the priority encoders 133-136. In this case, if there are no zero bits in the byte, the corresponding priority encoder initiates its control output. Therefore, if there is no zero zero bit in the second word table pointer, the control output of the first priority encoder 137 is excited, which is connected via line 14 to information output 145 If there are free subchannels, then a two-bit address removed from the address output the priority encoder 137 indicates the address of the first byte of the pointer of the words of the second table, in which there is at least one zero bit, and the three-bit address taken from the outputs of the multiplexers 138140 indicates the address of the bit in the corresponding byte, Duplex the second byte address along the lines 142 and the three-bit address bit along the lines 141 are connected

с информационным выходом 145 блока 25, Таким образом, при помощи блока 25 аппаратным путем выполн етс  анализ наличи  свободных подканалов и формирование адреса слова второй таблицы , в котором есть свободные подканалы ,with information output 145 of block 25; Thus, with the help of block 25, hardware analysis of the presence of free subchannels and the formation of the address of the second table, which has free subchannels, is performed,

Информаци , полученна  на информационном выходе 145 блока 25 по микраторе 31 сигналом записи, сн тым с группового выхода дешифрации 156 блока 1, через групповой вход 153- записи блока 26 записываетс  в регистры The information received at the information output 145 of block 25 on the micrator 31 by a write signal, removed from the group output of the decryption 156 of block 1, is written to the registers via the group input 153- of the record of block 26

и 141 и запоминаетс  с целью дальнейшего анализа.and 141 and is remembered for further analysis.

Анализиру  информацию, сн тую с выхода регистра 146 через первый инФормационный выход 154 блока 26, определ етс  наличие свободных подканалов . Если свободные подканалы есть, с выходов регистров 148 и 150 п тиразр дный код, по которому из второйAnalyzing the information removed from the output of register 146 through the first information output 154 of block 26, the presence of free subchannels is determined. If there are free subchannels, from the outputs of registers 148 and 150 are a five-digit code, from which the second

Claims (1)

таблицы в одну из  чеек местной пам ти считываетс  соответствующее 32разр дное слово, которое затем выдаетс  в блок 25, и по специальной микрокоманде информаци , полученна  рокоманде, продешифрованной на дешиф148 и 150 по лини м 143, 142 на информационном выходе 145 блока 25, запоминаютс  в блоке 26 на регистрах 147, 149 и 151, Таким образом, после анализа двух 32-разр дных слов указател  слов, второй таблицы и одного из слов второй таблицы на первом информаци онном выходе 154 блока 26 формирует:с  дес тиразр дный код,  вл ющийс  адресом свободного подканала. Этот адрес считываетс  и затем заноситс  в первую таблицу вместе с признаком. свидетельствующим о том, что подканал дл  конкретного периферийного устройства назначен. После назначени  подканала кррректируетс  слово второй таблицы и, при необходимости, указатель слов этой таблицы. Дл  этой цели коды адреса бита в байте указател  слов второй таблицы и в байте соответствующего слова этой таблицы по лини м 156 и 157 соответственно подаютс  через второй информационный выход 155 блока 26 в узел 27 на входы дешифраторов 158 и 159, На выходах дешифраторов 158 и 159 устанавливаютс  соответствующие константы, которые используютс  дл  корректировки соответствующего байта слова второй таблицы и при необходимости соответствующего байта указател  слов этой таблицы. После корректировки байта в слове вто рой таблицы это слово провер етс  на наличие в нем свободных подканалов. Дл  этой цели скорректированное слово этой таблицы подаетс  в блок 25 и результат анализа наличи  или отсутстви  свободных подканалов -запоминаетс  в регистре 147, Анализиру  содержимое этого регистра, определ етс  необходимость в корректировке бай та указател  слов второй таблицы и при необходимости байт указател  сло этой таблицы корректируетс  при помощи константы-, считанной с выходов дешифратора 158, Назначение подканала дл  конкретного периферийного уст ройства заканчиваетс . Освобождение подканала выполн етс  после конца св зи канала с периАерийным устройством, когда соответствующий подканал уже не нужен, Осво боткдение подканала осуществл етс  микропрограммным способом, Формула изобретени  Устройство дл  обмена данными между группой каналов ввода-выводаthe corresponding 32-bit word is read into one of the local memory cells, which is then output to block 25, and according to a special micro-command, the information received by the rocomand decoded to decrypt 148 and 150 by lines 143, 142 is stored at information output 145 of block 25, block 26 on registers 147, 149, and 151. Thus, after analyzing two 32-bit word words, a second table, and one of the words of the second table, the first information output 154 of block 26 forms: with a ten-digit code, which is the address of the free subchannel . This address is read and then entered in the first table along with the tag. indicating that a subchannel has been assigned to a specific peripheral device. After the subchannel is assigned, the word of the second table is corrected and, if necessary, the pointer of the words of this table. For this purpose, the address codes of the bit in the pointer byte of the words of the second table and in the byte of the corresponding word of this table are sent via lines 156 and 157, respectively, through the second information output 155 of block 26 to node 27 to the inputs of the decoders 158 and 159. At the outputs of the decoders 158 and 159 the corresponding constants are set, which are used to adjust the corresponding byte of the word of the second table and, if necessary, the corresponding byte of the pointer of the words of this table. After adjusting the byte in the word of the second table, this word is checked for the presence of free subchannels in it. For this purpose, the corrected word of this table is fed to block 25 and the result of the analysis of the presence or absence of free subchannels is stored in register 147, analyzing the contents of this register, it is determined that the pointer of the second table should be corrected and, if necessary, the pointer of the table pointer of this table is corrected using a constant- read from the outputs of the decoder 158, the assignment of the subchannel for a specific peripheral device is completed. The release of the subchannel is performed after the end of the channel communication with the periarial device when the corresponding subchannel is no longer needed. The subchannel is mastered by a microprogram method, Formula of the invention A device for exchanging data between a group of I / O channels Фиг. 2 и оперативной пам тью по авт,св, № 1190385, отличающеес  тем, что, с целью расширени  функциональных возможностей путем организации общего пол  пам ти подканалов, в него введены регистр заданий,узел коммутации, блок приоритетных шифраторов , блок регистров, узел дешифраторов , причем информационный выход регистра заданий соединен с первым информационным выходом узла ком; .чутации, второй информационный вход которого соединен с первым информационным выходом блока регистров, второй информационный выход которого соединен с информационными входами . узла дешифраторов, выход которого соединен с третьим Информационным входом узла коммутации, выход которого соединен с третьим входом логических условий блока микропрограммного управлени , группа управл ющих выходов которого соединена с группой управл ющих входов узла коммутации и с группой входов записи блока регистров , информационный вход которого соединен с входами блока приоритетных шифраторов, информационный вход которого соединен свыходом коммутатора .FIG. 2 and operative memory of aut., Cf., No. 1190385, characterized in that, in order to expand functionality by organizing a common field of subchannel memory, a job register, a switching node, a block of priority encoders, a block of registers, a decoder node, are entered into it, moreover, the information output of the register of tasks is connected with the first information output of the node com; numerical information, the second information input of which is connected to the first information output of the block of registers, the second information output of which is connected to information inputs. the decoder node whose output is connected to the third Information input of the switching node, the output of which is connected to the third input of the logic conditions of the microprogram control unit, the control output group of which is connected to the group of control inputs of the switching node and the information input of which is connected with the inputs of the block of priority encoders, whose information input is connected to the output of the switch. /52/ 52 (Риг. 4(Reg. 4 flf«.5flf ".5 wowo
SU853950563A 1985-08-30 1985-08-30 Device for exchanging data between group of input-output channels and internal memory SU1280642A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU853950563A SU1280642A2 (en) 1985-08-30 1985-08-30 Device for exchanging data between group of input-output channels and internal memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU853950563A SU1280642A2 (en) 1985-08-30 1985-08-30 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
SU1280642A2 true SU1280642A2 (en) 1986-12-30

Family

ID=21196345

Family Applications (1)

Application Number Title Priority Date Filing Date
SU853950563A SU1280642A2 (en) 1985-08-30 1985-08-30 Device for exchanging data between group of input-output channels and internal memory

Country Status (1)

Country Link
SU (1) SU1280642A2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР 1190385, кл. G 06 F 13/00, 1985. *

Similar Documents

Publication Publication Date Title
US3771137A (en) Memory control in a multipurpose system utilizing a broadcast
US3569938A (en) Storage manager
US4493026A (en) Set associative sector cache
US3728693A (en) Programmatically controlled interrupt system for controlling input/output operations in a digital computer
US4373179A (en) Dynamic address translation system
US4158227A (en) Paged memory mapping with elimination of recurrent decoding
EP0121373A2 (en) Multilevel controller for a cache memory interface in a multiprocessing system
US4320456A (en) Control apparatus for virtual address translation unit
CA1204218A (en) Data processing system with logical to physical address translation means
US5479625A (en) Ring systolic array system for synchronously performing matrix/neuron computation using data transferred through cyclic shift register connected in cascade of trays
US4188662A (en) Address converter in a data processing apparatus
US4422144A (en) Microinstruction substitution mechanism in a control store
GB1491520A (en) Computer with i/o control
US3444526A (en) Storage system using a storage device having defective storage locations
KR900015008A (en) Data processor
US4991083A (en) Method and system for extending address space for vector processing
US4096570A (en) Subchannel memory access control system
SU1280642A2 (en) Device for exchanging data between group of input-output channels and internal memory
ES348591A1 (en) Method and apparatus for multiplex control of a plurality of peripheral devices for transfer of data with a central processing system
US5440689A (en) Interprocessor communication system for direct processor to processor communication between internal general purpose registers transparent to the execution of processors thereof
US3544965A (en) Data processing system
SU1278867A2 (en) Device for exchanging data between group of input-output channels and internal memory
US4233669A (en) Redundant bubble memory control system
US3781811A (en) Memory protective systems for computers
JPS58115565A (en) Data processor