SU1267427A1 - Interface for linking input-output channels with internal memory - Google Patents

Interface for linking input-output channels with internal memory Download PDF

Info

Publication number
SU1267427A1
SU1267427A1 SU853955169A SU3955169A SU1267427A1 SU 1267427 A1 SU1267427 A1 SU 1267427A1 SU 853955169 A SU853955169 A SU 853955169A SU 3955169 A SU3955169 A SU 3955169A SU 1267427 A1 SU1267427 A1 SU 1267427A1
Authority
SU
USSR - Soviet Union
Prior art keywords
block
switch
data
output
mask
Prior art date
Application number
SU853955169A
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 SU853955169A priority Critical patent/SU1267427A1/en
Application granted granted Critical
Publication of SU1267427A1 publication Critical patent/SU1267427A1/en

Links

Abstract

Изобретение относитс  к вычислительной технике, в частности к устройствам, состо щим из некоторого числа каналов ввода-вывода и устройства управлени , обслзгж.ивающего в режиме разделени  времени эти каналы , причем каналы могут быть автономными либо встроенными. Устройство позвол ет формировать код модификации дл  операций передачи данных. Оно также Лозвол ет формировать маску записи в оперативную пам ть дл  операций, требующих не только увеличений , но и дл  операций с уменьшением адреса данных. Цель изобретени  - расширение функциональных возможностей за счет реализации формировани  кода модификации дл  опера- ций, требующих не только увеличени , но и уменьшени  адреса данных. Устройство содержит коммутатор данных, коммутатор номера байта, блок формировани  маски, коммутатор адреса, .i коммутатор кода операции, блок сумматоров по модулю два, коммутатор (Л перекомпоновки маски, блок приоритета запросов и блок формировани  кода модификации. Указанна  совокупность блоков позвол ет достигнуть цели изобретени . 1 з.п. ф-лы, 5 ил. ю о:) 1 4 Ю The invention relates to computing, in particular, to devices consisting of a number of input / output channels and a control device serving these channels in the time division mode, and the channels can be autonomous or embedded. The device allows generation of a modification code for data transfer operations. It also allows you to form a write mask to the RAM for operations that require not only increases, but also for operations with decreasing data addresses. The purpose of the invention is to expand the functionality by implementing the generation of a modification code for operations that require not only increasing, but also reducing the data address. The device contains a data switch, a byte switch, a mask generation unit, an address switch, .i operation code switch, a modulo-two adder block, a switch (L mask re-configuration, request priority block and modification code generation block. The specified set of blocks allows to achieve the goal of the invention. 1 Cp f-ly, 5 ill. u o :) 1 4 Yu

Description

Изобретение относитс  к вычисительной технике, в частности к устройствам, состо щим из некоторого числа каналов ввода-вывода и устройства управлени , обслуживающего в режиме разделени  времени эти каалы , причем каналы могут быть автоомными , либо встроенными.The invention relates to a computing technique, in particular, to devices consisting of a number of input / output channels and a control device serving these channels in the time division mode, and the channels can be automatic or embedded.

Цель изобретени  - расширение функциональных возможностей за счет реализации формировани  кода модификации дл  операций, требующих не только увеличени , но и уменьшени  адреса данных. .The purpose of the invention is to expand the functionality by implementing the generation of a modification code for operations that require not only increasing, but also reducing the data address. .

На фиг. 1 приведена структурна  схема предлагаемого устройства сопр  жени  каналов ввода-выво.да с оперативной пам тьюj на фиг. 2 - функциональна  схема блока формировани  ко да модификации; на фиг. 3 - функциональнай схема лока формировани  маски; на фиг. 4 - структурна  схема коммутатора перекомпоновки разр дов , на фиг, 5 - структурна  схема блока сумматоров по модулю два.FIG. Figure 1 shows the structural scheme of the proposed device for interconnecting input-output channels with random-access memory in FIG. 2 - functional block diagram of the formation of the modification code; in fig. 3 — functional scheme of mask location; in fig. 4 is a block diagram of a bit rearranging switch; FIG. 5 is a block diagram of modulo two adders.

Устройство сопр жени  каналов ввода-вывода с оперативной пам тью (фиг. 1) содержит коммутатор 1 данных , коммутатор 2 номера байта,, блок 3 приоритета запросов, блок 4 формировани  маски, коммутатор 5 адреса , коммутатор 6 кода операции, блок 7 сумматоров по модулю два, коммутатор 8 перекомпоновки маски, блок 9 формировани  кода модификации .The I / O channel interface with RAM (Fig. 1) contains a data switch 1, a byte number switch 2, a query priority block 3, a mask generation unit 4, an address switch 5, an operation code switch 6, an adders block 7 module two, switch 8 rearranging the mask, block 9 of the formation of the modification code.

На фиг. канал 10 обозначен, содержащий регистр 11 данных, счетчик 12 байтов, блок 13 выдачи запросов , регистр 14 адреса данн1ых, регистр 15 кода операции. На фиг. 1 обозначены входы 16, 17 данных и номера байта соответственно, вход 18 запросов, вход 9 адреса, вход 20 кода операции, выход 21 данных, выход 22 запроса, адресный выход 23, выход i24 маски, выход 25 кода модификации .FIG. channel 10 is designated, containing the data register 11, a 12 byte counter, a query block 13, a data address register 14, an operation code register 15. FIG. 1 denotes data inputs 16, 17 and byte numbers, respectively, request input 18, address input 9, operation code input 20, data output 21, request output 22, address output 23, mask output i24, modification code output 25.

Блок 9 формировани  кода модификации (фиг, 2) содержит первый 26 и второй 27 дешифраторы, шифратор 28 приоритета, элементы ИЛИ 29-35, элемент И 36.The modification code generation unit 9 (FIG. 2) contains the first 26 and second 27 decoders, the priority encoder 28, the elements OR 29-35, the AND element 36.

