SU1262509A1 - Device for linking computer interfaces and external storage - Google Patents
Device for linking computer interfaces and external storage Download PDFInfo
- Publication number
- SU1262509A1 SU1262509A1 SU843770784A SU3770784A SU1262509A1 SU 1262509 A1 SU1262509 A1 SU 1262509A1 SU 843770784 A SU843770784 A SU 843770784A SU 3770784 A SU3770784 A SU 3770784A SU 1262509 A1 SU1262509 A1 SU 1262509A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- elements
- control
- inputs
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Abstract
Изобретение относитс к вычислительной технике и предназначено дл сопр жени программно-управл емого канала ЭВМ с устройствами внешней пам ти на магнитных дисках. Целью изобретени вл етс сокращение времени передачи данных через интерфейсы сопр гаемых устройств. Устройство содержит регистр управлени интерфейсом ЭВМ, блок коммутации управл ющих сигналов интерфейса ЭВМ, регистр управл ющего слова, первый, второй регистры управл ющих сигналов, блок управлени передачей данных, буферный запоминающий блок, блок коммутации управл ющих сигналов интерфейса внешней пам ти , регистр управлени интерфейсом, внешней пам ти, первую - п тую группы элементов И, первую, вторую группы элементов ИЛИ. Использование устройства позвол ет осуществить независимое и одновременное управление интерфейсом ввода-вывода ЭВМ и внещней пам ти, что обеспечивает независимую и одновременную передачу данных между запоминающим бло- g ком и интерфейсами сопр гаемых уст (Л ройств, имеющих разные скорости передачи данных 5 ил.The invention relates to computing and is intended for interfacing a software-controlled channel of a computer with external memory devices on magnetic disks. The aim of the invention is to reduce the data transmission time through the interfaces of the associated devices. The device contains a computer interface control register, a switching unit of control signals of a computer interface, a control word register, a first, second control signal registers, a data transmission control unit, a buffer storage unit, an external memory interface control switching unit, an interface control register , external memory, the first - the fifth group of elements AND, the first, second group of elements OR. The use of the device allows independent and simultaneous control of the computer I / O interface and external memory, which provides independent and simultaneous data transfer between the storage unit and interfaces of the interfaced devices (Devices with different data transfer rates 5 or less.
Description
N3N3
0505
ьоyo
СПSP
Изобретение относитс к вычислительной технике и предназначено дл сопр жени программно управл емого канала ЭВМ с устройствами внешней пам ти на магнитных дисках.The invention relates to computing and is intended for interfacing a software controlled computer channel with external memory devices on magnetic disks.
Целью изобретени вл етс сокращение времени передачи данных через интерфейсы сопр гаемых устройств.The aim of the invention is to reduce the data transmission time through the interfaces of the associated devices.
На фиг. 1 ,представлена блок-схема устройства; на фиг. 2 - схема блока управлени передачей данных, на фиг. 3 - функциональна схема блока коммутации управл ющих сигналов интерфейса ЭВМ; на фиг. 4 - функциональна схема блока коммутации управл ющих сигналов интерфейса внешней пам ти; на фиг. 5 - временна диаграмма работы блока управлени передачей данных.FIG. 1 shows a block diagram of the device; in fig. 2 is a diagram of a data transmission control unit; FIG. 3 - functional diagram of the switching unit of control signals of the computer interface; in fig. 4 is a functional diagram of the switching unit of control signals of the external memory interface; in fig. 5 is a timing diagram of the operation of the data transmission control unit.
Устройство содержит выход 1 данных ЭВМ, регистр 2 управлени интерфейсом ЭВМ, перва группа 3 элементов И, блок 4 коммутации управл ющих сигналов интерфейса ЭВМ, регистр 5 управл ющего слова, первый регистр 6 управл ющих сигналов, втора группа 7 элементов И, второй регистр 8 управл ющих сигналов, блок 9 управлени передачей данных, втора группа 10 элементов ИЛИ, перва группа 11 элементов ИЛИ, буферный запоминающий блок 12, четверта группа 13 элементов И, п та группа 14 эле.ментов И, треть группа15 элементов И, блок 16 коммутации управл ющих сигналов интерфейса внещней пам ти, регистр 17 управлени интерфейсом внещней пам ти, вход 18 данных внещней пам ти.The device contains output 1 of computer data, computer interface control register 2, first group 3 of elements I, computer control switching unit 4 of control interface of computer, register 5 of control word, first register 6 of control signals, second group of 7 elements I, second register 8 control signals, data transmission control unit 9, the second group of 10 OR elements, the first group of 11 OR elements, the buffer storage unit 12, the fourth group of 13 AND elements, the fifth group of 14 AND elements, the third group of AND elements, 16 switching unit control signals external interface memory catch, external memory interface control register 17, external memory data input 18.
Блок управлени передачей данных содержит первый элемент И 19, второй элемент 20 задержки, первый элемент ИЛИ 21, первый счетчик 22, четвертый элемент ИЛИ 23, второй элемент И 24, второй элемент ИЛИ 25, третий 26 и второй 27 триггеры, схема 28 сравнени , щеста группа 29 элементов И, третий элемент И 30, треть группа 31 элементов ИЛИ, первый элемент 32 задержки, второй счетчик 33, седьмой 34 и п тый 35 элементы И, третий элемент ИЛИ 36, третий элемент 37 задержки, седьма группа 38 элементов И, шестой 39 и четвертый 40 элементы И, седьмой 41, п тый 42 и шестой 43 элементы ИЛИ, первый 44 и четвертый 45 триггеры. Кроме того, на фиг. 2 обозначены первый управл ющий вход 46, выход 47 седьмого элемента ИЛИ, единичный выход 48 первого триггера, выход 49 первого элемента задержки , выход 50 четвертого триггера, вход 51 идентификации данных, выходы 52 первого элемента ИЛИ, единичный выход 53 третьего триггера, выход 54 второго элемента задержки , единичный выход 55 второго триггера , второй управл ющий вход 56, выход 57 разрешени чтени , адресный выход 58, первый и второй стробирующие выходы 59 и 60 блока управлени передачей данных.The data transmission control unit contains the first element AND 19, the second delay element 20, the first element OR 21, the first counter 22, the fourth element OR 23, the second element AND 24, the second element OR 25, the third 26 and the second 27 triggers, the comparison circuit 28, The group of 29 elements is And, the third element is And 30, the third is a group of 31 OR elements, the first delay element 32, the second counter 33, the seventh 34 and fifth 35 And elements, the third element OR 36, the third delay element 37, the seventh group 38 And elements , the sixth 39 and the fourth 40 elements And, the seventh 41, the fifth 42 and sixth 43 elements LEE, the first 44 and fourth 45 triggers. In addition, in FIG. 2 designates the first control input 46, the output 47 of the seventh OR element, the single output 48 of the first trigger, the output 49 of the first delay element, the output 50 of the fourth trigger, the data identification input 51, the outputs 52 of the first OR element, the output 53 of the third trigger, output 54 the second delay element, the single output 55 of the second trigger, the second control input 56, the output resolution 57, the address output 58, the first and second gate outputs 59 and 60 of the data transmission control unit.
Блок коммутации управл ющих сигналов интерфейса ЭВМ содержит первый 61, второй 62, третий 63, четвертый 64 и п тый 65 элементы НЕ, управл ющий 66, задани протокола обмена данными 67 и сброса 68 входы, а также выходы блока 4 коммутации управл ющих сигналов интерфейса ЭВМ запроса 69, вектора состо ни 70, разрешени приема данных 71 и формировани сектора управлени 72, матрицу 73 элементов И- ИЛИ, элемент 74 задержки, триггер 75, первый 76 и второй 77 элементы И, первый 78 и второй 79 элементы ИЛИ, регистр 80 блока коммутации управл ющих сигналов интерфейса ЭВМ.The switching unit of the control signals of the computer interface contains the first 61, second 62, third 63, fourth 64 and fifth 65 elements NOT, control 66, sets the data exchange protocol 67 and resets 68 inputs, as well as the outputs of the interface control switching unit 4 Request computer 69, state vector 70, data reception permission 71 and control sector formation 72, AND-OR matrix 73, delay element 74, trigger 75, first 76 and second 77 And elements, first 78 and second 79 OR elements, register 80 switching unit control signals of the computer interface.
Блок коммутации управл ющих сигналовControl switching unit
интерфейса внешней пам ти содержит матрицу 81 элементов И-ИЛИ, входы 82 управлени вводом-выводом, вход 83 разрешени , вход 84 задани протокола обмена данными,the external memory interface contains the matrix 81 of the AND-OR elements, the I / O control inputs 82, the resolution input 83, the input 84 of the communication protocol setting,
выход 85 формировани вектора управлени , выход 86 вектора состо ни , первый-п тый элементы НЕ 87-91, регистр 92, первый и второй элементы ИЛИ 93 и 94.control vector generation output 85, state vector output 86, HE 87-91 first-fifth elements, register 92, first and second elements OR 93 and 94.
Кроме того, на фиг. I изображены входIn addition, in FIG. I depicted the entrance
95 сброса устройства, вход 96 управлени ЭВМ, выход 97 разрешени ввода-вывода ЭВМ, вход 98 данных ЭВМ, выход 99 управлени внешней пам ти, управл ющий вход 100 внешней пам ти и выход 101 данных внешней пам ти.95 device reset, computer control input 96, computer I / O resolution output 97, computer data input 98, external memory control output 99, external memory control input 100, and external memory data output 101.
Установка в исходное состо ние устройства (фиг. 1 и 2).The initialization of the device (Fig. 1 and 2).
Дл установки в исходное состо ние на установочный вход устройства подаетс сигнал «УСТО. В результате счетчики 22 иFor resetting, a "STAT. As a result, counters 22 and
5 33 очищаютс . Указанный сигнал устанавливает в нулевое состо ние через элемент ИЛИ 23 триггер 26, через элемент ИЛИ 25 триггер 27, через элемент ИЛИ 36 триггер 44, через элемент ИЛИ 43 триггер 45. В исходQ ном состо нии элемент И 19 по одному из входов, соединенному с нулевым выходом триггера 44, разрешен и находитс в состо нии ожидани управл ющего сигнала с выхода блока 4, а элемент И 24 по одному из входов, соединенному с единичным выхо5 дом триггера 44, запрещен. Элемент И 39 по одному из входов, соединенному с нулевым выходом триггера 26, разрешен и находитс в состо нии ожидани управл ющего сигнала от блока 16, а элемент И 40 по одному из входов, соединенному с единичным вы.кодом триггера 26, запрещен. Элементы И 30 и 35 по одним из входов, соединенных с цедйничными выходами триггеров 27 и 44 соответственно, запрещены. Сигналы и информаци с выходов блока 9 не5 33 are cleaned. The specified signal sets to zero through the OR element 23 trigger 26, through the OR element 25 trigger 27, through the OR element 36 trigger 44, through the OR element 43 trigger 45. In the initial state, the AND 19 element is connected to one of the inputs the zero output of flip-flop 44 is allowed and is in the wait state of the control signal from the output of block 4, and the AND 24 element through one of the inputs connected to the single output of the flip-flop 44 is prohibited. Element 39 and one of the inputs connected to the zero output of the trigger 26 is allowed and is in the wait state of the control signal from block 16, and element 40 through one of the inputs connected to the single high code of the trigger 26 is prohibited. Elements 30 and 35 on one of the inputs connected to the sensor outputs of the flip-flops 27 and 44, respectively, are prohibited. Signals and information from the outputs of block 9 are not
5 подаютс , в результате чего группы элементов И 7 и 13 по соответствующим входам запрещены, и в блок 12 информаци не поступает .5 are supplied, as a result of which the groups of elements AND 7 and 13 are prohibited by the corresponding inputs, and information is not received in block 12.
Передача данных из внешней пам ти в ЭВМData transfer from external memory to computer
1.Ввод в устройство управл ющей информации и инициирование процедуры обмена данными (фиг. 1 и 2).1. Inputting control information into the device and initiating the data exchange procedure (Figs. 1 and 2).
Из канала ЭВМ управл юща информаци по шине 1 данных поступает на один из входов группы элементов И 3, а управл ющие сигналы (щина управлени ) - на один из входов блока 4, в результате чего на выходе блока 4 генерируетс сигнал, разрешающий по другому входу группу элементов И 3. С выхода группы элементов И 3 управл юща информаци поступает в регистр 5, где хранитс до конца обмена. Опустив процедуры передачи между ЭВМ и внешней пам тью управл ющей и диагностической информации, будем рассматривать непосредственно процедуру передачи данных между ЭВМ и внешней пам тью.From the computer channel, the control information on the data bus 1 goes to one of the inputs of the group of elements I 3, and the control signals (control field) to one of the inputs of block 4, as a result of which the output of block 4 generates a signal allowing another input a group of elements AND 3. From the output of a group of elements AND 3, the control information enters register 5, where it is stored until the end of the exchange. Omitting the transfer procedures between the computer and the external memory of the control and diagnostic information, we will consider directly the procedure for transferring data between the computer and the external memory.
Под действием управл ющей информации регистра 5 блоки 4 и 16 начинают одновременно отработку протоколов обмена данными по интерфейсам ввода-вывода ЭВМ и внешней пам ти. При этом вектор управлени дл интерфейса ввода-вывода ЭВМ формируетс на регистре 2 под действием сигналов , поступающих на его вход с одного из выходов блока 4, а вектор управлени интерфейсом внешней пам ти формируетс на регистре 17 под действием сигналов, поступающих на его вход с одного из выходов блока 16. Состо ни регистров 2 и 17 передаютс на шины управлени интерфейсов ЭВМ и внешней пам ти соответственно.Under the action of the control information of register 5, blocks 4 and 16 begin simultaneously the processing of data exchange protocols over computer input-output interfaces and external memory. At the same time, the control vector for the computer I / O interface is formed on register 2 by the action of signals arriving at its input from one of the outputs of block 4, and the vector control interface of the external memory is formed at register 17 by the action of signals arriving at its input from one from the outputs of block 16. The states of registers 2 and 17 are transmitted to the control buses of the computer interfaces and external memory, respectively.
2.Передача данных из внешней пам ти в блок 12 (фиг. 1, 2, 5а).2. Transfer of data from external memory to block 12 (Fig. 1, 2, 5a).
Указанна процедура включает формирование адресов чеек блока 12 и запись по этим адресам информации данных, поступающих от внешней пам ти.This procedure involves the formation of the addresses of the cells of block 12 and the recording at these addresses of information from the external memory.
2.1.Формирование адреса чейки в блок 12.2.1. Formation of the address of the cell in block 12.
Данные из внешней пам ти по шине 93 данных поступают на один из-входов группы элементов И 13. В этот момент по шине 91 управлени внешней пам ти идентифицируетс передача данных. Управл юща информаци поступает на один из входов блока 16, и последний вырабатывает управл ющий сигнал запроса (фиг. 5, поз. 46), который в счетчике 33 формирует адрес записи данных в блок 12. Ин.формаци об адресе поступает Vta один и входов группы элементов И 38.Data from the external memory via the data bus 93 arrives at one of the inputs of the group of elements And 13. At this moment, the data transfer is identified via the external memory control bus 91. The control information is fed to one of the inputs of block 16, and the latter generates a control request signal (Fig. 5, pos. 46), which in the counter 33 forms the address of the data record in block 12. The address information is sent to Vta one and the inputs element groups and 38.
2.2.Управление работой блока 12 в режиме операции «Запись.2.2. Control of operation of block 12 in the mode of operation “Record.
При выполнении операции записи данных , поступающих из внешней пам ти, устройство работает следующим образом.When performing a write operation of data coming from an external memory, the device operates as follows.
Сигнал запроса (фиг. 5, поз. 46) поступает на один из входов элемента И 39, другой вход которого разрешен состо нием нулевого выхода триггера 26, и на один из входов элемента И 40, запрещенного по другому входу состо нием единичного выхода триггера 26. Выходной сигнал элемента И 39 через элемент ИЛИ 41 (фиг. 5, поз. 47)The request signal (Fig. 5, pos. 46) is fed to one of the inputs of the And 39 element, the other input of which is allowed by the zero output state of the trigger 26, and to one of the inputs of the And 40 element that is prohibited by the other input by the state of the single output of the trigger 26 The output signal of the element And 39 through the element OR 41 (Fig. 5, pos. 47)
устанавливает триггер 44 в единичное состо ние и поступает на вход элемента 32 задержки, с выхода которого (фиг. 5, поз. 49) сигнал через элемент ИЛИ 36 переводит триггер 44 в исходное нулевое состо ние. В результате на триггере 44 по импульсуsets the trigger 44 to the one state and enters the input of the delay element 32, the output of which (Fig. 5, pos. 49) sends a signal through the OR 36 element to the trigger 44 to the initial zero state. As a result, on trigger 44 on impulse
запроса формируетс строб (фиг. 5, поз. 48) длительность которого соответствует длительности цикла буферной пам ти 12. Этот строб разрешает по другому входу группу элементов И 38, информаци с вы.хода которой через группу элементов ИЛИ 31 в качестве адреса слова данных поступает в адресный вход блока 12. Этот же строб, вл сь одним из выходных сигналов блока 9, разрешает по другому входу группу элементов И 13, в результате чего слово данных из внешней пам ти через группы 13 и 11 элементов поступает на информационный вход блока 12.the strobe is formed (Fig. 5, pos. 48), the duration of which corresponds to the cycle duration of the buffer memory 12. This strobe allows a group of elements AND 38 to enter through another input, the information from which through the group of elements OR 31 comes as the address of the data word to the address input of block 12. The same strobe, being one of the output signals of block 9, permits another group of elements And 13, as a result of which the data word from the external memory through groups 13 and 11 elements enters the information input of block 12.
Управл ющие сигналы, поступающие с выхода блока 16 устанавливают по одномуThe control signals from the output of block 16 are set one by one.
из входов разр ды второго регистра 8 управл ющих сигналов, вектор состо ни которого при наличии сигнала с вы.чода блока 9, поступающего на другой вход, через группу 10 элементов ИЛИ управл ет режимом работы блока 12 (в данном случае выполн етс операци «Запись). В результате по сформированному на счетчике 33 адресу в блок 12 записываетс слово данных, поступившее из внешней пам ти. Запись следующего слова данных осуществл етс аналогично рассмотренному.from the bits of the second register of control signals 8, the state vector of which, if there is a signal from the output of the block 9 arriving at another input, through the group of 10 elements OR controls the operation mode of the block 12 (in this case the operation Record ). As a result, the data word received from the external memory is written to the block 12 at the address generated at the counter 33. The writing of the next data word is carried out similarly to the one considered.
3. Передача данных из блока 12 в ЭВМ (фиг. 1, 2, 5 б).3. Data transfer from block 12 to the computer (Fig. 1, 2, 5 b).
Одновременно с записью слов данных из внешней пам ти в блок 12 осуществл етс считывание (выборка) записанных данныхSimultaneously with writing the data words from the external memory to the block 12, the written data is read (sampled).
из блока 12 и пересылка их в ЭВМ. Процедура чтени включает формирование адресов чеек блока 12 и считывание по этим адресам информации данных с последующей пересылкой их в ЭВМ.from block 12 and sending them to the computer. The reading procedure includes the formation of the addresses of the cells of block 12 and the reading of information at these addresses information data with the subsequent transfer them to the computer.
3.1. Формирование адреса чейки блока 123.1. The formation of the address of the cell block 12
При определении адреса чейки в блоке 12 устройство работает следующим образом .When determining the address of the cell in block 12, the device operates as follows.
Блок 4, управл посредством регистра 2 интерфейсом ввода-вывода ЭВМ, вырабатывает сигнал запроса (фиг. 5, поз. 51), который поступает на счетный вход счетчика 22, где формируетс адрес слова данных, поступающий на один из входов группы элементов И 29.Unit 4, controlled by a register 2 by a computer input-output interface, generates a request signal (FIG. 5, pos. 51), which is fed to the counting input of counter 22, where the address of the data word is received to one of the inputs of the AND 29 group of elements.
3.2. Управление работой блока 12 в режиме операции «Чтение.3.2. Control of operation of unit 12 in the operation mode “Reading.
Сигнал запроса (фиг. 5, поз. 51) поступает на один из входов элемента И 19,The request signal (Fig. 5, pos. 51) is fed to one of the inputs of the element And 19,
другой вход которого разрешен в этот момент состо нием нулевого выхода триггера 44 и на один из входов элемента И 24, другой вход которого в этот момент запрещен состо нием единичного выхода триггера 44. Выходной сигнал элемента И 19 через элемент ИЛИ 21 (фиг. 5, поз. 52) устанавливает триггер 26 в единичное состо ние и поступает на вход элемента 20 задержки, с выхода которого (фиг. 5, поз. 54 сигнал через элемент ИЛИ 23 переводит триггер 26 в исходное нулевое состо ние. В результате на триггере 26 по сигналу запроса формируетс строб (фиг. 5, поз. 53), длительность которого соответствует длительности цикла буферной пам ти 12. Сформированный на триггере 26 строб разрешает по другому входу группу 29 элементов И, информаци с выхода которой черезгруппу 31 логических элементов ИЛИ в качестве адреса выборки слова данных по ступает на адресный вход блока 12. Этот же строб, вл сь одним из выходных сигналов блока 9, разрешает по одному из входов группу 15 элементов И. Управл ющие сигналы, поступающие с выхода блока 4 устанавливают по одним из входов разр ды первого регистра 6 управл ющих сигналов вектор состо ни которого при наличии выходного сигнала блока 9, поступающего на другой его вход, через группу 10 элементов ИЛИ управл ет режимом работы блока 12 (в данном случае выполн етс oneраци «Чтение).the other input is allowed at this moment by the state of zero output of the trigger 44 and to one of the inputs of the AND 24 element, the other input of which is at this moment prohibited by the state of the single output of the trigger 44. The output signal of the AND 19 element through the OR 21 element (Fig. 5, position 52) sets the trigger 26 to one state and enters the input of delay element 20, the output of which (Fig. 5, position 54) transmits the signal through the OR element 23 to the trigger 26 to the initial zero state. As a result, on the trigger 26 to a strobe signal is generated to the request signal (Fig. 5, pos. 53), the duration The duration of which corresponds to the cycle time of the buffer memory 12. The gate formed on the trigger 26 allows the group of 29 AND elements to another input, the information from the output of which through the group of logical elements 31 OR, as the address, fetches the data word to the address input of the block 12. The same gate , Being one of the output signals of block 9, enables one of the inputs to a group of 15 elements I. The control signals from the output of block 4 establish, using one of the inputs, the bit of the first register 6 of the control signals the rest of which, in the presence of the output signal of block 9, arriving at its other input, through a group of 10 elements OR controls the mode of operation of block 12 (in this case, the reading is performed).
В результате считанна из блока 12 информаци поступает на другой вход группы 15 элементов И, с выхода которой эта информаци поступает на вход 98 данных ЭВМ As a result, the information read from block 12 goes to another input of the group 15 of elements I, from the output of which this information goes to the input 98 of computer data
Так как скорость передачи данных через интерфейс ввода-вывода ЭВМ меньше скорости передачи данных через интерфейс внешней пам ти, то при условии одновременного начала записи массива информации в блок 12 из внешней пам ти и чтени этого массива информации из блока 12 в ЭВМ весь массив данных будет передан без искажени .Since the data transfer rate through the computer I / O interface is lower than the data transfer rate through the external memory interface, provided that the data array is simultaneously written to the block 12 from the external memory and the data array is read from the block 12 to the computer, the entire data array will be transmitted without distortion.
Передача данных из ЭВМ во внешнюю пам ть (фиг. 1, 2, 5 а, б).Data transfer from a computer to an external memory (Fig. 1, 2, 5 a, b).
В отличие от рассмотренного режима при передаче данных из ЭВМ во внешнюю пам ть управл ющие сигналы блока 4 устанавливают разр ды регистра 6 так, что вектор его состо ни через группу 10 элементов ИЛИ обеспечивает режим записи елова данных в блок 12. При этом информаци данных поступает в блок 12 из ЭВМ через группу 7 элементов И, разрешенных единичным состо нием триггера 26, и группу 11 элементов ИЛИ (фиг. 56).In contrast to the considered mode, when transferring data from a computer to an external memory, the control signals of block 4 set the bits of register 6 so that its state vector through a group of 10 elements OR provides the write mode of the spruce data into block 12. At the same time, the data information into block 12 from a computer through a group of 7 AND elements permitted by a single state of trigger 26, and a group of 11 OR elements (Fig. 56).
Управл ющие сигналы блока 16 устанавливают разр ды регистра 8 таким образом, что его вектор состо ни обеспечивает режим «чтени информации из блока 12, котора поступает на один из входов группы 14 элементов И, другой вход которой разрешен в это врем состо нием единичного выхода триггера 44. В результате информаци с выхода группы 14 элементов И поступает на шины данных внещней пам ти (фиг. 5 а).The control signals of block 16 set the bits of register 8 in such a way that its state vector provides a mode of reading information from block 12, which is fed to one of the inputs of a group of 14 AND elements, the other input of which is allowed at this time by the state of a single trigger output 44. As a result, information from the output of a group of 14 elements And goes to the data bus of external memory (Fig. 5a).
Так как запись информации из ЭВМ в блок 12 осуществл етс со скоростью ниже, чем чтение из блока 12 во внешнюю пам ть , то инициирование процедуры чтени по отношению к процедуре записи задерживаетс на фиксированный интервал времени, который определ етс , исход из разности скоростей передачи данных. Информаци об этой разности передаетс в регистр 5 в начальной фазе обмена, где хранитс в течение всего времени обмена.Since the recording of information from the computer in block 12 is carried out at a speed lower than the reading from block 12 to the external memory, the initiation of the reading procedure with respect to the writing procedure is delayed by a fixed time interval, which is determined based on the difference in data transmission speeds . Information about this difference is transferred to register 5 in the initial phase of the exchange, where it is stored during the entire exchange time.
Выход регистра 5, соответствующий разр дам , где хранитс указанна информаци , дл отработки необходимой задержки подключен к одному из входов схемы 28 сравнени , на второй вход которой поступает информаци с выхода счетчика 22. При передаче информации из ЭВМ в блок 12 счетчик 22, формиру адрес блока 12, просчитывает количество переданных в блок 12 слов данных, что определ ет временной интервал задержки. При достижении значени состо ни счетчиком 22, соответствующего заданному временному интервалу, на выходе схемы 28 по вл етс сигнал, который поступает в блок 16 и разрешает его работу в соответствии с режимом чтени информации из блока 12 и передачи ее во внешнюю пам ть. В дальнейшем операции «Запись информации из ЭВМ в блок 12 и «Чтение информации из блока 12 во внешнюю пам ть могут выполн тьс одновременно в зависимости от момента поступлени операции чтени во внешнюю пам ть. При этом отработанный временной интервал обеспечивает окончание считывани последнего слова массива информации из блока 12 и передачу его во внешнюю пам ть не раньще окончани записи этого слова из канала 1 ЭВМ в блок 12, что вл етс необходимым условием достоверности передачи информации .The output of register 5, corresponding to the bits where this information is stored, for testing the required delay is connected to one of the inputs of the comparison circuit 28, the second input of which receives information from the output of the counter 22. When transmitting information from the computer to the block 12, the counter 22 generates the address block 12, calculates the number of data words transferred to the block 12, which determines the time interval of the delay. When the state value reaches the counter 22 corresponding to the specified time interval, the output of the circuit 28 is a signal that enters the block 16 and allows it to operate in accordance with the mode of reading information from block 12 and transmitting it to the external memory. Subsequently, the operation of "Writing information from a computer to block 12 and" Reading information from block 12 to an external memory can be performed simultaneously, depending on the moment the reading operation arrives to the external memory. At that, the worked out time interval ensures the end of reading the last word of the information array from block 12 and its transfer to the external memory not earlier than the end of writing this word from channel 1 of the computer to block 12, which is a necessary condition for the reliability of information transfer.
Рещение конфликтных ситуаций.Conflict resolution
1. Запрос от ЭВМ поступает, когда цикл обмена между внешней пам тью и блоком 12 не закончен (фиг. 2, 5 в).1. The request from the computer comes when the exchange cycle between the external memory and block 12 is not completed (Fig. 2, 5 c).
В этом случае при поступлении сигнала запроса от ЭВМ (фиг. 5, поз. 51) на один из входов логического элемента И 19 последний остаетс закрытым по другому входу состо нием нулевого выхода триггера 44, в результате чего сигнал на выходе элемента И 19 не по вл етс . Сигнал .запроса (фиг. 5, поз. 51) поступает также на один из входов элемента И 24, по другому входу который разрешен в этот момент состо нием единичного выхода триггера 44. Выходной сигнал элемента И 24 устанавливает триггер 27 в единичное состо ние (фиг. 5, поз. 55), тем самым запоминаетс запрос со стороны канала ЭВМ, который не был обслужен. По окончании цикла передачи слова данных от внешней пам ти выходной сигнал элемента 32 задержки (фиг. 5, поз. 49 поступает на один из входов элемента И 30, который по другому входу разрешен состо нием единичного выхода триггера 27. Выход ной сигнал элемента И 30 через элемент ИЛИ 21 (фиг. 5, поз. 52) устанавливает триггер 26 в единичное состо ние (фиг. 5, поз. 53) и запускает цикл обмена данными между ЭВМ и блоком 12. Сигнал с выхода элемента И 30 через элемент ИЛИ 25 устанавливает триггер 27 в исходное нулевое состо ние.In this case, when a request signal from a computer (Fig. 5, pos. 51) arrives at one of the inputs of the logic element AND 19, the latter remains closed at the other input by the zero output of the trigger 44, as a result of which the output signal of the And 19 is not is. The request signal (Fig. 5, pos. 51) also goes to one of the inputs of AND 24, the other input which is allowed at this moment by the single output of trigger 44. The output signal of AND 24 sets the trigger 27 to the single state ( Fig. 5, pos. 55), thereby remembering the request from the side of the computer channel that was not serviced. At the end of the data word transfer cycle from the external memory, the output signal of the delay element 32 (Fig. 5, pos. 49 is fed to one of the inputs of the And 30 element, which is enabled by the other input by the state of a single output of the trigger 27. The output signal of the And 30 element through the OR 21 element (Fig. 5, pos. 52) sets the trigger 26 into one state (Fig. 5, pos. 53) and starts the cycle of data exchange between the computer and block 12. The signal from the output of the AND 30 element through the OR 25 element sets trigger 27 to the initial zero state.
2.Запрос от внешней пам ти поступает, когда цикл обмена между ЭВМ и блоком 12 не закончен (фиг. 2, 5 г).2. The request from the external memory arrives when the cycle of exchange between the computer and unit 12 is not completed (Fig. 2, 5 g).
В отличие от рассмотренного запоминаетс запрос внешней пам ти на триггере 45 так как сигнал запроса (фиг. 5, поз. 46) поступает на один из входов элемента И 39 по второму входу который в этот момент запрещен состо нием нулевого выхода триггера 26, и на один из входов элемента И 40, по другому входу который в этот момент разрешен состо нием единичного выхода триггера 26. Выходной сигнал элемента И 40 через элемент ИЛИ 42 устанавливает триггер 45 (фиг. 5, поз. 50) в единичное состо ние. В результате запрос на обмен словом данных от внешней пам ти запоминаетс на триггере 45 и хранитс до окончани цикла обмена словом данных между ЭВМ и блоком 12. По окончании этого цикла по вл етс сигнал на выходе элемента 20 задержки (фиг. 5, поз. 54) который поступает на один из входов элемента И 35, по другому входу который разрешен в этот момент состо нием единичного выхода триггера 45 (хранитс необслуженный запрос из внешней пам ти). Выходной сигнал элемента И 35 через элемент ИЛИ 41 устанавливает триггер 44 в единичное состо ние (фиг. 5, поз. 48), а через элемент ИЛИ 43 - триггер 45 в исходное нулевое состо ние (фиг. 5, поз. 50). С этого момента выполн етс цикл обмена словом данных между внешней пам тью и блоком 12In contrast to the considered, the request for external memory is remembered on the trigger 45, since the request signal (Fig. 5, pos. 46) arrives at one of the inputs of the And 39 element via the second input, which at this moment is forbidden by the zero output of the trigger 26, and one of the inputs of the element 40, another input which is at this moment allowed by the state of a single output of the trigger 26. The output signal of the element 40 through the element OR 42 sets the trigger 45 (Fig. 5, pos. 50) to the state 1. As a result, the request to exchange the data word from the external memory is stored on the trigger 45 and is stored until the end of the data exchange cycle between the computer and the block 12. At the end of this cycle, a signal appears at the output of the delay element 20 (Fig. 5, pos. 54) ) which is fed to one of the inputs of AND 35, the other input which is allowed at this moment by the state of a single output of the trigger 45 (an unserved request is stored from the external memory). The output signal of the element 35 through the element OR 41 sets the trigger 44 to the one state (Fig. 5, pos. 48), and through the element OR 43 - the trigger 45 to the initial zero state (Fig. 5, pos. 50). From this moment on, the cycle of exchanging the data word between the external memory and the block 12
3.Запросы от ЭВМ и внешней пам ти поступают, когда циклы обмена соответственно от внешней пам ти и ЭВМ не закончены (фиг. 2, 5 ().3. Requests from the computer and external memory arrive when the exchange cycles from the external memory and computer, respectively, are not completed (Fig. 2, 5 ().
Данна ситуаци вл етс суперпозицией рассмотренных ситуаций 1 и 2 и полностью описываетс приведенными дл них описани ми.This situation is a superposition of considered situations 1 and 2 and is fully described in the descriptions provided for them.
4.Запросы от ЭВМ и внешней пам ти поступают одновременно (фиг. 2, 5 е).4. Requests from the computer and external memory are received simultaneously (Fig. 2, 5 e).
При одновременном по влении запросов от ЭВМ (фиг. 5, поз. 51) и внешней пам ти (фиг. 5, поз. 46) триггеры 44 и 26 устанавливаютс в единичные состо ни (фиг. 5, поз. 53, 48), состо ние же триггеров 27 и 45 неопределенное. Анализ такой ситуации и приведение устройства в штатное состо ние с последуюшей обработкой поступивших запросов осушествл етс следующим образом. Состо ни единичных выходов триггеров 26 и 44 разрешают по обоим входам элемент И 34, выходной сигнал которого через элемент 37 задержки устанавливает триггеры устройства в состо ни , соответствующие обслуживанию запроса соWith simultaneous requests from a computer (Fig. 5, pos. 51) and external memory (Fig. 5, pos. 46), the triggers 44 and 26 are set to one state (Fig. 5, pos. 53, 48), the state of the triggers 27 and 45 is undefined. The analysis of such a situation and bringing the device into a regular state with the subsequent processing of incoming requests is carried out as follows. The states of the single outputs of the flip-flops 26 and 44 allow, on both inputs, an AND 34 element, the output of which, through the delay element 37, sets the device triggers to the state corresponding to the maintenance request
стороны ЭВМ и запоминанию запроса со стороны внешней пам ти с последующим его обслуживанием.side of the computer and memorizing the request from the external memory with its subsequent maintenance.
Элемент 37 задержки служит дл выработки сигнала управлени по окончанииThe delay element 37 serves to generate a control signal at the end of
переходных процессов переключени триггеров 27 и 45, вызванных одновременным по влением сигналов запросов от ЭВМ и внешней пам ти. Выходной сигнал элемента 37 задержки через логический элемент ИЛИ 36 переводит триггер 44 в исходное нулевое состо ние (фиг. 5, поз. 48) через элемент ИЛИ 42 переводит (или подтверждает ) триггер 45 в единичное состо ние (фиг. 5, поз. 50) и через элемент ИЛИ 25 переводит (или подтверждает) триггерtransients switching triggers 27 and 45, caused by the simultaneous appearance of request signals from the computer and external memory. The output signal of the delay element 37 through the logical element OR 36 transfers the trigger 44 to the initial zero state (Fig. 5, pos. 48) through the OR element 42 translates (or confirms) the trigger 45 into the single state (Fig. 5, pos. 50 ) and through the element OR 25 translates (or confirms) the trigger
27 в исходное нулевое состо ние (фиг. 5, поз. 55).27 to the initial zero state (Fig. 5, pos. 55).
С этого момента начинаетс обслуживание запроса, поступившего от ЭВМ, а запрос от внешней пам ти запоминаетс наFrom this moment, the servicing of the request received from the computer begins, and the request from the external memory is stored in
триггере 45 (фиг. 5, поз. 50). По окончании цикла обмена словом данных между блоком 12 и ЭВМ на выходе элемента 20 задержки по вл етс сигнал (фиг. 5, поз. 54), который поступает на один из входов элемента И 35, другой вход которого в этот момент разрешен состо нием единичного выхода триггера 45. Выходной сигнал элемента И 35 через элемент ИЛИ 41 устанавливает триггер 44 в единичное состо ние (фиг. 5, поз. 48), а триггер 45 черезtrigger 45 (Fig. 5, pos. 50). At the end of the data word exchange cycle between the block 12 and the computer, a signal appears at the output of the delay element 20 (Fig. 5, pos. 54), which is fed to one of the inputs of AND 35, the other input of which is at this moment allowed by the unit state trigger output 45. The output signal of the element 35 through the element OR 41 sets the trigger 44 to one (Fig. 5, pos. 48), and the trigger 45 through
элемент ИЛИ 43 переводит в исходное нулевое состо ние (фиг. 5, поз. 50). В этого момента отрабатываетс цикл обмена словом данных между внешней пам тью и блоком 12.the OR 43 element returns to the initial zero state (Fig. 5, pos. 50). At this moment, the cycle of exchanging the data word between the external memory and the block 12 is fulfilled.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843770784A SU1262509A1 (en) | 1984-07-09 | 1984-07-09 | Device for linking computer interfaces and external storage |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843770784A SU1262509A1 (en) | 1984-07-09 | 1984-07-09 | Device for linking computer interfaces and external storage |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1262509A1 true SU1262509A1 (en) | 1986-10-07 |
Family
ID=21130714
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU843770784A SU1262509A1 (en) | 1984-07-09 | 1984-07-09 | Device for linking computer interfaces and external storage |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1262509A1 (en) |
-
1984
- 1984-07-09 SU SU843770784A patent/SU1262509A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 824184, кл. G 06 F 3/04, 1978. Патент US № 4228501, кл. G 06 F 13/04, 1980. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4999769A (en) | System with plural clocks for bidirectional information exchange between DMA controller and I/O devices via DMA bus | |
US4519034A (en) | I/O Bus clock | |
US3804987A (en) | Multiplexing apparatus having interlaced and/or parallel data transfer with a data processor and communication lines | |
EP0288650B1 (en) | Protocol and apparatus for a control link between a control unit and several devices | |
US3766531A (en) | Communication line multiplexing apparatus having a main memory and an input/output memory | |
SU1262509A1 (en) | Device for linking computer interfaces and external storage | |
SU1571604A1 (en) | Device for data exchange for trunk multimachine computing system | |
SU1012235A1 (en) | Data exchange device | |
SU1332325A1 (en) | Device for mating a computer with users | |
SU1399750A1 (en) | Device for interfacing two digital computers with common storage | |
SU1728867A1 (en) | Device for interfacing computer with main line | |
SU1446625A1 (en) | Device for interfacing electronic computer with subscriber | |
SU868741A1 (en) | Device for interfacing two computers | |
SU1508227A1 (en) | Computer to trunk line interface | |
SU1290330A2 (en) | Computer system | |
SU1679494A1 (en) | Interface unit for communication of the subscriber over the bus | |
SU661544A1 (en) | Device for interfacing input-output channel with subscribers | |
SU1661778A1 (en) | Device for interfacing two computers to common memory | |
SU1751771A1 (en) | Device for interfacing two computers | |
SU1631549A1 (en) | Data processor | |
SU1246102A1 (en) | Interface for linking processor with peripheral unit | |
SU1727126A1 (en) | Device for interface of computer with communication channels | |
SU1056175A1 (en) | Data input device | |
SU1478222A1 (en) | Computer/external device interface | |
SU1483453A1 (en) | Request source address generator |