SU1319038A1 - Device for debugging programs - Google Patents

Device for debugging programs Download PDF

Info

Publication number
SU1319038A1
SU1319038A1 SU864011114A SU4011114A SU1319038A1 SU 1319038 A1 SU1319038 A1 SU 1319038A1 SU 864011114 A SU864011114 A SU 864011114A SU 4011114 A SU4011114 A SU 4011114A SU 1319038 A1 SU1319038 A1 SU 1319038A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
block
information
unit
Prior art date
Application number
SU864011114A
Other languages
Russian (ru)
Inventor
Виктор Михайлович Вайнштейн
Original Assignee
Предприятие П/Я А-1943
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 Предприятие П/Я А-1943 filed Critical Предприятие П/Я А-1943
Priority to SU864011114A priority Critical patent/SU1319038A1/en
Application granted granted Critical
Publication of SU1319038A1 publication Critical patent/SU1319038A1/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

Изобретение относитс  к вычислительной технике и, позвол ет повысить эффективность средств, обеспечивающих отладку программ. Целью изобретени   вл етс  расширение диагностических возможностей.устройства . Устройство содержит блок задани  режимов, элементы И, блок управл емой задержки, триггер приостанова, генератор одиночных сигналов, блок сравнени , триггер, схему сравнени , счетчики и блок оперативной пам ти, регистр, элемент задержки и блок индикации . Устройство позвол ет организовать до 17 режимов останова отлаживаемой программы и зафиксировать информахщю о ходе программы, котора  может быть использована дл  устранени  ошибок в программе. 4 ил. : UD 00 00The invention relates to computing technology and allows for an increase in the efficiency of means for debugging programs. The aim of the invention is to expand the diagnostic capabilities of the device. The device contains a mode setting unit, AND elements, a controllable delay unit, a pause trigger, a single signal generator, a comparison unit, a trigger, a comparison circuit, counters and a random access memory unit, a register, a delay element, and a display unit. The device allows organizing up to 17 stop modes of the program being debugged and recording information on the progress of the program, which can be used to eliminate errors in the program. 4 il. : UD 00 00

Description

Изобретение относитс - к вычислительной технике и может быть использовано при отладке программ, а также отработке и настройке специализированных внешних устройств управл ющих вычислитбльнь:х комплексов.The invention relates to computing technology and can be used for debugging programs, as well as for working out and tuning specialized external control devices for computing: x complexes.

Целью изобретени   вл етс  расширение диагностических возможностей устройства.The aim of the invention is to expand the diagnostic capabilities of the device.

На фиг. 1 приведена блок-схема предлагаемого устройства; на фиг, 2- пример выполнени  блока сравнени ; на фиг. 3 и 4 - временные диаграммы записи и считывани  информации.FIG. 1 shows a block diagram of the proposed device; Fig 2 is an example of the execution of the comparison block; in fig. 3 and 4 are timing charts for recording and reading information.

Устройство содержит блок 1 задани  режима отладки с подключенным к нему элементом И 2, блоком 3 управл емой задержки, элементом И 4, к выходу которого через триггер 5 при- останова подключен генератор 6 одиночного сигнала;. Кроме того, к блоку 1 подключены блок 7 сравнени , триггер 8, элемент И 9 и через схему 10 сравнени  счетчик 11, подключенный к счетчику 12 адреса, соединенному с блоком 13 оперативной пам ти, регистром 14 и элементом 15 задержки, который соединен с элементом И 16, Причем выходы блока 13 подключены к входам блока 17 индикации, а входы устройства подключены соответственно к адресным входам 8, информационным входам 19, тактовым входам 20, входу 21 направлени  обмена и входу 22 признака наличи  информации на входе. При этом блок 7 сравнени  св зан с блоком 1 входами адреса 23, блокировки данных 24, информационны- ми 25, блокировки направлени  обмена 26, направлени  обмена 27,The device contains a debugging mode setting unit 1 with an AND 2 element connected to it, a controlled delay unit 3, an AND 4 element, to the output of which a single signal generator 6 is connected to the output of the start-up trigger 5 ;. In addition, a block 7 is connected to block 1, a trigger 8, an element 9 and 9 through a comparison circuit 10 a counter 11 connected to an address counter 12 connected to an operational memory block 13, a register 14 and a delay element 15 which is connected to an element And 16, Moreover, the outputs of block 13 are connected to the inputs of block 17 of the display, and the inputs of the device are connected respectively to address inputs 8, information inputs 19, clock inputs 20, input 21 of the exchange direction and input 22 of the sign of the presence of information on the input. In this case, the comparison block 7 is associated with the block 1 of the addresses of address 23, data locking 24, information 25, locking of the exchange direction 26, exchange direction 27,