Блок 4 формировани  маски (фиг.З) содержит дешифратор 37, мультиплексоры 38-45 разр дов маски, элементы ИЛИ 46-51.The mask generation unit 4 (Fig. 3) contains a decoder 37, multiplexers 38-45 bits of the mask, elements OR 46-51.

Коммутатор 8 перекомпоновки маски (фиг. 4) содержит коммутатор 52.The switch 8 mask rearrangement (Fig. 4) contains the switch 52.

67427i67427i

Блок 7 сумматоров по модулю два (фиг. 5) содержит группу сумматоров 53 по модулю два.Block 7 adders modulo two (Fig. 5) contains a group of adders 53 modulo two.

На фиг. 2-5 обозначены св зи 545 57 от коммутатор-а 2 к блоку 9 формировани  кода модификации, св зи 5861 блока 9 формировани  кода модификации , св зи 62-67 дешифратора 37, св зи 68-75 блока 4 формировани FIG. 2-5 designate communications 545 57 from the switch 2 to block 9 of the modification code generation, connection 5861 of the modification code generation unit 9, communication 62-67 of the decoder 37, communication 68-75 of the formation unit 4

10 маски, св зи 76-78 от коммутатора10 masks, connections 76-78 from the switch

5 адреса к блоку 7 сумматоров по модулю два, св зи 79-81 от блока 7 к блоку 4 формировани  маски и блоку 9 формировани  кода модификации.5 addresses to block 7 of modulo-two adders, links 79-81 from block 7 to block 4 of the mask and block 9 of the modification code.

15 Коммутатор 1 данных предназначен дл  передачи данных из регистра 11 выбранного канала на выход 21 данных устройства.15 Data switch 1 is designed to transmit data from the register 11 of the selected channel to the output 21 of the device data.

Коммутатор 2 предназначен дл  пе20 редачи значени  младших разр дов из счетчика 12 байтов выбранного канала в блок 4 формировани  маски и блок 5 формировани  кода модификации. . Блок 3 приоритета запросов слу25 жит дл  того, чтобы по запросам,поступившим от блоков 13 выдачи запросов на передачу данных каналов ввода-вывода, определить номер наиболее приоритетного канала, требую30 щего обмена данны1-1и с оперативной пам тью (ОП). Этот номер используетс  дл  управлени  коммутаторами 1, 2, 5, 6. Блок 3 также выдает запрос на обмен данными с ОП на выходSwitch 2 is designed to transfer the low-order bits from the 12 bytes counter of the selected channel to the mask generation unit 4 and the modification code generation unit 5. . The request priority unit 3 serves to determine the number of the most priority channel that requires the exchange of data 1-1 and the main memory (OP) by requests received from the request for data transmission unit I / O channels 13. This number is used to control the switches 1, 2, 5, 6. Block 3 also issues a request for data exchange with the OUT at the output

J, 22 запроса устройства.J, 22 device request.

Блок 4 формировани  маски предназначен дл  получени  маски записи в ОП по младшим разр дам адреса данных и младшим разр дам из счетчикаThe mask generation unit 4 is designed to obtain a recording mask in the PD by the lower data address addresses and the lower bits of the counter

Q 12 байтов дл  операций Чтение и Обратное чтение,, выполн емых каналами ввода-вывода,,Q 12 bytes for Read and Reverse read operations performed by I / O channels

Коммутатор 5 адреса предназначен дл  вьщачи на вьпсод 23 в ОП адресаThe address switchboard 5 is intended for input to the output address 23 in the OP address

данных, поступающего из регистра 14 адреса выбранного канала. data from the register 14 addresses of the selected channel.

Младшие разр ды адреса данных с коммутатора 5 используютс  дл  формировани  маски и кода модификации - в блоках 4 и 9 соответственно.The minor data address bits from switch 5 are used to form a mask and a modification code — in blocks 4 and 9, respectively.

Одноразр дный коммутатор 6 кода операции предназначен дл  передачи разр да кода операции из регистра 15 кода операции канала на соответ55 сТвующие входы блока 7 сумматоров по модулю два и коммутатора 8 перекомпоновки . Разр д кода операции определ ет операцию, выполн емую каналЬм , следующим образом: О - операци  Чтение или Запись, 1 - операци  Обратное чтение.The one-bit switch 6 of the operation code is designed to transfer the bit of the operation code from the register 15 of the channel's operation code to the corresponding 55 tWith inputs of the modulo-two adders 7 and the recompilation switch 8. The code of the operation code defines the operation performed by the channel as follows: O, Read operation or Write operation, 1, Reverse read operation.

Коммутаторы 1, 2, 5, 6 выполнены на мультиплексорах, на адресные входы которых поступает номер выбранного канала от блока 3 приоритета запросов. Этот номер задает передачу через мультиплексор на выход его информации от нужного канала.Switches 1, 2, 5, 6 are made on multiplexers, the address inputs of which receive the number of the selected channel from block 3 of the priority of requests. This number sets the transmission through the multiplexer to the output of its information from the desired channel.

Блок 7 сумматоров по модулю два служит дл  получени  инвертированных младших разр дов адреса данных дл  операции Обратное чтение,выполн емой каналом, и передачи без инвертировани  через блок младших разр дов адреса данных в случае операции Чтение или операции ЗаписьModulo two adders block 7 serves to obtain the inverted lower-order data address bits for the Reverse read operation performed by the channel and transmit without inverting the data address through the lower-order block in the case of a Read operation or a Write operation

Устройство работает следующим образом .The device works as follows.

