SU1529226A1 - Device for checking programs - Google Patents

Device for checking programs Download PDF

Info

Publication number
SU1529226A1
SU1529226A1 SU884397574A SU4397574A SU1529226A1 SU 1529226 A1 SU1529226 A1 SU 1529226A1 SU 884397574 A SU884397574 A SU 884397574A SU 4397574 A SU4397574 A SU 4397574A SU 1529226 A1 SU1529226 A1 SU 1529226A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
trigger
output
program
segment
Prior art date
Application number
SU884397574A
Other languages
Russian (ru)
Inventor
Владимир Дмитриевич Савелов
Original Assignee
Особое проектно-конструкторское бюро Научно-производственного объединения "Черметавтоматика"
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 Особое проектно-конструкторское бюро Научно-производственного объединения "Черметавтоматика" filed Critical Особое проектно-конструкторское бюро Научно-производственного объединения "Черметавтоматика"
Priority to SU884397574A priority Critical patent/SU1529226A1/en
Application granted granted Critical
Publication of SU1529226A1 publication Critical patent/SU1529226A1/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть применено в микропроцессорных измерительных и управл ющих системах. Цель изобретени  - упрощение устройства. Устройство содержит первый 1 и второй 2 счетчики импульсов, блок 3 посто нной пам ти, дешифратор 13 адреса, триггеры 16, 19 и 24, элемент И 21, элемент ИЛИ 15, первую 6 и вторую 8 схемы сравнени , элемент 18 задержки. При применении устройства дл  контрол  выполнени  программы в микропроцессорных измерительных и управл ющих системах ожидаемый экономический эффект возникает вследствие сокращени  объема оборудовани . Количество оборудовани  в изобретении на 30% меньше, чем у устройства-прототипа.The invention relates to computing and can be applied in microprocessor-based measuring and control systems. The purpose of the invention is to simplify the device. The device contains the first 1 and second 2 pulse counters, the block 3 of the permanent memory, the address decoder 13, the triggers 16, 19 and 24, the element AND 21, the element OR 15, the first 6 and the second 8 of the comparison circuit, the element 18 delay. When using a device for monitoring program execution in microprocessor-based measuring and control systems, the expected economic effect arises due to a reduction in the amount of equipment. The amount of equipment in the invention is 30% less than that of the prototype device.

Description

СП N9SP N9

СОWITH

tc totc to

: Изобретение относитс  к вычисли- технике и может найти примене н|ие в микропроцессорных измеритель- н|ых и управл ющих системах, : Целью изобретени   вл етс  упроще- Цие устройства,: The invention relates to computing technology and can be used in microprocessor-based measuring and control systems,: The purpose of the invention is to simplify the device,

: На чертеже представлена функцио- альна  схема устройства дл  котрол  :рограмм.|: The drawing shows the functional scheme of the device for control: programs |

