SU1481776A1 - Device for checking time of program execution - Google Patents

Device for checking time of program execution Download PDF

Info

Publication number
SU1481776A1
SU1481776A1 SU874319650A SU4319650A SU1481776A1 SU 1481776 A1 SU1481776 A1 SU 1481776A1 SU 874319650 A SU874319650 A SU 874319650A SU 4319650 A SU4319650 A SU 4319650A SU 1481776 A1 SU1481776 A1 SU 1481776A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
trigger
counter
multiplexer
Prior art date
Application number
SU874319650A
Other languages
Russian (ru)
Inventor
Марк Борисович Лиховецкий
Владимир Васильевич Камшилин
Михаил Иванович Цуканов
Original Assignee
Предприятие П/Я Р-6886
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 Предприятие П/Я Р-6886 filed Critical Предприятие П/Я Р-6886
Priority to SU874319650A priority Critical patent/SU1481776A1/en
Application granted granted Critical
Publication of SU1481776A1 publication Critical patent/SU1481776A1/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может найти применение в системах, использующих ЭВМ дл  контрол  времени выполнени  программ и контрол  работоспособности ЭВМ в целом. Цель изобретени  - повышение достоверности контрол . Устройство содержит мультиплексоры 1 и 2, элементы И 3, 7 и 8, счетчик 4, одновибратор 5, срабатывающий по заднему фронту, триггеры 6, 9, элемент НЕ 10. ИЗОБРЕТЕНИЕ ПОЗВОЛЯЕТ ОБНАРУЖИТЬ ВСЕ СБОИ С ПОСЛЕДЕЙСТВИЕМ. 2 ИЛ.The invention relates to computing and can be used in systems that use computers to control the execution time of programs and monitor the health of computers in general. The purpose of the invention is to increase the reliability of the control. The device contains multiplexers 1 and 2, the elements And 3, 7 and 8, the counter 4, the one-shot 5, triggered on the falling edge, triggers 6, 9, the element NOT 10. The INVENTION ALLOWS TO DETECT ALL THE FAILURES WITH CONSEQUENCES. 2 IL.

Description

2вых2nd out

4four

0000

1one

сьis smiling

Изобретение относитс  к вычислительной технике и может найти применение в системах, использующих ЭВМ дл  контрол  времени выполнени  программ и дл  контрол  работоспособности ЭВМ в целом .The invention relates to computing and can be used in systems that use computers to control the runtime of programs and to monitor the operability of computers as a whole.

Цель изобретени  - повышение достоверности контрол .The purpose of the invention is to increase the reliability of the control.

На фиг. представлена блок-схема устройства дл  контрол  времени выполнени ; на фиг. 2 (а, б, в, г, д, е, ж) - временные диафрагмы работы устройства.FIG. a block diagram of an apparatus for monitoring the execution time is presented; in fig. 2 (a, b, c, d, d, e, g) - temporary diaphragms of the device.

Устройство содержит (фиг. 1) первый мультиплексор 1, второй мультиплексор 2, первый элемент И 3, счетчик 4, одновиб- ратор 5, срабатывающий по заднему фронту первый триггер 6, третий элемент И 7, второй элемент И 8, второй триггер 9, элемент НЕ 10, вход 11 записи устройства, вход 12 - первый информационный вход устройства, вход 13 - второй информационный вход устройства, вход 14 метки времени устройства.The device contains (Fig. 1) the first multiplexer 1, the second multiplexer 2, the first element And 3, the counter 4, the one-oscillator 5, the first trigger on the falling edge of the first trigger 6, the third element And 7, the second element And 8, the second trigger 9, element NOT 10, input 11 of the device record, input 12 - the first information input of the device, input 13 - the second information input of the device, input 14 of the time stamp of the device.

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

В исходном состо нии, когда ЭВМ (не показана) находитс  в режиме «Останов, элементы устройства должны находитьс  g следующих состо ни х: счетчик 4 в «О и соответственно на его выходе переполнени  сформирован сигнал «О, на пр мом выходе триггера б - сигнал «О, а на инверсном «1, триггер 9 в «О, элементы И 3, 7, 8, закрыты. Мультиплексоры 1 и 2 настроены на прием информации из ЭВМ по входам 11 и 13 устройства.In the initial state, when the computer (not shown) is in the "Stop" mode, the device elements must be in the following states: the counter 4 in the "O" and, accordingly, at the overflow output, the signal "O is generated," on the forward output of trigger b - the signal “Oh, and inverse“ 1, trigger 9 in “Oh, the elements And 3, 7, 8, are closed. Multiplexers 1 and 2 are configured to receive information from the computer on the inputs 11 and 13 of the device.