Блок 7 сравнени  (фиг, 2) состоит из трёх схем 28 - 30 совпадени , выходной сигнал схем 29 и 30 поступает на элемент И 31 через элементы ИЛИ 32 и 33, а сигнал разрешени  работа блока 7 поступает на вход элемента И 31 через инвертор 34.Comparison unit 7 (FIG. 2) consists of three matching circuits 28-30, the output signal of circuits 29 and 30 arrives at AND 31 through the OR 32 and 33 elements, and the enable signal, the operation of block 7 enters the input of AND 31 through the inverter 34 .

Блок 1 реализован в виде набора тумблеров и состоит из двух различных по построению частей. Перва  обесечивает выдачу информации на входы 23, 25, 27 на линии 24 и 26 блокирови , на соответствующие входы элементов И 2 и 4, а также кода, определ - дего величину задержки, на третий ход блока 3 управл емой задержки и ода на входы схемы 10 сравнени .Block 1 is implemented as a set of toggle switches and consists of two parts that are different in construction. The first ensures the delivery of information to the inputs 23, 25, 27 on lines 24 and 26 of the blocking, to the corresponding inputs of the elements 2 and 4, as well as the code, determined by the amount of delay, to the third turn of the block 3 of the controlled delay and one to the inputs of the circuit 10 comparisons.

Блок 1 состоит из соответствующего количества тумблеров, с помощью которых, указанные входы можно подключать либо к логическому О, либоBlock 1 consists of a corresponding number of toggle switches, with the help of which, the specified inputs can be connected either to a logical O or

к логической 1,to logical 1,

Втора  часть блока 1 - коммутационна  (фиг. 1). В ней коммутируютс  входа и выходы составных частей устройства так, чтобы обеспечить соответствующие режимы работы.The second part of unit 1 is switching (Fig. 1). In it, the inputs and outputs of the constituent parts of the device are switched so as to provide the corresponding operation modes.

Дл  управлени  считывателем в блок 1 введен одновибратор, аналогич- ны й генератору 6 одиночного сигнала, выход которого подключен к входу 1To control the reader, a one-shot is entered into block 1, similar to a single-signal generator 6, the output of which is connected to input 1

счетчика 12.counter 12.

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

При обмене через магистраль, процессор и внешние устройства осуществл ют пересыпки информации, сопровождаемые синхроимпульсом задатчика и сигналом квитировани . Работа устройства дл  определенности рассматриваетс  при подключении его к магистрали Обща  шина, используемой в УВК СМ4 (СМЗ).When exchanging via the trunk, the processor and external devices, the data are transferred, followed by the master clock and the acknowledgment signal. The operation of the device, for certainty, is considered when connecting it to the bus bus used in the UHM CM4 (LPS).

Крива  35 (фиг. 3) показывает сигнал на входе 20 крива  36 - на входе 22, 37 - на входах 18 и 19 данных , 38 - на входах запис и блока 13, 39 - на входе +1 счетчика 12 адреса , 40 - на входе записи регистра 14, 41 - на выходе счетчика 12 адреса и 42 - на выходе регистра 14,Curve 35 (Fig. 3) shows the signal at input 20, curve 36 — at input 22, 37 — at inputs 18 and 19 of data, 38 — at the inputs of the record and block 13, 39 — at the input +1 of the counter 12 addresses, 40 — at the input register entries 14, 41 - at the output of the counter 12 addresses and 42 - at the output of the register 14,

Часть I диаграммы показывает операцию считывани  информации из внешнего устройства, часть II - опера цию записи информации во внешнее устройство, В состав внешних устройств вход т устройства ввода-вывода , специализированные устройства и ОЗУ управл юще-вычислительного комплекса СМ4 (СМЗ), на примере подключени  к которому рассматриваетс  работа предлагаемого устройства дл  отладки программ .Part I of the diagram shows the operation of reading information from an external device, part II - the operation of writing information to an external device. The external devices include input / output devices, specialized devices and RAM of the CM4 control and computing complex (SMZ). to which the operation of the proposed device for debugging programs is considered.

