RU2012044C1 - Device for visual control of program execution - Google Patents

Device for visual control of program execution Download PDF

Info

Publication number
RU2012044C1
RU2012044C1 SU5014117A RU2012044C1 RU 2012044 C1 RU2012044 C1 RU 2012044C1 SU 5014117 A SU5014117 A SU 5014117A RU 2012044 C1 RU2012044 C1 RU 2012044C1
Authority
RU
Russia
Prior art keywords
block
input
inputs
address
output
Prior art date
Application number
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 SU5014117 priority Critical patent/RU2012044C1/en
Application granted granted Critical
Publication of RU2012044C1 publication Critical patent/RU2012044C1/en

Links

Images

Abstract

FIELD: computer engineering. SUBSTANCE: device has unit 1 for registers of current address and data, mode setting unit 2, multiplexers unit 3, initial address register unit 4, comparison unit 5, memory unit 6, number selection unit 7. In addition device has group of inputs for states and synchronization, address input and data input. This inputs serves as device inputs for connection to state synchronization output, address and outputs of controlled device. In addition device has first clock pulse input of memory unit, group of inputs for control of mode in unit for registers of current address and data, group of inputs for control of mode in unit for registers of initial address, which serve as control inputs of device for connection to corresponding outputs of mode control in microcomputer. EFFECT: increased amount of information , increased precision, increased speed. 9 dwg

Description

Устройство относится к вычислительной технике и может быть использовано для контроля исполнения программ контролируемых устройств (системный контроллер, ЦВМ, микроЭВМ, ЭВМ и т. д. ). The device relates to computer technology and can be used to control the execution of programs of controlled devices (system controller, digital computer, microcomputer, computer, etc.).

Целью изобретения является расширение функциональных возможностей (повышение информативности, точности контроля, сокращения временных затрат на контроль) устройства для визуального контроля за счет обеспечения регистрации результатов контроля в виде информационного массива, за счет обеспечения соответствия регистрируемого адреса и данных фрагмета программы за интервал времени функционирования контролируемого устройства относительно многократно повторяющегося адреса, выбранного оператором. The aim of the invention is to expand the functionality (increase information content, accuracy of control, reduce time spent on control) of the device for visual control by ensuring the registration of the results of the control in the form of an information array, by ensuring compliance of the registered address and the data of the program fragment for the time interval of the functioning of the controlled device Relatively multiple address selected by the operator.

На фиг. 1 представлена структурная схема устройства для визуального контроля исполнения программ; на фиг. 2 - схема блока регистров текущего адреса и данных; на фиг. 3 - схема блока задания режимов; на фиг. 4 - схема блока мультиплексоров, на фиг. 5 - схема блока регистров начального адреса; на фиг. 6 - схема блока сравнения; на фиг. 7 - схема блока оперативной памяти; на фиг. 8 - схема блока выбора номера; на фиг. 9 - алгоритм совместной работы устройства с микроЭВМ и с контролируемым устройством. In FIG. 1 shows a structural diagram of a device for visual control of program execution; in FIG. 2 is a block diagram of the registers of the current address and data; in FIG. 3 is a diagram of a mode setting unit; in FIG. 4 is a block diagram of a multiplexer, in FIG. 5 is a diagram of a block of registers of the starting address; in FIG. 6 is a diagram of a comparison unit; in FIG. 7 is a diagram of a block of RAM; in FIG. 8 is a diagram of a block for selecting a number; in FIG. 9 - algorithm for the joint operation of the device with a microcomputer and with a controlled device.

