SU1683019A2 - Program debugger - Google Patents

Program debugger Download PDF

Info

Publication number
SU1683019A2
SU1683019A2 SU894749706A SU4749706A SU1683019A2 SU 1683019 A2 SU1683019 A2 SU 1683019A2 SU 894749706 A SU894749706 A SU 894749706A SU 4749706 A SU4749706 A SU 4749706A SU 1683019 A2 SU1683019 A2 SU 1683019A2
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
block
information
ram
Prior art date
Application number
SU894749706A
Other languages
Russian (ru)
Inventor
Александр Дмитриевич Большуткин
Евгений Геннадиевич Бестань
Original Assignee
Конструкторское Бюро Электроприборостроения
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 Конструкторское Бюро Электроприборостроения filed Critical Конструкторское Бюро Электроприборостроения
Priority to SU894749706A priority Critical patent/SU1683019A2/en
Application granted granted Critical
Publication of SU1683019A2 publication Critical patent/SU1683019A2/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

Изобретение относитс  к цифровой вычислительной технике и может быть использовано при отладке программ специализированных ЦВМ, содержащих в своем J/ составе штатные блоки посто нной пам ти с рабочими программами. Цель изобретени  - расширение функциональных возможностей за счет обеспечени  оперативной подмены нескольких зон информации, расположенных в блоке посто нной пам ти, информацией , расположенной в блоке оперативной пам ти. Устройство дл  отладки программ содержит три блока оперативной пам ти 1, 2, 23, блок 22 посто нной пам ти, блоки 3, 4 сравнени , элементы 5 - 8 задержки, элементы И 9-18, D-триггер 19, элементы ИЛИ 20, 21, счетчик 24 адреса, двухразр дный двоичный счетчик 25, первый 26 и второй 29 дешифраторы, первый27 и второй 28 регистры. 1 ил.The invention relates to digital computing and can be used when debugging programs of specialized digital computers that contain in their J / composition regular blocks of permanent memory with work programs. The purpose of the invention is to expand the functionality by providing an operational substitution of several information zones located in a fixed memory unit with information located in a random access memory unit. The device for debugging programs contains three blocks of random access memory 1, 2, 23, block 22 of permanent memory, blocks 3, 4 of comparison, elements 5 - 8 delays, elements AND 9-18, D-flip-flop 19, elements OR 20, 21, address counter 24, two-digit binary counter 25, first 26 and second 29 decoders, first 27 and second 28 registers. 1 il.

Description

О 00 ЫAbout 00

юYu

юYu

Изобретение относитс  к цифровой вычислительной технике, может быть использовано при отладке программ специаизированных ЦВМ, содержащих в своем оставе штатные блоки посто нной пам ти рабочими программами, и  вл етс  усовершенствованием устройства по авт. св. № 1198525.The invention relates to digital computing, can be used when debugging programs of specialized computer computers that contain regular blocks of permanent memory in their remaining work programs, and is an improvement to the device according to the author. St. No. 1198525.

Целью изобретени   вл етс  расширеие функциональных возможностей устройтва за счет обеспечени  оперативной подмены нескольких зон информации, расположенных в блоке посто нной пам ти, сответствующими зонами информации, расположенными в блоке оперативной пам ти .The aim of the invention is to expand the functionality of the device by providing a quick substitution of several information zones located in a fixed memory block corresponding to information zones located in the RAM block.