При чтении информации из внешнего устройства УВК СМ4 процессор вначале (фиг, 3, диаг,, I) выставл ет адресWhen reading information from an external device, the UVK CM4 processor first (FIG. 3, diag., I) sets the address

на вход 18 и через промежуток времени д1, на линию синхронизации (вход 20), внешнее устройство УВК СМ4 расшифровывает адоес и выставл ет на вход 19 требуемую информацию. Черезto input 18 and after a time period d1 to the synchronization line (input 20), the external device UVK CM4 decodes the addresses and sets the required information to input 19. Through

врем  At. внешнее устройство выдает сигнал на вход 22, по которому процессор УВК воспринимает информацию, снимает сигнал с входа 20, и с заtime at. the external device outputs a signal to the input 22, according to which the UVK processor perceives information, removes the signal from the input 20, and from

31.31.

держкой сигналы с входа 18. По отсутствию сигнала на входе 20 внешнее устройство УВК СМ4 снимает сигналы с входа 22 и входа 19. Правильный адрес существует во врем  действи  сигнала на входе 20, а правильна  информаци  на входе 19 находитс  во врем  действи  сигнала на входе 22.holding signals from input 18. By the absence of a signal at input 20, the external device UVK CM4 removes the signals from input 22 and input 19. The correct address exists during the operation of the signal at input 20, and the correct information at input 19 is during the operation of the signal at input 22 .

Таким образом, правильный адрес и информаци  наход тс  на магистрали при одновременном действии сигналов на лини х 20 и 22 (ut,, ut).Thus, the correct address and information is located on the trunk while simultaneously operating signals on lines 20 and 22 (ut ,, ut).

При записи информахши во внешнее устройство УВК СМ4 данное соотношение не нарушаетс , поэтому запись в блок 13 происходит по выходному сигналу элемента И 16, которьй вырабатываетс  по совпадению сигналов на входах 20 и 22, Далее строб записи в блок 13 задерживаетс  элементом 15 задержки так, что на счетчик 12 адреса (вход +1) он поступает через врем  u-ty после окончани  действи  строба записи в блок 13, строб записи в регистр 14 должен начинатьс  не раньше строба +1 в счетчик адреса, а заканчиватьс  с задержкой относительно этого сигнала, что позвол ет фиксировать в регистре 14 последнее содержимое счетчика 12 адреса.When writing information to the external device UVK SM4, this ratio is not violated, therefore writing to block 13 takes place on the output signal of the AND 16 element, which is generated by the coincidence of the signals at inputs 20 and 22. Next, the recording strobe in block 13 is delayed by the delay element 15 so that to the address counter 12 (input +1) it enters through the u-ty time after the recording strobe ends in block 13, the recording strobe in register 14 should start no earlier than the strobe +1 in the address counter, and end with a delay relative to this signal that allows to fix in register 14 the last contents of counter 12 addresses.

Таким образом, при обмене через магистраль состо ние всех ее линий и подшин (в том числе и линии направлени  обмена) фиксируетс  в блоке 13 Состо ние линий 20 и 22 ддинаково дл  каждого цикла, поэтому запись информации с &ТИХ линий в блок 13 не производитс . При каждом последующем обмене через магистраль происходит запись состо ни  этой магистрали в следующую  чейку блока 13. По достижении максимально возможного адреса счетчик 12 обнул етс  и блок 13 начинает заполн тьс  с нулевого адреса . При этом нова  информаци  запи-; сываетс  на место наиболее старойj например запись в нулевую  чейку происходит только после записи во все последующие. Таким образом, в блоке 13 хранитс  информаци  о последних состо ни х магистрали.Thus, when exchanging through a trunk, the state of all its lines and subrunks (including the exchange direction lines) is fixed in block 13. The state of lines 20 and 22 is equally for each cycle, therefore, recording information from & TIH lines in block 13 does not is produced. At each subsequent exchange via the trunk, the state of this highway is recorded in the next cell of block 13. Upon reaching the maximum possible address, the counter 12 is zeroed out and the block 13 begins to fill in from the zero address. At the same time, new information is recorded; For example, writing to the zero cell occurs only after writing to all subsequent ones. Thus, in block 13 information is stored about the latest states of the highway.

