SU1552190A2 - Device for check-out of program - Google Patents

Device for check-out of program Download PDF

Info

Publication number
SU1552190A2
SU1552190A2 SU884492723A SU4492723A SU1552190A2 SU 1552190 A2 SU1552190 A2 SU 1552190A2 SU 884492723 A SU884492723 A SU 884492723A SU 4492723 A SU4492723 A SU 4492723A SU 1552190 A2 SU1552190 A2 SU 1552190A2
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
information
block
ram
Prior art date
Application number
SU884492723A
Other languages
Russian (ru)
Inventor
Александр Дмитриевич Большуткин
Original Assignee
Предприятие П/Я А-7160
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 Предприятие П/Я А-7160 filed Critical Предприятие П/Я А-7160
Priority to SU884492723A priority Critical patent/SU1552190A2/en
Application granted granted Critical
Publication of SU1552190A2 publication Critical patent/SU1552190A2/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

Изобретение относитс  к цифровой вычислительной технике, может быть использовано при отладке программ специализированных ЦВМ, содержащих в своем составе штатные блоки посто нной пам ти с рабочими программами, и  вл етс  усовершенствованием изобретени  по а.с. N 1198525. Устройство решает задачу оперативной подмены зон информации, расположенных в блоке посто нной пам ти, информацией, расположенной в блоке оперативной пам ти. Цель - расширение функциональных возможностей. Устройство содержит первый-третий блоки оперативной пам ти, блок посто нной пам ти, первый-третий блоки сравнени , первый-п тый элементы задержки, первый-одиннадцатый элементы И, триггер, P-триггер, первый и второй элементы ИЛИ, два счетчика, первый и второй дешифраторы, первый и второй регистры. 1 ил.The invention relates to digital computing, can be used when debugging programs of specialized digital computers that contain regular blocks of permanent memory with work programs, and is an improvement of the invention in a.s. N 1198525. The device solves the problem of the operational substitution of information zones located in a block of permanent memory with information located in a block of random access memory. The goal is enhanced functionality. The device contains the first to third blocks of RAM, the block of permanent memory, the first to third blocks of comparison, the first to fifth delay elements, the first to eleventh AND elements, the trigger, the P trigger, the first and second OR elements, the first and second decoders, the first and second registers. 1 il.

Description

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

Цель изобретени  - расширение функциональных возможностей за счет обеспечени  оперативной подмены нескольких зон информации посто нной пам ти соответствующими зонами информации оперативной пам ти.The purpose of the invention is to expand the functionality by providing operative replacement of several zones of information of a permanent memory with corresponding zones of information of a random access memory.

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

Устройство содержит блоки 1 и 2 оперативной пам ти, блоки 3-5 сравнени , элементы 6-10 задержки, элементы И 11-21, триггерь 22 и 23, элементы ИЛИ 24 и 25, блок 26 посто нной пам ти, блок 27 оперативной пам ти , счетчики 28 и 29, дешифратор 30, регистры 31 и 32, дешифратор 33, вход 34 обращени  устройства, адресный вход 35 устройства, информационный вход 36 устройства, тактовый вход 37 устройства, вход 38 начальной установки устройства, вход 39 установки режима устройства, выход 40 устройства .The device contains blocks 1 and 2 of the RAM, blocks 3-5 of the comparison, delay elements 6-10, elements 11-21, trigger 22 and 23, elements OR 24 and 25, block 26 of the permanent memory, block 27 of the RAM TI, counters 28 and 29, decoder 30, registers 31 and 32, decoder 33, device access input 34, device address input 35, device information input 36, device clock input 37, device initial setup input 38, device mode setting input 39, output 40 of the device.

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

В исходном состо нии, в которое устройство устанавливаетс  при подаче на вход Сброс 38 сигнала начальной установки, разрешаетс  считывание информации только с блока 26 посто нной пам ти через элемент И 20 в момент по влени  тактовых импульСПIn the initial state, in which the device is installed when Reset 38 is fed to the initial setup signal, information is read only from the Permanent Memory Unit 26 through the AND 20 at the time of the occurrence of clock pulspun.