На чертеже представлен пример реалиации устройства, где изображены второй блок 1 оперативной пам ти, третий блок 2 оперативной пам ти, второй и первый блоки 3 и 4 сравнени , элементы 5-8 задержки, элементы И 9 - 18, D-триггер 19, элементы ИЛИ 20 и 21, блок 22 посто нной пам ти, первый блок 23 оперативной пам ти, счетчик 24 адреса, двухразр дный двоичный счетчик 25, первый дешифратор 26, первый регистр 27, второй регистр 28, второй дешифратор 29, вход 30 обращени  устройства, адресный вход 31 устройства, информационный вход 32 устройства, тактовый вход 33 устройства, вход 34 начальной установки устройства, вход 35 установки режима устройства, выход 36 устройства.The drawing shows an example of the implementation of the device, which depicts the second RAM block 1, the third RAM block 2, the second and first comparison blocks 3 and 4, delay elements 5-8, AND elements 9-18, D-flip-flop 19, elements OR 20 and 21, constant memory unit 22, first RAM unit 23, address counter 24, two-digit binary counter 25, first decoder 26, first register 27, second register 28, second decoder 29, device inversion 30, device address input 31, device information input 32, device clock input 33, the input 34 of the initial installation of the device, the input 35 of the installation mode of the device, the output 36 of the device.

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

В исходном состо нии, в которое устройство устанавливаетс  при подаче на вход 34 сигнала начальной установки, разрешаетс  считывание информации только с блока 22 посто нной пам ти через элемент И 17 в момент по влени  тактовых импульсов , поступающих на вход 33 тактовых импульсов , поэтому на выход 36 устройства выдаетс  информаци , размещенна  в блоке 22 посто нной пам ти. В момент по влени  сигнала на входе 30 обращени  устройства осуществл етс  выборка из блока 1 оперативной пам ти бита, соответствующего к младшим разр дам адреса, подаваемого на адресный вход 31 устройства . В случае считывани  нулевого бита из блока 1 оперативной пам ти, который интерпретируетс  как отсутствие необходимости подмены зон информации блока 22 посто нной пам ти дл  всех адресов с указанным значением k младших разр дов, прохождение тактовых импульсов запрещаетс  через элемент И 9 и разрешаетс  через элемент И 10. Таким образом, считывание информации ведетс  по-прежнему с блокаIn the initial state, in which the device is installed when the initial setup signal is applied to the input 34, information is only readable from the fixed memory unit 22 via the AND element 17 at the time of the appearance of the clock pulses fed to the input 33 of the clock pulses, therefore 36, the device displays the information located in the permanent memory unit 22. At the time of the appearance of the signal at the device input 30, a bit memory is sampled from block 1, corresponding to the lower bits of the address supplied to the address input 31 of the device. In the case of reading the zero bit from memory block 1, which is interpreted as no need to replace information zones of the fixed memory block 22 for all addresses with the specified value of k least significant bits, the passage of clock pulses is prohibited through AND 9 and resolved through AND 10. Thus, information is still being read from the block.

22 посто нной пам ти на выход 36 устройства . В случае считывани  бита, отличного от нул , из блока 1 оперативной пам ти, который интерпретируетс  как наличие адресов с указанными k младшими разр дами в списке адресов точек замещени  и соответствующих им команд перехода, расположенном в блоке 2 оперативной пам ти, запрещаетс  прохождение тактовых им0 пульсов через элемент И 10 и разрешаетс  через элемент И 9, Таким образом, по приходе каждого тактового импульса осуществл ютс  выборка информации из блока 2 оперативной пам ти через врем  считыва5 ни  информации из блока 2 оперативной пам ти, что обеспечиваетс  элементами 5, 7 задержки, инкремент содержимого счетчика 24 адреса и тактирование блока 3 сравнени . В случае считывани  с первого выхода22 of the permanent memory at the output 36 of the device. In the case of reading a bit other than zero, from memory block 1, which is interpreted as having addresses with specified k lower-order bits in the address list of the replacement points and corresponding jump instructions located in memory block 2, it is not allowed pulses through AND 10 element and resolved through AND 9 element. Thus, after the arrival of each clock pulse, information is retrieved from the RAM memory block 2 after reading the information from the RAM block 2 This is provided by the delay elements 5, 7, the increment of the contents of the address counter 24, and the clocking of the comparison unit 3. In the case of reading from the first exit