При считывании оператор воздействует на блок 1, с выхода которого после каждого нажати  оператором со- ответствукицей кнопки выдаетс  одиночный импульс (фиг. 4, крива  43). Кри . ва  44 показывает состо ние выходов счетчика 12 адреса, крива  45 - вы384When reading, the operator acts on block 1, from the output of which, after each press of the operator, the corresponding button produces a single impulse (Fig. 4, curve 43). Cree Va 44 shows the status of the outputs of the address 12 counter, curve 45 - you

ходной сигнал генератора 6 одиночного сигнала 6, крива  46 - выходную информацию блока 13. Одиночный импульс поступает на вход +1 счетчика 12 адреса. При этом после первого нажати  устанавливаетс  адрес информации о последнем обмене. При повторном воздействии оператора на выходе блока 13 по вл етс  информаци  о предпоследнем состо нии магистрали и т.д. После окончани  считывани  интере- сующей информации оператор дл  продолжени  отлаживаемой программы воздействует на генератор 6 одиночногоthe input signal of the generator 6 of a single signal 6, curve 46 - output information of the block 13. A single pulse arrives at the input +1 of the counter 12 of the address. At the same time, after the first click, the address of the last exchange information is set. When the operator again acts at the output of block 13, information appears on the penultimate state of the trunk, etc. After the end of the reading of the information of interest, the operator acts on the generator 6 for continuation of the program being debugged.

сигнала, при этом сбрасываетс  триггер 5 приостанова, обнул ютс  счетчик 11 и триггер 8, а в счетчик 12 адре- ; са переписываетс  информаци  из регистра 14, а поскольку в этот регистрthe signal, while the trigger 5 is stopped, the counter 11 and the trigger 8 are reset, and the address 12 is addressed to; information from register 14 is rewritten by itself, and since this register is

14 записано последнее состо ние счетчика , запись информации в блок 13 производитс  в ту  чейку, в которую она должна была бы записатьс , если бы прерывани  не было. Таким образом,14, the last state of the counter is recorded; information is recorded in block 13 in the cell in which it should be recorded if there were no interruption. In this way,

достигаетс  полное соответствие между информацией блока 13,и процессами , пpoиcxoд шJiми в магистрали при прогоне отлаживаемой программы, независимо от количества прерываний,a complete correspondence is achieved between the information of block 13, and the processes that occur in the trunk when the program is being debugged, regardless of the number of interrupts,

режима работы устройства и воздействи  оператора на это устройство.the operating mode of the device and the operator’s influence on this device.

Наличие блока 13 с соответствуюшл- ми схемами управлени  обеспечивает запись информации о состо нии магистрали и считывание этой информации, работа этой части устройства одинакова дл  любых режимов прерывани , при этом обеспечиваетс  хранение и . индикаци  соответствующего объемаThe presence of block 13 with the corresponding control circuits ensures the recording of information about the state of the trunk and the reading of this information, the operation of this part of the device is the same for any interruption modes, while storing and. indication of the corresponding volume

информации, необходимого дл  успеш-. ной отладки программ.information necessary for success-. Noah debugging programs.

Остальные схемы, вход щие в состав устройства, обеспечивают прерывание отлаживаемой программы в интересующем оператора месте. В зависимости от состо ни  элементов коммутации в блоке 1 устройство фиксирует следующие состо ни : обращение к определенному адресу, когда анализThe remaining circuits included in the device interrupt the program being debugged in the location of interest to the operator. Depending on the state of the switching elements in block 1, the device records the following states: accessing a specific address when analyzing

направлени  обмена и информации блокируетс  по лини м 26 и 24; запись в определенный адрес, когда бл окиру- етс  сравнение информации; чтение из определенного адреса; запись определенной информации в определенный адрес , когда блокировка отсутствует; чтение определенной информации из определенного адреса.directions of exchange and information are blocked by lines 26 and 24; writing to a specific address when the block is checked to compare information; reading from a specific address; writing specific information to a specific address when there is no lock; reading specific information from a specific address.

Состо ние коммутационных элемен- тсв а, Ъ, с блока 1 задает режимы останова: а - 1, Ъ, с - безразлично - останов по выходному сигналу блока 7 сравнени  (первый режим); а - 2, Ъ - 1, с - останов по прохождению заданного количества циклов обмена через магистраль после выдачи сигнала блоком 7 (второй режим); а - 2, Ъ - 2, с - 2- останов по определенному количеству вьпсодных импульсов блока 7 (третий резким) ;а-2, Ъ-1,с-2 Ьстанов по количеству команд после пуска (четвертый режим).The state of the switching elements a, b, from block 1 sets the stop modes: a - 1, b, c — it makes no difference — to stop at the output signal of the comparison block 7 (first mode); a - 2, b - 1, s - stop after passing a specified number of cycles of exchange through the trunk after the signal is issued by block 7 (second mode); a - 2, b - 2, s - 2 - stop for a certain number of impulses of block 7 (third sharp); a-2, b-1, s-2 stop by the number of commands after start (fourth mode).