Устройство для визуального контроля исполнения программ (фиг. 1) содержит блок 1 регистров текущего адреса и данных, блок 2 задания режимов, блок 3 мультиплексоров, блок 4 регистров начального адреса, блок 5 сравнения, блок 6 оперативной памяти, блок 7 выбора номера, группу входов 8 синхронизации и состояний, адресный вход 9, вход 10 данных, которые являются входами устройства для подключения к группе выходов синхронизации и состояний, к выходу адреса и данных контролируемого устройства (системный контроллер, ЦВМ, ЭВМ и т. д. ), группу выходов 11 блока 2, которая соединена с первой группой управляющих входов блока 3 мультиплексоров, группу информационных выходов 12 блока 4 регистров начального адреса, которая подключена к первой группе информационных входов блока 5 сравнения, первую и вторую группу входов-выходов блока 6 оперативной памяти, которая является входом адреса и данных устройства и выходом данных блока 6, причем первая группа выходов-входов подключена к первой группе информационных входов блока 1 регистров текущего адреса и данных и к второй группе информационных входов блока 5 сравнения, а вторая группа - к второй группе информационных входов блока 1 регистров текущего адреса и данных, группу входов управления режимов блока 1 регистров текущего адреса и данных, группу входов управления режимом блока 4 регистров начального адреса, первый тактовый вход блока 6 оперативной памяти, которые являются управляющими входами 13-20 устройства для подключения к соответствующим выходам управления микроЭВМ, информационный выход блока 1 регистров текущего адреса и данных, который является выходом 21 признака активности информации устройства для подключения к входу подтверждения наличия микроЭВМ, выход 22 начальной установки блока 2 задания режимов, который подключен к входам сброса блока 1 регистров текущего адреса и данных, блока 4 регистров начального адреса, к первому входу управления режимом блока 5 сравнения, блока 6 оперативной памяти и блока 7 выбора номера, второй вход управления режимом которого является первым выходом 23 равенства операндов блока 5 сравнения, причем первый выход 24 блока 6 оперативной памяти является выходом признака заполнения буфера для подключения к информационному входу блока 1 регистров текущего адреса и данных, второй выход блока 5 сравнения является выходом 25 для подключения к тактовому выходу блока 7 выбора номера, второй тактовый вход блока 6 оперативной памяти соединен с выходом 26 строба состояний блока 3 мультиплексоров, вход и вторая группа входов которого являются группой входов 8 синхронизации и состояний устройства для подключения к выходам синхронизации и состояний устройства, второй выход 27 блока 6 оперативной памяти является выходом признака заполнения буфера для подключения к второму входу управления режимом блока 5 сравнения, третий выход 28 которого является третьим входом управления режимом блока 7 выбора номера, выход 29 которого подключен к второму входу управления режимом блока 6 оперативной памяти. A device for visual control of program execution (Fig. 1) contains a block 1 of the registers of the current address and data, a block of 2 mode settings, a block of 3 multiplexers, a block of 4 registers of the starting address, a block of comparison 5, a block of 6 random access memory, a block of number selection 7, a group synchronization and status inputs 8, address input 9, data input 10, which are device inputs for connecting to a group of synchronization and status outputs, to the output of the address and data of a monitored device (system controller, digital computer, computer, etc.), a group of outputs 11 blocks 2, which is connected to the first group of control inputs of the unit 3 of multiplexers, the group of information outputs 12 of the block 4 of the initial address registers, which is connected to the first group of information inputs of the comparison unit 5, the first and second group of inputs / outputs of the block 6 of random access memory, which is the address input and device data and data output of block 6, the first group of outputs-inputs connected to the first group of information inputs of block 1 of the registers of the current address and data and to the second group of information inputs of block 5 comparison, and the second group - to the second group of information inputs of block 1 of the registers of the current address and data, the group of inputs of the control modes of block 1 registers of the current address and data, the group of inputs of the control of the mode of block 4 registers of the starting address, the first clock input of block 6 of RAM, which are the control inputs 13-20 of the device for connecting to the corresponding control outputs of the microcomputer, the information output of block 1 of the registers of the current address and data, which is the output of 21 signs of information activity and a device for connecting to the confirmation input of the presence of a microcomputer, output 22 of the initial installation of the mode setting block 2, which is connected to the reset inputs of the block 1 of the registers of the current address and data, block 4 of the registers of the starting address, to the first input of the control of the block of comparison 5, block 6 operational memory and number selection unit 7, the second input of the mode control of which is the first output 23 of the equality of the operands of the comparison unit 5, and the first output 24 of the RAM unit 6 is the output of the buffer fill indicator for Connections to the information input of block 1 of the registers of the current address and data, the second output of block 5 of comparison is output 25 for connecting to the clock output of block 7 of selecting the number, the second clock input of block 6 of RAM is connected to the output 26 of the status gate of block 3 of multiplexers, the input and the second the group of inputs of which are a group of synchronization inputs 8 and device states for connecting to the synchronization outputs and device states, the second output 27 of the RAM block 6 is the output of the sign of filling bu EPA for connection to a second input of the comparator unit control mode 5, a third output 28 which is the third input of the control unit 7 mode selection number output 29 which is connected to the second input of the mode control unit 6 memory.

Блок 1 регистров текущего адреса и данных (фиг. 2) содержит регистры 30 сдвига. Block 1 registers the current address and data (Fig. 2) contains the registers 30 shift.

Блок 2 задания режимов (фиг. 3) содержит блок 31 регистров, RS-триггер 32, элемент И 33, переключатели 34, кнопочный переключатель 35, конденсатор 36. Block 2 of the job modes (Fig. 3) contains a block of 31 registers, RS-trigger 32, element And 33, switches 34, push button switch 35, capacitor 36.

Блок 3 мультиплексоров (фиг. 4) содержит элементы И 37, элементы ИЛИ 38, элемент И 39. Block 3 of the multiplexers (Fig. 4) contains AND elements 37, OR elements 38, AND element 39.

Блок 4 регистров начального адреса (фиг. 5) содержит регистры 40 сдвига, шинный формирователь 41, элемент ИЛИ 42. Block 4 registers of the starting address (Fig. 5) contains the registers 40 shift, bus driver 41, the element OR 42.

Блок 5 сравнения (фиг. 6) содержит схему 43 сравнения, элемент И 44, RS-триггер 45, одновибратор 46. Block 5 comparison (Fig. 6) contains a comparison circuit 43, the element And 44, RS-trigger 45, one-shot 46.

Блок 6 оперативной памяти (фиг. 7) содержит элемент ОЗУ 47, счетчик 48, элемент ИЛИ 49, элементы И 50, элемент ИЛИ-НЕ 51, IK-триггер 52. The RAM block 6 (Fig. 7) contains an RAM element 47, a counter 48, an OR element 49, AND 50 elements, an OR-NOT 51 element, an IK trigger 52.

Блок 7 выбора номера (фиг. 8) содержит блок счетчиков 53 и 54 блок переключателей 55, блок резисторов 56, светодиоды 57, IK-триггер 58, элемент 2И 59. Block 7 number selection (Fig. 8) contains a block of counters 53 and 54 block of switches 55, block of resistors 56, LEDs 57, IK-trigger 58, element 2I 59.

Блок 1 регистров текущего адреса и данных предназначен для временного хранения в регистре 30 текущего адреса и данных, поступающих из блока 6 оперативной памяти через первую и вторую группы выходов-входов на первую и вторую группы информационных входов блока 1 для запоминания сигнала "Буфер заполнен" через выход 24 признака заполнения буфера блока 6 с оперативной памяти, через первую и вторую группы выходов-входов на первую группу информационных входов блока 1 для запоминания сигнала "Буфер заполнен" через выход 24 блока 6 на информационный вход блока 1, а также для формирования сигнала подтверждения в микроЭВМ, который поступает на вход 21 признака активности информации блока 1 с выхода регистра 30 в соответствии с алгоритмом (фиг. 9). Разрядность регистра 30 определяется разрядность адресных шин и шин данных контролируемого устройства, которые подключаются к адресному входу 9 и входу 10 данных устройства. Block 1 of the registers of the current address and data is intended for temporary storage in the register 30 of the current address and data coming from block 6 of the RAM through the first and second groups of outputs-inputs to the first and second groups of information inputs of block 1 for storing the signal "Buffer full" through output 24 of the sign of filling the buffer of block 6 with RAM, through the first and second groups of outputs-inputs to the first group of information inputs of block 1 for storing the signal "Buffer full" through the output 24 of block 6 to the information input d of block 1, as well as for generating a confirmation signal in the microcomputer, which is fed to input 21 of the information activity indicator of block 1 from the output of register 30 in accordance with the algorithm (Fig. 9). The width of the register 30 is determined by the width of the address buses and data buses of the monitored device, which are connected to the address input 9 and input 10 of the device data.