Перед началом выполнени  операции , требующей обмена данными, производитс  загрузка в канал 10 управл ющей информации, необходимой дл  обмена. В каналах ЭВМ единой системы (ЕС) така  информаци  хранитс  в командном слове канала (КСК) в котором задаютс  код команды, которлто должно выполн ть периферийное устройство (ПФУ), начальный адрес байта оперативной пам ти (ОП) с которого должен начатьс  обмен, начальное значение счетчика того количества байтов данных, которое передаетс  под управлением текущего КСК.Before starting the operation requiring data exchange, the control information necessary for the exchange is loaded into channel 10. In the channels of the Unified System (EC) computer, such information is stored in the channel command word (CSC) in which the command code is set, which the peripheral device (PFC) must perform, the starting byte address of the RAM (RAM) from which the exchange should begin, the initial a counter value of that number of data bytes that is transmitted under the control of the current KSK.

Код команды из КСК при этом задает каналу выполнение одной из следующих трех операций передачи данных: Запись - операци  вывода данных из ОП в ПФУ, при которой адрес байта данных в ходе операции увеличиваетс , а значение счетчика данных уменьшаетс  на количество передаваемых байтов (код модификации); Чтение - операци  ввода данных из ПФУ в ОП, при которой адрес данных увеичиваетс , а значение счетчика даных уменьшаетс  в ходе операции на еличину кода модификации; Обратое чтение - операци  ввода данных из ПФУ в ОП, при которой адрес данных и значение счетчика данных в хое операции уменьшаютс  на код модиикации . При начальной нагрузке инормации из КСК в канал 10 код опеации передачи данных, выполн емой аналом, помещаетс  в регистр 15 коа операции, начальный адрес данных267А27In this case, the command code from the KSK sets the channel to perform one of the following three data transfer operations: Write - data output operation from the PD to the PFC when the address of the data byte during the operation increases and the value of the data counter is reduced by the number of bytes transmitted (modification code) ; Read - data entry operation from the PFC to the PD, in which the address of the data increases, and the value of the data counter decreases during the operation by the amount of the modification code; Inverse read is a data entry operation from a PFC to an OP, in which the address of the data and the value of the data counter in the operation are reduced by the modifying code. With the initial load of information from the KSK to channel 10, the code of the data transmission operation performed by the analog is placed in register 15 of the transaction, the starting data address is 267А27

в регистр 14 адреса данных, начальное значение счетчика данных - в счетчик J2 байтов.in the register 14 data addresses, the initial value of the data counter - in the counter J2 bytes.

Одновременно с занесением адреса 5 данных в регистр 14 адреса данных,Simultaneously with the entry of the address 5 of the data in the register 14 addresses of the data,

младшие разр ды адреса данных, ука . зывающие номер байта в слове занос тс  в счетчик номера байта (не показан ). Количество таких разр довyounger bits of the data address, the byte number in the word is entered into the byte number counter (not shown). The number of such bits

to определ етс  длиной слова ОП, и при 8-байтовом слове ОП количество этих разр дов равно трем.to is determined by the length of the word OP, and with an 8-byte word OP, the number of these bits is three.

Затем начинаетс  передача данных. В операции Чтение данные из ПФУThen the data transfer begins. In operation Read data from PFC

15 последовательно байт за байтом принимаютс  в канал и непосредственно с ним интерфейса, либо через буфер данных в канале передаютс  в регистр 1I данных. Размещаютс  данные в ре20 гистре 1I под управлением счетчика номера байта, содержимое которого после прин ти  байта данных увеличиваетс  на единицу, подготавлива  прием следзпощего байта. Регистр 1115 byte by byte are received into the channel and directly with the interface, or through the data buffer in the channel are transmitted to the data register 1I. The data is placed in the 20I register of the II under the control of a byte number counter, the contents of which are increased by one after receiving the data byte, preparing the reception of the next byte. Register 11

25 имеет размер слова обмена с ОП. По еле заполнени  последнего байта регистра 11 либо приема последнего байта массива блоком 13 вьщачи запросов вырабатываетс  запрос на об ,,. ращение к ОП. Сигнал запроса поступает с входа 18 устройства в блок 3 приоритета запросов на передачу данных. Елок 3 формирует сигнал запроса на обмен, поступающий на выход 22 устройства. По этому сигналу25 has the size of the word exchange with the OP. By barely filling the last byte of register 11 or receiving the last byte of the array by block 13, a request for a request is generated. raschenie to OP. The request signal comes from the input 18 of the device in block 3 priority requests for data transfer. Elok 3 generates an exchange request signal, arriving at the output 22 of the device. By this signal

ОП подготавливаетс  к обмену данными , а в случае встроенных каналов по нему к обмену данными готовитс  и процессор. Блоком 3 также вырабатываетс  адрес наиболее приоритетно го канала, затребовавшего передачу данных. Этот адрес поступает на управл юшие входы коммутаторов 1, 2, 5, 6. На выходы коммутаторов передаетс  информаци  от выбранного канала. Через коммутатор 1 данных на выход 21 устройства в ОП выдаетс  слово данных из регистра 11. Через коммутатор 5 адреса на выход 23 устрой- ства в ОП выдаетс  из регистра 14 The OD is prepared for data exchange, and in the case of embedded channels on it, the processor is also preparing for data exchange. Block 3 also generates the address of the highest priority channel that requested the data transfer. This address goes to the control inputs of the switches 1, 2, 5, 6. Information from the selected channel is transmitted to the switch outputs. Through the data switch 1, the data word from register 11 is output to the device output 21 in the PD. Through the switch 5, the addresses to the output 23 of the device in the RAM output are issued from register 14.

адреса адрес слова, по которому должны быть записаны данные. Три младпшх разр да адреса данных подаютс  на соответствующий вход блока сумматоров по модулю два, addresses the address of the word to which the data should be written. Three junior bits of the data address are fed to the corresponding input of the block of modulo two adders,