1one

соwith

14)14)

сов, поступающих на вход 37 тактовых импульсов о Поэтому на выход 40 устро , ства выдаетс  информаци , размещен на  в блоке 26 посто нной пам ти. В момент по влени  сигнала Обращение на входе 34 обращени  устройства осуществл етс  выборка из блока 1 оперативной пам ти числа, соответствующего k младшим разр дам адреса, подаваемого на адресный вход 35 устройства . Сигнал Обращение через вре- м , равное времени выборки инфор ма- ции из блока 1 оперативной пам ти,, 1 что обеспечиваетс  элементом 6 задержки , поступает на тактовый вход блока 3 сравнени .owls arriving at the input of 37 clock pulses. Therefore, information is output to the output 40 of the device, which is located in the permanent memory unit 26. At the time of the signal occurrence. Appeal at the device access 34 is sampling from the operational memory block 1 a number corresponding to the k least significant addresses sent to the address input 35 of the device. Signal Addressing through time, equal to the time of sampling information from the RAM unit 1, 1 which is provided by the delay element 6, is fed to the clock input of the comparison unit 3.

В случае считывани  нулевого числ из блока 1 оперативной пам ти, которое интерпретируетс  как отсутствие необходимости подмены зон информации блока 26 посто нной пам ти дл  всех адресов с указанным значением k младших разр дов, срабатывает блок 3 сравнени  и запрещает установку в °1 триггера 22. Таким образом, считывание информации ведетс  по-прежнему с блока 26 посто нной пам ти на выход 40 устройства. In the case of reading a zero number from the RAM 1, which is interpreted as no need to replace information zones of the fixed memory block 26 for all addresses with the specified value of k least significant bits, the comparison block 3 is triggered and prohibits installation in ° 1 of the trigger 22. Thus, information is still being read from the permanent memory unit 26 to the device output 40.

В случае считывани  числа,, отличного от нул , из блока 1 оперативнойIn the case of reading a number, other than zero, from block 1 operational

адрес подсписка адресов точек замещени  и соответствующих им команд перехода, расположенного в блоке 2 оперативной пам ти, блок 3 сравнени  разрешает прохождение через элемент И 11 сигнала Обращение, задержанного на врем  срабатывани  блока 3 сранени . С Йыхода элемента И 11 сигнал Обращение разрешает запись числа, считанного с блока 1 оперативной пам ти , на счетчик 28 и устанавливает в состо ние 1 триггер 22. Последний переключает Прохождение тактовых импульсов устройства таким образом, что по приходе каждого тактового импульса осуществл етс  выборка информации из блока 2 оперативной пам ти , через врем  считывани  информации из блока 2 оперативной пам ти, что обеспечиваетс  элементами 8 и 9 задержки соответственно, инкремент содержимого счетчика 28 и тактирова- ние блока 4 сравнени .the address of the sub-list of the addresses of the substitution points and the corresponding transition commands located in the RAM block 2, the comparison block 3 allows the signal to pass through the AND 11 element Reversal delayed by the response time of the match block 3. The 11th signal from the Yyhod of the 11th signal Reversal enables the recording of the number read from the RAM 1 unit to the counter 28 and sets the state 1 to the trigger 22. The latter switches the device’s clock to pass so that the arrival of each clock pulse is carried out from block 2 of RAM, after reading the information from block 2 of RAM, which is provided by delay elements 8 and 9, respectively, incrementing the contents of counter 28 and timing of block 4 of comparison.

В случае считывани  с первого вы- In the case of reading from the first

хода блока 2 оперативной пам ти нулевой команды перехода, что интерпре- THPVPTCH как конец подсписка адресовthe progress of block 2 of the RAM of the zero transition command, which is interpreted as THPVPTCH as the end of the sublist of addresses