Устройство содержит счетчики 1 и 2 мпульсов,.выходы счетчика 1 соедине- ы с адресными входами блока З.пос- о нной пам ти, .треть  группа инфор- гационных выходов 4 которого  вл ет- :  выходом метки сегмента, перва  и (тора - группы информационных выходов лока 3 соединены соотвественно с аходами 5 схемы сравнени  6 и входа- ш 7 схемы 8 сравнени , выходы счетчика :оединены со входами 9 схемы 8 срав- 1ени  и входами 10 схемы 6 сравнени , вход 1I тактовых импульсов соединен со счетным входом счетчика 2, группа адресных входов 12 соединена с входами дешифратора 13,, выход которого соединен с входом установки в нулевое состо ние счетчика 1, входом 4 элемента ИЛИ 15, а также входом становки в единичное состо ние второго триггера 16, выход триггера 16 соединен с входом разрешени  счета счетчика 2, вход .17 контрольного признака работы программы устройства соединен с входом элемента 18 задержки JH с тактовым входом-.первого триггера |19} инверсный выход кпторого соединен |с входом 20 элемента И 21, выход эле- jмента И21.соединен со счетным вхо- |дом счетчика 1 импульсов, а выход эле I мента 18 задержки соединен с вхо- I дом 22 элемента И21 и входом 3. эле- iмента ИЛИ 15, выход которого соединен : с входом установки в нулевое состо - : ние счетчика 2 и входом установки в t единичное состо ние третьего триггера 24, информационный вход которого соединен с входом 25 потенциала О,а I тактовый вход триггера 24 соединен с выходом схемы 8 сравнени , выход триггера 24 соединен с информационным входом триггера 9, вход установки в единичное состо ние которого соединен с выходом схемы 6 сравнени } а прмой выход 26 триггера 19  гл етс  выходом сбо  работы программы,The device contains counters 1 and 2 mpulsov. The outputs of counter 1 are connected to the address inputs of the memory block, the third group of information outputs 4 of which is: output of the segment mark, first and (torus - groups of information outputs of lock 3 are connected respectively to the inputs 5 of the comparison circuit 6 and the input 7 of the comparison circuit 8, the outputs of the counter: are connected to the inputs 9 of the comparison circuit 8 and the inputs 10 of the comparison circuit 6, the input 1I of clock pulses is connected to the counter input of the counter 2, the group of address inputs 12 is connected to the inputs of the decoder 13, the output of which is connected to the input of the installation of the zero state of the counter 1, the input 4 of the element OR 15, and also the input of the installation to the single state of the second trigger 16, the output of the trigger 16 is connected to the counting enable input of the counter 2, the input .17 of the control indicator the device’s program is connected to the input of the delay element 18 JH with the clock input — the first trigger | 19}; the inverse output is then connected to the input 20 of the element 21, the output of the element 21 is connected to the counting input of the pulse counter 1, and the output element I ment 18 of the delay is connected to the input I the house 22 of the element I21 and the input 3. element OR 15, the output of which is connected: to the installation input to the zero state -: counter 2 and the installation input to t the unit state of the third trigger 24, the information input of which is connected to the input 25 of the potential O , and the I clock input of the trigger 24 is connected to the output of the comparison circuit 8, the output of the trigger 24 is connected to the information input of the trigger 9, the input of which is set to one state is connected to the output of the comparison circuit 6} and the direct output 26 of the trigger 19 ,

Устройство осуществл ет контроль выполнени  программ в микропроцессорных измерительных и управл ющих сисThe device monitors the execution of programs in microprocessor-based measuring and control systems.

темах, в которых программа циклически повтор етс . Циклический характер работы программы в этих системах обусловлен обработкой перемеш1ых данных по неизменному алгоритму, что позвол ет использовать-программно сформированные импульсы дп  .контрол  времени выполнени  программы, Дп  контрол  беретс  готова  полностью отлаженна  программа, представл юща  собой некоторую последовательность команд, котора  разбиваетс  на несколько тестируемых участков - сегментов. Программные сегменты выполн ютс  в определенной последовательности, врем , затрачиваемое на выполнение, измер етс  в периодах тактовых импульсов , что дает возможность с необходимой точностью определить это врем  s причем конец калодого программного сегмента обозначаетс  . по влением на входе признака работы устройства контрольного импульса, программно сформированного микропроцессорной системой ,topics in which the program is repeated cyclically. The cyclical nature of the program in these systems is due to the processing of mixed data using an unchanged algorithm, which allows the use of programmatically generated pulses dp. Monitoring the execution time of a program, dp control takes a fully debugged program that is divided into several test cases plots - segments. The program segments are executed in a specific sequence, the time spent on execution is measured in periods of clock pulses, which makes it possible to determine this time s with the necessary accuracy, with the end of the terminal of the program segment indicated. the appearance at the input of a sign of the operation of a control pulse device programmed by a microprocessor system,

Пропадание контрольного импульса свидетельствует об останове программы или :-зацикливании ее на участке гфограммного сегмента, не содержащем команд, формирующих контрольный импульс, С другой стороны, по вл.ение контрольного импульса раньше, минимального времени выполнени  программы свидетельствует о зацикливании ее на участке программного сегмента, содержащем команды, формирующие контроль- ньй импульс,The loss of a control pulse indicates that the program is stopped or: - looping it on a section of a gfogram segment that does not contain commands that form a control pulse; On the other hand, the occurrence of a control pulse earlier, the minimum program execution time indicates its looping on the section of the program segment, containing commands that form a control pulse,

Каждому и з сегментов ставитс  в соответствие метка ,2,3.,,n и спи Each of the three segments is assigned a label, 2,3. ,, n and sleep