55 Через одноразр дный коммутатор 6 кода операции на соответствующие входы блока 7 и коммутатора 8 перекомпоновки подаетс  потенциал,,формируемый по содержимому регистра 15 кода операции. При этом О означает , что выполн етс  операци  Чтение или Запись, 1 - операци  Обратное чтение. Дл  операции Чтение , поступа  в блоке 7 на входы сумматоров по модулю два, нулевой уровень задает передачу младших разр дов адреса посредством св зей 7678 на вход блока 4 формировани  маеки и вход 9 блока формировани  кода модификации (св зи 79-81) без инвер тировани . Поступа  в блоке 8 на управл ющий вход коммутатора 52, ну левой уровень задает передачу маеки , сформированной блоком 4 на выхо 24 маски устройства без перекомпоно ки. (Старший разр д маски, полученный от блока 4 св зью 75, передаетс  в качестве разр да (0) маски, младший разр д маски, полученный св зью 68, передаетс  в качестве разр да (7) маски). Через коммутатор 2 на входы блоков 4 и 9 по св з м 54-57 поступают четыре разр да, отображающие значение счетчика 12 байтов. На св зи 54-56 выдаютс  младшие разр ды счет чика данных (по св зи 54 выдаетс  самый младший разр д счета). На СВЯЗЬ 57 выдаетс  О в том случа если все остальные старшие разр ды счета данных нулевые, и выдаетс  I, если, в разр дах счета; данных, исключа  три младших бита, имеетс  хот  бы один бит, установленный в 1 Единичный сигнал на св зи 57 означает , что значение счета данных в канале не меньше, чем 8 (комбинаци  -1000). Данные, записываемые в СП, сопро вождаютс  маской, задающей те байты в слове данных, которые должны замещать соответствующие байты слова , прочитанного из ОП. Разр дность маски определ етс  количеством байтов в слове и дл  рассматриваемого примера реализации устройства равна В. Маска записи в ОП вырабатьшаетс  блоком 4 формировани  маски по значению младших разр дов адреса данных , полученному по св з м 79-81 от блока 7 и значению разр дов счета данных, полученному по св з м 54-57 от четырехразр дного коммутатора 2 Маска образуетс  на выходах мультиплексоров 38-45 маски. С мультиплексора 38 на св зь 68 выдаетс  младший разр д маски (разр д 7). С мультиплексора 45 на св зь 75 выдаетс  старший разр д маски (разр д 0). Младшие разр ды адреса данных посредством св зей 79-81 подаютс  на адресные входы мультиплексоров 38-45 (по св зи 79 поступает младший из разр дов, по св зи 81 - старг ший из разр дов). При этом разрешаетс  передача информации с входов, выбираемых подаваемой адресной комбинацией , на выходы мультиплексоров. Так, при комбинации 011, подаваемой на адресные входы А4, А2, А1 мультиплексоров , на выходы мультиплексоров 38-45 будет передана информаци  с входов Д , На выходах мультиплексоров , соответствующих разр дам с номерами;, меньшими, чем восьмеричное число t, определ емое комбинацией , подаваемой на адресные входы А4. А2, А1, формируютс  нули за счет того , что на выбранные входы этих мультиплексоров подаетс  уровень О. На выходе мультиплексора разр да с номером i формируетс  1, так как на выбранный вход этого мультиплексора подаетс  уровень 1. Единица в этом разр де маски обусловлена тем, что счет данных до передачи данных не может быть нулевым. На выходах мультиплексоров, соответствующих разр дам с номерами большими , чем i, формируютс  значени , обусловленные счетом данных. Младшие разр ды счета данных . в (восьмеричное число j) дешифрируетс  в блоке 4 формировани  маски дешифратором 37. Сигналы с выходов дешифратора 37, соответствующие счету данных от 2 до 7, поступают на элементы ИЛИ 46-51. На эти же элементы подаетс  сигнал со св зи 57, соответствующий счету данных, большему, чем 7. Уровень единицы по вл етс  на выходах: элемента ИЛИ 51 при счете данных больше 1, элемента ИЛИ 50 при счете больше 2, элемента ИЛИ 49 при счете больше 3, элемента ИЛИ 48 при счете больше 4, элемента ИЛИ 47 при счете больше 5, элемента ИЛИ 46 при счете больше 6. При счете данных, большем, чем 7, уровни единицы по вл ютс  на выходах всех шести элементов ИЛИ 46-51, а также на входе ДО мультиплексора 38 благодар  наличию сигнала на св зи 57. На выбран755 Through a one-bit switch 6 of the operation code, the potential, formed from the contents of register 15 of the operation code, is supplied to the corresponding inputs of the block 7 and switch 8 of the reassembly. In this case, O means that the Read or Write operation is performed, 1 means the Reverse Read operation. For the operation Read, arriving in block 7 at the inputs of modulo two adders, the zero level specifies the transmission of the lower-order address bits via the connections 7678 to the input of the beaconing unit 4 and the input 9 of the modification code generation unit (link 79-81) without inverting . The arrival in block 8 of the control input of the switch 52, the left level, sets the transfer of the beacon formed by block 4 to the output 24 of the device mask without re-linking. (The highest mask bit received from block 4 by link 75 is transmitted as a bit (0) of a mask, the low bit mask obtained by link 68 is sent as a bit (7) of the mask). Through switch 2, four bits arrive at the inputs of blocks 4 and 9 via communications 54-57, displaying a counter value of 12 bytes. In communications 54-56, the lower bits of the data counter are issued (in communications 54, the least significant counter is issued). ON COMMUNICATION 57 is issued O in the event that all the other high bits of the data count are zero, and I is issued if, in the count bits; data, excluding the three least significant bits, there is at least one bit set to 1 Single signal on link 57, which means that the data count value on the channel is not less than 8 (-1000 combination). The data recorded in the AS is accompanied by a mask defining those bytes in the data word, which should replace the corresponding bytes of the word read from the OP. The mask size is determined by the number of bytes in the word, and for the considered device implementation example is equal to B. The write mask in the PD is generated by the mask generation unit 4 according to the low-order bits of the data address obtained via links 79-81 from block 7 and the value of bits data counts obtained by communications 54-57 from four-bit switch 2 A mask is formed at the outputs of the multiplexers 38-45 of the mask. From the multiplexer 38 to the link 68, a lower mask bit is issued (bit 7). From multiplexer 45 to link 75, the high bit mask is issued (bit 0). The low order bits of the data are transmitted through communications 79-81 to the address inputs of multiplexers 38-45 (the younger of the bits enters through the link 79, the oldest of the bits from the link 81). In this case, the transmission of information from the inputs selected by the supplied address combination to the outputs of the multiplexers is permitted. So, with a combination of 011 supplied to the address inputs A4, A2, A1 multiplexers, the outputs of the multiplexers 38-45 will be transmitted information from the inputs D, At the outputs of the multiplexers corresponding to the digits with numbers ;, smaller than the octal number t, the combination supplied to the address inputs A4. A2, A1, zeros are formed due to the fact that the O level is fed to the selected inputs of these multiplexers. The output of the multiplexer of discharge i is 1, because the selected input of this multiplexer is supplied with level 1. The unit in this bit of mask is due to that the data count before the data transfer can not be zero. At the outputs of multiplexers corresponding to bits with numbers greater than i, the values due to the data count are formed. Minor data count. (octal number j) is decrypted in block 4 of mask generation by decoder 37. Signals from outputs of decoder 37, corresponding to data counting from 2 to 7, are sent to elements OR 46-51. The same elements are given a signal from the link 57, corresponding to a data count greater than 7. The level of the unit appears at the outputs: the OR element 51 when the data count is greater than 1, the OR 50 element when the count is greater than 2, the OR element 49 when the score is more than 3, element OR 48 with counting more than 4, element OR 47 with counting more than 5, element OR 46 with counting more than 6. When counting data greater than 7, the unit levels appear at the outputs of all six elements OR 46-51 as well as at the input to the multiplexer 38 due to the presence of a signal on the connection 57. On the selected 7