00

5five

00

5five

00

5five

00

0 0

5five

точек замещени  и соответствующих им команд перехода, срабатывает блок 4 сравнени  и запрещает тактирование блока 5 сравнени , а также через элемент ИЛИ 24 устанавливает триггер 22 в состо ние О. Таким образом, считывание информации ведетс  по-прежнему с блока 26 посто нной пам ти на выход 40 устройства. В случае ы- вани  команды перехода, отличной от нул , с первого выхода блока 2 оперативной пам ти число, считываемое с второго выхода блока 2 оперативной пам ти, интерпретируетс  как полный адрес точки замещени  зсны информации из блока 26 посто нной пам ти. В этом случае блок 4 сравнени  разрешает тактирование блока 5 сравнени .of substitution points and the corresponding transition commands, the comparison block 4 is triggered and the clocking of the comparison block 5 is disabled, and also through the OR element 24 sets the trigger 22 to the state O. Thus, the information is still read from output 40 of the device. In the case of a jump command other than zero, from the first output of memory 2, the number read from the second output of memory 2 is interpreted as the full address of the replacement information from the persistent memory 26. In this case, the comparison unit 4 resolves the clocking of the comparison unit 5.

При совпадении полного адреса, подаваемого на вход 35 адреса устройства с числом, считанным с второго выхода блока 2 оперативной пам ти, блок 5 сравнени  формирует на выходе сигнал, который через элемент И 16 устанавливает в 1 триггер 23. Поэтому запрещаетс  считывание информации с блока 2э посто нной пам ти, прохождение сиг зала с выхода блока 5 сравнени  черэз элемент И 16, разрешаетс  работа счгтчика 29 и устанавливаетс  в О триггер 22, который запрещает прохождение тактовых импульсов с входа 37 тактовых импульсов устройства на выход элемента И 12 и разрешает прохождение тактовых импульсов на выход элемента И 13, При поступлении на вход 37 тактовых импульсов первого, после срабатывани  блока 5 сравнени , тактового импульса разрешаетс  прохождение кода команды передачи управлени  чергз элемент И 17 с первого выхода блэка 2 оперативной пам ти на выход 40 устройства и запоминаетс  состо ние адресного входа 35 устройства в регистре 31. Следовательно, вместо очередной команды программы, размещенной в блоке 26 посто нной пам ти, на выход 40 устройства выдаетс  команда передачи управлени  и в регистре 31 запоминаетс  адрес точки замещени .When the full address supplied to the input 35 of the device address with the number read from the second output of the RAM block 2 coincides, the comparison block 5 generates a signal at the output that sets the trigger 1 through element 16. Therefore, it is forbidden to read information from block 2e the constant memory, the passage of the signal from the output of the block 5 comparing the CEREZ element AND 16, the operation of the reader 29 is permitted and the trigger 22 is set in O, which prohibits the passage of clock pulses from the input 37 of the device’s pulses to the output element And 12 and allows the passage of clock pulses at the output of the element And 13 When the clock pulse first arrives at the input of 37, after the comparison block 5 has triggered, the pulse of the command for transmitting the control signal And 17 from the first output of the black memory 2 to the output is allowed 40 of the device and the state of the address input 35 of the device in the register 31 is stored. Therefore, instead of the next program command located in the permanent memory block 26, the control transfer command is issued to the device output 40 31 is stored in the register address of the point of substitution.

По команде передачи управлени  в следующем такте содержимое счетчика команд загружаетс  в стек. В этом такте, втором после обнаружени  точки замещени , запрещаетс  прохождение кода передачи управлени  через эле51552Upon the command to transfer control, the contents of the program counter are loaded onto the stack in the next cycle. In this cycle, the second after the detection of the replacement point, the control transmission code is not allowed to pass through eleven.

