RU1783529C - Device for program control - Google Patents

Device for program control

Info

Publication number
RU1783529C
RU1783529C SU904810841A SU4810841A RU1783529C RU 1783529 C RU1783529 C RU 1783529C SU 904810841 A SU904810841 A SU 904810841A SU 4810841 A SU4810841 A SU 4810841A RU 1783529 C RU1783529 C RU 1783529C
Authority
RU
Russia
Prior art keywords
input
comparison circuit
program
output
registers
Prior art date
Application number
SU904810841A
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 SU904810841A priority Critical patent/RU1783529C/en
Application granted granted Critical
Publication of RU1783529C publication Critical patent/RU1783529C/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использована в устройствах дл  отладки программ, устройствах контрол  правильности выполнени  программ ЦВМ. Цель изобретени  - расширение функциональных возможностей устройства за счет контрол  правильности выполнени  комплекса информационно- св занных программ. При этом контроль правильности выполнени  программы производитс  путем определени  наличи  всех исходных данных дл  рассматриваемой программы. Устройство дл  контрол  программ содержит п каналов 3, каждый из которых содержит схемы сравнени  4, 13, коммутатор 5, регистры 6, 7, 11, 12, Т - триггер 8, формирователи импульсов 9 и 10, элемент И 14. 1 ил.The invention relates to computer technology and can be used in devices for debugging programs, devices for monitoring the correct execution of computer programs. The purpose of the invention is to expand the functionality of the device by monitoring the correct execution of a set of information-related programs. At the same time, the correct execution of the program is controlled by determining the availability of all the source data for the program in question. The device for monitoring programs contains n channels 3, each of which contains comparison circuits 4, 13, switch 5, registers 6, 7, 11, 12, T - trigger 8, pulse shapers 9 and 10, AND element 14. 1 ill.

Description