ныехвходы мультиплексоров, соответствующих разр дам с номерами, большими , чем i, подаютс  в пор дке возрастани  номеров разр дов сигналы с выходов элементов ИЛИ 51, 50 и т.д. соответственно,The inputs of multiplexers corresponding to bits with numbers greater than i are given in the order of increasing numbers of bits, signals from the outputs of the OR 51, 50 elements, etc. respectively,

В случае, если j меньше, чем количество разр дов с номерами, большими , чем i, то на выходах j разр дов маски, начина  с разр да с номером i, по вл ютс  единицы. Когда j больше или равно количеству разр дов с номерами большими i, единицы по вл ютс  на выходах мультиплексоров всех этих разр дов маски. Маска , полученна  в блоке 4, передаетс  на выход 24 устройства без перекомпоновки разр дов.If j is less than the number of bits with numbers greater than i, then at the outputs of the j bits of the mask, starting with bit i, there appear units. When j is greater than or equal to the number of bits with numbers large i, units appear at the multiplexer outputs of all these mask bits. The mask obtained in block 4 is transmitted to the output 24 of the device without rearranging the bits.

Одновременно с получением маски блоком 9 формировани  кода модификации по значению младших разр дов адреса данных, полученному от блока 7, и значению разр дов счета данных, полученному от коммутатора 2, вырабатываетс  код модификации. Код модификации выдаетс  из блока 9 на выход 25 устройства и используетс  дл  модификации адреса данных и счета байтов. Эта модификаци  дл  встроенных каналов обычно выполн етс  в процессоре, дл  автономных каналов может выполн тьс  в каналахSimultaneously with the acquisition of the mask by the block 9 of generating the modification code by the value of the lower bits of the data address obtained from block 7 and the value of the data count bits obtained from the switch 2, the modification code is generated. The modification code is issued from block 9 to the output 25 of the device and is used to modify the data address and byte count. This modification for embedded channels is usually performed in the processor, for autonomous channels it can be performed in channels

В блоке 9 младшие разр ды адреса данных со св зей 79-81 подаютс  на информационные входы дешифратора 26, младшие разр ды счета со св зей 5456 подаютс  на информационные входы дешифратора 27. Управление дешифратором 27 производ т разр д счета, поступающий по св зи 57. При счете, большем или равном 8, сигнал со св зи 57 блокирует дешифратор 27 и код модификации формируетс  по младшим разр дам адреса данных (по сигналу с выхода дешифратора 26). При комбинации 111 на св з х 81-79 возбуждаетс  выход Д дешифратора 26,единичный уровень подаетс  через элемент ИЛИ 29 на вход Д шифратора 28. На св з х 61-58 формируетс  код 0001 модификации. Подобным образом при подаче на св зи 81-79 комбинации 110 на выходах элемента И 36 и шифратора 28 /св зи 61-58) формируетс  код 0010, при комбинации 101 - код 0011, при комбинации 100 - код 0100, при комбинации 011 - код 0101, при комбинации 010 - код 0110, при ком67427 , 8In block 9, the least significant bits of the data address from links 79-81 are fed to the information inputs of the decoder 26, the lower bits of the counting from the links 5456 are fed to the information inputs of the decoder 27. The control of the decoder 27 performs the count of the bill, which arrives on 57 With a count greater than or equal to 8, the signal from link 57 blocks the decoder 27 and the modification code is generated by the lower bits of the data address (by the signal from the output of the decoder 26). With the combination 111, the output D of the decoder 26 is excited on the connections x 81-79, the unit level is fed through the OR element 29 to the input D of the encoder 28. On the connections x 61-58, a modification code 0001 is generated. Similarly, when a combination 110 of the outputs of the element 36 and the encoder 28 / connection 61-58 is applied to the connection 81-79), code 0010 is formed, with combination 101 it is code 0011, with combination 100 it is code 0100, with combination 011 it is code 0101, with a combination of 010 - code 0110, with com 67427, 8