Блок 2 задания режимов предназначен для выбора состояний контролируемого устройства (выбор команды из ПЗУ, обращение к ПЗУ, ОЗУ, обращение к внешним устройствам) через переключатели 34, а также для формирования сигнала сброса, который поступает от кнопочного переключателя 35 через RS-триггер 32, и сигнала начальной установки от RC-цепочки блока 31 резисторов и конденсатора 36 и на выход 22 сброса (начальной установки по электропитанию), которые приводит в исходное состояние устройство. The mode setting unit 2 is intended for selecting the states of the monitored device (selecting a command from the ROM, accessing the ROM, RAM, accessing external devices) via the switches 34, and also for generating a reset signal that comes from the push-button switch 35 via the RS-trigger 32, and the initial installation signal from the RC chain of the block of resistors and capacitor 36 and to the reset output 22 (initial installation for power supply), which initializes the device.

Блок 3 мультиплексоров предназначен для формирования импульсов в моменты времени, определенные положением переключателей 34 блока 2 задания режимов. Unit 3 of the multiplexers is intended for the formation of pulses at time instants determined by the position of the switches 34 of the mode setting unit 2.

Блок 4 регистров начального адреса предназначен для запоминания адреса, определяющего начало фрагмента программы, необходимого для просмотра программы оператором. Адрес заносится в регистр 40 и передается на выход в блок 5 сравнения через шинный формирователь 41 с помощью сигналов управления от микроЭВМ, которые поступают на входы 16, 17, 18, 19 управления режимом устройства в соответствии с алгоритмом (фиг. 9). Разрядность регистра 40 определяется разрядностью адресных шин контролируемого устройства, которые подключены к адресному входу 9 устройства. Block 4 registers of the starting address is designed to store the address that defines the beginning of the fragment of the program required for viewing the program by the operator. The address is entered in the register 40 and transmitted to the output of the comparison unit 5 through the bus driver 41 using control signals from the microcomputer, which are fed to the device mode control inputs 16, 17, 18, 19 in accordance with the algorithm (Fig. 9). The width of the register 40 is determined by the width of the address buses of the controlled device, which are connected to the address input 9 of the device.

Блок 5 сравнения предназначен для сравнения текущего адреса контролируемого устройства, который поступает на вторую группу информационных входов A схемы 43 сравнения через адресный вход устройства, и заданного адреса, который поступает на первую группу информационных входов B схемы 43 сравнения с информационного выхода 12 блока 4 регистров начального адреса. При сравнении адресов схема 43 сравнения выдает импульс на вход установки RS-триггера 45, сигнал с выхода которого передается на выход 23 равенства операндов блока 5 сравнения в блок 7 выбора номера, который разрешает проход тактовых сигналов с выхода 26 строба состояний блока 3 мультиплексоров в определенный момент. Comparison unit 5 is intended for comparing the current address of the monitored device, which is supplied to the second group of information inputs A of the comparison circuit 43 through the device's address input, and the specified address, which is fed to the first group of information inputs B of the comparison circuit 43 from the information output 12 of the initial register block 4 addresses. When comparing the addresses, the comparison circuit 43 gives a pulse to the input of the RS-flip-flop setup 45, the signal from the output of which is transmitted to the output 23 of the equality of the operands of the comparison unit 5 to the number selection unit 7, which allows the passage of clock signals from the output 26 of the state strobe of the unit 3 of multiplexers to a certain moment.

Блок 6 оперативной памяти предназначен для запоминания фрагмента программы, которая запускается в контролируемом устройстве в реальном масштабе времени, т. е. текущей информации, поступаемой от контролируемого устройства через адресный вход 9 и вход 10 данных устройства на информационный вход-выход оперативной памяти 47.1 и 47. m в моменты, определяемые сигналами с выхода 26 строба состояний блока 3 мультиплексоров и с выхода 29 разрешения записи блока 7 выбора через элементы И 50.2 и ИЛИ-НЕ 51 а тактовый вход счетчика 48 для считывания занесенной текущей информации, поступаемой из блока 6 оперативной памяти через вход-выход оперативной памяти 47.1 и 47. m на первую и вторую группы информационных входов блока 1 регистров текущего адреса и данных в моменты, определяемые сигналом управления от микроЭВМ, в соответствии с алгоритмом (фиг. 9) через управляющий вход 20 устройства, а именно через элементы И 50.2, ИЛИ-НЕ 51 на тактовый вход счетчика 48 и через элеметы И 50.2, ИЛИ-НЕ 51 и ИЛИ 49 на вход разрешения записи-чтения оперативной памяти 47.1 и 47. m, а также для формирования сигнала "Буфер заполнен" с выхода переноса счетчика 48 через IK-триггер 52, поступаемый на первый выход признака заполнения буфера блока 6 оперативной памяти, и для формирования сигнала "Запрет", поступаемый с выхода переноса счетчика 48 через элемент И 50.1 на второй выход 27 блока 6 оперативной памяти. Разрядность оперативной памяти 47.1 и 47. m определяется разрядностью адресных шин и шин данных контролируемого устройства, которые подключаются к адресному входу 9 и входу 10 данных устройства. The RAM block 6 is designed to store a fragment of a program that runs in a controlled device in real time, i.e., current information received from the controlled device through address input 9 and input 10 of the device data to the information input / output of RAM 47.1 and 47 .m at the moments determined by the signals from the output 26 of the state strobe of the unit 3 of the multiplexers and from the output 29 of the recording permission of the selection unit 7 through the AND 50.2 and OR NOT 51 elements and the clock input of the counter 48 for reading the recorded tech data from the block 6 of the RAM through the input-output of random access memory 47.1 and 47. m to the first and second groups of information inputs of block 1 of the registers of the current address and data at the moments determined by the control signal from the microcomputer, in accordance with the algorithm (Fig. 9) through the control input 20 of the device, namely through the AND 50.2, OR NOT 51 elements to the clock input of the counter 48 and through the AND 50.2, OR NOT 51 and OR 49 elements to the write-read permission input of the RAM 47.1 and 47. m , as well as for the formation of the signal "Buffer full" from the output p tolerated by the counter 48 via IK-trigger 52 arrives at the first output characteristic filling buffer RAM unit 6, and for generating a signal "ban" supplied from the counter 48 through the transfer element and the output 50.1 to a second output 27 of memory block 6. The width of the RAM 47.1 and 47. m is determined by the width of the address buses and data buses of the monitored device, which are connected to the address input 9 and input 10 of the device data.