В первом режиме останова выход блока 7 непосредственно подключен к входу блока 3 управл емой задержки и останов производитс  по любому из фиксируемых этим блоком состо ний, т.е. существует п ть подрежимов.In the first stop mode, the output of block 7 is directly connected to the input of block 3 of the controlled delay and is stopped according to any of the states fixed by this block, i.e. there are five submodes.

Во втором режиме выход блока 7 подключен к Б-входу триггера 8, а выход схемы 10 сравнени  - к входу блока 3, при этом после по влени  соответствующего состо ни  магистрали выходной сигнал блока 7 сравнени  устанавливает триггер 8, разреша  прохождение через элемент 19 сигналов синхронизации задатчика с линии 20 на вход счетчика 11, В счетчике происходит подсчет количества обменов через магистраль, по совпаден ию этого количества с заданным с блока I сигнал с выхода схемы 10 сравнени  поступает на блок 3 и вызывает останов .In the second mode, the output of block 7 is connected to the B-input of the trigger 8, and the output of the comparison circuit 10 is connected to the input of block 3, and after the corresponding trunk condition appears, the output signal of the comparator 7 sets the trigger 8, allowing the synchronization signals to pass through the element 19 setpoint from line 20 to the input of the counter 11, In the counter, the number of exchanges through the trunk is counted, this number coincides with that specified from block I, the output from the comparison circuit 10 goes to block 3 and causes a stop.

В третьем режиме счетчик 11 через элемент И 9 подключен к выходу блока 7, триггер 8 принудительно установлен , т.е. трансл ци  сигнала элементу И 9 разрешена. При по влении со- ответствукщего состо ни  магистрали выходным сигналом блока 7 содержимое счетчика 11 наращиваетс  на единицу до тех пор, пока не срабатывает схема 10 сравнени , сигнал с которой вызывает останов.In the third mode, the counter 11 through the element And 9 is connected to the output of block 7, the trigger 8 is forcibly set, i.e. signal translation to element 9 is allowed. When the corresponding state of the line appears by the output signal of block 7, the contents of counter 11 are incremented by one until the comparison circuit 10 fails, the signal with which causes a stop.

В четвертом режиме 4 блок 7 сравнени  отключен, трансл ци  сигналов с линии 20 в счетчик 11 разрешена, поэтому происходит останов по заданному с блока 1 количеству циклов обмена по магистрали.In the fourth mode 4, the comparison block 7 is turned off, the signals are transmitted from line 20 to counter 11, therefore a stop occurs according to the number of cycles of the trunk specified from block 1.

Таким образом, предлагаемое устройство позвол ет организовать 16 видов останова, кроме того, можно организовать останов по времени выполнени  программы, если таймер добавл ет к содержимому определенной  чейки по единице через соответствующий интервал времени, а в блоке сравнени  фиксируетс  состо ние в со- ответствии с указанным. Измен   эталон информации, можно устанавливать любой интервал времени, кратный задаваемому таймером, без вмещательст- ва в основную программу.Thus, the proposed device allows you to organize 16 types of stops, in addition, you can organize a stop by the program execution time, if the timer adds one to the contents of a particular cell at an appropriate time interval, and in the comparison block it records the state in accordance with indicated. By changing the information standard, it is possible to set any time interval that is a multiple of the specified timer, without accommodating the main program.

Полностью устройство функционирует следующим образом.Fully device operates as follows.

Оператор пускает отлаживаемую программу, по магистрали происход т обмены, информаци , выдаваема  процессором , сопровождаетс  синхросигналом на входе 20, а информаци , выдаваема  внешним устройством, сопровождаетс  сигналом на входе 22, причем истинное состо ние магистрали (истинный адрес, истинные информаци  и направление обмена) начинаетс  раньше и кончаетс  позже совпадени  сигналов на входах 20 и 22. По совпадению сигналов на входах 20 и 22 состо ниеThe operator starts the program being debugged, exchanges take place on the trunk, information issued by the processor is accompanied by a clock signal at input 20, and information issued by an external device is accompanied by a signal at input 22, and the true state of the highway (true address, true information and exchange direction) starts earlier and ends after the coincidence of the signals at inputs 20 and 22. By the coincidence of the signals at inputs 20 and 22, the state