0 блока 2 оперативной пам ти нулевой команды перехода, что интерпретируетс  как конец списка адресов точек замещени  и соответствующих им команд перехода, срабатывает блок 3 сравнени  и запрещает так5 тирование блока 4 сравнени , таким образом, считывание информации по-прежнему ведетс  с блока 22 посто нной пам ти на выход 36 устройства, В случае считывани  команды перехода, отличной от нул , с0 block 2 of the RAM of the zero transition command, which is interpreted as the end of the list of addresses of the replacement points and the corresponding transition commands, triggers comparison block 3 and prohibits matching block 4 comparison, thus, the information is still read from block 22 constant memory output device 36, in the case of reading the transition command, other than zero, with

0 первого выхода блока 2 оперативной пам ти число, считываемое с второго выхода блока 2 оперативной пам ти, интерпретируетс  как полный адрес точки замещени  зоны информации из блока 22 посто нной пам 5 ти, в этом случае блок 3 сравнени  разрешает тактирование блока 4 сравнени . При совпадении полного адреса, подаваемого на вход 31 устройства, с числом с второго выхода блока 2 оперативной пам ти блок 40, the first output of the main memory unit 2, the number read from the second output of the main memory unit 2, is interpreted as the full address of the replacement point of the information zone from the permanent memory unit 22, in this case the comparison unit 3 allows the clocking of the comparison unit 4. If the full address supplied to the input 31 of the device coincides with the number from the second output of block 2 of the operating memory, block 4

0 сравнени  формирует на выходе сигнал, который через элемент И 13 устанавливает в 1 D-триггер 19, поэтому запрещаетс  считывание информации с блока 22 посто нной пам ти, прохождение сигнала с выходаComparison 0 generates a signal at the output, which through the element And 13 sets to 1 D-flip-flop 19, therefore, it is forbidden to read information from the block 22 of the permanent memory, passing the signal from the output

5 блока 4 сравнени  через элемент И 13, разрешаетс  работа счетчика 25. При поступлении на вход 33 тактовых импульсов первого после срабатывани  блока 4 сравнени  тактового импульса разрешаетс 5 of the comparator unit 4 through the AND element 13, the operation of the counter 25 is permitted. When the clock pulses of the first clock pulse arrive at the input 33, the clock pulse is compared

0 прохождение кода команды передачи управлени  через элемент И 14 с первого выхода блока 2 оперативной пам ти на выход 36 устройства и запоминаетс  состо ние адресного входа 31 устройства на первом0 passing the command of the transfer control command through the element 14 from the first output of the RAM block 2 to the device output 36 and the state of the device address input 31 on the first is remembered

5 регистре 27. Следовательно, вместо очередной команды программы, размещенной в блоке 22 посто нной пам ти, на выход 36 устройства выдаетс  команда передачи управлени  и в первом регистре 27 запоминаетс  адрес точки замещени . По команде5 register 27. Consequently, instead of the next program command located in the permanent memory unit 22, a control transfer command is issued to the device output 36 and the address of the replacement point is stored in the first register 27. By command

