SU1615725A1 - Device for monitoring running of programs - Google Patents

Device for monitoring running of programs Download PDF

Info

Publication number
SU1615725A1
SU1615725A1 SU894630116A SU4630116A SU1615725A1 SU 1615725 A1 SU1615725 A1 SU 1615725A1 SU 894630116 A SU894630116 A SU 894630116A SU 4630116 A SU4630116 A SU 4630116A SU 1615725 A1 SU1615725 A1 SU 1615725A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
counter
comparison circuit
elements
Prior art date
Application number
SU894630116A
Other languages
Russian (ru)
Inventor
Виктор Людвигович Лясковский
Сергей Борисович Кучин
Валерий Семенович Глоба
Анатолий Анатольевич Поляков
Original Assignee
Войсковая часть 03444
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 Войсковая часть 03444 filed Critical Войсковая часть 03444
Priority to SU894630116A priority Critical patent/SU1615725A1/en
Application granted granted Critical
Publication of SU1615725A1 publication Critical patent/SU1615725A1/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано в устройствах отладки программ, устройствах контрол  правильности выполнени  программ ЦВМ. Целью изобретени   вл етс  упрощение устройства. Цель достигаетс  за счет того, что в устройство, содержащее элементы И 3 и И 9, элементы задержки 4 и 6, счетчик 5, триггер 7, схему 8 сравнени , элементы ИЛИ 10 и 11, регистры 14 и 15, введены две группы схем сравнени  12 и 13. 1 ил.The invention relates to computing and can be used in debugging programs, devices controlling the correctness of the execution of DVM programs. The aim of the invention is to simplify the device. The goal is achieved due to the fact that a device containing AND 3 and AND 9 elements, delay elements 4 and 6, counter 5, trigger 7, comparison circuit 8, OR elements 10 and 11, registers 14 and 15, introduced two groups of comparison circuits 12 and 13. 1 ill.

Description

OsOs

сл XJsl xj

IF IfIF If

/5/five

Изобретение относитс  к вычислительной технике и может быть использовано в устройствах отладки программ и устройствах контрол  правильности выполнени  программ ЦВМ.The invention relates to computing and can be used in program debugging devices and devices controlling the correct execution of DVM programs.

Цель изобретений - упрощение устройства .The purpose of the invention is to simplify the device.

На чертеже показана схема устройства. Устройство содержит вход 1 признака чтени  команды, адресный вход 2, второй элемент И 3, элемент 4 задержки, счетчик 5, элемент 6 задержки, триггер 7, схему 8 сравнени , первый элемент И 9, первый 10 и второй 11 элементы ИЛИ, первую 12i-12n и вторую 13i-13n группы схемы сравнени , первый 14 и второй 15 блоки регистров и выход 16.The drawing shows a diagram of the device. The device contains the input 1 of the command reading attribute, the address input 2, the second element AND 3, the delay element 4, the counter 5, the delay element 6, the trigger 7, the comparison circuit 8, the first element AND 9, the first 10 and the second 11 elements OR, the first 12i -12n and the second 13i-13n groups of the comparison circuit, the first 14 and second 15 blocks of registers and the output 16.

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

В исходном состо нии счетчик 5. обнулен . В i-й регистр блока 14 регистров записан код адреса счетчика команд ЦВМ, соответствующий первой команде i-ro линейного участка контролируемой программы . В 1-1 регистр блока 15 регистров записан код адреса счетчика команд ЦВМ, соответствующий последней команде i-ro линейного .участка контролируемой программы . Входы записи блоков 14 и 15 регистров не показаны.In the initial state, the counter 5. was reset. The i-th register of block 14 of registers contains the code of the address of the digital computer command counter, corresponding to the first i-ro command of the linear portion of the program being monitored. In 1-1 register of block 15 of registers, the code of the address of the command counter of the digital computer is written, corresponding to the last command of the i-ro linear. Site of the controlled program. The write inputs of blocks 14 and 15 registers are not shown.