Информационная емкость оперативной памяти 47.1 и 47. m определяется максимальным объемом памяти, необходимой для заполнения требуемого фрагмента программы. The informational capacity of the RAM 47.1 and 47. m is determined by the maximum amount of memory required to fill the required fragment of the program.

Блок 1 регистров текущего адреса и данных представляет собой восьмиразрядные регистры сдвига типа К555ИР13. Block 1 of the registers of the current address and data are eight-bit shift registers of the type K555IR13.

Блок 4 регистров начального адреса представляет собой восьмиразрядные регистры сдвига типа К555ИР13 и восьмиразрядные шинные формирователи типа 580ВА86. Block 4 registers of the starting address are eight-bit shift registers of type K555IR13 and eight-bit bus shapers of type 580BA86.

В качестве схемы 43 сравнения блока 5 сравнения могут быть использованы схемы сравнения типа 555СП1. As comparison circuit 43 of comparison unit 5, comparison circuits of type 555SP1 may be used.

Оперативная память 47.1 и 47. m блока 6 оперативной памяти представляет собой ОЗУ статистического типа емкостью (например, 1К110) 132РУЗ, а в качестве счетчика 48 может быть использована микросхема типа 555ИЕ7 (четырехразрядный асинхронный счетчик). The RAM 47.1 and 47. m of the RAM block 6 is a statistical type RAM with a capacity (for example, 1K110) 132RUZ, and a chip type 555IE7 (four-bit asynchronous counter) can be used as counter 48.

В качестве схемы 46 может быть использован одновибратор 555АГЗ. As a circuit 46, a single-shot 555AGZ can be used.

В блоке 7 выбора номера могут быть применены индикаторы 57 типа ЗЛСЗ41. In block 7, the selection of numbers can be applied indicators 57 type ZLSZ41.

Устройство предназначено для визуального контроля исполнения программ контролируемого устройства, построенного на базе микропроцессоров К680ВМ80А, КР1821ВМ85А, КР180ВМ86, а также для контролируемых устройств, построенных на базе микропроцессорных комплектов 1802, 1804, 589 (см. Справочник. Цифровые и аналоговые интегральные микросхемы. / Под ред. С. В. Якубовского. : Радио и связь, 1990, разделы 3.2, 3.6, 3.7, 3.8). The device is intended for visual control of the execution of programs of a controlled device built on the basis of microprocessors K680VM80A, KR1821VM85A, KR180VM86, as well as for controlled devices built on the basis of microprocessor sets 1802, 1804, 589 (see. Reference. Digital and analog integrated circuits. / Ed. S.V. Yakubovsky.: Radio and communications, 1990, sections 3.2, 3.6, 3.7, 3.8).

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

Для приведения устройства визуального контроля исполнения программ в исходное состояние на вход сброса блока 1 регистров текущего адреса и данных, блока 4 регистров начального адреса, блока 6 оперативной памяти, на первый вход сброса блока 5 сравнения и блока 6 оперативной памяти подается сигнал "Сброс + Начальная установка" с выхода 22 начальной установки блока 2 задания режимов, который формируется после включения электропитания устройства с выхода RC-цепочки 31, 36 или путем нажатия оператором кнопочного переключателя 35. To bring the visual control device for program execution to its initial state, the reset input of block 1 of the current address and data registers, block 4 of the start address registers, RAM block 6, the signal "Reset + Initial" is sent to the first reset input of comparison block 5 and RAM block 6 installation "from the output 22 of the initial installation of the mode setting unit 2, which is formed after turning on the device’s power supply from the output of the RC chain 31, 36 or by pressing the button switch 35 by the operator.