(L

СWITH

х| со w ел ю юx | w w e ju y

Изобретение относитс  к вычислительной технике и может быть использовано в устройствах дл  отладки программ.The invention relates to computer technology and can be used in devices for debugging programs.

Цель изобретени  - расширение функциональных возможностей устройства за счет контрол  правильности выполнени  комплекса информационно-св занных программ .The purpose of the invention is to expand the functionality of the device by monitoring the correct execution of a set of information-related programs.

На чертеже приведена структурна  схема устройства.The drawing shows a structural diagram of the device.

Устройство содержит вход 1, выходы 2.1 - 2.п, каналы 3,1-З.п, каждый из которых включает схему сравнени  4, коммутатор 5, регистры 6, 7, Т-триггер 8, формирователи импульсов 9, 10, регистры 11, 12, схему сравнени  13, элемент И 14,The device contains input 1, outputs 2.1 - 2.p, channels 3.1-Z.p, each of which includes a comparison circuit 4, switch 5, registers 6, 7, T-trigger 8, pulse shapers 9, 10, registers 11 , 12, comparison circuit 13, element And 14,

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

В исходном состо нии в регистры 6 и 7 канала 3.1 занесены адреса начала м конца 1-той программы соответственно. Коммутаторы 10 всех каналов подключают к выходу значени  кода на первом входе. Регистры 11,12 содержат(п 1)триггер, в j-том трипе ре регистра 11 t-того канала занесено значение 1й, если результаты выполнени  j-той программы  вл ютс  исходными данными дл  выполнени  -тоЙ программы, в противном случае в данном триггере записано знамение О. Регистр 12 устройства обнулен.In the initial state, the addresses of the beginning and the end of the 1st program, respectively, are recorded in registers 6 and 7 of channel 3.1. Switches 10 of all channels are connected to the output of the code value at the first input. Registers 11,12 contain (n 1) a trigger, in the j-th trip of register 11 of the t-th channel the value is 1st, if the results of the j-th program are the source data for the execution of the -th program, otherwise in this trigger the sign of O is written. The device register 12 is reset.

Рассмотрим работу устройства на примере одного канала, т.к. другие каналы работают аналогично. На вход устройства 1 поступает код адреса счетчика команд ЭВМ. Значение текущего кода адреса счетчика команд в схеме сравнени  4 сравниваетс  со значением адреса начала контролируемой программыГзаписанном в регистре б. Если значени  кодов на входах схемы сравнени  4 совпадут, то на ее входе по витс  единичный сигнал, перевод щий Т-триггер в единичное состо ние. Высокий потенциал с входа Т-триггера 5 поступает на управл ющий вход коммутатора 5, подключа  к его выходу регистр 7, а также на вход формировател  импульсов 10. Формирователь 10 вырабатывает импульс по перепаду потенциала с низкого на высокий Если программа , соответствующа  рассматриваемому каналу, использует результаты других программ, то в соответствующем разр де регистра 12 должно быть записано значение логической 1. Така  запись происходит от формирователей при окончании выполнени  соответствующих программ. Таким образом, при неправильном выполнении контролируемой программы, коды в регистрах 11 и 12 канала неравны, а, следовательно , на входе не равно схемы сравнени  13 будет высокий потенциал. Импульс , вырабатываемый формирователем 10, проходит на вход ошибки 2 через открытый элемент И 14. Иначе, если программаConsider the operation of the device on the example of one channel, because other channels work similarly. At the input of the device 1 receives the address code of the computer command counter. The value of the current code of the address of the instruction counter in the comparison circuit 4 is compared with the value of the start address of the monitored program recorded in register b. If the values of the codes at the inputs of the comparison circuit 4 coincide, then at its input a single signal will appear, which translates the T-trigger into a single state. High potential from the input of the T-flip-flop 5 goes to the control input of the switch 5, connecting the register 7 to its output, as well as to the input of the pulse shaper 10. Shaper 10 generates a pulse from the potential drop from low to high If the program corresponding to the channel in question uses results of other programs, then the logical 1 value should be written in the corresponding section of register 12. Such a record comes from the shapers at the end of the execution of the corresponding programs. Thus, if the controlled program is not executed correctly, the codes in the channel registers 11 and 12 are unequal, and therefore, at the input, the comparison circuit 13 will not have a high potential. The pulse generated by the driver 10 passes to the input of error 2 through the open element And 14. Otherwise, if the program

. выполнитс  верно в смысле заданного показател  контрол , то при по влении последнего адреса команды программы произойдет сравнение кодов в схеме 4, на выходе которой по витс  импульс. Этот импульс , поступа  на вход Т-триггера 5, переведет его в исходное (нулевое) состо ние. Коммутатор 5 перейдет в исходное состо ние . Формирователь 10 вырабатывает импульс по перепаду потенциала с высокого. if it is carried out correctly in the sense of a given control indicator, then when the last address of the program command appears, the codes will be compared in scheme 4, the output of which will receive a pulse. This pulse arriving at the input of the T-flip-flop 5, will translate it into its initial (zero) state. Switch 5 will reset. Shaper 10 generates an impulse for the potential drop from high

на низкий. Этот импульс обнулит регистр 12 канала, а также поступит на соответствующие устанавливающие входы регистров 12 других каналов, Контроль программы при очередном ее выполнении, а также другихto low. This impulse will reset the channel 12 register, and also will go to the corresponding setting inputs of the registers 12 of other channels, the control of the program at its next execution, as well as other

программ комплекса, будет происходить аналогичным образом.complex programs will occur in a similar way.

Технико-экономическое преимущество за вленного устройства по сравнению с прототипом  вл етс  расширение функциональных возможностей устройства за счет контрол  правильности выполнени  комплекса информации св занных программ при незначительных аппаратурных затратах.The technical and economic advantage of the claimed device in comparison with the prototype is to expand the functionality of the device by controlling the correct execution of the information complex of the associated programs at a low hardware cost.

Claims (1)

Формула изобретени The claims Устройство дл  контрол  программ, содержащее первый канал, содержащий первую схему Сравнени , коммутатор, регистр адреса начала программы, регистр адресаA program control device comprising a first channel comprising a first Comparison circuit, a switch, a program start address register, an address register конца программы, Т-триггер, первый формирователь импульсов, элемент И, два регистра , причем адресный вход устройства подключен к первому входу первой схемы сравнени , выход которой подключен к входу Т-триггера, выход которого подключен к входу первого формировател  импульсов и к управл ющему входу коммутатора, информационные входы которого подключены соответственно к выходам регистров адресаthe end of the program, a T-trigger, a first pulse shaper, an And element, two registers, the address input of the device being connected to the first input of the first comparison circuit, the output of which is connected to the input of the T-trigger, the output of which is connected to the input of the first pulse shaper and to the control the input of the switch, the information inputs of which are connected respectively to the outputs of the address registers начала и конца программы, выход коммутатора подключен к второму входу первой схемы сравнени ,отличающеес  тем,что, с целью расширени  функциональных возможностей устройства за счет контрол  правильности выполнени  комплекса информационно св занных программ оно содержит второй формирователь импульсов , вторую схему сравнени , причем выход Т-триггера подключен через второй формировзтель импульсов к первому входу элемента И, выходы первого и второго регистров подключены к соответствующим входам второй схемы сравнени , выход Не равно второй схемы сравнени  подключен к второму входу элемента И, а также в устthe beginning and end of the program, the output of the switch is connected to the second input of the first comparison circuit, characterized in that, in order to expand the functionality of the device by monitoring the correct execution of the complex of information-related programs, it contains a second pulse generator, a second comparison circuit, and the output the trigger is connected through the second pulse generator to the first input of the And element, the outputs of the first and second registers are connected to the corresponding inputs of the second comparison circuit, the output is Not equal about the second comparison circuit is connected to the second input of the element And, as well as in the mouth 517835296 517835296 ройство введены (п-1) идентичных каналов,вторых регистров других каналов выходыThe system introduced (n-1) identical channels, the second registers of other channels outputs причем выход первого формировател  им-элементов И п каналов образуют группу быпулъсов каждого канала подключен к входуходов ошибок устройства, адресный входmoreover, the output of the first driver of im-elements And n channels form a group of pulses of each channel connected to the input of the device error inputs, the address input обнулени  второго регистра своего каналаустройства подключен к первым входамresetting the second register of its channel the device is connected to the first inputs и к соответствующим разр дным входам5 первых схем сравнени  п-1 каналов.and to the corresponding bit inputs 5 of the first p-1 channel comparison circuits.
SU904810841A 1990-01-25 1990-01-25 Device for program control RU1783529C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU904810841A RU1783529C (en) 1990-01-25 1990-01-25 Device for program control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU904810841A RU1783529C (en) 1990-01-25 1990-01-25 Device for program control

Publications (1)

Publication Number Publication Date
RU1783529C true RU1783529C (en) 1992-12-23

Family

ID=21506455

Family Applications (1)

Application Number Title Priority Date Filing Date
SU904810841A RU1783529C (en) 1990-01-25 1990-01-25 Device for program control

Country Status (1)

Country Link
RU (1) RU1783529C (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1543409, кл. G 06 F 11 /28, 1988. Авторское свидетельство СССР № 1552189, кл. G 06 F 11/28,1988 (прототип). *

Similar Documents

Publication Publication Date Title
RU1783529C (en) Device for program control
SU1605208A1 (en) Apparatus for forming control tests
SU1642472A1 (en) Device for checking the sequence of operatorъs actions
SU955093A1 (en) Device for processing pickup data
SU1089550A1 (en) Sampling control device
SU783802A1 (en) Wiring testing device
SU1695289A1 (en) Device for computing continuously-logical functions
SU378945A1 (en) FIRMWARE DEVICE
SU1444744A1 (en) Programmable device for computing logical functions
SU1198461A1 (en) Programmed control device
SU679945A1 (en) Device for control of electronic equipment
SU705451A1 (en) Apparatus for testing majority circuits
SU532870A1 (en) Device for displaying information
SU556494A1 (en) Memory device
SU1478204A1 (en) Data input unit
SU494745A1 (en) Device for the synthesis of multi-cycle scheme
SU1552189A1 (en) Device for monitoring programs
SU1418656A1 (en) Switching device for controlling a stepping motor
SU1695266A1 (en) Multichannel device for program-simulated control
SU1179356A1 (en) Information input-output device
SU1180896A1 (en) Signature analyser
SU1539819A1 (en) Device for monitoring operatorъs performance
SU1501064A1 (en) Device for monitoring pulse sequences
SU1288705A1 (en) Device for allocating memory resources in computer complex
SU1290318A1 (en) Control device