SU1185343A1 - Device for generating interruption signals in case of debugging programs - Google Patents
Device for generating interruption signals in case of debugging programs Download PDFInfo
- Publication number
- SU1185343A1 SU1185343A1 SU843722123A SU3722123A SU1185343A1 SU 1185343 A1 SU1185343 A1 SU 1185343A1 SU 843722123 A SU843722123 A SU 843722123A SU 3722123 A SU3722123 A SU 3722123A SU 1185343 A1 SU1185343 A1 SU 1185343A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- address
- multiplexer
- inputs
- Prior art date
Links
- 230000007704 transition Effects 0.000 claims abstract description 6
- 238000009434 installation Methods 0.000 claims abstract description 5
- 238000004590 computer program Methods 0.000 claims abstract 2
- 230000000903 blocking effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000002401 inhibitory effect Effects 0.000 description 2
- 231100000241 scar Toxicity 0.000 description 2
- VKWMGUNWDFIWNW-UHFFFAOYSA-N 2-chloro-1,1-dioxo-1,2-benzothiazol-3-one Chemical compound C1=CC=C2S(=O)(=O)N(Cl)C(=O)C2=C1 VKWMGUNWDFIWNW-UHFFFAOYSA-N 0.000 description 1
- 208000032544 Cicatrix Diseases 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000037387 scars Effects 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
УСТРОЙСТВО ДЛЯ ФОРМИРОВАНИЯ СИГНАЛОВ ПРЕРЫВАНИЯ ПРИ ОТКЛАДКЕ ПРОГРАММ, содержащее первый и второй регистры, первую и вторую схемы сравнени , первый и второй элементы И, причем адресный вход устройства соединен с nepBbWH входами первой и второй схем сравнени , информационные выходы первого и второго регистров соединены соответственно с вторыми входами первой и второй схем сравнени , выходы которых.соединены соответственно с первым и вторым входами первого элемента И, выход первого элемента И соединен с первым входом второго элемента И, выход которого вл етс выходом прерывани устройства , отличающеес тем, что, с целью расширени области применени за счет обеспечени откладки программ ЭВМ, не имеющих выходов признаков перехода, в устройство введены третий регистр, мультип- : лексор адреса, счетчик, треть схема сравнени , мультиплексор записи и третий элемент И, причем выход третьего регистра соединен с первым информационным входом мультиплексора адреса, выход которого соединен с информационным входом счетчика, адресный вход устройства соединен с управл ющим входом мультиплексора адреса и первым входом третьей схемы сравнени , вход установки режима I соединен с управл ющими входами мультиплексора адреса и мультиплексора (Л записи, выход которого соединен с установочным входом счетчика, вход начальной установки устройства соединен с установочным входом мультиплексора записи, выход первого элемента И соединен с первым входом третьего элемента И, выход которого соеди00 нен со счетным входом счетчика, вход ел строба адреса устройства соединен с со 4; вторыми входами второго и третьего элементов И, выход третьей схемы со сравнени соединен с третьим входом второго элемента И, выход которого соединен с информационным входом мультиплексора записи.A DEVICE FOR FORMING INTERRUPT SIGNALS WHILE PROGRAMS STARTING, contains the first and second registers, the first and second comparison circuits, the first and second elements AND, and the address input of the device is connected to the nepBbWH inputs of the first and second comparison circuits, the information outputs of the first and second registers are connected respectively the second inputs of the first and second comparison circuits, the outputs of which are connected respectively to the first and second inputs of the first element And, the output of the first element And connected to the first input of the second element And, the output of which is the output of the interrupt of the device, characterized in that, in order to expand the field of application by ensuring the laying of computer programs that do not have outputs of transition signs, a third register is entered into the device, a multiplex: address lexor, counter, third comparison circuit , the recording multiplexer and the third element I, and the output of the third register is connected to the first information input of the address multiplexer, the output of which is connected to the information input of the counter, the address input of the device is connected to the control address multiplexer and the first input of the third comparison circuit; mode I input is connected to the address multiplexer and multiplexer control inputs (L record, the output of which is connected to the meter installation input; device initial setup input is connected to the record multiplexer input; And connected to the first input of the third element And, the output of which is connected to the counting input of the counter, the input of the device address gate strobe is connected to 4; the second inputs of the second and third elements And, the output of the third circuit with the comparison is connected to the third input of the second element And, the output of which is connected to the information input of the recording multiplexer.
Description
Изобретение относитс к вычислительной технике и может .быть использовано при откладке программ специализированных цифровых вычислительных систем (СЦВС) реального времени. The invention relates to computing and can be used in laying programs of specialized digital computing systems (RVS) real-time.
Цель изобретени - расширение области применени устройства за счет формировани на основе анализа изменений адресной информации в магистрали ЭВМ признака реализации переходов в программе,The purpose of the invention is to expand the field of application of the device by forming, based on the analysis of changes in address information in the computer mainline, the sign of the implementation of transitions in the program,
Сущность изобретени заключаетс в том. что текущий адрес, по вл ющийс в магистрали ЭВМ, имеющий единое адресное пространство дл подключени ОЗУ, ПЗУ и регистров внешних устройств , анализируетс на принадлежность его области адресов ПЗУ, в котором хран тс команды отлаживаемых программ СЦВС. В случае считывани команды оцениваетс величина приращени текущего адреса. Если величина приращени отличатес от +1 или +2 (в зависимости от типа ЭВМ), что говорит о переходе в программе, то вырабатываетс выходной сигнал, вызывающий прерывание.The essence of the invention is. that the current address appearing in the mainline of a computer, having a single address space for connecting RAM, ROM, and external device registers, is analyzed for the belonging to its address area of ROM, which stores commands for the NCSA programs being debugged. If a command is read, the increment value of the current address is estimated. If the increment value is different from +1 or +2 (depending on the type of computer), which indicates a transition in the program, then an output signal is generated that causes an interrupt.
На чертеже представлена структурна схема устройства.The drawing shows a block diagram of the device.
На схеме показаны первый регистр 1 перва .2 и втора 3 схемы сравнени , второй регистр 4, первый элемент И 5 третий регистр 6, мультиплексор 7 адреса , счетчик 8, треть схема 9 сравнени , мультиплексор 10 сигнала записи , второй элемент И 11, третий элемент И 12, выход 13 устройства, адресные входы 14 устройства, вход 15 строба адреса, вход 16 начальной установки , вход установки режима 17. The diagram shows the first register 1 of the first .2 and the second 3 comparison schemes, the second register 4, the first element AND 5 the third register 6, the address multiplexer 7, the counter 8, the third comparison scheme 9, the recording signal multiplexer 10, the second element 11, the third element 12, device output 13, device address inputs 14, address gate input 15, setup input 16, mode setting input 17.
Рассмотрим работу устройства совместно с отлаживаемой СЦВС, построенной на базе ЭВМ типа Электроника-60Consider the operation of the device in conjunction with the debugged SCARS, built on the basis of a computer of type Electronics-60
Дцресные входы 14 устройства подключены к магистрали микро-ЭВМ, к которой подключены также посто нное запоминающее устройство (ПЗУ) дл хранени команд и оперативное запоминающее устройство (ОЗУ) дл хранени операндов программ (на чертеже не показаны ). ОЗУ и ПЗУ имеют различные адреса в едином адресном пространстве магистрали микро ЭВМ. The remote inputs 14 of the device are connected to the backbone of the micro-computer, to which are also connected a permanent storage device (ROM) for storing instructions and a random access memory (RAM) for storing program operands (not shown in the drawing). RAM and ROM have different addresses in the single address space of the microcomputer trunk.
Работа устройства начинаетс с установки на регистрах 1 и 4 верхней и нижней границ области пам ти, отведенной дл хранени команд, а на регистре 6 - начального адреса отлаживаемой программы. В простейшем случае регистры 1, 4 и 6 выполн ютс в виде тумблерных наборников на лицевой панели устройства.The operation of the device begins with the installation on registers 1 and 4 of the upper and lower boundaries of the memory area allocated for storing instructions, and on register 6, the starting address of the program being debugged. In the simplest case, registers 1, 4 and 6 are made in the form of toggle dials on the front panel of the device.
С входа 17 устройства на направл ющие входы мультиплексоров 7 и 10 поступает управл ющий потенциал, соответствующий вводу начального адреса с регистра 6 через мультиплексор 7 в счетчик 8 под управлением сигнала, поступающего с входа 16 устройства через мультиплексор 10 на установочный вход счетчика 8. Управл ющие сигналы на входы 16 и 17 подаютс с лицевой панели устройства.From the device input 17, the control inputs corresponding to the input of the start address from register 6 through multiplexer 7 to counter 8 are fed from the input 17 of the device to the direct inputs of multiplexers 7 and 10 under the control of a signal from the device input 16 through multiplexer 10 to the installation input of counter 8. signals to inputs 16 and 17 are provided from the front panel of the device.
После заноса начального адреса программы в счетчик 8 изменением управл ющего потенциала на входе 17 устройства информационные входы счетчика 8 через мультиплексор 7 подключаютс к адресным входам 14 устройства , а установочный вход - через мультиплексор 10 к выходу второго элемента И 11.After the starting program address is entered into the counter 8 by changing the control potential at the device input 17, the information inputs of the counter 8 are connected via multiplexer 7 to the device address inputs 14, and the setup input is connected to the output of the second element 11 through multiplexer 10.
После запуска программы при по влении на входах 14 устройства кода адреса в сопровождении строба адреса на входе 15 производитс его анализ на принадлежность полю адресов ПЗУ, т.е. определ етс , считываетс ли в данный момент команда или операнд.After the program is started, when an address code appears at the inputs 14 of the device, accompanied by an address strobe at the input 15, it is analyzed whether it belongs to the address field of the ROM, i.e. it is determined whether the instruction or operand is being read.
Текущий адрес с входов 14 устройства поступает на первые входы схем 2 и 3 сравнени . На выходе схемы 2 сравнени присутствует положительный потенциал , если текущий адрес будет меньше адреса верхней границы, установленного на регистре 1, а на выходе схемы 3 сравнени - если больше адреса нижней границы, зафиксированного в регистре 4. На выходе схемы И 5 будет положительный потенциал, если текущий адрес Находитс в зоне адресов, ограниченной регистрами 1 и 4, что соответствует считыванию команды .The current address from the device inputs 14 is fed to the first inputs of the circuits 2 and 3 of the comparison. At the output of the comparison circuit 2 there is a positive potential, if the current address is less than the upper limit address set on register 1, and the output of the comparison circuit 3 is greater than the address of the lower limit fixed in register 4. At the output of circuit 5 there will be a positive potential, if the current address is in the zone of addresses bounded by registers 1 and 4, which corresponds to reading the command.
Одновременно с этим текущий адрес сравниваетс с содержимым счетчика 8 В случае равенства этих значений с выхода схемы 9 сравнени на третий вход элемента И 11 поступает запрещающий потенциал, блокирующий по вление сигнала на его выходе. При этом по заднему фронту строба адреса с входа 15 устройства через элемент И 12 сигнал, поступает на счетный вход счетчика 8 и увеличивает его содержимое на +2 (дл ЭВМ Электроника-60 в случае несовпадени текущего адреса на первых входах схемы 9 сравнени с текущим сЬдержимым счетчика 8 схемы 9 сравнени вырабатывает разрешающий потенциал. Таким образом, на всех входах злемента И 11 будут разрешающие сигналы и на выходе 13 устройства, подключенного к системе прерывани ЭВМ, по витс выходной сигнал, вызывающий прерывание по реализированному переходу в программе . Одновременно с по влением сигнала на выходе 13 устройства сигнал с выхода элемента И 11 через мультиплексор 10 поступает на установочный вход счетчика 8, по которому в счетчик 8 заноситс новое значение , соответствующее значению текущего адреса, которое по заднему фронту строба адреса увеличиваетс на +2. После этого значение счетчика 8 будет соответствовать адресу сле дующей команды. В случае считывани операнда на вы ходе элемента И 5 будет запрещающий потенциал, блокирующий элементы И 11 1 34 и 12, текущее значение счетчика 8 не изменитс и на выходе 13 сигнал не по витс вне зависимости от сигнала на выходе схемы 9 сравнени . Дп работы устройства необходимо, чтобы адрес вектора прерываний и технологическа программа обслуживани прерывани находились вне зоны адресов ПЗУ, определ емой peгиcтpa ш 1 и 4. Предлагаемое устройство обеспечивает прерывание отлаживаемой программы СЦВС при выполнении перехода. Таким образом за счет иного чем в известном устройстве принципа формировани признака реализации перехода в программе, а именно за счет анализа изменений информации в магистрали ЭВМ, расшир етс область применени предложенного устройства. При этом оно может быть использовано при откладке программ СЦВС на базе широко примен емых микро ЭВМ Электроника-60 с магистральной организацией интерфейса.At the same time, the current address is compared with the contents of counter 8 In case these values are equal, the output of the comparison circuit 9 to the third input of the element 11 comes a inhibitory potential blocking the appearance of a signal at its output. At the same time, on the falling edge of the address strobe, from the device input 15, through the element 12, the signal enters the counting input of counter 8 and increases its content by +2 (for Electronics-60, if the current address does not match the first inputs of the comparison circuit 9 with the current restraint the counter 8 of the comparison circuit 9 generates a resolving potential. Thus, at all inputs of the terminal And 11 there will be resolving signals and at output 13 of the device connected to the computer interruption system, the output signal causing an interruption on the realized At the same time with the appearance of the signal at the output 13 of the device, the signal from the output of the element 11 through the multiplexer 10 is fed to the installation input of the counter 8, through which the new value corresponding to the value of the current address is added to the counter 8, which increases on the trailing edge of the address strobe by +2. After this, the value of counter 8 will correspond to the address of the next command. If the operand is read on the course of element 5, you will have the inhibitory potential, blocking elements 11 11 34 and 12, 8 ika not izmenits and the output signal 13 of Vits regardless of the signal at the output of the comparison circuit 9. The operation of the device requires that the address of the interrupt vector and the technological program of the interruption service are outside the range of the addresses of the ROM defined by the registers w 1 and 4. The proposed device ensures the interruption of the debugged program of the RHD when performing the transition. Thus, due to the principle of forming a sign of implementing a transition in a program different from that in a known device, namely, by analyzing changes in information in a computer backbone, the field of application of the proposed device is expanded. At the same time, it can be used for laying the programs of the SCAR on the basis of widely used microcomputer Electronics-60 with the trunk organization of the interface.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SU843722123A SU1185343A1 (en) | 1984-04-05 | 1984-04-05 | Device for generating interruption signals in case of debugging programs |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SU843722123A SU1185343A1 (en) | 1984-04-05 | 1984-04-05 | Device for generating interruption signals in case of debugging programs |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| SU1185343A1 true SU1185343A1 (en) | 1985-10-15 |
Family
ID=21111821
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| SU843722123A SU1185343A1 (en) | 1984-04-05 | 1984-04-05 | Device for generating interruption signals in case of debugging programs |
Country Status (1)
| Country | Link |
|---|---|
| SU (1) | SU1185343A1 (en) |
-
1984
- 1984-04-05 SU SU843722123A patent/SU1185343A1/en active
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR840005575A (en) | Asynchronous bus multiprocessor system | |
| US4047245A (en) | Indirect memory addressing | |
| SU1185343A1 (en) | Device for generating interruption signals in case of debugging programs | |
| SU1405061A2 (en) | Device for shaping interrupt signals in program debugging | |
| US4888685A (en) | Data conflict prevention for processor with input/output device | |
| US5218692A (en) | Digital pulse timing parameter measuring device | |
| SU1312582A2 (en) | Device for generating interruption signals in debugging programs | |
| SU802963A1 (en) | Microprogramme-control device | |
| SU1293730A1 (en) | Microprogram control device | |
| SU1411755A2 (en) | Device for shaping interrupt signals in program debugging | |
| SU1267415A1 (en) | Microprogram control device | |
| SU1151962A1 (en) | Microprogram control device | |
| SU1242943A1 (en) | Versions of microprogram control device | |
| SU1674137A1 (en) | Data and programs storage control unit | |
| SU1488815A1 (en) | DEVICE FOR PAIRING SOURCE AND RECEIVER OF INFORMATION | |
| SU1200289A1 (en) | Microprogram control device | |
| SU1695266A1 (en) | Multichannel device for program-simulated control | |
| SU1649552A2 (en) | Device to address memory units | |
| SU1661770A1 (en) | Test generator | |
| SU1660013A1 (en) | DEVICE FOR ASSOCIATION OF SETS | |
| SU525083A1 (en) | Device for searching experimental values | |
| SU1161944A1 (en) | Device for modifying memory area address when debugging programs | |
| SU1697083A2 (en) | Data exchange device | |
| SU955055A1 (en) | Microprogram control device | |
| SU1583884A1 (en) | Apparatus for functional check of digital circuits |