Код адреса очередной команды со счетчика адреса команд ЭВМ (не показан) по входу 2 устройства поступает на первые входы схем 12i-12n и 13i-13n сравнени . По входу 1 устройства поступает имИульс чтени  команды из пам ти ЭВМ. Если адрес очередной команды соответствует адреса первой команды i-ro линейного участка, то на выходе i-й схемы 12i сравнени  по вл етс  импульс, который, проход  через элемент ИЛИ 10, устанавливает триггер 7 в единичное состо ние, а также, проход  через элемент 4 задержки, разрешает запись кода с входа 2 устройства на вход установки счетчика 5. Высокий потенциал с единичного выхода триггера 7 открывает элементы И 3 и 9. Адрес следующей команды поступает на вход схемы 8 сравнени . Импульс чтени  этой команды с входа 1 устройства через открытый элемент И 3 поступает на счетный вход счетчика 5, увеличива  его состо ние на единицу. Импульс с входа 1 также поступает на вход элемента 6 задержки, который задерживает его на врем  срабатывани  элемента И 3 и счетчика 5. Импульс с выхода элемента 6 задержки поступает, на вход элемента И 9. Сигнал Не равно с выходи схемы 8 сравнени  поступает на другой вход элемента И 9, и если этот сигнал равен единице , что соответствует наличию различныхThe address code of the next command from the counter of the address of the computer commands (not shown) on the input 2 of the device enters the first inputs of the comparison circuits 12i-12n and 13i-13n. At input 1 of the device, an impulse is received to read the command from the computer memory. If the address of the next command corresponds to the address of the first i-ro command of the linear section, then at the output of the i-th comparison circuit 12i, an impulse appears which, passing through the OR 10 element, sets trigger 7 to one state, as well as passing through 4 delays permits writing the code from the input 2 of the device to the input of the installation of the counter 5. The high potential from the single output of the trigger 7 opens AND elements 3 and 9. The address of the next command is fed to the input of the comparison circuit 8. The read pulse of this command from the input 1 of the device through the open element I 3 enters the counting input of the counter 5, increasing its state by one. The pulse from input 1 also enters the input of delay element 6, which delays it for the response time of element 3 and counter 5. The pulse from the output of delay element 6 arrives at input of element 9. The signal is not equal from the output of the comparison circuit 8 to the other input element And 9, and if this signal is equal to one, which corresponds to the presence of different

кодов на входах схемы 8 сравнени , импульс по вл етс  на выходе 16 устройства. Этот импульс сигнализирует об ошибке при выполнении линейного участка программы.codes at the inputs of the comparison circuit 8, a pulse appears at the output 16 of the device. This pulse signals an error when executing the linear section of the program.

Если при контроле i-ro линейного участка не обнаружено ошибок, то код последней команды 1-го линер1ного участка сравниваетс  в схеме 13 сравнени м эталонным кодом, записанным в 1-м регистре блока 15 регистров , и, проход  через элемент ИЛИ 11, обнул ет триггер 7, устанавлива  тем самым устройство в исходное состо ние.If no errors were detected during the control of the i-ro linear section, then the code of the last command of the 1st liner1 section is compared in circuit 13 by comparison with the reference code recorded in the 1st register of the register block 15, and, passing through the OR 11 element, zeroes trigger 7, thereby setting the device to its original state.

Операци  контрол  любого другого J-ro линейного участка программы О О эналогична операции контрол  i-ro участка.The control operation of any other J-ro linear section of the OO program is similar to the control operation of the i-ro segment.

Таким образом, предлагаемое устройство позвол ет контролировать правильность выполнени  линейных участков программ.Thus, the proposed device allows monitoring the correct execution of linear program sections.

Claims (1)