В результате регистры 30 и 40 сдвигы блоков 1 и 4 регистров текущего адреса и данных и регистров начального адреса устанавливаются в первоначальное состояние, на выходе IK-триггера 58 блока 7 выбора номера формируется сигнал запрета результирующей тактовой последовательности состояний, который поступает через выход 29 равенства операндов на первый вход элемента И 50.2 блока 6 оперативной памяти, на выходе IK-триггера 52 которого формируется сигнал разрешения записи, который по свертке ИЛИ 49 с сигналом с выхода элемента ИЛИ-НЕ 51 поступает на вход разрешения записи оперативной памяти 47, на инверсном выходе IK-триггера 52 блока формируется сигнал отсутствия "Заполнения буфера", который поступает на первый выход 24 признака заполнения буфера блока 6 оперативной памяти, на выходах счетчика 48 блока появляется начальный код адреса оперативной памяти 47, который формируется по сигналу начальной установки, поступающему на вход разрешения параллельной загрузки счетчика с выхода элемента И 50.1. As a result, registers 30 and 40, the shifts of blocks 1 and 4 of the registers of the current address and data and registers of the starting address are set to the initial state, at the output of the IK trigger 58 of the number selection block 7, a prohibition signal of the resulting state clock sequence is generated, which comes through the output 29 of the operand equality to the first input of the AND element 50.2 of the RAM block 6, at the output of the IK-trigger 52 of which a write permission signal is generated, which, by convolution OR 49 with the signal from the output of the OR-NOT 51 element, goes to the input solving the recording of RAM 47, at the inverse output of the IK-trigger 52 of the block, the signal is absent "Fill buffer", which is fed to the first output 24 of the sign of filling the buffer of block 6 of the RAM, the initial code of the address of the RAM 47 appears on the outputs of the counter 48 of the block, which is formed by the signal of the initial installation received at the input of the resolution of the parallel counter download from the output of the And 50.1 element.

Устройство работает в двух режимах: в режиме записи фрагмента программы адреса, когда данные поступают в блок 6 оперативной памяти с выходов контролируемого устройства в реальном масштабе времени через адресный вход 9 и вход 10 данных устройства; в режиме считывания информации из блока 6 оперативной памяти в микроЭВМ с информационного выхода блока 1 регистров текущего адреса и данных через выход 21 подтверждения наличия сигнала устройства. The device operates in two modes: in the recording mode of a fragment of the address program, when data arrives in the RAM block 6 from the outputs of the monitored device in real time through address input 9 and input 10 of the device data; in the mode of reading information from block 6 of the RAM in the microcomputer from the information output of block 1 of the registers of the current address and data through output 21 confirming the presence of the signal of the device.

Первый и второй режимы выполняют совместно. Разделение этих режимов во времени решается аппаратурой устройства и сигналами управления, поступающими с выходов микроЭВМ на управляющие входы 13-20 устройства. The first and second modes are performed together. The separation of these modes in time is solved by the device equipment and control signals from the outputs of the microcomputer to the control inputs 13-20 of the device.

Управление блоками 1, 4, 6 регистров текущего адреса и данных, регистров начального адреса и оперативной памяти осуществляется от управляющих выходов микроЭВМ, которые подключены к управляющим входам 13-20 устройства в соответствии с алгоритмом, который представлен на фиг. 9. Blocks 1, 4, 6 of the registers of the current address and data, registers of the starting address and RAM are controlled from the control outputs of the microcomputer, which are connected to the control inputs of the device 13-20 in accordance with the algorithm shown in FIG. 9.

Начальный адрес произвольного фрагмента программы подается последовательно на информационный вход для сдвига влево регистра 40 сдвига блока 4 регистров начального адреса через управляющий вход 19 устройства в сопровождении управляющих сигналов, поступающих на тактовый вход, первый и второй входы выбора режима регистра 40 через управляющие входы 16, 17, 18 устройства в соответствии с фиг. 9а. Начальный адрес запоминается в регистре 40 сдвига и передается при его переходе в режим хранения на выходе шинного формирователя 41 за счет формирования сигнала с выхода элемента ИЛИ 42, на первый и второй входы которого поступают сигналы разрешения с управляющих входов 17, 18 устройства. Начальный адрес с выхода 12 блока 4 регистров начального адреса поступает на первую группу информационных входов блока 5 сравнения, на вторую группу информационных входов которого передается текущий адрес с адресных выходов контролируемого устройства через адресный вход 9 устройства. При сравнении кодов адреса, присутствующих на первом и втором информационных входах схемы 43 сравнения, на ее выходе формируется сигнал, который поступает на вход установки RS-триггера 45 и инверсный вход одновибратора 46, вырабатывающего импульс по адресу определенной длительности. С выхода RS-триггера 45 через выход 23 равенства операндов и с выхода одновибратора 46 через выход 25 сигналы поступают соответственно на вход загрузки и тактовый вход счетчика 54 и переводят его в состояние подсчета n-многократно повторяющегося адреса, число повторений которого заранее выбрано оператором кнопочными переключателями 55, загружено в обратном коде в счетчик 54 через счетчик 53 и высвечено на индикаторах 57 через резисторную сборку 56. При подсчете n-адреса на выходе переноса счетчика 54 формируется признак переноса, который через элемент И 50.2 поступает на тактовый вход IK-триггера 58. С выхода последнего формируется признак разрешения записи, который через выход 29 блока 7 поступает на первый вход элемента И 50.2 и разрешает проход сигналов результирующей тактовой последовательности состояний. Эта последовательность поступает с выхода 26 блока 3 мультиплексоров, на вторую группу входов состояний и строба которого подаются сигналы с выхода состояний и с выхода синхронизации контролируемого устройства через группу входов 8 устройства. The starting address of an arbitrary fragment of the program is fed sequentially to the information input for shifting to the left of shift register 40 of block 4 of the starting address registers through the control input 19 of the device, accompanied by control signals received at the clock input, the first and second inputs of register mode selection 40 through control inputs 16, 17 18 of the device according to FIG. 9a. The starting address is stored in the shift register 40 and transmitted when it enters the storage mode at the output of the bus driver 41 by generating a signal from the output of the OR element 42, the first and second inputs of which receive permission signals from the control inputs 17, 18 of the device. The starting address from the output 12 of the block 4 registers of the starting address goes to the first group of information inputs of the comparison unit 5, the second group of information inputs of which the current address is transmitted from the address outputs of the monitored device through the address input 9 of the device. When comparing the address codes present on the first and second information inputs of the comparison circuit 43, a signal is generated at its output, which is fed to the installation input of the RS flip-flop 45 and the inverse input of the single-shot 46, which generates a pulse at an address of a certain duration. From the output of the RS-flip-flop 45 through the output 23 of the equality of operands and from the output of the single-shot 46 through the output 25, the signals are respectively sent to the download input and the clock input of the counter 54 and put it into the counting state of an n-repeatedly repeating address, the number of repetitions of which is preselected by the operator using the push-button switches 55, loaded in the reverse code into the counter 54 through the counter 53 and highlighted on the indicators 57 through the resistor assembly 56. When counting the n-address at the transfer output of the counter 54, a transfer sign is formed, which through And 50.2 tonnes fed to the clock input IK-flop 58. The output of the last sign is generated write enable which, via output unit July 29 to a first input of AND 50.2 and permit passage of the resulting clock signal of a sequence. This sequence comes from the output 26 of the unit 3 of multiplexers, to the second group of state inputs and strobe of which signals from the state output and from the synchronization output of the controlled device through the group of inputs of the device 8 are supplied.