сок вида Т;„,,, , где Т; и Т; «Y,; у, максимальное и минимальное врем  выполнени  i-ro сегмента, Вре- ( так mlv определ етс  из времени выполнени  команд, вход щих в i-й сегмент. Метка сегмента 1, максимальное и минимальное врем  выполнени  i-ro сегмента,Т; Т; ;„ в виде кодов записьшаетс  по i-му адресу блока 3 посто нной пам ти. Таким образом, в  чейках пам ти ,2,,,,п записываютс  коды программных меток соотвественно 1,2,,,п -сегментов и соответствующие, им коды максимального времени выполнени  сегментов,juice of the form T; „,,, where T; and T; "Y ;; y, the maximum and minimum execution time of the i-ro segment, Time (so mlv is determined from the execution time of the commands included in the i-th segment. Segment label 1, the maximum and minimum execution time of the i-ro segment, T; T; ; "In the form of codes is written to the i-th address of the block 3 of the permanent memory. Thus, in the memory cells, 2 ,,,, n, the codes of program labels, respectively, 1,2 ,,, n -segments, and the corresponding codes for the maximum segment execution time,

Высока  помехозащищенность и достоверность вычислений программных сегментов обеспечиваетс  за счет дублировани  результатов промежуточшЗхHigh noise immunity and reliability of software segment calculations is provided by duplicating the results of the intermex.

вычислений, например записи их в ЛГОУ (энергонезависимое программируемое. посто нное запоминающее устройство), которое отличаетс  хорошей помехоустойчивостью и надежностью хранени  информации, В этом случае промежуточные данные после выполнени  каждого программного сегмента записываютс  в микропроцессорной системе не в ОЗУ (оперативное запоминающее устройство), а в ППЗУ, что позвол ет в случае сбо  из-за кратковременного пропадани  пи- таниз ;сетевых помех и др, повторитьcomputations, for example, recording them in LGOU (nonvolatile programmable. read-only memory), which is characterized by good noise immunity and reliability of information storage. In this case, the intermediate data after the execution of each program segment are recorded in the microprocessor system not in RAM (random access memory), but in the EPROM, which allows in case of a failure due to short-term loss of power, network interference, etc., to repeat

времени, затрачиваемого на выполнение . первого сегмента. Эти коды поступают соответственно на выходы 4 метки сегмента и на входы 5 и 7 схем 6 и 8 сравнени ,,time spent on execution. first segment. These codes are received respectively at the outputs 4 of the segment marks and at the inputs 5 and 7 of the comparison circuits 6 and 8,

Если программа функционирует Tibp- :мально, то по истечении промежутка времени, который незначительно меньше минимальнонеобходимого на выполнение первого прогр.аммного сегмента, на выходе счетчика 2 импульсов по витс  соответствующий код минимального времени выполнени  программы. ЭтотIf the program is running Tibp-: in part, then after a period of time that is slightly less than the minimum required to execute the first program of the main segment, the corresponding code of the minimum program execution time is output from the counter 2 pulses. This

заново выполнение программного сегмен-j код поступит на вход 9 схемы 8 сравта , использу  дл  этого хран щиес  в ,ПГОУ данные предыдущего сегмента.the re-execution of the program segment-j code will arrive at the input 9 of the circuit 8 of the comparat, using for this purpose the data of the previous segment stored in the POGU.

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

Перед началом контрол  устройство устанавливаетс  в исходное состо ние подачей сигнала Общий сброс или включением питани  на входы установки в нулевое состо ние триггеров 16, 19, и 24 (указанные входы на чертеже УСЛОВНО не показаны). Этим же сиг- калом осуществл етс  начальный запуск микропроцессора, в результате производитс  его инициализаци  (установка определенных регистров микропроцессора в исходное состо ние). После осуществлени  программы инициализации микропроцессора на группу адресных входов 12 поступает начальный адрес первого программного сегмента. адрес дешифрируетс  спомощью.де- ифратора 13, который в результате вырабатывает на своем выходе импульс, производ щий обнуление счетчиков 1 и 2, а также установку в единичное состо ние триггера 16 и триггера 24. Причем на вход обнулени  счетчика 2 и на вход установки tpHrrepa 24 этот им-, пульс поступает через вход 14 элемента ИЛИ 15. На вход разрешени  счетчи - л етс  временем, необходимым дл  опка 2 с выхода триггера 16 поступает сигнал разрешени  счета. Таким образом , импульсы с тактового входа 1I будут фиксироватьс  в счетчике 2 импульсов , который выполн ет функции счетчика времени. После обнулени  счетчика I импульсов, выполн ющего функции адресного счетчика, на его выходах устанавливаетс  код нулевого адреса, который поступает на адресные входы блока 3, По нулевому адресу в  чейке блока 3 записан код метки первйго программного сегмента, а также коды максимального и минимального Before the control starts, the device is reset to the initial state by applying a general reset or by turning on the power to the inputs of the zero setting of the flip-flops 16, 19, and 24 (the indicated inputs are not shown CONDITIONALLY in the drawing). The same signal performs the initial start-up of the microprocessor, as a result of which it is initialized (setting certain registers of the microprocessor to its initial state). After the microprocessor initialization program has been executed, the group of address inputs 12 receives the starting address of the first program segment. the address is decrypted by the help of the deflector 13, which as a result generates a pulse at its output producing zeroing of the counters 1 and 2, as well as setting trigger 16 and trigger 24 to one state. Moreover, the counter zeroing input 2 and the installation input tpHrrep 24 this pulse is received through the input 14 of the element OR 15. The resolution input is counted by the time required for the switch 2 from the output of the trigger 16 to receive the counting enable signal. Thus, the pulses from the clock input 1I will be recorded in the pulse counter 2, which functions as a time counter. After zeroing the counter I pulses, performing the functions of the address counter, at its outputs a zero address code is set, which goes to the address inputs of block 3, the zero code of the first program segment, as well as the maximum and minimum

роса информационного входа .триггера 19, уровень сигнала которого сигна- лизирует о сбое программы из-за несоответстви  I минимальному времени вы- 5Q полнени  контролируемого программного сегмента. Нулевой уровень на ин .формационном входе триггера 19 соответствует отсутствию сбо , единичный уровень соответствует наличию сбо  в контролируемом программном сег менте. При нормальном ходе программы триггер 24 будет находитьс  в нулевом состо нии, поэтому на информационном входе триггера 19 будет п:рисут- dew of the information input. trigger 19, the signal level of which signals a program failure due to a mismatch between I and the minimum execution time of a 5Q controlled program segment. The zero level at the information input of the trigger 19 corresponds to the absence of a fault, a single level corresponds to the presence of a fault in the controlled program segment. During the normal course of the program, trigger 24 will be in the zero state, therefore, at the information input of trigger 19, there will be n:

5555

5five

неьш . При совпадении кода с блока 3, поступающег.о на вход 7, и кода, поступающего на вход 9 схемы 8 сравнени , на ее выходе по витс  импульс, 0 который., поступив на тактовый входno If the code from block 3, arriving at input 7, and code arriving at input 9 of comparison circuit 8, coincides, a pulse, 0, is output at its output, arriving at the clock input

триггера 24, произведет установку его в нулевое состо ние (информационный вход триггера 24 соединен с входом . О). Через врем , равное времени выполнени  первого программного сегмента , на входе 17 контрольного/ признака работы программы по витс  контрольный импульс. Этот импульс поступит на тактовый вход триггера 19, а так как информационный вход его находитс  в состо нии О (триггер 24 в нулевом состо нии), то состо ние триггера 19 не изменитс  (триггер 19 в нулевом состо нии). Причем задержанный на необходимое врем  элементом 18 задержки контрольный импульс поступит соответственно через элемент И21 на. счетный вход счетчика 1 и через вход 23 элемента ИЛИ 15 на вход установки в единичное состо ние триггера 24. Этот импульс произведет соответственно увеличение кода счетчика 1 на еде- ницу и установку триггера 24 в единичное состо ние. Врем  задержки опреде0trigger 24, will set it to the zero state (information input of trigger 24 is connected to the input. O). After a time equal to the execution time of the first program segment, at the input 17 of the control / indication of the program operation, a control pulse is generated. This pulse arrives at the trigger input of trigger 19, and since its information input is in state O (trigger 24 is in the zero state), the state of trigger 19 will not change (trigger 19 in the zero state). Moreover, the control impulse delayed for the required time by the delay element 18 will arrive accordingly via element I21 on. the counting input of the counter 1 and through the input 23 of the element OR 15 to the input of setting the trigger state 24 to one state. This pulse will respectively increase the counter-1 code by the unit and setting the trigger 24 to the single state. Delay time

5five

00

л етс  временем, необходимым дл  опроса информационного входа .триггера 19, уровень сигнала которого сигна- лизирует о сбое программы из-за несоответстви  I минимальному времени вы- полнени  контролируемого программного сегмента. Нулевой уровень на информационном входе триггера 19 соответствует отсутствию сбо , единичный уровень соответствует наличию сбо  в контролируемом программном сегменте . При нормальном ходе программы триггер 24 будет находитьс  в нулевом состо нии, поэтому на информационном входе триггера 19 будет п:рисут- .It is the time required to interrogate the information input of Trigger 19, the signal level of which signals a program failure due to a mismatch between I and the minimum execution time of the monitored program segment. The zero level at the information input of the trigger 19 corresponds to the absence of a failure, a single level corresponds to the presence of a failure in the controlled program segment. In the normal course of the program, trigger 24 will be in the zero state, therefore at the information input of trigger 19 there will be n: draw-.

.сфвовать нулевой уровень. Таким обр-а- 3(()м, при поступлет и контрольного им- на тактовый вход триггера 19 н выходе 26 сбо  программы не по  витс  импульс сбо  в т„е, на этом выаде будет нулевой уровень, После, поступлени  первого контрольного им- п гльса код адреса на выходах счетчика 1 становитс  равным единицер носе второго - двум, после третьего - трем и Т,д. в зависимости от колиества программных сегментов. Так.Service level zero. Thus, 3 (() m, when the control input receives the clock input of the trigger 19 and the output 26 of the program fails, the pulse does not appear in m, the zero level will be at this output, After the arrival of the first control - if the code of the address at the outputs of the counter 1 becomes equal to the one on the nose of the second - to two, after the third - to three, and T, d, depending on the number of program segments.

ак вс  программа циклически повто - р| етс , то поапе завершени  выполнени  последнего программного сегмена происходит переход на выполнешаеak sun program cyclically repeat - p | Then, after the completion of the execution of the last program segment, a transition occurs

ервого программного сегмента. При;first software segment. With;

том дешифрируетс  начальный адрес перtom is decrypted starting address

ого сегмента и осуществл етс  o6i-iy- ение адресного счетчика 1 импульсам- формированным на выходе дешифратора 3-Й (Следовательно, . производг-ттс  чередной цикл контрол  выполнени  писанной программы.The second segment is implemented o6i-iy- address address counter 1 pulses formed at the output of the decoder 3rd (therefore, the production-tts alternate cycle control the execution of the written program.

В случае сбо  прог раммы, вызван- 1|юго остановом или зацикливанием наIn the case of a program crash, caused by 1 | south stop or looping to

частке программыj в который не .вхо-- й т команды, формирующие контрольный импульс на входе 17, контроль- 1ЫЙ импульс не по витс ,, Т.е. в этЬм лучае не произойдет изменение состо    счетчика 1 и обнуление счетчикаPart of the program in which the command does not enter the commands that form the control impulse at input 17, the control is the 1st impulse not in accordance with,, Ie in this beam there will be no change in the state of counter 1 and the reset of the counter

в течение времени выполнени  программного сегмента. IIosTOt j - при равен- jcTse кода на „выходе счетчика 2, кото|рый поступает на вход iO 6 сравнени , коду, соответствуюрдему макси sianbHOMy времени выполнени  .программного сегмента на входе 5 этой же |схемы сравнени , на ее вы.ходе цо вит- Ь  импульс. Этот импульс произведет установку триггера 19 в единичное ;состо ние, сигнализиру  о сбое прог- .раммы. Причем сигнал нулевого уровн  с «нверсного выхода триггера 19 поступит на вход 20 элемента. И °21 и запретит прохождение контрольных ий- пульсов, поступающих по входу 22 элемента И 21 на счетный вход c4eTtiHKa 1. Если имеет место зацикливание на каком-либо участке программы} в состав которого вход т комавды посылки контрольного импульсар то в этом случае на выходе счетчика 2 не по витс  код NrHHi-iManbHoro времени выполнени  программы и не будет соответствующего импульса на выходе схемы 8 сравнеduring the execution of the program segment. IIosTOt j - with equal-jcTse code on the output of counter 2, which is fed to the input of the iO 6 comparison, the code corresponding to the maximal sianbHOMy execution time of the program segment at the input 5 of the same comparison circuit, at its output. - b impulse. This impulse will set the trigger 19 to one; a state signaled by the failure of the program. Moreover, the signal of the zero level from the “inverted output of the trigger 19 is fed to the input 20 of the element. And ° 21 and prohibits the passage of the control pulses arriving at the input 22 of the element AND 21 at the counting input c4eTtiHKa 1. If there is a looping at any part of the program} which includes the sending of the control pulse in this case counter 2 is not in accordance with the NrHHi-iManbHoro code of the program execution time and there will be no corresponding pulse at the output of circuit 8 compared to

5five

00

5five

00

00

5050

шг , на выходе схбмы 8 срав- нени  по вл етс  в том cjiy4ae, если имеет место совпадение кодов на ее входах .. и 9, Таким образом, не произойдет установка триггера 24-в нулевое состо ние, а на. информационном входе триггера 19 поэтому уровень IV При по.стугшении на тактовый вход D триггера 19 контрольного импульса с входа 17 произойдет установка В-триг гера 19 в единичное состо ние, ,в результате на выходе 26 по витс  сигнал сбо  программы( В этом случае сигнал нулевого уровн  с инверсного выхода триггера 19 поступит на вход 20 элемента И2 и запретит прохождение контрольных импульсов на счетный вход счетчика К По сигналу, по вл ющемус  на выходе 26 сбо  работы програм- r-ibij осуществл етс  ее прерывание и микропроцессор переходит на программу обслуживани  прерывани  по сбою. По этой программе производ&хтс  опрос метки сегмента. Метка сегмента с выхода 4 поступает в микропроцессорную систему j напримерS через стандартный интерфейс ввода дискретного кода этой системы, В результате чего метка сер- мента дешифрируетс  микропроцессором и производитс  повтор 1-1ЫЙ запуск и выполнение программного сегмента с исполь- зовакаем результатов выполнени  пре- сегмента.wg, at the output of scbma 8 comparison appears in cjiy4ae if there is a coincidence of codes at its inputs .. and 9. Thus, the trigger 24 is not set to the zero state, but to. the information input of the trigger 19 is therefore level IV. When the clock input D of the trigger 19 of the control pulse from the input 17 is pressed, the B-trigger 19 will be set to one, resulting in the output signal 26 at the output 26 the zero level from the inverse output of the trigger 19 is fed to the input 20 of the element I2 and prohibits the passage of the control pulses to the counting input of the counter K. By the signal appearing at the output 26 of the program r-ibij's interruption, it is interrupted and the microprocessor switches to Amount of service interruption by fault. According to this program, the interrogation of the segment label is performed. A segment label from output 4 enters the microprocessor system j, for example, S through the standard discrete code input interface of this system. As a result, the microprocessor decrypts the microprocessor and repeats 1 1st launch and execution of a program segment using the results of the implementation of the segment.

Таким образом, устройст1во позвол ет заа1итить выполнеьше вычислений и функций управлеш-1Я обьектах Пл от неуп- равл ег-ых состо ний микропроцессорной гистеки ,в том числе от зацикливани  и остановов и автоматизировать перезапуск микропроцессорной системы, на- -шна  с того места в программе, где произошел сбой оThus, the device allows to execute the computations and functions of control-1I objects Pl from the mismatch of their microprocessor hystek state, including from looping and stopping, and automating the restart of the microprocessor system, from the position in the program where the failure occurred about

Claims (1)

Формула изобретени Invention Formula Устройство дл  контрол  программд содержащее первый и второй счетчики имщ льсовр дешифратор адреса,, первый и второй триггерыf элемент И, элемент RIM р первую и вторую схемы сравнени  и элемент задержкиj причем группа ад- реЪт-гых входов устройства соединена с группой входов дешифратора, пр мой и инверсный выходы первого триггера со единеж соотвественно с выходом сбо  устройства и с первым входом элемента И, отличающеес  темг что 5 с целью упрощени  устройстваA program control device containing the first and second counters, an address decoder, the first and second triggers element I, the RIM element p the first and second comparison circuits, and the delay element j, the group of administrative inputs of the device is connected to the group of inputs of the decoder, direct and inverse outputs of the first trigger are connected respectively with the output of the device and with the first input of the element AND, characterized by the fact that 5 in order to simplify the device 99 оно содержит блок посто нной пам ти и Фретий триггер, причем вход контрольного признака устройства соединен непосредственно с тактовым входом первого триггера и через элемен задержки - с вторым входом элемента И и первым входом элемента ИЛИ, выход элемента И соединен со счетным входом первого счетчика импульсов, информационный выход которого соединен с адресным входом блока посто нной пам ти, выход дешифратора адреса соединен с единичным входом второго триггера, с входом обнулени  первого счетчика импульсов и с вторым ВХ.ОДОМ элемента ИЛИ, выход которого соединен с единичным входом третьего триггера и входом обнулени  второго счетчика, единичный выход второго триггера и тактовый вход устройства соединены соотвественно с входом разit contains a block of permanent memory and a third trigger, where the control input of the device is connected directly to the clock input of the first trigger and through the delay element to the second input of the AND element and the first input of the OR element, the output of the AND element is connected to the counting input of the first pulse counter, whose information output is connected to the address input of the constant memory block, the output of the address decoder is connected to the single input of the second trigger, to the zero input of the first pulse counter and to the second I / O element the OR input, the output of which is connected to the single input of the third trigger and the zeroing input of the second counter, the single output of the second trigger and the clock input of the device are connected respectively to the input once 00 92269226 5five 00 ЮYU решени  счета и со счетным входом второго счетчика импульсов, информационный выход которого соединен с первыми входами первой и второй схем сравнени , выходы максимального и минимального времени выполнени  сегментов и выход метки сегмента блока посто нной пам ти соединены соответственно с вторым входом первой схемы сравнени , с вторым входом второй схемы сравнени  и с выходом метки сегмента устройства, выходы равенства первой и второй схем сравнени  соединены соотвественно с едитчным входом первого триггера и тактовым входом третьего триггера, пр мой вы- , ход которого соединен с информационным входом первого триггера, информационный вход третьего триггера соединен с шиной логического нул  устройства .counting and with the counting input of the second pulse counter, the information output of which is connected to the first inputs of the first and second comparison circuits, the outputs of the maximum and minimum execution time of the segments and the output of the label of the segment of the fixed memory unit are connected respectively to the second input of the first comparison circuit, to the second the input of the second comparison circuit and with the output of the device segment label, the equality of the outputs of the first and second comparison circuits are connected respectively to the single input of the first trigger and the clock input the third its trigger, direct output, the stroke of which is connected to the information input of the first trigger, the information input of the third trigger, is connected to the logical zero bus of the device.
SU884397574A 1988-03-25 1988-03-25 Device for checking programs SU1529226A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU884397574A SU1529226A1 (en) 1988-03-25 1988-03-25 Device for checking programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU884397574A SU1529226A1 (en) 1988-03-25 1988-03-25 Device for checking programs

Publications (1)

Publication Number Publication Date
SU1529226A1 true SU1529226A1 (en) 1989-12-15

Family

ID=21363475

Family Applications (1)

Application Number Title Priority Date Filing Date
SU884397574A SU1529226A1 (en) 1988-03-25 1988-03-25 Device for checking programs

Country Status (1)

Country Link
SU (1) SU1529226A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1298753, кл. G 06 F П/28, 1985. Авторское свидетельство СССР 1307460, кл. G 06 F I 1-/28, 1985. *

Similar Documents

Publication Publication Date Title
US4118792A (en) Malfunction detection system for a microprocessor based programmable controller
US4866713A (en) Operational function checking method and device for microprocessors
SU1529226A1 (en) Device for checking programs
SU1262504A1 (en) Device for checking digital units
SU1755283A1 (en) Device for simulating malfunctions
SU1140124A1 (en) Device for checking program execution time
SU1104589A1 (en) Device for checking writing information in programmable memory units
SU706845A1 (en) Code comparator
SU1640694A1 (en) Radioelectronic module controller
SU1166120A1 (en) Device for checking digital units
SU1702370A1 (en) Microprogram control device with checking
SU1023398A1 (en) Device for storage unit check
SU1267414A1 (en) Microprogram control device with check
SU1571552A1 (en) Device for checking program automatic machines
SU1056193A1 (en) Device for control of microprogram restoration of fault
SU690483A1 (en) Device for checking code programs at exchange
SU1151968A1 (en) Device for detecting and recording faults
RU1778765C (en) Wiring check-out device
SU1335933A1 (en) Programmed-control device
SU1267424A1 (en) Device for checking microprocessor program units
SU968814A1 (en) Microprogramme control device
SU960826A1 (en) Digital unit checking device
SU1236483A1 (en) Device for checking digital units
RU2029986C1 (en) Monitoring device
SU1175022A1 (en) Device for checking pulse trains