бинации 001 - код 0111, при комбинации 000 возбуждаетс  выход Д„ дешифратора 26 и формируетс  код модификации 1000. 5 При счете, меньшем, чем 8 (си1-001 is the code 0111, with a combination of 000, the output D of the decoder 26 is excited and the modification code 1000 is generated. 5 When the counting is less than 8 (

нал на св зи 58 нулевой), адресе . данных, наход щемс  на границе слова (комбинаци  000 на св з х 81-79), код модификации формируетс  по раз0 р дам счета данных (по сигналу возбужденного выхода дешифратора 27 счета). Комбинаци  001 на св з х 5654 вызывает возбуждение выхода Д, дешифратора 27 и подачу:единичногоcash on communication 58 zero), address. the data located on the word boundary (combination 000 on connections x 81-79), the modification code is generated based on the data count (on the signal of the excited output of the decoder 27 of the count). The combination 001 on the connection x 5654 causes the excitation of the output D, the decoder 27 and the supply: single

15 сигнала через элемент ИЛИ 29 на вход Д шифратора 28. На св з х 69, 60, 59, 58 формируетс  код 0001 модификации . Подобным образом при подаче на св зи 57-54 комбинации 0010 на15 signals through the element OR 29 at the input D of the encoder 28. At links 69, 60, 59, 58, a code 0001 of the modification is generated. Similarly, when filing on communications 57-54 combinations 0010 on