магистрали записываетс  в блок 13, в перерыве между обменами происходит подготовка счетчика 12 адреса и блока 13 к записи следующего состо ни  магистрали. Запись в блок 13 происходит по цикпич ски измен ющимс  адресам , причем нова  информаци  заноситс  на место наиболее старой, что позвол ет хранить в блоке 13 последние состо ни  магистрали. В то же врем ,the line is recorded in block 13; in the interval between exchanges, the address counter 12 and block 13 are prepared for recording the next state of the highway. The entry in block 13 occurs at cyclical changing addresses, with the new information being replaced with the oldest one, which allows storing the last states of the trunk in block 13. At the same time

блок 7 сравнени  (третий режим останова ) анализирует состо ние магистрали и в зависимости от подрежима фик сирует одно из ее состо ний.Comparison unit 7 (the third stop mode) analyzes the state of the highway and, depending on the sub-mode, fixes one of its states.

По вление искомого состо ни  приводит к выработке сигнала на выходе блока 7 сравнени . Этот сигнал проходит через элемент И 9 (Ъ-2) на вход счетчика 11, поскольку триггер 8 установлен подачей низкого уровн The occurrence of the desired state leads to the generation of a signal at the output of the comparison unit 7. This signal passes through the element And 9 (b-2) to the input of the counter 11, since the trigger 8 is set by applying a low level

на вход (с-2). Счетчик 11 подсчитывает количество выходныЬс сигналов блока.7 сравнени . По достижении содержимым этого счетчика 11 состо ни , задаваемого с клавиатуры на эталонные входы схемы 10 сравнени , вырабатываетс  сигнал на соответствующий вход блока 3 управл емой задержки , что приводит к срабатыванию триггера 5 приостанова и прерыванию оттat the entrance (p-2). Counter 11 counts the number of output signals from the block of the 7 comparison. When the contents of this counter 11 reach the state set from the keyboard to the reference inputs of the comparison circuit 10, a signal is generated to the corresponding input of the controllable delayed unit 3, which triggers the pause trigger 5 and interrupt

лаживаемой программы. После останова (при необходимости считать ийформа- цию предыдущих состо ний магистрали) оператор через блок 1 воздействует одиночными импульсами на вход +1lazemaya program. After stopping (if necessary, read the information of the previous states of the trunk), the operator through block 1 acts by single pulses on the input +1

счетчика 12 адреса, при этом последовательно с каждым импульсом инди- нируетс  все более раннее состо ние магистрали. По окончании чтени  блока 13 оператор, если это необходимо, набирает новый режим работы и инициирует с помощью генератора 6 одиночного сигнала дальнейшее исполнение программы. Причем за счет записи по стартовому импульсу информации из регистра 14 в счетчик 12 адреса последовательность состо ний магистрали фиксируетс  в блоке 13 в соответствии с ходом отлаживаемой программы и независимо от действий оператора,the address counter 12, whereby an ever earlier state of the bus is indicated sequentially with each pulse. Upon completion of reading block 13, the operator, if necessary, dials a new mode of operation and initiates a further execution of the program using the single signal generator 6. Moreover, by recording the information from the register 14 to the address 12 by the start pulse, the sequence of trunk states is recorded in block 13 in accordance with the progress of the program being debugged and regardless of the operator’s actions,

Дп  исключени  ложных срабатываний на управл ющий вход блока 7 сравнени  выдаетс  сигнал с выхода элемента И 16, наличие которого свидетельствует об истинности состо ни  магистрали.Dp of elimination of false alarms to the control input of the comparison unit 7, a signal is output from the output of the element 16, the presence of which indicates the truth of the state of the highway.

Claims (1)