После перевода ЭВМ в режим «Работа при нормальном функционировании программы ЭВМ, кажда  вновь инициируема  рабоча  программа формирует на входе 13 устройства соответствующий ей код интервала времени, который равен максимально допустимому времени ее выполнени . Одновременно на первом входе устройства поступает сигнал предварительной записи, который, во-первых записывает код интервала времени в счетчик 4 через мультиплексоры 1 и 2, во-вторых, через элемент НЕ 10 поступает на нулевые входы триггеров 6 и 9 и устанавливает их в ноль. В результате этого на выходе счетчика 4 установитс  сигнал «1 (фиг. 2 в, 2 г), который открывает элемент И 3, с выхода которого на вход обратного счета «1 счетчика 4 начнут поступать с входа 14 устройства метки времени (фиг. 2 а).After transferring the computer to the mode "Operation during normal operation of the computer program, each newly initiated work program generates at the input 13 of the device a corresponding time interval code which is equal to the maximum allowed time of its execution. At the same time, a preliminary recording signal arrives at the first input of the device, which, firstly, writes the time interval code to counter 4 through multiplexers 1 and 2, secondly, through the element NOT 10 enters the zero inputs of the trigger 6 and 9 and sets them to zero. As a result, the output of the counter 4 will set the signal "1 (Fig. 2 v, 2 g), which opens the element And 3, from the output of which the input of the reverse counting" 1 of the counter 4 will start to come from the input 14 of the time stamping device (Fig. 2 but).

При нормальном выполнении рабочей программы момент окончани  ее функционировани  наступает прежде, чем успеет об- нулитьс  счетчик 4. Рабоча  программа, котора  инициируетс  следующей, также заносит в устройство свой код интервала времени и т. д.During normal execution of the work program, the end of its operation comes before counter 4 is reset. The work program, which is initiated next, also enters its own time interval code into the device, etc.

При возникновении сбо  в ЭВМ на очередной выполн емой программе врем  ее функционировани  может превысить максимально допустимое. В этом случае счетчик 4 обнулитс  и на его выходе по витс  нулевой сигнал, который, во-первых, поступает на второй вход элемента И 3,In the event of a computer failure on the next program being executed, its operation time may exceed the maximum permissible. In this case, the counter 4 is zeroed and, at its output, a zero signal is transmitted, which, firstly, arrives at the second input of the And 3 element,

закрыва  его. Метки времени, поступающие по входу 14 устройства, перестают проходить на вход «-1 счетчика 4, который находитс  в нулевом состо нии и держит на выходе сигнал лог. «О до техclosing it. The time stamps arriving at the input 14 of the device cease to pass to the input "-1" of the counter 4, which is in the zero state and keeps the output log signal. "Oh to those

пор, пока в него не будет записан новый код интервала времени. Во вторых, по отрицательному перепаду сигналов с выхода счетчика 4 одновибратор 5 сформирует на своем выходе одиночный импульс положительной пол рности (фиг. 2 д). Поuntil a new time interval code is written to it. Secondly, by a negative difference in the signals from the output of counter 4, the one-shot 5 will form at its output a single pulse of positive polarity (Fig. 2 d). By

5 заднему фронту этого одиночного импульса триггер 6 установитс  в единичное состо ние (фиг. 2 е) на первом входе элемента И 7 установитс  единичный сигнал. Одиночный импульс, пройд  через элемент И 8, во-первых, своим передним фронтом установит триггер 9 в единичное состо ние , переключа  мультиплексоры 1 и 2 на прием информации по другим входам и формиру  сигнал прерывани  в ЭВМ на выходе устройства (фиг. 2 ж). Этот сиг5 нал приводит к прерыванию зациклившейс  рабочей программы ЭВМ. По прерыванию от устройства в ЭВМ инициируетс  программа обработки прерывани , выполн юща  действи , которые должны восстановить прерванный вычислительный процесс5, the falling edge of this single pulse trigger 6 will be set to one (Fig. 2e) at the first input of the element And 7 a single signal will be set. A single pulse passing through the element And 8, firstly, with its leading edge will set the trigger 9 in one state, switching the multiplexers 1 and 2 to receive information on other inputs and generate an interrupt signal in the computer at the output of the device (Fig. 2) . This signal leads to the interruption of the looped work program of the computer. The interrupt from the device in the computer initiates an interrupt processing program that performs the actions that must restore the interrupted computational process.

