SU1686453A1 - Device for interfacing computer with common main line - Google Patents
Device for interfacing computer with common main line Download PDFInfo
- Publication number
- SU1686453A1 SU1686453A1 SU894663573A SU4663573A SU1686453A1 SU 1686453 A1 SU1686453 A1 SU 1686453A1 SU 894663573 A SU894663573 A SU 894663573A SU 4663573 A SU4663573 A SU 4663573A SU 1686453 A1 SU1686453 A1 SU 1686453A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- trigger
- elements
- block
- Prior art date
Links
Landscapes
- Small-Scale Networks (AREA)
Abstract
Изобретение относитс к вычислительной технике и может быть использовано в отказоустойчивых многомашинных вычислительных системах, комплексах и сет х. Целью изобретени вл етс повышение коэффициента использовани оборудовани за счет хранени копии данных оперативной пам ти дл восстановлени вычислительного процесса. Устройство содержит блок захвата магистрали, два регистра , два дешифратора адреса, блок пам ти, счетчик, п ть триггеров, два элемента И, группу элементов И, четыре элемента ИЛИ, группу элементов ИЛИ, три блока выбора и два одновибратора. 4 з п. ф-лы, 5 ил.The invention relates to computing and can be used in fault-tolerant multi-machine computing systems, complexes and networks. The aim of the invention is to increase the equipment utilization rate by storing a copy of the main memory data to restore the computational process. The device contains a block for capturing a trunk, two registers, two address decoders, a memory block, a counter, five triggers, two AND elements, a group of AND elements, four OR elements, a group of OR elements, three selection blocks and two single vibrators. 4 з п. Ф-лы, 5 Il.
Description
Изобретение относитс к вычислительной технике и может быть использовано в отказоустойчивых многомашинных вычислительных системах, комплексах и сет х.The invention relates to computing and can be used in fault-tolerant multi-machine computing systems, complexes and networks.
Целью изобретени вл етс повышение коэффициента использовани оборудовани за счет хранени копии данных оперативной пам ти и восстановлени вычислительного процесса.The aim of the invention is to increase the equipment utilization rate by storing a copy of the RAM data and restoring the computational process.
На фиг. 1 представлена функциональна схема устройства; на фиг. 2 - функциональна схема блока захвата; на фиг. 3 - функциональна схема первого блока выбора , на фиг. 4 - функциональна схема второго блока выбора; на фиг. 5 - функциональна схема третьего блока выбораFIG. 1 shows a functional diagram of the device; in fig. 2 - functional block diagram of the capture; in fig. 3 is a functional diagram of the first selection block; FIG. 4 - functional diagram of the second block of choice; in fig. 5 - functional diagram of the third selection block
Устройство дл сопр жени вычислительной машины с общей магистралью (фиг 1) содержит блок 1 захвата магистрали, первый регистр 2, первый дешифратор 3 адреса , второй дешифратор 4 адреса, блок 5 пам ти, счетчик 6. триггеры 7-10, элемент И 11,элемент И 12.одновибратор 13,первыйThe device for coupling the computer to the common highway (FIG. 1) contains a block 1 for capturing the highway, a first register 2, a first decoder 3 addresses, a second decoder 4 addresses, a block 5 of memory, a counter 6. triggers 7-10, element 11, element and 12. single-vibrator 13, first
магистральный усилитель 14, группу элементов И, элемент ИЛИ 16, второй магистральный усилитель 17. регистр 18, элементы ИЛИ 19-21, группу 22 элементов ИЛИ, триггер 23, блоки 24-26 выбора, шину 27 данных, шину 28 адреса ЭВМ, шину 29 данных общей магистрали, тактовую шину 30 общей магистрали, шину 31 захвата общей магистрали , шину 32 готовности общей магистрали , шину 33 синхронизации общей магистрали, вход 34 начальной установки ЭВМ, выход 35 запроса прерывани ЭВМ, вход 36 подтверждени запроса прерывани , входы 37-40 и выход 41 блока захватаtrunk amplifier 14, group of elements AND, element OR 16, second trunk amplifier 17. register 18, elements OR 19-21, group of 22 elements OR, trigger 23, selection blocks 24-26, data bus 27, computer address bus 28, bus 29 common bus data, common bus clock bus 30, common rail capture bus 31, common highway read bus 32, common rail synchronization bus 33, computer initial setup input 34, computer interrupt request output 35, interrupt request confirmation input 36, inputs 37- 40 and output 41 of the block capture
Блок 1 захвата (фиг. 2)содержит регистр 42, счетчик 43 и триггеры 44 и 45Block 1 capture (Fig. 2) contains a register 42, a counter 43 and triggers 44 and 45
Первый блок 24 выбора (фиг 3) содержит входы 46-48, выход 49, элемент НЕ 50, два блока 51 и 52 элементов И блок 53 эле ментов ИЛИThe first block 24 of choice (Fig 3) contains the inputs 46-48, the output 49, the element NOT 50, two blocks 51 and 52 elements AND the block 53 elements OR
Второй блок 25 выбора (фиг 4) содержит входы 54 и 55, выходы 56 и 57. два блока 58 и 59 элементов И и элемент НЕ 60The second block 25 of choice (Fig 4) contains inputs 54 and 55, outputs 56 and 57. two blocks 58 and 59 of the elements And And the element NOT 60
ЁYo
ОчOch
00 О00 Oh
4 СЛ CJ4 SL CJ
Третий блок 26 выбора (фиг. 5) содержит входы 61 и 62, выходы 63 и 64, два элемента И 65 и 66 и элемент НЕ 67.The third block 26 of choice (Fig. 5) contains the inputs 61 and 62, the outputs 63 and 64, two elements And 65 and 66 and the element NOT 67.
Устройство работает следующим образом .The device works as follows.
При начальной установке на вход 34 подаетс сигнал, по которому происходит обнуление счетчика 6, регистра 18, триггера 7, триггера 9, триггера 23, При незан тости общей магистрали на шине 31 захвата содержитс низкий уровень, по которому происходит обнуление триггеров 8 и 10.In the initial setup, an input 34 is given a signal that resets counter 6, register 18, trigger 7, trigger 9, trigger 23. When the common highway is not available, capture bus 31 contains a low level that triggers trigger 8 and 10.
Устройство дл сопр жени может par ботать в трех режимах.The mate can parbota in three modes.
В первом режиме устройство дл сопр жени выполн ет функции по обмену информацией между различными ЭВМ, соединенными общей магистралью 29-33.In the first mode, the interface device performs information exchange functions between different computers connected by a common highway 29-33.
Во втором режиме осуществл етс пересылка в блок 5 пам ти устройства копии данных оперативной пам ти ЭВМ, непосредственно св занной с данным устройством через шину 27 данных и адресную шину 28, и хранение этой копии до поступлени новой.In the second mode, a copy of the data of the main memory of the computer directly connected to this device via the data bus 27 and the address bus 28 is sent to the memory block 5 of the device, and this copy is stored until a new one arrives.
В третьем режиме устройство дл сопр жени используетс дл восстановлени вычислительного процесса без потерь информации в случае сбоев и отказов.In the third mode, the interface device is used to restore the computational process without loss of information in case of failures and failures.
Устройство всегда начинает работу в первом режиме.The device always starts in the first mode.
При необходимости передачи данных (пакета) ЭВМ-источник выставл ет требование захвата общей магистрали. Дл этого ЭВМ выставл ет код на шину 27 данных и адрес на шину 28 адреса, возбуждающий выход дешифратора 3, подключенный к входу 37 блока 1 захвата. При получении сигнала на вход 37 блок1 реализует процедуру захвата магистрали.If data (packet) is required, the source computer exposes the requirement of capturing the common highway. For this, the computer exposes a code to the data bus 27 and an address to the address bus 28, which drives the output of the decoder 3 connected to the input 37 of the capture unit 1. When receiving a signal at input 37, block1 implements the procedure for capturing a highway.
Работа блока 1 захвата магистрали состоит в том, что при зан тости общей магистрали , т.е. при наличии сигнала на шине 31 и входе 39, происходит установка счетчиков 43 блоков 1 захвата всех устройств дл сопр жени в состо ни , определ емые кодом с выходов регистров 42 соответствующих устройств. Коды, записанные в регистры 42 всех устройств, отличаютс один от другого. При наличии сигнала зан тости общей магистрали работа счетчиков 43 в счетном режиме блокируетс . При освобождении общей магистрали и, соответственно , сн тии сигнала 1 с входа 39 разблокируетс счетный режим работы счетчиков 43 всех устройств. Процедура распределени захвата основана на том, что в результате установки сигналы переноса счетчиков 43 различных устройств формируютс в разные моменты времени.The operation of block 1 for capturing the line is that when the main line is busy, i.e. when there is a signal on bus 31 and input 39, the counters 43 of the block 1 of capture of all devices for interfacing are set to the states determined by the code from the outputs of the registers 42 of the corresponding devices. The codes recorded in the registers 42 of all devices differ from one another. In the presence of a common-line occupancy signal, the operation of the counters 43 is blocked in the counting mode. When the common highway is released and, accordingly, the signal 1 is removed from the input 39, the counting mode of the counters 43 of all devices is enabled. The capture allocation procedure is based on the fact that, as a result of the installation, the transfer signals of the counters 43 of various devices are formed at different times.
Если на выходе переноса счетчика 43 К-ro устройства формируетс сигнал и К-й абонент заносит запрос на захват магистрали в триггер 45, то происходит запись 1 вIf at the transfer output of the 43K-ro device counter a signal is generated and the Kth subscriber enters a request to capture the trunk to the trigger 45, then a 1 in
триггер 44. Если абонент, подключенный к К-му устройству, не занес в триггер 45 (в триггере 45 находитс О), то на входе установки в О триггера 44 имеетс сигнал, блокирующий работу триггера 44 по С-входу, наtrigger 44. If the subscriber connected to the K-th device is not logged in the trigger 45 (in the trigger 45 is O), then at the installation input in O of the trigger 44 there is a signal that blocks the operation of the trigger 44 via the C input,
который подаетс сигнал переноса счетчика 43. При записи 1 в триггер 44 на выходе 41 блока 1 захвата формируетс сигнал, по которому на шине 31 устанавливаетс сигнал зан тости общей магистрали. Дл освобождени общей магистрали захвативший ее абонент выставл ет сигнал на вход 38 блока 1 захвата. По этому сигналу происходит обнуление триггера 45 и, соответственно, установка в О триггера 44. в результате чегоwhich is supplied by the transfer signal of the counter 43. When recording 1 to the trigger 44, the output 41 of the capture unit 1 generates a signal on which a common-line busy signal is set on the bus 31. In order to release the common highway, the subscriber who captured it exposes a signal to the input 38 of the capture unit 1. On this signal, the trigger 45 is reset and, accordingly, the trigger is set to O of the trigger 44. as a result
магистраль освобождаетс . Требование на захват магистрали сопровождаетс записью Г в триггер 45 при подаче сигнала на вход 37 блока 1 захвата.the trunk is vacated. The requirement to capture the trunk is accompanied by the recording of G in the trigger 45 when the signal is applied to the input 37 of the capture unit 1.
При захвате устройством общей магистрали на выходе 41 блока 1 захвата по вл етс 1. По вление 1 на выходе 41 блока 1 захвата опрашиваетс машиной через группу 15 элементов И. Опрос через группу 15 элементов И происходит при выдаче наWhen the device captures a common highway at output 41 of block 1 of capture, 1 appears. Appearance 1 at exit 41 of block 1 of capture is interrogated by the machine through group 15 of elements I. Interrogation through group 15 of elements I occurs on issuing
адресную шину 28 кода, возбуждающего выход дешифратора 3, подключенный к входу разрешени считывани группы 15 элементов И.address bus 28 of the code exciting the output of the decoder 3 connected to the read enable input of a group of 15 elements I.
После считывани 1 с выхода 41 блокаAfter reading 1 from exit 41 block
1 захвата ЭВМ-источник записывает в регистр 2 адрес ЭВМ-приемника. Дл этого на шину 27 данных выставл етс слово, а на шину 28 - код, возбуждающий выход дешифратора 3, подключенный к входу записи1 capture computer source writes in the register 2 address of the computer receiver. To do this, a word is put on the data bus 27, and on bus 28 there is a code that activates the output of the decoder 3 connected to the write input
регистра 2. По сигналу записи в регистр 2 на выходе одновибратора 13 вырабатываетс сигнал, по которому происходит выдача адреса , записанного в регистре 2, на шину 29 данных магистрали через второй блок 25register 2. The signal recording in register 2 at the output of the one-shot 13 generates a signal, which is the issuance of the address recorded in register 2, on the bus 29 data line through the second block 25
выбора (триггер 23 находитс в нуле). Импульс с выхода одновибратора 13 выдаетс на шину 30 через третий блок 26 выбора и первый магистральный усилитель 14.selection (trigger 23 is at zero). The pulse from the output of the one-shot 13 is delivered to the bus 30 through the third selection block 26 and the first main amplifier 14.
На выходе дешифратора 4 адресуемогоAt the output of the decoder 4 addressable
0 абонента формируетс Г, подаваема на D-вход триггера 8 (триггер 8 обнулен при незан тости общей магистрали, т.е. при низком уровне на шине 31). По сигналу на шине 30 происходит запись Г в триггер 100 subscriber is formed by G, supplied to the D-input of trigger 8 (trigger 8 is reset to zero when the common highway is not active, i.e. at low level on bus 31). The signal on the bus 30 is recording G trigger 10
5 (триггер 10 обнулен при незан тости общей магистрали). По фронту сигнала на выходе триггера 10 происходит запись Г в триггер 8 адресуемого устройства, на выходе дешифратора 4 которого содержитс 1 (выход дешифратора 4 подключен к D-входу5 (trigger 10 is reset to zero when the common highway is empty). On the signal front at the output of the trigger 10, G is written to the trigger 8 of the addressable device, the output of the decoder 4 of which contains 1 (the output of the decoder 4 is connected to the D input
триггера 8, к С-входу которого подключен выход триггера 10).trigger 8, to the C-input of which the trigger output 10 is connected.
При установке триггера 8 в состо ние 1 через элемент И 12 и элемент ИЛИ 21 происходит подключение шины 30 к тактовому входу счетчика 6 и к входу записи блока 5 пам ти. При попадании импульса с выхода одновибратора 13 на передающей стороне блокируетс выдача с регистра 2 на шину 29.When trigger 8 is set to state 1, the AND 12 element and the OR 21 element connect the bus 30 to the clock input of the counter 6 and to the write input of the memory block 5. When a pulse from the output of the one-shot 13 on the transmitting side is blocked, the output from the register 2 to the bus 29 is blocked.
Триггер 9 определ ет зан тость блока 5 пам ти и устройства в целом. Если триггер 9 находитс в состо нии 1, то ЭВМ и устройство еще не закончило сеанс информации либо в блок 5 пам ти идет пересылка копии содержимого оперативной пам ти (контрольной точки), либо осуществл етс восстановление вычислительного процесса. Во всех перечисленных случа х данное устройство вл етс зан тым по отношению к ЭВМ-источникам.Trigger 9 determines the occupancy of memory block 5 and the device as a whole. If trigger 9 is in state 1, then the computer and the device have not yet completed the information session, either a copy of the contents of the working memory (control point) is being sent to memory block 5, or the computational process is being restored. In all the cases listed above, this device is occupied with respect to computer sources.
Если блок 5 пам ти адресуемого устройства зан т, то на выходе элемента И 11, один выход которого подключен к инверсному выходу триггера 9, имеетс О. Сигнал с выхода элемента И 11 подаетс на шину 32. О на шине 32 воспринимаетс ЭВМ-источником через группу 15 элементов И как сигнал неготовности устройства-приемника к межмашинному обмену. При свободном блоке 5 пам ти (при его освобождении) в триггере 9 находитс О. При этом на выходе элемента И 11 и шине 32 имеетс 1, воспринимаема ЭВМ-источником через группу 15 элементов И как сигнал готовности адресуемого устройства к приему пакета . К опросу состо ни шины 32-источник переходит после передачи через шину 29 адреса ЭВМ-приемника. После считывани с шины 32 1 ЭВМ-источник начинает передачу пакета информации через регистр 2, второй блок 25 выбора и шину 29 в блок 5 пам ти приемного устройства.If the memory block 5 of the addressable device is occupied, then the output of the element 11, one output of which is connected to the inverse output of the trigger 9, is O. The signal from the output of the element 11 is fed to the bus 32. O on the bus 32 is sensed by the computer source a group of 15 elements And as a signal of the unavailability of a receiving device for machine-to-machine exchange. With a free memory block 5 (when released), trigger 9 is O. At the same time, at the output of the element 11 and the bus 32 there is 1, perceived by the source computer through a group of 15 elements And as a ready signal of the addressed device to receive the packet. The 32-source goes to polling the bus status after passing the address of the computer-receiver through the bus 29. After reading from the bus 32 1, the source computer starts transmitting a packet of information through the register 2, the second selection block 25 and the bus 29 to the receiver's memory block 5.
Дл этого каждое слово пакета записываетс в регистр 2, как это описано выше, после чего по сигналу с выхода одновибратора 13 осуществл етс выдача слова с регистра 2 на шину 29 через второй блок 25 выбора и запись слова с шины 29 через группу 22 элементов ИЛИ в блок пам ти приемного устройства по адресу, снимаемому с выхода счетчика 6,To do this, each word of the packet is recorded in register 2, as described above, after which the signal from the output of the one-shot 13 produces the output of the word from the register 2 to the bus 29 via the second selector unit 25 and writing the word from the bus 29 through a group of 22 elements OR the memory of the receiver at the address taken from the output of the counter 6,
Сигнал с выхода одновибратора 13 транслируетс в приемное устройство через шину 30, По сигналу с шины 30 в приемном устройстве происходит наращивание содержимого счетчика б на единицу, в результате чего следующее слово пакета, передаваемого через общую магистраль, записываетс по увеличенному адресу блока 5 пам ти.The signal from the output of the one-shot 13 is transmitted to the receiving device via the bus 30. The signal from the bus 30 in the receiving device increases the content of the counter b by one, with the result that the next word of the packet transmitted through the common line is recorded at the increased address of the memory block 5.
По первому тактовому сигналу счетчик 6 происходит установка в 1 триггера 9. т.е приемное устройство становитс недоступным дл других ЭВМ, не участвующих в дан- 5 ном сеансе передачи информации.On the first clock signal, the counter 6 is set to 1 trigger 9. That is, the receiving device becomes inaccessible to other computers that are not participating in this 5th information transfer session.
При завершении пакета ЭВМ-источник освобождает общую магистраль, подава на адресную шину 28 код, возбуждающий выход дешифратора 3, подключенный к входуAt the completion of the packet, the computer source frees the common line by supplying to the address bus 28 a code that excites the output of the decoder 3 connected to the input
10 38 блока 1 захвата. При освобождении общей магистрали по заднему фронту сигнала зан тости на шине 31 в адресуемом устройстве (устройстве-приемнике) происходит запись 1 в триггер 7, С-вход которого10 38 block 1 capture. When the common highway is released on the falling edge of the busy signal on bus 31 in the addressed device (receiver device), 1 is written to trigger 7, the C input of which
5 подключен к шине 31, а D-вход - к выходу триггера 8. При записи 1 в триггер 7 формируетс сигнал прерывани ЭВМ-приемника пакета. При воспри тии машиной сигнала прерывани на входе 36 устройства5 is connected to the bus 31, and the D input is connected to the output of the trigger 8. When writing 1 to the trigger 7, an interrupt signal is generated by the computer-receiver of the packet. When the machine perceives an interrupt signal at input 36 of the device
0 по вл етс сигнал, по которому триггер 7 обнул етс . По программе обработки прерывани от устройства дл сопр жени ЭВМ-приемник начинает считывание пакета из блока 5 пам ти.0, a signal appears where the trigger 7 is zeroed. According to the interrupt processing program from the interface, the computer-receiver starts reading the packet from the memory block 5.
5Считывание каждого слова пакета из5Reading each word of a packet from
блока 5 пам ти происходит при выдаче на адресуемую шину 28 кода, возбуждающего выход дешифратора 3, подключенный к входу чтени блока 5 пам ти и к входу уменьше0 ни на 1 содержимого счетчика б (уменьшение содержимого счетчика 6 происходит по заднему фронту сигнала на соответствующем выходе дешифратора 3). Содержимое счетчика 6 определ ет адрес,memory block 5 occurs when a code is issued to the addressable bus 28, which excites the output of the decoder 3 connected to the read input of memory block 5 and to the input decreases 0 or 1 of the contents of counter b (the content of the counter 6 decreases on the falling edge of the signal at the corresponding decoder output 3). The contents of counter 6 determine the address
5 по которому происходит чтение слова с блока 5 пам ти. При считывании всего пакета, записанного в блоке 5 пам ти, в счетчике 6 происходит переход к нулевому состо нию. При этом на выходе переноса счетчика 65 by which the word is read from the memory block 5. When reading the entire packet recorded in memory block 5, counter 6 goes to the zero state. In this case, the output transfer counter 6
0 формируетс сигнал, по которому триггер 9 через второй элемент ИЛИ 19 устанавливаетс в О, что свидетельствует о готовности устройства к приему с общей магистрали следующего пакета.0, a signal is generated by which the trigger 9 through the second element OR 19 is set to O, indicating that the device is ready to receive from the common trunk of the next packet.
5Работа во втором режиме возможна5Work in the second mode is possible.
только в том случае, когда окончен очередной сеанс по приему пакета информации ЭВМ. Дл работы во втором режиме триггер 23 устанавливаетс в единичное состо ние.only in the case when the next session is over to receive a packet of information of a computer. For operation in the second mode, the trigger 23 is set to one.
0 Установка триггера 23 в 1 происходит при выдаче на адресную шину 28 кода, возбуждающего выход дешифратора 3, подключенный к S-входу триггера 23.0 The installation of the trigger 23 in 1 occurs when issuing on the address bus 28 code that excites the output of the decoder 3 connected to the S-input of the trigger 23.
Единичное состо ние триггера 23 опре5 дел ет другой путь прохождени сигналов через блоки 24-26 выбора.The unit state of the trigger 23 defines another path of the signals passing through the selection blocks 24-26.
Дл исключени возможности записи контрольной точки (КТ) и пакета информации от других ЭВМ в одну и ту же область блока 5 пам ти необходимо в счетчик 6 записать начальный адрес КТ, который превышал бы максимальный размер пакета, пере- сылаемого по магистрали данному устройству.To eliminate the possibility of recording a checkpoint (CT) and a packet of information from other computers in the same area of the memory block 5, it is necessary to record in the counter 6 a starting address of the CT scan that would exceed the maximum packet size sent by trunk to this device.
Установка i (анального адреса в счетчике 6 происходит при выдаче по шине 27 данных ЭВМ требуемого адреса и формировании на шине 28 адреса кода, возбуждающего выход дешифратора 3 , подключенный к входу разрешени записи данных в счетчик 6. При этом начальный адрес, выдаваемый по шине 27 данных, через блок 24 выбора запишетс в счетчик 6. Далее пакет информации контрольной точки (копи оперативной пам ти , что необходимо дл полного восстановлени вычислительного процесса в случае сбоев и отказов) пересылаетс в блок 5 пам ти.The i is set (the anal address in the counter 6 occurs when the required address is transmitted via the bus 27 of the computer and the address is generated on the bus 28, which causes the output of the decoder 3 connected to the data recording enable input to the counter 6. At the same time, the starting address issued via the bus 27 data, through the block 24 of the selection is recorded in the counter 6. Next, the package of information of the checkpoint (copy of the operating memory, which is necessary for full restoration of the computational process in case of failures and failures) is sent to the memory block 5.
Дл этого каждое слово пакета записываетс в регистр 2, как это осуществл лось в первом режиме. После этого по сигналу с выхода одновибратора 13 осуществл етс считывание слова с регистра 2 и запись его через второй блок 25 выбора и группу 22 элементов ИЛИ в блок 5 пам ти по адресу, снимаемому с выхода счетчика 6.For this, each word of the packet is written to register 2, as was done in the first mode. After that, the signal from the output of the one-shot 13 reads the word from register 2 and writes it through the second selection block 25 and the group of 22 elements OR to memory block 5 at the address taken from the output of counter 6.
Сигнал записи в блок 5 пам ти передаетс с выхода одновибратора 13 через блок 26 выбора (триггер 23 находитс в состо нии 1). По сигналу с выхода одновибратора 13 происходит наращивание содержимого счетчика 6 на единицу, в результате чего следующее слово КТ записываетс по увеличенному адресу блока 5 пам ти. По первому сигналу записи триггер 9 устанавливаетс в единичное состо ние аналогично первому режиму работы.The write signal to the memory unit 5 is transmitted from the output of the one-shot 13 through the selection unit 26 (the trigger 23 is in the state 1). The signal from the output of the one-shot 13 increases the content of the counter 6 by one, with the result that the next word CT is recorded at the increased address of the memory block 5. According to the first recording signal, the trigger 9 is set to one state similar to the first operation mode.
По окончании записи КТ в блок 5 пам ти содержимое счетчика запоминаетс в регистре 18. Дл этого на адресную шину 28 выдаетс код, возбуждающий выход дешифратора 3, подключенный к входу разрешени записи в регистр 18,Upon completion of the recording of the CT in memory block 5, the contents of the counter are stored in register 18. To do this, a code is sent to the address bus 28, which activates the output of the decoder 3 connected to the write enable input of the register 18,
Триггер 9 переводитс в нулевое состо ние . Установка триггера 9 в О происходит при выдаче на адресную шину 28 ЭВМ кода, возбуждающего выход дешифратора 3, подключенный к R-входу триггера 9 через элемент ИЛИ 19. После этого оп ть возможна работа в первом режиме.The trigger 9 is transferred to the zero state. The trigger 9 is set to O when a code is issued to the address bus 28 of the computer, which excites the output of the decoder 3 connected to the R input of the trigger 9 via the element OR 19. After that, operation in the first mode is possible again.
Ввиду того, что не исключена веро тность возникновени отказа (сбо ) ЭВМ во врем записи очередной КТ, необходимо предыдущую КТ сохран ть до тех пор, пока очередна КТ не будет полностью записана в блок 5 пам ти, Поэтому в блоке 5 пам ти требуетс наличие места дл двух КТ. Область блока 5 пам ти дл хранени КТ необходимо разбить на два сегмента. В одном из них будет хранитьс последн КТ, а другойSince the probability of a computer failure during the recording of the next CT is not excluded, it is necessary to keep the previous CT until the next CT is fully recorded in memory block 5, therefore in memory block 5 space for two CT. The area of memory block 5 for storing the CT scan should be divided into two segments. In one of them the last CT will be stored, and the other
будет использоватьс дл записи очередной КТ. Сегменты дл хранени и записи будут периодически мен тьс . Сегмент, в которой записалась очередна КТ, станет использоватьс дл хранени . Соответственно, второй сегмент, в котором хранилась предыдуща КТ, освободитс и его можно использовать дл записи следующей КТ и т.д.will be used to record the next CT scan. The storage and recording segments will change periodically. The segment in which the next CT was recorded will be used for storage. Accordingly, the second segment in which the previous CT was stored will be released and can be used to record the next CT, etc.
0 ЭВМ должна анализировать зан тость того или иного сегмента и записывать в счетчик 6 при выдаче КТ начальный адрес свободного сегмента блока 5 пам ти.0 A computer must analyze the occupation of a particular segment and write to counter 6 when issuing a CT the initial address of a free segment of memory block 5.
По окончании записи КТ в блок 5 пам тиUpon completion of the recording of CT in memory block 5
5 триггер 23 переводитс в О. Дл этого на адресную шину 28 устанавливаетс код, возбуждающий выход дешифратора 3, подключенный к R-входу триггера 23.5, the trigger 23 is transferred to O. To do this, a code is set up on the address bus 28 that drives the output of the decoder 3 connected to the R input of the trigger 23.
Третий режим работы используетс приThe third mode of operation is used when
0 возникновении отказов или сбоев, привод щих к уничтожению или искажению информации оперативной пам ти ЭВМ.The occurrence of failures or failures leading to the destruction or distortion of information in the computer's RAM.
В этом режиме ЭВМ, в которой произошел сбой, или резервна ЭВМ, подключае5 ма вместо отказавшей, считывает информацию КТ из блока 5 пам ти и тем самым полностью восстанавливает вычислительный процесс.In this mode, the computer in which the failure occurred, or the backup computer, is connected instead of the failed computer, reads the CT information from memory block 5 and thereby completely restores the computational process.
Вначале ЭВМ (основна в случае сбо Initially, the computer (mainly in case of
0 или исключаема резервна ) завершает се- анс приема информации от других ЭВМ, если данный сеанс был инициирован.до отказа ( сбо ). Далее ЭВМ в ы с т а в 5 л ет на адресную шину 28 код, возбуждающий выход дешифратор 3, подключенный к входу разрешени считывани из регистра 18 в счетчик 6. Из регистра 18 через блок 24 выбора в счетчик- 6 перепи0 сываетс конечный адрес последней КТ (триггер 23 находитс в О). ЭВМ аналогично первому режиму считывает информацию КТ из блока 5 пам ти в оперативную пам ть и восстанавливает вычислительный процесс.0 or eliminated backup) terminates the session of receiving information from other computers, if this session was initiated before failure (failure). Next, the computer in 5 watts on the address bus 28 code that energizes the output of the decoder 3 connected to the read enable input from the register 18 to the counter 6. From the register 18 through the selector 24, the last address is transferred to the counter-6 CT (trigger 23 is in O). The computer, similar to the first mode, reads the CT information from the memory block 5 into the RAM and restores the computational process.
5В работе устройства могут наблюдатьс 5In the operation of the device can be observed
конфликтные ситуации между вторым (третьим) режимом и первым, их по влени будут обусловлены тем, что на установку триггера 9 в 1 требуетс некоторое врем .conflict situations between the second (third) mode and the first, their appearance will be due to the fact that it takes some time to install the flip-flop 9 in 1.
0 Поэтому, например, второй (третий) режим работы устройства может начатьс в тот момент , когда уже инициирован сеанс обмена с данным устройством ЭВМ-передатчиком, но триггер 9 еще не установлен в 1. Дл Therefore, for example, the second (third) mode of operation of the device may start at the moment when an exchange session with this device is initiated by a computer transmitter, but trigger 9 is not yet set to 1. For
5 исключени подобных ситуаций в работе устройства предлагаетс следующий пор док действи до начала работы во втором и третьем режимах.5 to avoid such situations in the operation of the device suggests the following procedure before starting work in the second and third modes.
При необходимости начала работы в этих режимах необходимо вначале опроситьIf you need to start working in these modes, you must first poll
через группу 15 элементов И состо ние триггеров 9 и 8. Если в них находитс 1, т.е. идет сеанс обмена или данный сеанс только инициирован (получено адресное слово}, то работа во втором и третьем режимах невозможна . Если триггеры 8 и 9 наход тс в О, то начинаетс работа во втором (третьем) режиме. В счетчик б через первый блок 24 выбора записываетс адрес КТ в блоке 5 пам ти. Далее дл исключени конфликтной ситуации между режимами оп ть опрашиваетс состо ние триггера 8 через группу 15 Элементов И. Если его состо ние изменилось за врем записи адреса КТ в счетчик 6, т.е. получено адресное слово, соответствующее данному устройству (инициирован обмен с ним по общей магистрали), то работа во втором (третьем) режиме прекращаетс , счетчик обнул етс и продолжаетс сеанс обмена. Триггер 9 устанавливаетс в 1, и продолжаетс работа во втором (третьем) режиме.through a group of 15 elements AND the state of the triggers 9 and 8. If there is 1 in them, i.e. the exchange session is in progress or the session has only been initiated (an address word has been received}, then work in the second and third modes is impossible. If triggers 8 and 9 are in O, then work starts in the second (third) mode. In counter b, through the first block 24 the selection is recorded the CT address in memory block 5. Next, to eliminate the conflict situation between the modes, the state of the trigger 8 is polled again through the group of 15 Elements I. If its state has changed during the recording of the CT address in counter 6, i.e. word corresponding to this device If the exchange in the second (third) mode is stopped, the counter is zeroed and the exchange session continues, the trigger 9 is set to 1, and the second (third) mode continues.
Однако дл установки триггера 9 в 1 во втором (третьем) режиме также потребуетс некоторое врем . В течение данного времени может произойти обращение к устройству со сторону ЭВМ-передатчика, триггер 8 установитс в 1 и с выхода элемента И 11 выдаетс подтверждение о готовности устройства к приему информации, так как триггер 9 не успел еще установитьс в 1. Дл исключени этого ЭВМ-передатчик должна продолжать опрашивать шину 32 готовности через группу 15 элементов И в течение времени, необходимого дл установки в 1 триггера 9 во втором (третьем) режиме. И если на ней по витс О, прекращаетс сеанс обмена.However, it will also take some time to install the 9 in 1 trigger in the second (third) mode. During this time, the device can be accessed from the computer transmitter side, trigger 8 is set to 1, and output from element 11 is a confirmation that the device is ready to receive information, since trigger 9 has not yet been set to 1. To exclude this computer The transmitter must continue to poll the readiness bus 32 through a group of 15 elements AND for the time required for installation in 1 trigger 9 in the second (third) mode. And if it shows Wits O, the exchange session ends.
Избежать последней конфликтной ситуации можно и по-другому. Дл этого требуетс после записи во втором режиме 1 в триггер 9 еще раз опросить состо ние триггера 8 (третий раз) и, если он установилс в 1, прекратить работу во втором (третьем) режиме и обнулить счетчик. При этом требуетс также обеспечить в ЭВМ-передатчике такой временной интервал между передачей адресного слова и первым словом информации , который превысит суммарное врем установки в 1 триггера 9 во втором (третьем) режиме, опроса состо ни триггера 8 и установки в О счетчика 6. При одинаковых ЭВМ и алгоритмах их обмена между собой такой интервал будет обеспечен автоматически без специальной временной задержки.To avoid the last conflict situation is possible in another way. To do this, it is necessary after recording in the second mode 1 to the trigger 9 to interrogate again the state of the trigger 8 (the third time) and, if it is set to 1, to stop working in the second (third) mode and reset the counter. At the same time, it is also necessary to ensure in the computer transmitter such a time interval between the transfer of the address word and the first word of information, which exceeds the total installation time in 1 trigger 9 in the second (third) mode, polling the status of trigger 8 and installation in O of counter 6. At identical computers and algorithms for their exchange between each other will be automatically provided without a special time delay.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU894663573A SU1686453A1 (en) | 1989-03-20 | 1989-03-20 | Device for interfacing computer with common main line |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU894663573A SU1686453A1 (en) | 1989-03-20 | 1989-03-20 | Device for interfacing computer with common main line |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1686453A1 true SU1686453A1 (en) | 1991-10-23 |
Family
ID=21434693
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU894663573A SU1686453A1 (en) | 1989-03-20 | 1989-03-20 | Device for interfacing computer with common main line |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1686453A1 (en) |
-
1989
- 1989-03-20 SU SU894663573A patent/SU1686453A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР N 1363224, кл. G 06 F13/09, 1987. Авторское свидетельство СССР № 1354199.кл. G 06 F13/24, 1987. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100290944B1 (en) | An apparatus and method for providing an interface to a compound universal serial bus controller | |
KR100290943B1 (en) | An Apparatus and Method For Handling Universal Serial Bus Control Transfer | |
US6243834B1 (en) | Apparatus and method for capturing information off a plurality of bi-directional communications buses | |
US5778206A (en) | Device for interfacing between a redundant-architecture computer and a means of communication | |
JPS6345147B2 (en) | ||
RU1792540C (en) | Multiprocessor computation system | |
JPH02199938A (en) | Data transmission error detection system | |
SU1686453A1 (en) | Device for interfacing computer with common main line | |
CN114816896A (en) | AXI bus monitor and electronic system thereof | |
SU1354199A1 (en) | Device for interfacing computer with common trunk line | |
US5091870A (en) | Apparatus for measuring the speed of transmission of digital characters | |
JPS633351B2 (en) | ||
KR0176096B1 (en) | Data transfer apparatus between synchronous buses | |
SU1456966A1 (en) | Arrangement for controlling access to system bus in double-processor system | |
SU1569843A1 (en) | Multicompressor computer system | |
SU1376095A1 (en) | Computer interfacing device | |
KR950007436B1 (en) | First input first output memory test method | |
SU1026138A1 (en) | Device for interfacing magnetic tape store to digital computer | |
JPH0476148B2 (en) | ||
SU809141A1 (en) | Device for interfacing computer with i/0 devices | |
SU1462328A1 (en) | Device for interfacing digital computer with communication lines | |
SU1462331A1 (en) | Interface | |
JPS59195736A (en) | Communication controller | |
SU1520530A1 (en) | Device for interfacing computer with communication channel | |
SU1312591A1 (en) | Interface for linking electronic computer with peripheral unit |