20 выходах элемента И 36 и шифратора 28 (св зи 61-58 формируетс  код 0010, при комбинации ООП - код ООН, при комбинации 0100 - код 0100, при комбинации 0101 - код 0101,The 20 outputs of the AND 36 element and the encoder 28 (communications 61-58 form the code 0010, with the PLO combination the UN code, with the combination 0100 the code 0100, with the combination 0101 the code 0101,

25 при комбинации 0110 - код 0110, при комбинации 0111 возбуждаетс  выход Д., дешифратора 27 и формируетс  код 0111 модификации.25 with a combination of 0110 - code 0110, with a combination of 0111, the output of a D is excited, the decoder 27 and a code of modification 0111 is generated.

30 При счете, меньшем, чем 8, и адресе данных не на границе слова на30 With an invoice smaller than 8 and the data address is not on the word boundary at

элементы ИЛИ 29-35 подан единичный сигнал с одного из выходов дешифратора 26 адреса и единичный сигнал сelements OR 29-35 filed a single signal from one of the outputs of the address decoder 26 and a single signal from

35 одного из выходов дешифратора 27, . Эти единичные сигналы соответствуют получению кода модификации соот ветственно по адресу данных или номеру байта.35 one of the outputs of the decoder 27,. These single signals correspond to the receipt of a modification code, respectively, by data address or byte number.

40 Единичные сигналы при этом могут быть поданы на два входа шифратора 28. Так как шифратор 28 формирует код дл  более приоритетного входа, то на св з х 58-60 по вл етс  мень5 ший из возможных двух кодов (кода, получаемого по адресу данных, и кода , получаемого по счету данных).40 Single signals can be sent to the two inputs of the encoder 28. Since the encoder 28 generates a code for a higher priority input, the smallest of the two possible codes (the code obtained at the data address, and the code received by the data account).

Код модификации со св зей 58-61 . выдаетс  на выход 25 устройства.Modification code with links 58-61. is provided at device output 25.

Claims (2)

После записи слова в СП адрес данных увеличиваетс  на величину кода модификации, а промодифицированное значение адреса данньпс пойещаетс  в регистр 14 адреса данных. На величину кода модификации также уменьшаетс  значение счета данных, по которому формируетс  новое значение счетчика I2 байтов, 9 В регистре 11 данных, начина  с нулевого байта, формируетс  очередное слово. Обращение к пам ти и св занные с ним действи  повтор ютс  после; накоплени  в регистре 11 данных каждо го очередного слова. Если массив оканчиваетс  не на границе слова, последнее слово неполное, и соответ ствующа  этому слову маска содержит нули в одном или нескольких младших разр дах. В операции Запись, когда необходимо прочитать из ОП слово данных блок 13 вырабатьшает сигнал запроса на обращение к Oil, поступающий с входа 18 устройства в блок 3 приори тета запросов. Блоки устройства при операции Запись работают точно также, как и при операции Чтение. Маска, вьщаваема  устройством на выход 24, при чтении из ОП не используетс . Код модификации, формируемый устройством на выходе 25, ка и дл  Чтени  служит дл  модификации адреса данных и счета данных. Данные, прин тые в канал 0 из ОП, последовательно байт за байтом выдаютс  в ПФУ непосредственно из регистра 11 данных либо через буфер данных в канале. Выдача данных в ПФУ может осуществл тьс  под управлением счетчика номера байта ( не показан), указывающего номер того байта в слове, который нужно . выдать. После каждой выдачи байта в ПФУ содержимое счет чика номера байта увеличиваетс  на единицу, подготавлива  выдачу с ледующего байта. Когда регистр 11 данных свободен , а значение счетчика 12 байтов не нулевое, блоком 13 вьщачи запро .сов на передачу данных вырабатывает с  следующий запрос на обращение к ОП. В случае операции Обратное чтение отличие работы устройства от его работы при операции Чтение заключаетс  в инвертировании мх1адших разр дов адреса данных до их подачи в блоки 4 и 9 и перекомпонов ке разр дов сформированной блоком 4 маски на коммутаторе 8 перекоМпоновки . Эти действи  позвол ют дл  операции Обратное чтение, требующей уменьшени  адреса данных, формировать маску в блоке 4 и код мо2710 дификации в блоке 9, точно таким же образом, как и дл  операции Чтение, При этом в блоке 7 уровень единицы , поступающий от коммутатора 6 кода операции на входы сумматоров 53 по модулю два, задает инвертирование младших разр дов адреса (св зи 76-78). Проинвертированный адрес из блока 7 по св з м 79-81 поступает Б блок 4 формировани  маски и блок 9 формировани  кода модификации. Разр ды маски, полученной в блоке 4 по принципу, изложенному дл  операции Чтение, подаютс  на вход коммутатора 8 перекомпоновки. Уровень единицы, поступающей на управл ющий вход коммутатора52, задает перекомпоновку разр дов маски до ее выдачи на вьпсод 24 маски устройства . Младший разр д маски от блока 4 со св зи 68 передаетс  через коммутатор 52 в качестве старшего разр да (0) маски. Разр ды маски со св зей 69-74 передаютс  через коммутатор 52 в качестве соответственно разр дов (1-6) маски. Старший разр д маски от блока 4 со св зи 75 передаетс  через коммутатор 52 в качестве младшего разр да маски. Одновременно с маской по проинвертированным младшим разр дам адреса в блоке 9 формировани  кода модификации получаетс  код модификации, выдаваемый на выход 25 устройства. Код модификации при этом получаетс  ло тому же принципу, что и дл  операции Чтение, Формула изобретени  1. Устройство дл  сопр жени  каналов ввода-вывода с оперативной пам тью, содержащее коммутатор данных , коммутатор номера байта и блок формировани  маски., причем информационные входы коммутатора данных и коммутатора номера байта подключены соответственно к входу данных и выходу номера байта устройства, выход коммутатора данных подключен к выходу данных устройства, выход коммутатора номера байта подключен к первому входу блока формировани  маски, отличающеес  тем, что, с целью расширени  функциональных . возможностей за счет реализации формировани  кода модификации дл  операций , требующих не только увеличени , но и уменьшени  адреса данных. в ftero введены коммутатор адреса, коммутатор кода операции, блок сумматоров по модулю два, коммутатор перекомпоновки маски, блок приоритета запросов и блок формировани  кода модификации, причем информационные входы коммутатора адреса, коммутатора кода операции и блока приоритета запросов подключены соответственно к входу адреса, входу кода операции и входу запросов устройства, выход ком мутатора адреса соединен с первым входом блока сумматоров по модулю два и подключен к адресному выходу устройства, выход коммутатора кода операции подключен к второму входу блока сумматоров по модулю два и к управл ющему входу коммутатора перекомпоновки маски, выход которого под ключен к выходу маски устройства, ин формационный вход коммутатора перекомпоновки маски соединен с выходом блока формировани  маски, второй вхо которого соединен с выходом блока сумматоров по модулю два и с первым входом блока формировани  кода модификации , второй вход которого соединен с выходом коммутатора номера бай та, выход блока формировани  кода модификации подключен к выходу кода модификации устройства, выход номера наиболее приоритетного запроса блока приоритета запросов соединен с . управл ющими входами коммутатора - адреса , коммутатора кода операции, ком мутатора номера байта и коммутатора данных, выход запроса блока приоритета запросов подключен к выходу запроса, устройства. After the word is written to the SP, the data address is increased by the amount of the modification code, and the modified value of the data address is listed in the data address register 14. The value of the data count is also reduced by the value of the modification code, by which the new value of the I2 byte counter is formed, 9 In the data register 11, starting from the zero byte, the next word is formed. The appeal to the memory and the actions associated with it are repeated after; accumulation in register 11 of the data of each next word. If the array does not end at the word boundary, the last word is incomplete, and the corresponding mask contains zeros in one or more low-order bits. In the Record operation, when it is necessary to read from the OP the data word, block 13 generates a request signal for accessing Oil, coming from the input 18 of the device to block 3, the priority of requests. The device blocks in the Write operation work in the same way as in the Read operation. The mask applied by the device to output 24 is not used when reading from the OP. The modification code generated by the device at output 25, ka and for Read, serves to modify the data address and the data count. The data received in channel 0 from the PD, is sequentially byte-by-byte output to the PFC directly from the data register 11 or via the data buffer in the channel. Data output to the PFC may be performed under the control of a byte number counter (not shown) indicating the number of that byte in the word that is needed. to issue. After each byte output in the PFC, the contents of the byte number count are incremented by 1, preparing the output from the next byte. When the data register 11 is free, and the value of the 12-byte counter is not zero, the block 13 sends a request for data transmission to the next request for accessing the OP. In the case of the Reverse Reading operation, the difference between the operation of the device and its operation during the Reading operation is the inversion of the m1d bits of the address of the data before they are fed into blocks 4 and 9 and the reassembly of the bits generated by block 4 of the mask on the reshaping switch 8. These actions allow for the Reverse Read operation, which requires decreasing the data address, to form a mask in block 4 and the modification code 2710 in block 9, in the same way as for the Read operation. In block 7, the unit level coming from switch 6 The operation code for the inputs of modulators 53 modulo two sets the inversion of the lower address bits (links 76-78). The inverted address from block 7 via connections 79-81 B receives the mask generation block 4 and the modification code generation block 9. The mask bits, obtained in block 4 according to the principle outlined for the Read operation, are fed to the input of the recompilation switch 8. The level of the unit arriving at the control input of the switch52 specifies the rearrangement of the mask bits before it is issued to the device's mask 24. The lower mask bit from block 4 from link 68 is transmitted through switch 52 as the high bit (0) of the mask. Mask bits with links 69-74 are transmitted through switch 52 as respectively bits (1-6) masks. The highest mask bit from block 4 from link 75 is transmitted through switch 52 as the low bit mask. Simultaneously with the mask of the inverted junior address addresses, in block 9 of the generation of the modification code, the modification code obtained at the output 25 of the device is obtained. The modification code is then obtained in the same principle as for the operation Read, Claim 1. An apparatus for interfacing the I / O channels with the RAM, containing a data switch, a switch for the byte number and a mask generation unit. The information inputs of the switch data and switch byte numbers are connected respectively to the data input and output of the device byte number, data switch output is connected to the device data output, switch output byte number is connected to the first input of the form block unveiling a mask, characterized in that, in order to expand the functional. capabilities by implementing the generation of a modification code for operations that require not only increasing, but also reducing the data address. an address switch, an operation code switch, a modulo-two adder block, a mask remaking switch, a request priority block and a modification code generation block are entered into ftero, the information inputs of the address switch, the operation code switch and the query priority block are connected to the address input and the code input operation and input device requests, the output of the address switch is connected to the first input of the block of modulo two adders and connected to the address output of the device, the output of the operation code switch connected to the second input of the block of adders modulo two and to the control input of the switch of mask rearrangement, the output of which is connected to the mask output of the device, the information input of the switch of mask rearrangement is connected to the output of the mask generation unit, the second input of which is connected to the output of the block of adders modulo two and with the first input of the modifier code generation unit, the second input of which is connected to the output of the byte switch, the output of the modifier code generation unit is connected to the output of the modification code In this case, the output of the priority request number of the request priority block is connected to. the control inputs of the switch — the address, the switch of the operation code, the switch of the byte number, and the switch of the data; the request output of the request priority block is connected to the output of the request, the device. 2. Устройство по п. 1, отличающеес  .тем,что,блок формировани  кода модификации содержит два дешифратора, элемент И, семь элементов ИЛИ и шифратор приоритета , причем вход первого дешифратора поразр дно подключен к первому входу блока, первый разр д второго вхо да блока подключен к первому входу элемента И, второй вход которого соединен с первым выходом первого дешифратора, остальные разр ды второго входа блока соединены с соответствующими разр дами информационного входа и стробирующим входом второго дешифратора, с первого по седьмой выходы которого соединены соответственно с первыми входами с первого по седьмой элементов ИЛИ, вторые входы которых соединены соответственно с второго по восьмой выходами первого дешифратора, выход элемент И соединен с первым входом шифратора приоритета и подключен к первому разр ду выхода блока, остальные разр ды выхода блока подключены к соответствующим разр дам выхода шифратора приоритета, с второго по восьмой входы которого соединены с выходами соответственно с первого по седьмой элементов ИЛИ.2. The device according to claim 1, characterized in that, the modification code generation unit comprises two decoders, an AND element, seven OR elements and a priority encoder, the input of the first decoder is bit-wise connected to the first input of the block, the first bit of the second input the block is connected to the first input of the element I, the second input of which is connected to the first output of the first decoder, the remaining bits of the second input of the block are connected to the corresponding bits of the information input and the gate input of the second decoder, from the first to the seventh you the moves of which are connected respectively to the first inputs of the first to seventh OR elements, the second inputs of which are connected respectively to the second to the eighth outputs of the first decoder, the output of the AND element is connected to the first input of the priority encoder and connected to the first bit of the output of the block, the remaining bits of the block output connected to the corresponding bits of the output of the priority encoder, from the second to the eighth inputs of which are connected to the outputs, respectively, from the first to the seventh OR elements. От 7From 7 От г-From g- %/.. 5%/.. five .4.four
SU853955169A 1985-09-16 1985-09-16 Interface for linking input-output channels with internal memory SU1267427A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU853955169A SU1267427A1 (en) 1985-09-16 1985-09-16 Interface for linking input-output channels with internal memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU853955169A SU1267427A1 (en) 1985-09-16 1985-09-16 Interface for linking input-output channels with internal memory

Publications (1)

Publication Number Publication Date
SU1267427A1 true SU1267427A1 (en) 1986-10-30

Family

ID=21197960

Family Applications (1)

Application Number Title Priority Date Filing Date
SU853955169A SU1267427A1 (en) 1985-09-16 1985-09-16 Interface for linking input-output channels with internal memory

Country Status (1)

Country Link
SU (1) SU1267427A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 386395, кл. G 06 F 9/00, 1970. Авторское свидетельство СССР № 732870, кл. G 06 F 9/00, 1980. *

Similar Documents

Publication Publication Date Title
US5553302A (en) Serial I/O channel having independent and asynchronous facilities with sequence recognition, frame recognition, and frame receiving mechanism for receiving control and user defined data
US4742446A (en) Computer system using cache buffer storage unit and independent storage buffer device for store through operation
US5687393A (en) System for controlling responses to requests over a data bus between a plurality of master controllers and a slave storage controller by inserting control characters
US3804987A (en) Multiplexing apparatus having interlaced and/or parallel data transfer with a data processor and communication lines
EP0386719A2 (en) Partial store control circuit
US3766531A (en) Communication line multiplexing apparatus having a main memory and an input/output memory
SU1267427A1 (en) Interface for linking input-output channels with internal memory
EP0057096B1 (en) Information processing unit
US5964895A (en) VRAM-based parity engine for use in disk array controller
CN114003544A (en) Control chip, workload proving system and transmission method
US4016367A (en) Communication multiplexer module
GB2306238A (en) Interface circuit and method for memory access
SU1372367A1 (en) Device for detecting and correcting errors
KR0137148B1 (en) Full electronic telephone exchange link management system
SU1026138A1 (en) Device for interfacing magnetic tape store to digital computer
JP2552025B2 (en) Data transfer method
JPS6153985B2 (en)
JPS61265653A (en) Direct memory access system
SU723560A1 (en) Information exchange arrangement
SU1322298A2 (en) Interface for linking input-output channels with internal memory
SU1083176A1 (en) Interface
SU947910A2 (en) Logic storing device
KR100308662B1 (en) Apparatus for accessing common memory in vms
JP3442099B2 (en) Data transfer storage device
SU888202A1 (en) Buffer storage