0 и загрузить в устройство новый код интервала времени. Во-вторых, одиночный импульс с выхода элемента И 8, пройд  через мультиплексор 1, поступит на вход записи счетчика 4 и запишет в него код интервала времени , соответствующий определенной вре5 менной константе, который поступает на информационный вход счетчика 4 с второго входа устройства через мультиплексор 2 (фиг. 2 б). На выходе счетчика 4 по витс  сигнал 1, который разблокирует0 and load the new time code into the device. Secondly, a single pulse from the output of the element And 8, passed through multiplexer 1, will go to the input of the record of counter 4 and write into it the time interval code corresponding to a specific time constant, which goes to the information input of the counter 4 from the second input of the device through the multiplexer 2 (Fig. 2 b). At the output of counter 4, Wits signal 1, which unlocks

Q элемент И 3 (фиг. 2 г). Это приведет к по влению меток времени на входе «-1 счетчика 4. Величина, заносима  на счетчик, выбираетс  так, чтобы до момента обнулени  счетчика 4 успела проработать программа обработки прерывани , котора Q element And 3 (Fig. 2 g). This will lead to the appearance of time marks at the input "-1 counter 4. The value recorded on the counter is selected so that until the moment of zeroing of counter 4, the interrupt processing program, which

5 восстановит вычислительный процесс в ЭВМ.5 will restore the computing process in the computer.

Если вычислительный процесс восстановлен , то при обращении из ЭВМ к устройству , no-первых, строб записи из ЭВМ, поступающий на первый вход устройства, уста- 0 новит в нулевое состо ние триггеры 6 и 9, причем сигнал с выхода триггера 9 переведет мультиплексоры 1 и 2 на прием-информации по их вторым входам. Во-вторых, по входу 13 устройства через мультиплексор 2 в счетчик 4 записываетс  новый кодIf the computational process is restored, then when accessing the computer to the device, first, the recording strobe from the computer arriving at the first input of the device will set the triggers 6 and 9 to the zero state, and the signal from the output of the trigger 9 will translate multiplexers 1 and 2 to receive information on their second inputs. Secondly, at the input 13 of the device, through multiplexer 2, counter 4 records a new code.

5five

интервала времени и устройство продолжает нормальную работу.time interval and the device continues normal operation.

В противном случае, если программа обработки прерываний из-за сбоев или отказов ЭВМ не смогла восстановить вычислительный процесс и записать в счетчик 4 новый код интервала времени, то врем  определ емое записанной в счетчик 4 константе , на выходе счетчика 4 по витс  сигнал «Лог. «О (фиг. 2 г), который заблокирует двухвходовой элемент И 3, а по отрицательному перепаду этого сигнала одновибратор 5 сформирует одиночный импульс положительной пол рности (фиг. 2 д). По отрицательному перепаду этого импульса установитс  в нулевое состо ние триггер 6. Кроме того, этот импульс, пройд  через элемент И 7, сформирует на первом выходе устройства сигнал отказа.Otherwise, if the interrupt handling program due to computer malfunctions or failures could not restore the computational process and write a new time interval code to counter 4, then the time determined recorded in counter 4 is constant, the output of counter 4 is “Log. “O (FIG. 2 d), which will block the 2-input element I 3, and by the negative difference of this signal, the single vibrator 5 will form a single pulse of positive polarity (FIG. 2 d). According to the negative differential of this impulse, trigger 6 is set to the zero state. In addition, this impulse, having passed through AND 7, will generate a failure signal at the first output of the device.

Claims (1)

