SU1471195A1 - Program debugger - Google Patents

Program debugger Download PDF

Info

Publication number
SU1471195A1
SU1471195A1 SU874307704A SU4307704A SU1471195A1 SU 1471195 A1 SU1471195 A1 SU 1471195A1 SU 874307704 A SU874307704 A SU 874307704A SU 4307704 A SU4307704 A SU 4307704A SU 1471195 A1 SU1471195 A1 SU 1471195A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
address
register
information
Prior art date
Application number
SU874307704A
Other languages
Russian (ru)
Inventor
Исай Львович Сигалов
Валентин Александрович Фараджев
Original Assignee
Предприятие П/Я В-2655
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 Предприятие П/Я В-2655 filed Critical Предприятие П/Я В-2655
Priority to SU874307704A priority Critical patent/SU1471195A1/en
Application granted granted Critical
Publication of SU1471195A1 publication Critical patent/SU1471195A1/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

Изобретение относитс  к вычислительной технике, а именно к устройствам дл  программного управлени , и может быть использовано при разработке и отладке программ дл  ЭВМ. Цель изобретени  - повышение быстродействи  при отладке программ. Устройство дл  отладки программ содержит регистры 1-3 базового адреса, схемы 4 и 5 сравнени , элемент ИЛИ 6, элементы И 7 и 8, блок 9 пам ти, вход 10 адреса зоны пам ти зон, вход 11 устройства, блок 12 пам ти, элемент 13 задержки, регистр 14 базового адреса, блок 15 пам ти, дешифратор 16, вход 17 обращени  устройства, выход 18 сигнала прерывани . 1 ил.The invention relates to computing, namely, devices for software control, and can be used in the development and debugging of computer programs. The purpose of the invention is to improve the speed when debugging programs. The device for debugging programs contains registers 1-3 of the base address, comparison circuits 4 and 5, element OR 6, elements 7 and 8, memory block 9, input 10 of the zone memory zone address, device input 11, memory block 12, delay element 13, base address register 14, memory block 15, decoder 16, device access input 17, interrupt signal output 18. 1 il.

Description

1one

ftft