Состояние процессора контролируемого устройства меняется с каждым его внутренним тактом. Следовательно, на второй группе входов состояний блока 3 мультиплексоров формируется последовательность импульсов, соответствующая определенным моментам работы контролируемого устройства (обращение за первым байтом, т. е. за командой из ПЗУ, обращение к оперативной памяти, обращение к оперативной памяти, обращение к внешним устройствам и т. д. ). Все сформированные последовательности состояний поступают на входы элементов 37.1 . . . 37. n блока 3 мультиплексора, однако на их выходы проходят лишь те, которые выбраны оператором при помощи переключателей 34.1 . . . 34n блока 2 задания режимов. После свертки по ИЛИ 38.1 . . . 38n с синхросигналом, поступающим на вход элементов ИЛИ 38.1 . . . 38n от контролируемого устройства, а затем после их свертки по И 39 результирующая тактовая последовательность поступает на выход 26 блока 3 мультиплексоров. The processor state of the monitored device changes with each of its internal clock cycles. Therefore, on the second group of state inputs of block 3 of multiplexers, a pulse sequence is formed corresponding to certain moments of the controlled device (accessing the first byte, i.e., a command from ROM, accessing RAM, accessing RAM, accessing external devices and etc.). All generated sequences of states go to the inputs of the elements 37.1. . . 37. n block 3 of the multiplexer, however, only those selected by the operator using the switches 34.1 pass to their outputs. . . 34n block 2 mode settings. After convolution by OR 38.1. . . 38n with a clock signal input to the elements OR 38.1. . . 38n from the controlled device, and then after their convolution according to AND 39, the resulting clock sequence is output 26 of the block 3 multiplexers.

Адреса и данные текущего фрагмента программы поступают с выходов контролируемого устройства через адресный вход 9 и вход 10 данных устройств на первую и вторую группы входов-выходов блока 6 оперативной памяти. Addresses and data of the current fragment of the program come from the outputs of the controlled device through the address input 9 and input 10 of these devices to the first and second groups of inputs and outputs of block 6 of RAM.

Адреса и данные записываются в оперативную память 47.1 и 47. m результирующей тактовой последовательностью сигналов состояний с выхода 26 строба состояний, которая поступает на второй вход элемента И 50.2. Выход элемента И 50.2 подключен к первому входу элемента ИЛИ-НЕ 51, с выхода которого сигнал поступает через элемент ИЛИ 49 на вход разрешения записи в оперативную память 47 и одновременно этот сигнал поступает на тактовый вход счетчика 48, по положительному перепаду которого выбирается следующий адрес оперативной памяти 47 блока 6 оперативной памяти. После заполнения буфера оперативной памяти 47 информацией текущего фрагмента программы сигнал с выхода переноса счетчика 48 через элемент И 50.1 поступает на тактовый вход IK-триггера 52, с прямого выхода которого через элемент ИЛИ 49 формируется сигнал разрешения считывания с оперативной памяти 47 и с инверсного выхода которого формируется сигнал "Буфер заполнен". Последний поступает через выход 24 признака заполнения буфера блока 6 оперативной памяти на информационный вход блока 1 регистров текущего адреса и данных, с выхода 21 признака активности информации которого сигнал передается на вход подтверждения микроЭВМ в соответствии с алгоритмом на фиг. 9б. Addresses and data are recorded in the RAM 47.1 and 47. m by the resulting clock sequence of state signals from the output 26 of the state strobe, which is fed to the second input of the And 50.2 element. The output of the AND 50.2 element is connected to the first input of the OR-NOT 51 element, from the output of which the signal enters through the OR element 49 to the write enable input to the RAM 47 and at the same time this signal goes to the clock input of the counter 48, from which the next operational address is selected memory 47 block 6 of RAM. After filling the RAM buffer 47 with information of the current program fragment, the signal from the transfer output of the counter 48 through the And 50.1 element goes to the clock input of the IK-trigger 52, from the direct output of which through the OR element 49 a read permission signal is generated from the RAM 47 and from the inverse output of which The signal "Buffer full" is generated. The latter enters through the output 24 of the sign of filling the buffer of the block 6 of the random access memory to the information input of the block 1 of the registers of the current address and data, from the output 21 of the sign of information activity of which the signal is transmitted to the confirmation input of the microcomputer in accordance with the algorithm in FIG. 9b.

По формировании сигнала "Буфер заполнен" осуществляется переход устройства в режим считывания информации в микроЭВМ. Upon the formation of the signal "Buffer full", the device is switched to the mode of reading information in the microcomputer.