Формула изобретени Invention Formula Устройство дл  контрол  времени выполнени  программ, содержащее счетчик, первый триггер, первый и второй элементы И, причем вход метки времени устройства соединен с первым входом первого элемента И, инверсный вь;ход первого триггера соединен с первым входом второго элемента И, отличающеес  тем, что, с целью повышени  достоверности контрол , в устройство введены первый и второй мультиплексоры , элемент НЕ, одновибратор, третий элемент И и второй триггер, причемA device for monitoring the execution time of programs, containing a counter, first trigger, first and second elements AND, the device’s timestamp input connected to the first input of the first AND element, inverse, the first trigger running to the first input of the second AND element, characterized in that , in order to increase the reliability of the control, the first and second multiplexers, the NOT element, the one-shot, the third AND element and the second trigger are introduced into the device, and 00 5five 00 5five вход занесени  кода времени устройства соединен с первым информационным входом первого мультиплексора и через элемент НЕ - с нулевыми входами первого и второго триггеров, выход второго триггера соединен с управл ющими входами первого и второго мультиплексоров, и  вл етс  выходом сбо  устройства, первый, и второй входы задани  кодов времени устройства соединены соответственно с первым и вторым информационными входами второго мультиплексора, выход которого соединен с информационным входом счетчика, выход переполнени  которого соединен с вторым входом первого элемента И и через одно- вибратор - со счетным входом первого триггера, с вторым входом второго элемента И и с первым входом третьего элемента И, выход второго элемента И соединен с тактовым входом второго триггера и с вторым информационным входом первого мультиплексора, выходы первого мультиплексора, и первого элемента И, соединены соответственно с входом записи и счетным входом счетчика, единичный выход первого триггера соединен с вторым входом третьего элемента И, выход которого  вл етс  выходом отказа устройства, информационный вход второго триггера соединен с шиной единичного потенциала устройства.the entry of the time code of the device is connected to the first information input of the first multiplexer and through the element NOT to the zero inputs of the first and second triggers, the output of the second trigger is connected to the control inputs of the first and second multiplexers, and is the output of the device, the first, and the second inputs setting the time codes of the device are connected respectively to the first and second information inputs of the second multiplexer, the output of which is connected to the information input of the counter, the overflow output of which is connected not with the second input of the first element And through a single vibrator with the counting input of the first trigger, with the second input of the second element And with the first input of the third element And, the output of the second element And connected to the clock input of the second trigger and the second information input of the first multiplexer , the outputs of the first multiplexer, and the first element And, are connected respectively to the recording input and the counting input of the counter, the single output of the first trigger is connected to the second input of the third And element, the output of which is the failure output y device, the information input of the second trigger is connected to the unit potential bus. Выход MSZ Данные из ЭВМ /X CONSt /MSZ data output from the computer / X CONSt / LL LL   Выход MS1MS1 output 5five Строб записи из эвм  Strobe entries from the computer г Выход оg exit about счетчика Цcounter C Выход одноВиИратора 5Single-Out output 5 g Выход триггера 8 % Выход т лиге ер а 9g Trigger Out 8% Exit League 9 LL LL ЈJ F-(F- (
SU874319650A 1987-10-22 1987-10-22 Device for checking time of program execution SU1481776A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU874319650A SU1481776A1 (en) 1987-10-22 1987-10-22 Device for checking time of program execution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU874319650A SU1481776A1 (en) 1987-10-22 1987-10-22 Device for checking time of program execution

Publications (1)

Publication Number Publication Date
SU1481776A1 true SU1481776A1 (en) 1989-05-23

Family

ID=21333006

Family Applications (1)

Application Number Title Priority Date Filing Date
SU874319650A SU1481776A1 (en) 1987-10-22 1987-10-22 Device for checking time of program execution

Country Status (1)

Country Link
SU (1) SU1481776A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 894713, кл. G 06 F 11/28 1980. Авторское свидетельство СССР № 798851, кл. G 06 F 11/28, 1978. *

Similar Documents

Publication Publication Date Title
JPS5983254A (en) Watchdog timer
SU1481776A1 (en) Device for checking time of program execution
SU813432A1 (en) Device for testing microprogramme automatic apparatus
SU1280636A1 (en) Device for debugging programs
SU1406588A1 (en) Device for input of information from users
RU1837294C (en) Device for testing shift register
SU1513455A1 (en) Device for monitoring properness of execution of commands by microprocessor system
SU1711168A1 (en) Program run-time monitor
SU1213480A1 (en) Device for checking microprocessor system
SU1325476A1 (en) Microprogram device for monitoring and controlling
SU598080A1 (en) Arrangement for monitoring microprogramme sequence effecting
SU708348A1 (en) Arrangement for computing the difference of two numbers
SU955060A1 (en) Microprogram control device
SU1756892A1 (en) Device for shift register error detection
SU1589264A1 (en) Device for information input
SU1059575A1 (en) Device for checking execution time of program
SU1541618A1 (en) Device for checking program execution
SU643977A1 (en) Storage checking device
SU1511749A1 (en) Device for monitoring multiplexors
SU1275452A1 (en) Device for debugging programs
SU1615725A1 (en) Device for monitoring running of programs
SU1566351A1 (en) Device for checking pulse information sequence
SU1527637A1 (en) Device for checking computer programs
SU1765772A1 (en) Device for measuring object speed
SU1277386A1 (en) Device for checking serviceability of counter