Формула изобретени Invention Formula Устройство ДПЯ отладки программ, содержащее триггер приостанова, генератор одиночного сигнала, блок задани  .режима отладки, блок оперативной пам ти, блок сравнени , три эле- мента И, блок управл емой задержки, регистр и блок индикации, причем выходы установки адреса блока задани  режима отладки соединены с первым информационным входом блока сравнени  , адресный вход устройства соединен с вторым информационным входом блока сравнени , тактовый вход устройства соединен с первым входом первого элемента И и тактовым входом блока управл емой задержки, выход которого соединен с первым входом второго элемента И, выход второго элемента И соединен с единичным входомA program debugging DNP device containing a pause trigger, a single signal generator, a debugging mode setting unit, a ram storage unit, a comparison unit, three AND elements, a controllable delay unit, a register, and a display unit, and the output of setting the address of the mode setting unit debugging devices are connected to the first information input of the comparison unit, the address input of the device is connected to the second information input of the comparison unit, the clock input of the device is connected to the first input of the first And element and the clock input of the control unit delays, the output of which is connected to the first input of the second element And the output of the second element And is connected to a single input триггера приостанова, выход которого 45 адресный вход устройства соединен с  вл етс  выходом приостанова устрой- первым информационным входом блокаpause trigger, the output of which 45 is the address input of the device connected to is the output of suspending the device - the first information input of the block ства, выход генератора одиночного сигнала соединен р нулевым входом триггера приостанова и первым входом третьего элемента И, .выход которого соединен с первым входо пуска блока управл емой задержки, выход запуска блока задани  режима отладки соединен с вторым входом пуска блока управлени  задержки, выход величины за-55 входом блока сравнени , выходы зада- держки блока задани  режима отладки ни  информационных кодов и направле- соединен с управл ющим входом блока управл емой задержки, первый и втони  обмена блока задани  режима отладки соединены соответственно с п OFor example, the output of the single-signal generator is connected by the zero input of the suspend trigger and the first input of the third element AND whose output is connected to the first start input of the controllable delay block, the start output of the debug mode setting unit, the output of the value -55 by the input of the comparator unit, the outputs of the task of the debug mode setting unit, nor the information codes and direction is connected to the control input of the controllable delay unit, the first one and the exchange of the debugging mode setting unit connected respectively with n o рой выхОрДы разрешени  останова блока задани  режима отладки соединены с вторыми входами соответственно второго и третьего элементов И, о т - личающеес  тем, что, с целью расширени  диагностических возможностей устройства при отладке, в устройство введены триггер, схема сравнени , четвертый элемент И, счетчик , элемент задержки и счетчик адреса , причем информационные выходы блока оперативной пам ти соединеныThe shutdown of the block for setting the debug mode setting is connected to the second inputs of the second and third AND elements, respectively; in order to expand the diagnostic capabilities of the device during debugging, a trigger, a fourth circuit, a fourth element And, a counter, delay element and address counter, with the information outputs of the RAM block connected с входами блока индикации, вход признака наличи  информации на входе уст5 ройства соединен с вторым входом первого элемента И, выход которого соединен с входом записи блока оперативной пам ти, с входом разрешени  работы блока сравнени  и через элемент задержки с входом записи регистра и счетным входом сложени  счетчика адреса , выходы которого соединены с адресными входами блока оперативной пам ти и информационными входами регистра , выход генератора одиночного сигнала соединен с нулевым входом триггера, входом записи счетчика адреса и входом начальной установки счетчика, выход которого соединен с первыми входами схемы сравнени , выход регистра соединен с информационными входами счетчика адреса, выход задани  количества обменов блока задани  режима отладки соединен с вто5 рым входом схемы сравнен1| , выход которой соединен с первым входом останова блока задани  режима отладки, выход блока сравнени  соединен с вторым входом останова блока задани  ре0 жима отладки, первый выход останова которого соединен с вторым входом четвертого элемента И, выход признака считывани  соединен со счетным входом вычитани  счетчика адреса.with the inputs of the display unit, the input of the presence of information at the input of the device is connected to the second input of the first element I, the output of which is connected to the recording input of the RAM block, to the enable input of the comparison unit and through the delay element to the register recording input and the counting input of the addition the address counter, the outputs of which are connected to the address inputs of the RAM unit and the information inputs of the register, the output of the single signal generator is connected to the zero input of the trigger, the write input of the address counter Sa and the input of the initial installation of the counter, the output of which is connected to the first inputs of the comparison circuit, the output of the register is connected to the information inputs of the address counter, the output of specifying the number of exchanges of the debug mode setting unit is connected to the second input of the circuit compared1 | The output of which is connected to the first stop input of the debug mode setting unit, the output of the comparison block is connected to the second stop input of the debug mode setting unit, the first stop output of which is connected to the second input of the fourth And element, the readout output of the address counter. 00 5five 00 оперативной пам ти, информационный вход устройства соединен с третьим информационным входом блока сравне- ни  и вторым информационным входом блока пам ти, вход признака направлени  обмена устройства соединен с третьим информационным входом блока пам ти и четвертым информационнымmemory device, the information input of the device is connected to the third information input of the comparison unit and the second information input of the memory block, the input of the sign of the direction of exchange of the device is connected to the third information input of the memory block and the fourth information input входом блока сравнени , выходы зада- ни  информационных кодов и направле- the input of the comparison unit, the outputs, the assignment of information codes and directions ни  обмена блока задани  режима отладки соединены соответственно с п 9131903810neither the exchange of the block setting the debug mode are connected respectively with p 9131903810 тым и шестым информационными входами дани  режима соединены соответствей- блока сравнени , выходы блокировки но с первым и вторым входами блоки-- данных и направлени  обмена блока за- ровки блока сравнени .The first and sixth information inputs of the mode tribute are connected by the comparison block, the interlocking outputs, but with the first and second inputs of the data block and the exchange direction of the comparison block block block. направл. обменаdirections exchange Фиг. 2FIG. 2 5555 жwell гхgh 5757 м,m, 3838 иand чh CVCV етem тт:tt: WW Й1еH1e IJrHIjrh iH 9 вiH 9 in 2x V V Х/ Vs.V v x / vs. UU 22 Редактор О. БугирEditor O. Bugir Составитель А. Сигалор Техред И.ПоповичCompiled by A. Sigalor Tehred I.Popovich Заказ 2514/44Тиран 672ПодписноеOrder 2514 / 44Tyran 672Subscription ВНИИПИ Государственного комитета СССРVNIIPI USSR State Committee по делам.изобретений и открытий 113035, Москва, Ж-35, Раушска  наб., д. 4/5Inventions and discoveries 113035, Moscow, Zh-35, Raushsk nab. 4/5 Производственно-полиграфическое предпри тие, г. Ужгород,ул. Проектна , 4Production and printing company, Uzhgorod, st. Project, 4 Фие.Phie. Корректор А, ОбручарProofreader A, Obruchar
SU864011114A 1986-01-13 1986-01-13 Device for debugging programs SU1319038A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU864011114A SU1319038A1 (en) 1986-01-13 1986-01-13 Device for debugging programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU864011114A SU1319038A1 (en) 1986-01-13 1986-01-13 Device for debugging programs