По выходам управления микроЭВМ через входы 13, 14, 15 управления устройства передаются управляющие сигналы на тактовый вход выбора режима регистра 30 сдвига блока 1 регистров текущего адреса и данных и через вход на второй вход элемента ИЛИ 49, с выхода которого сигнал поступает на тактовый вход счетчика 48. Информация считывается с первой и второй групп выходов-входов блока 6 оперативной памяти в блок 1 регистров текущего адреса и данных, запоминается в регистре 30 сдвига и передается последовательно с его информационного выхода 21 на вход подтверждения микроЭВМ, где запоминается в определенном массиве A в соответствии с алгоритмом на фиг. 9в. С выхода управления микроЭВМ через управляющий вход 20 устройства на тактовый вход блока 6 оперативной памяти поступает сигнал, по положительному переносу которого с выхода счетчика 48 выбирается следующий адрес оперативной памяти 47, с первой и второй групп выходов-входов блока 6 оперативной памяти информация считывается как описано выше в соответствии с алгоритмом на фиг. 9в. At the microcomputer control outputs, control signals are transmitted to the device control inputs 13, 14, 15 to the clock input of the mode selection of the shift register 30 of block 1 of the registers of the current address and data and through the input to the second input of the OR element 49, from the output of which the signal goes to the clock input of the counter 48. Information is read from the first and second groups of outputs of the block 6 of RAM into block 1 of the registers of the current address and data, is stored in the register 30 of the shift and transmitted sequentially from its information output 21 to the input confirm waiting for the microcomputer, where it is stored in a specific array A in accordance with the algorithm in FIG. 9th century From the control output of the microcomputer through the control input 20 of the device, a signal is received to the clock input of the RAM block 6, the next address of the RAM 47 is selected from the output of the counter 48, the information is read from the first and second groups of outputs and inputs of the RAM block 6 as described above in accordance with the algorithm of FIG. 9th century

Информация, занесенная в массив A микроЭВМ, может быть рассмотрена с любого адреса фрагмента текущей программы как в прямом, так и в обратном направлении отсчета адреса начала и конца. Следовательно, нет необходимости в блоке регистров коничного адреса устройства для визуального контроля исполнения программы. Information recorded in array A of the microcomputer can be viewed from any address of a fragment of the current program, both in the forward and in the opposite direction of the reference address. Therefore, there is no need for a block of registers of the conical address of the device for visual control of program execution.

Технико-экономические преимущества заявляемого технического решения - расширение функциональных возможностей предложенного устройства за счет обеспечения сохранения произвольного фрагмента исследуемой программы, возможности многократного просмотра хода программы и контроля произвольной информации (в том числе адреса, данных) определяется совокупностью используемых в устройстве технических средств и новой организацией связей. Technical and economic advantages of the proposed technical solution - expanding the functionality of the proposed device by ensuring the preservation of an arbitrary fragment of the program under study, the ability to repeatedly view the program progress and control arbitrary information (including address, data) is determined by the combination of technical means used in the device and the new organization of relations .

Заявляемое техническое решение обеспечивает сокращение затрат реального времени при контроле исполнения программ контролируемого устройства, в частности для НМЛЕС5740 со встроенным системным контроллером. Эффективность заявляемого технического решения вытекает из расчетных данных, подтверждающих сокращение затрат реального времени. The claimed technical solution provides a reduction in real-time costs when monitoring the execution of programs of a controlled device, in particular for NMLES5740 with an integrated system controller. The effectiveness of the proposed technical solution arises from the calculated data confirming the reduction of real-time costs.

Claims (1)

