Изобретение относитс к вычислительной технике и может быть использовано в каналах ввода-вывода цифровых вычислительных машин. По основному авт. св. ( 561955 известен мультиплексный канал, содержащий блок сопр жени с центральным процессором, первый вход которого подключен к первому входу кангша, пер вый выход - к первому выходу канала, блок сопр жени с центральной оперативной пам тью, первый вход которого подключен ко второму входу канала, а первые два выхода соединены соответственно со вторым и третьим выходами канала, блок сопр жени с внешними устройствами, первые вход и выход которого соединены соответственно с тре тьим входом и четвертым выходом канала , регистр подканала, первый вход которого подключен ко второму выходу блока сопр жени с центральным процессором ., второй соединен со вторам выходом блока сопр жени с внешними устройствами, а выход подключен к первому входу блока местной пам ти второму входу блока сопр жени с цен тральным процессором и второму входу блока сопр жени с внешними устройствами , регистр управлени , два входа которого соединены соответственно с выходом блока мастной пам ти и третьим выходом блока сопр жени с центральной оперативной пам тью,блок модификации адресов чеек,вход которого подключен к ВЫХОДУ регистра управлени , а выход - ко второму входу блока сопр жени с центральной оперативной пам тью и второму входу блока местной пам ти, регистр информации, три входа которого соединены соответственно с выходом блока местной пам ти, с третьим выходом блока сопр жени с центральной оперативной пам тью и вторым выходом блока сопр жени с внешними устройствами, а два выхода подключены соответственно ко второму входу блока местной пам ти и второму входу блока сопр жени с внешними устройствгми , блок контрол интерфейса, первые вход и выход которого соединены соответственно с четвертым входом и п тым выходом канала, вторые вход и выход - соответственно со вторыми выходом и входом блока сопр жени с внешними устройствами, третий выход - с шестым выходсж канал(ь$ Недостатком указанного мультиплексного кангьпа вл етс его низка про-. пускна спосовность, что снижает про изводительностъ системы обмена и ЦВМ так как средства процессора и программного обеспечени привлекаиотс дл инициировани обмена с каждым внешним устройством. Канал может самосто тельно выбирать команды из централь|Ной оперативной пам ти только при зацеплении по командам или по данным. Команды, выбираемые каналом по цепочке , должны адресоватьс к одному и тому же внешнему устройству. В то же врем в .программах обмена часто ветре чаютс участки, представл ющие собой р д последовательных обменов с различ ными внешними устройствами. Особенно это касаетс управл ющих ЦВМ (например , последовательный опрос различных датчиков). Цель изобретени - повышение пропускной способности канала дл увеличени производительности системы обмена . Поставленна цель достигаетс тем что в мультиплексном канале третий вход регистра подканала подключен к третьему выходу блока сопр жени с центральной оперативной пам тью. На чертеже приведена блок-схема предлагаемого мультиплексного канала Канал содержит блок 1 сопр жени с центральным процессором, блок 2 со пр жени с центральной оперативной пам тью, регистр 3 подканала, регист 4 управлени , блок 5 модификации адресов чеек, регистр 6 информации, блок 7 местной пам ти, блок 8 сопр ж ни 6 внешними устройствами и блок 9 контрол интерфейса. Устройство работает следующим образом . При поступлении в канал инструкци ввода-вывода от процессора блок 1 вы дает признак инструкции и код номера внешнего устройства дл фиксации на регистре 3 подканала. Через блок 2 сопр жени с центральной оперативной пам тью производитс прием в канал сщресного слова канала и по нему управл ющего слова канала с фиксацией управл ющей информации подканала на регистре 4 управлени . Модификаци адресов чеек центральной оперативной пам ти осуществл етс блоком 5, обмен данными с внешними устройствами - через регистр 6 информации. Код услови формируетс в блоке сопр жени с центральным процессором. Параллельно с приемом в канал управл ю14ей информации производ тс начальна вы борка внешнего устройства по адресу, наход щемус на регистре 3 подканала обмен с ним служебной информацией и пересьшка ему кода команды. Передача внешнему устройству и прием от него информации осуществл ютс через блок 8 сопр жени с внешними устройствами При выполнении команды ЧИТАТЬ прин тые от внешнего устройства байты дан ных формируютс в слЬва на регистре 6 информации и по мере формировани передаютс в блок 2 и далее в центральную оперативную пам ть. Адрес чейки выдаетс из блока 5 модификации адресов чеек через блок 2 . Но команде ПИСАТЬ пор док передачи информации обратный - через блок 2 сопр жени с центральной оперативной пам тью, регистр 6 информации и далее побайтно через блок 8 внешнему устройству. Управл юща информаци подканала хранитс в блоке 7 местной пам ти, куда она записываетс после окончани обслуживани данного внешнего устройства и откуда она извлекаетс , когда начинаетс следующий сеанс св зи с данным внешним устройством.Сеанс св зи начинаетс при готовности внешнего устройства к передаче данных ,дл низкоскоростных устройств - в режиме разделени времени канала С в мультиплексном режиме). Если внешнее устройство готово к приему или передаче порции данных,оно выставл ет требование на обслуживание в канал. Канал осуществл ет выборку адреса внешнего устройства, выставившего запрос, и производит запись этого адреса через блок; 8 в регистр 3 подканала . По этому адресу на регистры 4 и б принимаютс из блока 7 соответственно управл юща информаци , подканала и слово данных, производитс обмен данными с внешним устройством , и измененна управл юща информаци и слово данных возвращаютс с регистров 4 и 6 в блок 7 местной пам ти. После нормального (без ошибок.) за.вершени выполнени команды обмена канал производит обращение в центральную оперативную пам ть за следующей командой обмена. Модификаци адреса управл юще.го слова производитс блоком 5. Управл ющее слово, выбранное из центральной оперативной пам ти, содержит номер внешнего устройства, который может быть отличен от номера внешнего устройства в предыдущей команде обмена. Далее канал выполн ет те же действи , что и при получении команды от процессора, т.е. помещает номер внешнего устройства в регистр 3 подканала и производит по нему выборку внешнего устройства и обмен данными с внешним устройством. Команды, выбираемые каналом из центральной оперативной пам ти, должны адресоватьс к внешним устройствам, использующим один и тот же подканеш. Таким образом , в центральной оперативной пам ти формируютс программы дл подканалов . В конце прогрс1ммы подканала должна сто ть команда останова подканала , котора прекращает дальнейшее выполнение цепочки команд. Канал информирует процессор об окончании выполнени программы канала с помощью прерывани , которое вырабатываетс при выполнении ко.к«1анды останова подканала. Существует также возможность программно управл ть временем выдачи сигнала прерывани с помощью установки указател Программно управл емое прерывание в команде ввода-вывода.The invention relates to computing and can be used in the input-output channels of digital computers. According to the main author. St. (561955 a multiplex channel is known that contains an interface unit with a central processor, the first input of which is connected to the first input of the kangsh, the first output is connected to the first output of the channel, the interface unit with the central operational memory, the first input of which is connected to the second input of the channel, and the first two outputs are connected respectively to the second and third outputs of the channel, the interface unit with external devices, the first input and output of which are connected respectively to the third input and the fourth output of the channel, the subchannel register, the first whose input is connected to the second output of the interface unit with the central processor., the second is connected to the second output of the interface unit with external devices, and the output is connected to the first input of the local memory unit to the second input of the interface unit with the central processor and the second input of the unit interfaces with external devices, the control register, two inputs of which are connected respectively with the output of the master memory unit and the third output of the interface unit with the central random access memory, the unit for modifying the addresses of cells, D which is connected to the OUTPUT of the control register, and the output to the second input of the interface unit with the central random access memory and the second input of the local memory unit, the information register, whose three inputs are connected respectively with the output of the local memory unit, with the third output of the matching unit central memory and the second output of the interface unit with external devices, and two outputs are connected respectively to the second input of the local memory unit and the second input of the interface unit with external devices, the control unit interface, the first input and output of which are connected respectively to the fourth input and the fifth output of the channel, the second input and output, respectively, to the second output and input of the interface box with external devices, the third output to the sixth output channel ($ Disadvantage of the specified multiplex kangp is its low pro-. starting ability, which reduces the performance of the exchange system and the digital computer, as the means of the processor and software are involved in initiating the exchange with each external device. The channel can independently select commands from the central | Noy of the RAM only when it is hooked by commands or by data. Commands selected by the channel along the chain must be addressed to the same external device. At the same time, exchange programs often wind up sections that represent a series of consecutive exchanges with various external devices. This especially concerns control computers (for example, sequential polling of various sensors). The purpose of the invention is to increase the channel capacity to increase the performance of the exchange system. The goal is achieved by the fact that in the multiplex channel the third input of the subchannel register is connected to the third output of the interface unit with the central operational memory. The drawing shows a block diagram of the proposed multiplex channel. The channel contains a block 1 interface with the central processor, block 2 from the central memory, register 3 subchannel, register 4 controls, block 5 modification of the addresses of the cells, register 6 information, block 7 local memory, unit 8 interfaced with 6 external devices and interface control unit 9. The device works as follows. When the I / O instruction from the processor enters the channel, block 1 gives an indication of the instruction and the code of the external device number for fixing the subchannel to register 3. Through the unit 2, the interface with the central RAM is received into the channel by the channel's forward word and, through it, the channel control word, with the control information of the subchannel recorded on the control register 4. Modification of the addresses of the central memory cells is carried out by block 5, data is exchanged with external devices through the register 6 of information. A condition code is generated in the interface unit with the central processor. In parallel with the reception of information into the control information channel, the initial selection of the external device is performed at the address located on the subchannel register 3 of the service information exchange with it and transferring the command code to it. Transmitting to the external device and receiving information from it are carried out through the unit 8 for interfacing with external devices. When executing the READ command, the data bytes received from the external device are formed on the information register 6 and transferred to unit 2 and further to the central operational unit. memory The cell address is issued from block 5 of the modification of cell addresses through block 2. However, the WRITTING command for transmitting information is reversed via the interface 2 with the central operative memory, information register 6 and then byte-by-step via block 8 to an external device. The subchannel control information is stored in a local memory block 7, where it is recorded after the service is terminated by this external device and from where it is retrieved when the next communication session with this external device begins. low-speed devices (in time division mode C channel in multiplex mode). If the external device is ready to receive or transmit a piece of data, it places a service request on the channel. The channel fetches the address of the external device making the request and records this address through the block; 8 in the register 3 subchannel. At this address, registers 4 and b are received from block 7, respectively, control information, subchannel and data word, data is exchanged with an external device, and the modified control information and data word are returned from registers 4 and 6 to block 7 in the local memory. After a normal (without errors), the execution of the exchange command is completed, the channel calls the central operational memory for the next exchange command. The modification of the address of the control word is made by block 5. The control word selected from the central RAM contains the external device number, which may be different from the external device number in the previous exchange command. Further, the channel performs the same actions as when receiving a command from the processor, i.e. puts the number of the external device in the register of 3 subchannels and samples the external device and exchanges data with the external device. Commands selected by the channel from the central RAM should be addressed to external devices using the same sub-cache. Thus, programs for subchannels are formed in the central RAM. At the end of a subchannel program, there should be a subchannel stop command that stops further execution of the command chain. The channel informs the processor of the end of the execution of a channel program using an interrupt, which is generated when a subchannel stop command is executed. It is also possible to programmatically control the time the interrupt signal was generated by setting the pointer Programmatically controlled interrupt in an I / O command.
Таким образом, мультиплексный Канал обеспечивает повышение пропускной способности канала и производительности системы обмена в целом за счет уменьшени времени зан тости процессора выполнением функций по запуску р да абонентов. Такой канал наиболее эффективен в управл ющих ЦВМ, где часто встречаютс участкиThus, the multiplex Channel provides an increase in the channel capacity and the performance of the exchange system as a whole by reducing the time taken by the processor to perform functions to start a number of subscribers. Such a channel is most effective in control computers, where often there are areas
последовательного запуска р да а онентов .sequential launch of the p a and onentov.