передачи управлени  в следующем такте содержимое счетчика команд загружаетс  в стек. В этом такте, втором после обнаружени  точки замещени , запрещаетс  прохождение кода передачи управлени  через элемент И 14 на выход 36 устройства и запоминаетс  состо ние входа 31 адреса во втором регистре 28, т.е. значение указател  стека программы, размещенной в блоке 22 посто нной пам ти, в третьем после обнаружени  точки замещени  такте управлени  передаетс  по адресу, однозначно определ емому кодом команды передачи управлени , запрещаетс  прохождение тактовых импульсов на счетный вход счетчика 25 через элемент И 12, разрешаетс  работа второго дешифратора 29 и считывание информации с блока 23 оперативной пам ти на выход 36 устройства через элемент И 18, В за вленном устройстве расширены функциональные возможности в части подмены произвольного количества зон информации , расположенных в блоке 22 посто нной пам ти, соответствующим количеством зон информации блока 23 оперативной пам ти, что обеспечивает сокращение количества циклов отладки программ за счет совмещени  в одном цикле отладки нескольких разнотипных операций отладки, определ емых программами, размещенными в оперативной пам ти.transferring control to the next cycle, the contents of the command counter are loaded onto the stack. In this cycle, the second after detecting the replacement point, the passing of the control transfer code through the AND 14 element to the device output 36 is prohibited and the state of the address input 31 in the second register 28, i.e. the value of the stack pointer of the program located in the constant memory block 22, in the third control point after detection of the displacement point, is transmitted to the address uniquely determined by the control transfer command code, the clock pulses to the counting input of the counter 25 are forbidden through the And 12 element, work is allowed the second decoder 29 and reading the information from the RAM block 23 to the device output 36 through the element I 18, In the device described, the functionality has been expanded in terms of replacing an arbitrary The number of information zones located in the constant memory block 22 corresponding to the number of information zones of the RAM block 23, which reduces the number of program debugging cycles by combining several different types of debugging operations defined by the RAM in one debug cycle. ti.

Claims (1)

Формула изобретени  Устройство дл  отладки программ по авт. св. М 1198525, отличающеес  тем, что, с целью расширени  функциональных возможностей за счет обеспечени  оперативной подмены нескольких зон информации , расположенных в блоке посто нной пам ти, соответствующими зонами информации , расположенными в блоке оперативной пам ти, оно содержит второй и третий блоки оперативной пам ти, с восьмого по дес тый элементы И, четыре элемента задержки , второй блок сравнени , счетчик адреса и второй элемент ИЛИ, причем выход второго блока оперативной пам ти соединен с первым входом восьмого элемента И и с инверсным входом дев того элемента И, выход восьмого элемента И соединен с входами первого и второго элементов задержки и с тактовым  ходом третьего блокаThe invention device for debugging programs for auth. St. M 1198525, characterized in that, in order to extend the functionality by providing a quick substitution of several information zones located in the fixed memory block with the corresponding information zones located in the RAM memory block, it contains the second and third RAM blocks , from the eighth to the tenth And elements, four delay elements, the second comparison unit, the address counter and the second OR element, and the output of the second RAM block is connected to the first input of the eighth And element and with the investment With the rs input of the ninth element And, the output of the eighth element And connected to the inputs of the first and second delay elements and with the clock course of the third block оперативной пам ти, выход первого элемента задержки соединен со счетным входом счетчика адреса, информационный выход которого соединен с адресным зхо- 5 дом третьего блока оперативной пам ти, вход обращени  устройства соединен с входом обращени  второго блока оперативной пам ти и через третий элемент задержки с входами обращени  блока посто нной па0 м ти и первого блока оперативной пам ти и с вторым управл ющим входом второго дешифратора , выход второго элемента задержки соединен с тактовым входом второго блока сравнени  и через четверт ый элементmemory, the output of the first delay element is connected to the counting input of the address counter, the information output of which is connected to the address back of the third memory block, the device access input is connected to the second input of the second memory block and through the third delay element with inputs returning the constant unit and the first memory unit and the second control input of the second decoder, the output of the second delay element is connected to the clock input of the second comparison unit and after vertical element 5 задержки с пр мым входом дес того элемента И, выход второго блока сравнени  соединен с инверсным входом дес того элемента И и с первым пр мым входом второго элемента ИЛИ, выход которого соединен с5 delays with a direct input of the tenth element And, the output of the second comparison unit is connected to the inverse input of the tenth element And, and with the first direct input of the second OR element, the output of which is connected to 0 входом сброса счетчика адреса, тактовый вход устройства соединен с вторым входом восьмого элемента И и с пр мым входом дев того элемента И, выход которого соединен с первыми входами четвертого и п того0 reset input address counter, the clock input device is connected to the second input of the eighth element And the direct input of the ninth element And the output of which is connected to the first inputs of the fourth and fifth 5 элементов И, с первым управл ющим входом второго дешифратора, с третьим входом первого элемента И и с вторым входом второго элемента И, адресный вход устройства соединен с адресным входом второго5 And elements, with the first control input of the second decoder, with the third input of the first element And, and with the second input of the second element And, the address input of the device is connected to the address input of the second 0 блока оперативной пам ти, вход начальной установки устройства соединен с вторым пр мым входом второго элемента ИЛИ, выход пол  кода команды перехода третьего блока оперативной пам ти соединен с0 of the RAM, the input of the initial installation of the device is connected to the second direct input of the second OR element, the output of the field of the transition instruction code of the third RAM is connected 5 третьим входом п того элемента И и с первым информационным входом второго блока сравнени , второй информационный вход которого подключен к шине нулевого потенциала устройства, выход пол  кода5, the third input of the fifth element I and the first information input of the second comparison unit, the second information input of which is connected to the device zero potential bus, the output of the code field 0 адреса точки замещени  третьего блока оперативной пам ти соединен с вторым информационным входом первого блока сравнени , инверсный выход D-триггера соединен с инверсным входом второго эле5 мента ИЛИ, выход дес того элемента И соединен с тактовь;м входом первого блока сравнени , вход установки режима и информационный вход устройства соединены соответственно с входами записи и0 the address of the replacement point of the third RAM block is connected to the second information input of the first comparison block, the inverse output of the D-flip-flop is connected to the inverted input of the second element OR, the output of the tenth And element is connected to the clock; m input of the first comparison block, the mode setting input and the information input of the device is connected respectively to the recording inputs and 0 информационными входами второго и третьего блоков оперативной пам ти.0 information inputs of the second and third blocks of RAM.
SU894749706A 1989-10-16 1989-10-16 Program debugger SU1683019A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU894749706A SU1683019A2 (en) 1989-10-16 1989-10-16 Program debugger

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU894749706A SU1683019A2 (en) 1989-10-16 1989-10-16 Program debugger

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
SU1198525 Addition