УСТРОЙСТВО ДЛЯ ВИЗУАЛЬНОГО КОНТРОЛЯ ИСПОЛНЕНИЯ ПРОГРАММ, содержащее блок управления, блок регистров текущего адреса и данных, блок задания режимов, блок мультиплесоров, блок регистров начального адреса, блок сравнения, причем группа выходов блока задания режимов соединена с группой управляющих входов блока мультипликаторов, группа информационных выходов блока регистров начального адреса подключена к первой группе информационных входов блока сравнения, отличающееся тем, что, в устройство введены блок оперативной памяти, блок выбора номера адреса, причем первая и вторая группы входов-выходов блока оперативной памяти соединены с входами соответственно адреса и данных устройства для подключения к выходам адреса и данных контролируемого устройства, причем первая группа входов-выходов блока оперативной памяти подключена к первой группе информационных входов блока регистров текущего адреса и данных и к второй группе информационных входов блока сравнения, вторая группа входов-выходов блока оперативной памяти соединена с второй группой информационных входов блока регистров текущего адреса и данных, группа входов управления режимом которого, группа входов управления режимом блока регистров начального адреса, первый тактовый вход блока оперативной памяти подключены к соответствующим выходам блока управления, информационный вход блока регистров текущего адреса и данных соединен с входом признака, активности информации блока управления, выход начальной установки блока задания режимов подключен к входам сброса блока регистров текущего адреса и данных и блока регистров начального адреса, к первым входам управления режимом блока сравнения, блока оперативной памяти и блока выбора номера адреса, второй вход управления режимом которого соединен с первым выходом блока сравнения, выход признака заполнения буфера блока оперативной памяти подключен к информационному входу блока регистров текущего адреса и данных, второй выход блока сравнения подключен к тактовому входу блока выбора номера адреса, второй тактовый вход блока оперативной памяти соединен с выходом блока мультиплексоров, вторая группа входов которого является группой входов синхронизации состояний устройства для подключения к выходам синхронизации и состояний контролируемого устройства, выход признака запрета блока оперативной памяти подключен к второму входу управления режимом блока сравнения, третий выход которого соединен с третьим входом управления режимом блока выбора номера адреса, выход которого подключен к второму входу управления режимом блока оперативной памяти, причем блок выбора номера адреса содержит первый и второй счетчики, узел переключателей, узел индикаторов, JK-триггер, элемент И, первый вход которого и вход загрузки второго счетчика являются вторым входом управления режимом блока выбора номера адреса, второй вход элемента И соединен с выходом переноса второго счетчика, тактовый вход которого подключен к тактовому входу блока выбора номера адреса, информационные входы второго счетчика соединены с выходами первого счетчика и входами узла индикаторов, тактовые входы первого счетчика соединены с выходами узла переключателей, входы загрузки первого счетчика соединены с первым входом управления режимом блока выбора номера адреса, входы сброса первого и второго счетчика и K-вход JK-триггера соединены с шиной нулевого потенциала устройства, причем J-вход JK-триггера подключен к шине единичного потенциала устройства, вход сброса JK-триггера соединен с третьим входом управления режимом блока выбора номера адреса тактовый вход JK-триггера соединен с выходом элемента И, инверсный выход JK-триггера является выходом блока выбора номера адреса. DEVICE FOR VISUAL CONTROL OF PROGRAM EXECUTION, comprising a control unit, a block of registers of the current address and data, a block of mode settings, a block of multiplesors, a block of registers of the starting address, a comparison block, and the group of outputs of the block of mode settings is connected to the group of control inputs of the block of multipliers, a group of information outputs block of registers of the starting address is connected to the first group of information inputs of the comparison unit, characterized in that, the device has a RAM block, a selection block n a measure of the address, and the first and second groups of inputs and outputs of the RAM block are connected to the inputs of the address and data of the device for connecting to the outputs of the address and data of the monitored device, and the first group of inputs and outputs of the RAM block is connected to the first group of information inputs of the register block of the current addresses and data to the second group of information inputs of the comparison unit, the second group of inputs and outputs of the RAM block is connected to the second group of information inputs of the reg the current address and data, the group of control mode inputs of which, the group of control mode inputs of the block of registers of the starting address, the first clock input of the block of RAM are connected to the corresponding outputs of the control block, the information input of the block of registers of the current address and data is connected to the sign input, activity of the information of the block control, the output of the initial installation of the mode setting block is connected to the reset inputs of the block of registers of the current address and data and the block of registers of the starting address, to the first input m control the mode of the comparison block, the RAM block and the address number selection block, the second mode control input of which is connected to the first output of the comparison block, the output of the buffer block filling indicator is connected to the information input of the register block of the current address and data, the second output of the comparison block is connected to the clock input of the address number selection block, the second clock input of the RAM block is connected to the output of the multiplexer block, the second group of inputs of which is a group of inputs with synchronization of device states for connecting to the synchronization outputs and states of the monitored device, the output of the prohibition sign of the RAM block is connected to the second mode control input of the comparison unit, the third output of which is connected to the third mode control input of the address number selection unit, the output of which is connected to the second mode control input RAM, and the address number selection block contains the first and second counters, a switch node, an indicator node, a JK trigger, an AND element, a first the first input of which and the boot input of the second counter are the second control input mode of the address number selection block, the second input of the AND element is connected to the transfer output of the second counter, the clock input of which is connected to the clock input of the address number selection block, the information inputs of the second counter are connected to the outputs of the first counter and inputs of the indicator node, the clock inputs of the first counter are connected to the outputs of the switch node, the boot inputs of the first counter are connected to the first input of the control unit mode selection block nom Address range, reset inputs of the first and second counter and K-input of the JK-trigger are connected to the bus of the potential zero of the device, the J-input of the JK-trigger is connected to the unit potential bus, the reset input of the JK-trigger is connected to the third mode control input of the selection block address numbers, the clock input of the JK trigger is connected to the output of the And element, the inverse output of the JK trigger is the output of the address number selection block.
SU5014117 1991-11-14 1991-11-14 Device for visual control of program execution RU2012044C1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU5014117 RU2012044C1 (en) 1991-11-14 1991-11-14 Device for visual control of program execution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU5014117 RU2012044C1 (en) 1991-11-14 1991-11-14 Device for visual control of program execution

Publications (1)

Publication Number Publication Date
RU2012044C1 true RU2012044C1 (en) 1994-04-30

Family

ID=21590324

Family Applications (1)

Application Number Title Priority Date Filing Date
SU5014117 RU2012044C1 (en) 1991-11-14 1991-11-14 Device for visual control of program execution

Country Status (1)

Country Link
RU (1) RU2012044C1 (en)

Similar Documents

Publication Publication Date Title
RU2012044C1 (en) Device for visual control of program execution
SU1511749A1 (en) Device for monitoring multiplexors
SU985827A1 (en) Buffer memory device
SU955210A1 (en) Memory unit checking device
SU1136191A2 (en) Device for recognition of defects of images of objects
SU1328830A1 (en) Device for shaping symptoms of images being recognized
SU1365097A1 (en) Device for forming data array
SU1650090A1 (en) Device for psychologic studies
JPS6329226B2 (en)
SU1553927A1 (en) Apparatus for checking correct connection of electric wiring
SU643975A1 (en) Reversible shifting register
SU1310898A1 (en) Storage
SU363971A1 (en) DEVICE FOR INDICATING ELECTRICAL SIGNALS
RU1783554C (en) Device for determination coordinates of image center
SU1677673A1 (en) Apparatus for detecting emergency condition parameters
SU832598A1 (en) Buffer storage device
SU396704A1 (en) DEVICE FOR THE SELECTION OF TAKT IN THE CONTROL SYSTEMS OF LIGHT-FORMING SIGNALS
SU900286A1 (en) Device for checking digital systems
SU1087962A1 (en) Device for checking parameters
SU1705874A1 (en) Device for checking read/write storages
SU1305757A1 (en) Device for training memory of trainee
SU1275455A2 (en) Device for controlling data outuput in start-stop mode
SU1038926A1 (en) Test setting device
SU1725394A1 (en) Counting device
RU2024968C1 (en) Device for diagnostic inspection of playback channel of digital magnetic recording equipment