RU1783529C - Device for program control - Google Patents
Device for program controlInfo
- 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
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)
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) |
-
1990
- 1990-01-25 RU SU904810841A patent/RU1783529C/en active
Non-Patent Citations (1)
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 |