Publications (1)

Publication Number Publication Date
SU1319038A1 true SU1319038A1 (en) 1987-06-23

Family

ID=21217559

Family Applications (1)

Application Number Title Priority Date Filing Date
SU864011114A SU1319038A1 (en) 1986-01-13 1986-01-13 Device for debugging programs

Country Status (1)

Country Link
SU (1) SU1319038A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР N 1124315, кл. G 06 F 11/28, 1984. Авторское свидетельство СССР № 1275452, кл. G 06 F 11/28, 1985. *

Similar Documents

Publication Publication Date Title
SU1319038A1 (en) Device for debugging programs
SU1314344A1 (en) Device for checking digital blocks
SU1381429A1 (en) Multichannel device for programmed control
SU1513455A1 (en) Device for monitoring properness of execution of commands by microprocessor system
SU1571552A1 (en) Device for checking program automatic machines
RU2030784C1 (en) Device for search for faults occurring intermittently in microprocessing systems
SU1656536A1 (en) Device to check microprocessor control signals
RU1837294C (en) Device for testing shift register
SU1198461A1 (en) Programmed control device
SU1238035A1 (en) Programmed control device
SU1683019A2 (en) Program debugger
SU1302325A1 (en) Device for checking internal memory
SU1249587A1 (en) Device for generating addresses for checking memory blocks
SU1213485A1 (en) Processor
SU1462325A1 (en) Device for monitoring the succession of performance of program modules
SU1252785A1 (en) Device for checking control circuits
SU1672529A1 (en) Device to dynamic memory with free areas
SU1418656A1 (en) Switching device for controlling a stepping motor
SU1647518A1 (en) Programmable logical controller
SU1275452A1 (en) Device for debugging programs
SU1649539A1 (en) Device of microprogramm control
SU1295420A1 (en) Device for monitoring parameters
SU1605208A1 (en) Apparatus for forming control tests
SU1302284A1 (en) Device for checking and diagnostic testing of logic units
SU1363210A1 (en) Signature analyser