мент И 1/ на выход 40 устройства и запоминаетс  состо ние входа 35 адреса в регистре 32, т.е. значение указател  стека программы, размещенной в блоке 26 посто нной пам ти. В третьем после обнаружени  точки замещени  такте управление передаетс  по адресу, однозначно определ емомуA mentor 1 / at the output 40 of the device and the state of the input 35 of the address in the register 32, i.e. the value of the stack pointer of the program located in the block 26 of the permanent memory. In the third clock cycle after detection of the replacement point, control is transferred to the address that is uniquely determined

кодом команды передачи управлени ,command transfer control code,

запрещаетс  прохождение тактовых импульсов на счетный вход счетчика 29 через элемент И 15, разрешаетс  работа дешифратора 33 и считывание информации с блока 27 оперативной па- м ти на выход 40 устройства через элемент И 21.the clock pulses to the counting input of the counter 29 through the element 15 are prohibited, the operation of the decoder 33 is permitted, and the reading of the information from the operating unit 27 to the device output 40 through the element 21 is permitted.

Claims (1)

Формула изобретени Invention Formula Устройство дл  отладки программ по авт.св. № 1198525, отличающеес  тем, что, с целью расширени  функциональных возможностей устройства за счет обеспечени  оперативной подмены нескольких зон инфор- мации посто нной пам ти соответствующими зонами информации оперативной пам ти, в него введены два блока оперативной пам ти, второй триггер, второй счетчик, элементы И с восьмого по одиннадцатый, второй и третий блоки сравнени , п ть элементов задержки , второй элемент ИЛИ, причем адресный вход второго блока оперативнойDevice for debugging programs auth.St. No. 1198525, characterized in that, in order to expand the functional capabilities of the device by ensuring the operative replacement of several information zones of the permanent memory with the corresponding information zones of the operational memory, two blocks of RAM are inserted into it, the second trigger, the second counter, And from the eighth to the eleventh, second and third units of comparison, five delay elements, the second element OR, and the address input of the second operational unit пам ти подключен к адресному входуmemory connected to address input 1515 устройства, информационный вход и вход обращени  второго блока оперативной пам ти подключены соответственно к информационному входу и входу об-. ращени  устройства, входы задани  40 режима второго и третьего блоков оперативной пам ти подключены к входу задани  режима устройства, выход второго блока оперативной пам ти соединен с первым информационным входом второ- 45 го блока сравнени , второй информационный вход которого подключен к шине нулевого потенциала устройства, вход обращени  устройства через первый элемент задержки соединен с вхо- gn дом разрешени  второго блока сравнени  и через второй элемент задержки the device, the information input and the access address of the second RAM block are connected respectively to the information input and the input ob-. device, the settings of the mode 40 of the second and third blocks of RAM are connected to the input of the device mode, the output of the second block of RAM is connected to the first information input of the second 45 comparison block, the second information input of which is connected to the zero potential bus of the device A device input input through the first delay element is connected to the input resolution house of the second comparator unit and through the second delay element. 00 0 5 ю 0 5 th 1515 0 5 n 0 5 n 19061906 с первым входом восьмого элемента И, второй вход которого соединен с выходом второго блока сравнени , выход восьмого элемента И соединен с входом разрешени  счетчика и единичным входом второго триггера, пр мой выход которого соединен с первым входом дев того элемента И, второй вход которого подключен к тактовому входу устройства, выход дев того элемента .И соединен с входом обращени  третьего блока оперативной пам ти, через третий элемент задержки - со счетным входом счетчика и чере четвертый элемент задержки - с входом разреше ни  третьего блока сравнени , первыйthe first input of the eighth element And, the second input of which is connected to the output of the second comparison unit, the output of the eighth element And is connected to the counter enable input and the single input of the second trigger, the direct output of which is connected to the first input of the ninth And element, the second input of which is connected to the clock input of the device, the output of the ninth element. And is connected to the access input of the third RAM block, through the third delay element - to the counting input of the counter and through the fourth delay element - to the input of the third rd comparator block, a first // и второй информационные входы которого подключены соответственно к пер- воггу выходу третьего б.пока оперативной пам ти и шине нулевого потенциала устройства, выход третьего блока сравнени  соединен с первым входом второго элемента ИЛИ, второй и третий входы которого соединены соответственно с входом начальной установки устройства и инверсным выходом первого триггера, выход второго элемента ИЛИ соединен с нулевым входом второго триггера, инверсный выход которого соединен с первым входом дес того элемента И, второй вход которого подключен к тактовому входу устройства, выход дес того элемента И соединен с первым входом первого элемента К, выход дев того элемента задержки через дес тый элемент задержки соединен с первым входом одиннадцатого элемента И, второй вход и выход которого соединены соответственно с выходом третьего блока сравнени  и входом разрешени  первого блока сравнени , выход второго блока оперативной пам ти подключен к информационному входу счетчика, выход которого соединен с адресным входом третьего блока оперативной пам ти, информационный вход и второй выход которого подключены соответственно к информационному входу устройства и тактовому входу первого блока сравнени .and the second information inputs of which are connected respectively to the alarm output of the third bhp of the RAM and the device zero potential bus, the output of the third comparison unit is connected to the first input of the second OR element, the second and third inputs of which are connected respectively to the input of the initial installation of the device and the inverse output of the first trigger, the output of the second element OR is connected to the zero input of the second trigger, the inverse output of which is connected to the first input of the tenth element And, the second input of which is connected to the clock input of the device, the output of the tenth element And is connected to the first input of the first element K, the output of the ninth delay element is connected to the first input of the eleventh element And the second input and output of which are connected respectively to the output of the third comparison unit the resolution input of the first comparison unit, the output of the second memory block is connected to the information input of the counter, the output of which is connected to the address input of the third memory block, information in the stroke and the second output of which are connected respectively to the information input of the device and the clock input of the first comparison unit.
SU884492723A 1988-08-01 1988-08-01 Device for check-out of program SU1552190A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU884492723A SU1552190A2 (en) 1988-08-01 1988-08-01 Device for check-out of program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU884492723A SU1552190A2 (en) 1988-08-01 1988-08-01 Device for check-out of program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
SU1198535A Addition SU257256A1 (en) ELECTROLYTE FOR BRILLIANT STEEL [NEVEL-NICKEL PLATING]