(ABOUT

тt

1 one

Изобретение относитс  к вычисли- тельной технике, а именно к устройствам дл  программного управлени , и может быть использовано при разработке и отладке программ дл  ЭВМ.The invention relates to computing technology, namely, devices for programmed control, and can be used in the development and debugging of computer programs.

Целью изобретени   вл етс  повышение быстродействи  при отладке программ.The aim of the invention is to improve the speed when debugging programs.

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

Устройство дл  отладки программ содержит первьш 1, второй 2, третий 3 регистры базового адреса, первую и вторую 5 схемы сравнени , элемент ЮШ 6, первьй 7 и второй 8 элементы первый блок 9 пам ти, вход 10 адре- йа зоны пам ти.зон, адресный вход 1 устройства, третий блок 12 пам ти, элемент 13 задержки, четвертый регистр 14 базового адреса, второйThe device for debugging programs contains the first 1, second 2, third 3 registers of the base address, the first and second 5 comparison circuits, the element 6 of the first 6, the first 7 and the second 8 elements the first memory block 9, the input 10 of the memory zone address. , device address input 1, third memory block 12, delay element 13, fourth base address register 14, second

блок 15 пам ти, дешифратор 16, вход 17 обращени  устройства и выход 18 прерывани .a memory unit 15, a decoder 16, a device access input 17 and an interrupt output 18.

Устройство работа:ет следующим образом .Device operation: em as follows.

Предварительно в первый регистр 1 заноситс  адрес  чейки блока 9, котора  из-за ошибки в программе искажаетс . Регистр 14 загружаетс  адресом , второй соответствует адресу блока 15, Регистр 3 загружаетс  адресом  чейки блока 12, в которой записан адрес зоны, в состав которой входит искажаема   чейка. Например, известно , что в зоне А искажаетс   чейка С, 1 отора  в результате неверной работы различных программ комплекса искажаетс . При обращении к блоку 9 на входе 17 устройства по вл етс  сигнал обращени , а на входе 10 - адрес .зоны. Блок 12 содержит начальные адреса всех оперативных зон, расположенных в блоке 9,Previously, the first register 1 records the cell address of block 9, which is distorted due to an error in the program. Register 14 is loaded with the address, the second corresponds to the address of block 15, Register 3 is loaded with the cell address of block 12, which contains the address of the zone that contains the distorted cell. For example, it is known that in cell A the cell C is distorted; When accessing block 9, a reference signal appears at the input 17 of the device, and a zone address appears at the input 10. Block 12 contains the initial addresses of all operational areas located in block 9,

Конструктивно блок 12 представл ет собой блок посто нной и полупосто нной пам ти, работающий только на считьгоание. Занесение в него информации производитс  на каком-то специальном оборудовании, которое в состав предлагаемого устройства не входит.Structurally, block 12 is a block of permanent and semi-permanent memory, working only on coupling. Information is entered into it on some special equipment that is not part of the proposed device.

Если обращение происходит по любому адресу, несовпадающему с адресом, набранным в регистре 3, происходит считывание базового адреса из блока 12. Считанный адрес проходит через открытый элемент (группу элементов) .И 7, через, элемент (группу элементов)If the address occurs at any address that does not match the address typed in register 3, the base address is read from block 12. The read address passes through the open element (group of elements) .And 7, through, the element (group of elements)

0505

00

5five

00

5five

00

5five

00

5five

ИЛИ 6 и поступает на вход второго регистра 2. На вход записи регистра -1 поступает сигнал обращени  с входа 1 7 устройства , который, пройд  через элемент 13, запишет в регистр 2 информацию, считанную с блока 2. Врем  задержки элемента 13 равно времени считывани  блока 12 и прохождени  через элементы И 7 и ШШ б. Элемент И 7 открыт, так как на выходе 4 нулевой потенциал (нет сравнени ).OR 6 and is fed to the input of the second register 2. To the input of the register -1 register, there is a callback signal from the input 1 7 of the device, which, having passed through the element 13, will write to the register 2 the information read from block 2. The delay time of the element 13 is equal to the reading time block 12 and passing through the elements And 7 and SH b. Element And 7 is open, since the output 4 has a zero potential (no comparison).

Дешифратор 16 дешис фирует содержимое регистра 2 и вырабатывает сигнал обращени , который поступает на вход блока 15, На входе 11 устройства присутствует адрес  чейки блока 9, по которому читаетс  (записываетс ). информаци . Если происходит обращение к зоне, котора  интересует отладчика (адрес которой набран на регистре 3) на выходе схемы 4 по вл етс  единичный потенциал, которьй блокирует прохождение информации с выхода блока 12 через элемент И 7 и разрешает прохождение информации с вькода регистра 14 через элемент И 8 и элемент ШШ 6 на вход регистра 2.The decoder 16 decrypts the contents of register 2 and generates a reversal signal, which is fed to the input of block 15. At the input 11 of the device there is the cell address of block 9, which is read (written). information If there is a call to the zone that is of interest to the debugger (whose address is typed in register 3), a single potential appears at the output of circuit 4, which blocks the passage of information from the output of block 12 through AND 7 and allows the passage of information from register ID 14 through AND 8 and the item ШШ 6 on the register input 2.

Дешифратор 16 вьфабатывает сигнал обращени  к блоку.15, т.е. если известно , что в блоке 9 присутствует зона А, в которой находитс   чейка В, эта зона из блока 9 исключаетс  и переноситс  в блок 15. Все программы , которые на законном основании обращаютс  к зоне А, обращаютс  к блоку 15. Если в каких-то программах за счет ошибок (отсутствие базировани ) неверное, незапланированное обращение к зоне А, на входе 11 будет присутствовать адрес  чейки В зоны А . блока 9, что  вл етс  ошибкой. К адресам зоны А блока 9 вообще не долж-- но быть никаких обращений. При этом схема 5 зафиксирует момент сравнени  текущего адреса с адресом, набранным на регистре 1 ( чейки В зоны А), и выдает сигнал на вход 18 устройства, который будет прин т как сигнал прерывани  либо сигнал останова.The decoder 16 signals the access to the block. 15, i.e. if it is known that in block 9 there is zone A in which cell B is located, this zone from block 9 is excluded and transferred to block 15. All programs that legally refer to zone A are turned to block 15. If in some then programs due to errors (no basis) incorrect, unplanned access to zone A, input 11 will contain the address of the cell B of zone A. block 9, which is an error. The addresses of zone A of block 9 should not be addressed at all. In this case, circuit 5 records the moment of comparison of the current address with the address dialed on register 1 (cells B of zone A), and outputs a signal to input 18 of the device, which will be received as an interrupt signal or a stop signal.

Claims (1)

Таким образом, сигнал прерывани  вьграбатьшаетс  не при каждом обращении к данной   ейке, а только при возникновении незапланированного обращени . Формула изобретени Thus, the interrupt signal is not grabbed at every call to this operator, but only when an unplanned call occurs. Invention Formula Устройство дл  отладки программ; содержащее три регистра базового адреса , две схемы сравнени , два элемента И, элемент ИЛИ, причем первый информационный вход первой схемы сравнени  подключен к входу адреса зоны устройства, выход первой схемы сравнени  соединен с зттравл ющим входом первого элемента И, первый и второй информационные входы второй схемы сравнени  подключены соответственно к адресному входу устройства и вьрсоду первого регистра базового адреса, отличающеес  тем, что, с целью повышени  быстродействи  при отладке программ, устройство содержит три блока пам ти, дешифратор, четвертый регистр базового адреса, причем адресные входы первого и второго блоков пам ти подключены к адресному входу устройства первый выход дешифратора соединен с входом обращени  первого блока пам ти и входом разрешени  второй схемы сравнени , второй выход и вход дешифратора соединены соответственно с входом обращени  второго блока пам ти и выходом второго регистра базового адреса, вход записи и информационный вход которого соединены соответственно с выходом элемента задержки и выходом элемента ИЛИ, выход третьего блока пам ти соединен с информационным входом первого элемента И, выход которого соединен с первым входом элемента ИЛИ, второй вход которого подключен к выходу второго элемента И, управл ющий и информационный входы которого соединены соответственно с выходом первой схемы сравнени  и вькодом первого регистра базового адреса, второй информационный вход первой схемы сравнени  под- кпючёй к выходу третьего регистра базового адреса,.адресный вход третьего блока пам ти подключен к входу адреса зоны устройства, вход об,раще- Ни  устройства подключен к входу обращени  третьего блока пам ти и входу элемента задержки, выходы первого и второго блоков пам ти  вл ютс  пер- вым и вторым информационными выходами устройства, выход второй схемы сравнени   вл етс  выходом прерывани  устройства.Device for debugging programs; containing three registers of the base address, two comparison circuits, two AND elements, an OR element, the first information input of the first comparison circuit is connected to the input of the zone address of the device, the output of the first comparison circuit is connected to the control input of the first And element, the first and second information inputs of the second Comparison circuits are connected respectively to the address input of the device and the speed of the first register of the base address, characterized in that, in order to improve speed when debugging programs, the device contains three blocks of AM, decoder, fourth base address register, the address inputs of the first and second memory blocks are connected to the address input of the device; the first output of the decoder is connected to the access input of the first memory block and the resolution input of the second comparison circuit; the second output and the decoder input are connected respectively the access input of the second memory unit and the output of the second register of the base address, the recording input and the information input of which are connected respectively to the output of the delay element and the output of the OR element, the output Another storage unit is connected to the information input of the first AND element, the output of which is connected to the first input of the OR element, the second input of which is connected to the output of the second AND element, the control and information inputs of which are connected respectively to the output of the first comparison circuit and the code of the first register of the base address , the second information input of the first comparison circuitry is connected to the output of the third register of the base address, .address input of the third memory block is connected to the address input of the device zone, the input is about The memory is connected to the access input of the third memory block and the input of the delay element, the outputs of the first and second memory blocks are the first and second information outputs of the device, the output of the second comparison circuit is the output of the device interrupt.
SU874307704A 1987-09-17 1987-09-17 Program debugger SU1471195A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU874307704A SU1471195A1 (en) 1987-09-17 1987-09-17 Program debugger

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU874307704A SU1471195A1 (en) 1987-09-17 1987-09-17 Program debugger

Publications (1)

Publication Number Publication Date
SU1471195A1 true SU1471195A1 (en) 1989-04-07

Family

ID=21328357

Family Applications (1)

Application Number Title Priority Date Filing Date
SU874307704A SU1471195A1 (en) 1987-09-17 1987-09-17 Program debugger

Country Status (1)

Country Link
SU (1) SU1471195A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
За вка JP № 53-41497, кл. G 06 F 11/00, 1978. . . Авторское свидетельство СССР № 962945, кло G 06 F 11/28, 1980. *

Similar Documents

Publication Publication Date Title
US5056013A (en) In-circuit emulator
SU1541619A1 (en) Device for shaping address
SU1471195A1 (en) Program debugger
JPS57141760A (en) Semiconductor information processor
RU2022343C1 (en) Storage protective device
JPS57130150A (en) Register control system
SU1474656A1 (en) Debugging unit
SU1297117A1 (en) Internal storage with error detection
SU1695381A1 (en) Storage
SU1413634A1 (en) Device for interfacing digital computer with peripherals
SU1619282A1 (en) Memory
SU1583744A1 (en) Apparatus for debugging programs
SU1608675A1 (en) Device for monitoring running of programs in computer
SU1339653A1 (en) Memory
SU1737454A1 (en) Device for storing route of interprocessor exchanges in multiprocessor systems
SU1247877A1 (en) Device for debugging microcomputers
SU1282139A1 (en) Device for debugging software-hardware units
SU1679480A1 (en) Data output device
SU1596390A1 (en) Buffer memory device
SU970464A2 (en) Memory with simultaneous access to several words
SU1689964A1 (en) The unit to interface a video controller and processor over a common bus
SU1654827A1 (en) Program debugging device
SU1488815A1 (en) Data source/receiver interface
RU2022371C1 (en) Memorizing unit with simultaneous sampling of several words
SU1689955A1 (en) Device for debugging programs