Формулаизобретени Invention Formula Устройство дл  контрол  хода программы , содержащее первый и второй блоки регистров , первый и второй элементы задержки, схему сравнени , первый и второй элементы ИЛИ, счетчик, триггер, первый и второй элементы И, причем адресный вход устройства соединен с первым входом схемы сравнени , выход первого элемента задержки соединен с первым входом первого элемента И, выход которого  вл етс  выходом ошибки устройства, выход первого элемента ИЛИ соединен с единичным входом триггера, пр мой выход которого соединен с первым входом второго элемента И, отличающеес  тем, что, с целью упрощени , устройство содержит две группы схем сравнени , причем вход признака чтени  устройства соединен с входом первого элемента задержки и с вторым входом второго элемента И, выход которого соединен со счетным входом счетчика, адресный вход устройства соединен с первыми входами схем сравнени  первой и второй групп и с информационным входом счетчика, информационный выход которого соединен с вторым входом схемы сравнени , выход неравенства которой соединен с вторым входом первого элемента И, выходы первого и второго блоков регистров соединены с вторыми входами схем сравнени  соответственно первой и второй групп, выходы равенства каждой схемы сравнени  первой группы соединены с соответствующими входами первого элемента ИЛИ, выход которого через второй элемент задержки соединен сA device for monitoring the progress of the program, containing the first and second blocks of registers, the first and second delay elements, the comparison circuit, the first and second elements OR, the counter, the trigger, the first and second elements AND, the address input of the device connected to the first input of the comparison circuit, the output the first delay element is connected to the first input of the first element AND, the output of which is the output error of the device, the output of the first element OR is connected to the single input of the trigger, the direct output of which is connected to the first input of the second element This AND, characterized in that, for the sake of simplicity, the device contains two groups of comparison circuits, with the read input of the device being connected to the input of the first delay element and to the second input of the second And element whose output is connected to the counting input of the counter; with the first inputs of the first and second groups comparison circuits and with the information input of the counter, whose information output is connected to the second input of the comparison circuit, the inequality output of which is connected to the second input of the first element And, the output first and second register units are connected to second inputs of the comparison circuits, respectively, first and second groups, outputs of equality of each circuit comparing the first group are connected to respective inputs of the first OR member, which output is via a second delay element coupled to входом записи счетчика, выходы равенства схемы сравнени  второй группы соединены с соответствующими входами второго элемента ИЛИ, выход которого соединен с нулевым входом триггера, единичный выход которого соединен с третьим входом первого элемента И.the counter entry input; the equality outputs of the comparison circuit of the second group are connected to the corresponding inputs of the second OR element, the output of which is connected to the zero input of a trigger, the single output of which is connected to the third input of the first element I.
SU894630116A 1989-01-02 1989-01-02 Device for monitoring running of programs SU1615725A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU894630116A SU1615725A1 (en) 1989-01-02 1989-01-02 Device for monitoring running of programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU894630116A SU1615725A1 (en) 1989-01-02 1989-01-02 Device for monitoring running of programs

Publications (1)

Publication Number Publication Date
SU1615725A1 true SU1615725A1 (en) 1990-12-23

Family

ID=21419534

Family Applications (1)

Application Number Title Priority Date Filing Date
SU894630116A SU1615725A1 (en) 1989-01-02 1989-01-02 Device for monitoring running of programs

Country Status (1)

Country Link
SU (1) SU1615725A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР Мг 63611, кл.С 06 F 11/00. 1977. Авторское свидетельство СССР № 114269, кл. G 06 F 11/28, 1985. *

Similar Documents

Publication Publication Date Title
SU1615725A1 (en) Device for monitoring running of programs
SU1629910A1 (en) Microprogram control unit
SU1642472A1 (en) Device for checking the sequence of operatorъs actions
SU1363221A1 (en) Program-debugging device
SU1683019A2 (en) Program debugger
SU1203526A1 (en) Device for checking microprogram control unit
SU598080A1 (en) Arrangement for monitoring microprogramme sequence effecting
SU1283768A1 (en) Device for servicing interrogations
SU1365082A1 (en) Multiprogram self-monitoring control device
SU1176346A1 (en) Device for determining intersection of sets
SU1640698A1 (en) Processor-bound program verifier
SU1273934A1 (en) Device for checking transitions
SU879563A1 (en) Device for checking programs
JP2547879B2 (en) Logic circuit for EEPROM
SU401998A1 (en) DEVICE FOR CONTROL OF CONTROL CHAINS
SU1280636A1 (en) Device for debugging programs
SU1309028A1 (en) Device for detecting errors in "k-out-of-n" code
SU1254490A1 (en) Device for checking operations with common data field
SU1381503A1 (en) Microprogram controller
SU1462325A1 (en) Device for monitoring the succession of performance of program modules
SU1363210A1 (en) Signature analyser
SU1488815A1 (en) Data source/receiver interface
SU1552189A1 (en) Device for monitoring programs
SU1418699A1 (en) Device for retrieving information from punched tape
SU1287237A1 (en) Buffer storage