Publications (1)

Publication Number Publication Date
SU1552190A2 true SU1552190A2 (en) 1990-03-23

Family

ID=21403576

Family Applications (1)

Application Number Title Priority Date Filing Date
SU884492723A SU1552190A2 (en) 1988-08-01 1988-08-01 Device for check-out of program

Country Status (1)

Country Link
SU (1) SU1552190A2 (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
SU1552190A2 (en) Device for check-out of program
KR940006014A (en) Timer circuit with comparator
SU1176346A1 (en) Device for determining intersection of sets
SU1683019A2 (en) Program debugger
SU1714604A1 (en) Device for checking binary sequences
SU1483448A1 (en) Extremum locator
SU1649542A1 (en) Subroutines controller
SU1348840A1 (en) Program debugging device
SU1591015A1 (en) Device for monitoring electronic units
SU1553977A1 (en) Device for checking pulse sequences
SU1410014A1 (en) Data input device
SU1591025A1 (en) Device for gc sampling of memory units
SU1149241A1 (en) Device for capturing information from transducers
SU1552189A1 (en) Device for monitoring programs
SU1198525A1 (en) Device for debugging programs
SU1524056A1 (en) Device for addressing a memory
SU717756A1 (en) Extremum number determining device
SU1649532A1 (en) Number searcher
SU1205193A1 (en) Device for memory protection in case of power supply disconnection
RU2006926C1 (en) Device for analog data input in digital computer
SU1665363A1 (en) Data input device
SU1061144A1 (en) Device for control of program interruptions
SU1164890A1 (en) Device for converting codes
RU1772804C (en) Shift register testing device
SU1003071A1 (en) Number comparing device