Publications (1)

Publication Number Publication Date
SU1683019A2 true SU1683019A2 (en) 1991-10-07

Family

ID=21474803

Family Applications (1)

Application Number Title Priority Date Filing Date
SU894749706A SU1683019A2 (en) 1989-10-16 1989-10-16 Program debugger

Country Status (1)

Country Link
SU (1) SU1683019A2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР Мг 1198525, кл. G 06 F 11/28, 1983. *

Similar Documents

Publication Publication Date Title
SU1082341A3 (en) Control device in data processing system
SU1683019A2 (en) Program debugger
RU2094842C1 (en) Device which controls controller operations
SU1615725A1 (en) Device for monitoring running of programs
SU1591015A1 (en) Device for monitoring electronic units
SU1709320A1 (en) Device for debugging programs
SU1275452A1 (en) Device for debugging programs
SU1552190A2 (en) Device for check-out of program
SU1608675A1 (en) Device for monitoring running of programs in computer
SU1176346A1 (en) Device for determining intersection of sets
RU1807448C (en) Program control unit
SU1198525A1 (en) Device for debugging programs
SU1649532A1 (en) Number searcher
SU1478215A1 (en) Microprogram control unit
SU1702370A1 (en) Microprogram control device with checking
SU1203526A1 (en) Device for checking microprogram control unit
SU1365091A1 (en) Microprogram processor
SU802963A1 (en) Microprogramme-control device
SU1430959A1 (en) Device for monitoring microprogram run
SU1161944A1 (en) Device for modifying memory area address when debugging programs
SU991426A1 (en) Microprogram control device
SU1649542A1 (en) Subroutines controller
SU1476465A1 (en) Microprogram control unit
SU1591027A2 (en) Device for interfacing cental processor with group of peripherals
SU1363221A1 (en) Program-debugging device