SU1621036A2 - Device for visual check of program execution - Google Patents
Device for visual check of program execution Download PDFInfo
- Publication number
- SU1621036A2 SU1621036A2 SU884389710A SU4389710A SU1621036A2 SU 1621036 A2 SU1621036 A2 SU 1621036A2 SU 884389710 A SU884389710 A SU 884389710A SU 4389710 A SU4389710 A SU 4389710A SU 1621036 A2 SU1621036 A2 SU 1621036A2
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- code
- counter
- decoder
- scale
- block
- Prior art date
Links
Abstract
Изобретение относитс к автома- ике и вычислительной технике и может быть использовано дл отладки программ в режиме реального времени. Цель изобретени состоит в повышении точности контрол . Устройство содержит регистры 1, 4, 5 и 6, блок 2 задани режима и адреса, мультиплексор 3, блок 7 сравнени , преобразователи 8, 13 код - напр жение, блок 9 индикации, генератор 10 линейно измен ющегос напр жени ,счетчик 11 и дешифратор 12. Цель изобретени достигаетс за счет формировани масштабной шкалы на блоке индикации,при помощи которой оператор достаточно быстро находит ошибки при отладке программ. 2 ил.The invention relates to automation and computing and can be used to debug programs in real time. The purpose of the invention is to improve the accuracy of the control. The device contains registers 1, 4, 5 and 6, a mode setting and address block 2, a multiplexer 3, a comparison block 7, converters 8, 13 code-voltage, an indication block 9, a linearly varying voltage generator 10, a counter 11 and a decoder 12. The purpose of the invention is achieved by forming a scale scale on the display unit, with which the operator quickly finds errors when debugging programs. 2 Il.
Description
Изобретение относится к автоматике и вычислительной технике и может быть использовано для отладки программ в режиме реального времени.The invention relates to automation and computer engineering and can be used to debug programs in real time.
Цель изобретения - повышение точности контроля.The purpose of the invention is to increase the accuracy of control.
На фиг.1 приведена структурная схема устройства; на фиг.2 - масштабная шкала блока индикации.Figure 1 shows the structural diagram of the device; figure 2 - scale scale of the display unit.
Устройство для визуального контроля исполнения программ содержит регистр 1 текущего адреса, блок 2 задания режимов и адреса, мультиплексор ί3, регистр 4 начального адреса, регистр 5 конечного адреса, регистр 6 состояний, блок 7 сравнения, первый преобразователь 8 код - напряжение, блок 9 индикации, генератор 10 линейно изменяющегося напряжения, счетчик 11, дешифратор 12, второй преобразователь 13 код - напряжение. Кроме того, на фиг,1 обозначены шина 14 адреса, вход 15 синхронизации устройства, вход 16 сигналов состояний, первый17 и второй 18 входы горизонтального отклонения блока 9 индикации, первый 19 и второй 20 входы вертикального отклонения блока. 9 индикации, информационные выходы 21 блока 2,первый 22 и второй 23 выхо-. цы блока 2, управляющий вход 24 мультиплексора 3.A device for visual control of program execution contains register 1 of the current address, unit 2 for setting modes and addresses, multiplexer ί3, register 4 for the start address, register 5 for the end address, register 6 states, unit 7 for comparison, the first converter 8 code is voltage, block 9 indication , a linearly varying voltage generator 10, a counter 11, a decoder 12, a second code-voltage converter 13. In addition, in FIG. 1, the address bus 14, the device synchronization input 15, the status signal input 16, the first 17 and second 18 horizontal deviation inputs of the indication unit 9, the first 19 and second 20 vertical deviation inputs of the block are indicated. 9 indications, information outputs 21 of block 2, first 22 and second 23 output. block 2, control input 24 of multiplexer 3.
Регистр 1 текущего адреса предназначен для запоминания текущего адреса в моменты, определяемые импульсами от мультиплексора 3. Его разрядность соответствует разрядности шины адреса ЭВМ. Блок 2 задания режима и адреса служит для набора адреса, управления регистрами 4 и 5, мультиплексором 3. Мультиплексор 3 предназначен для выработки управляющих импульсов во время исполнения программ.Register 1 of the current address is designed to store the current address at the moments determined by the pulses from the multiplexer 3. Its capacity corresponds to the capacity of the bus address of the computer. Unit 2 sets the mode and address is used to set the address, control registers 4 and 5, the multiplexer 3. The multiplexer 3 is designed to generate control pulses during program execution.
Регистры 4 и 5 начального и конечного адресов хранят .соответствующие адреса, определяющие начало и конец ’интересующего оператора фрагмента программы.Registers 4 and 5 of the start and end addresses store the corresponding addresses defining the beginning and end of the program fragment of interest to the operator.
Регистр 6 состояний предназначен для запоминания информации, характеризующей состояние процессора (выбор команды из ПЗУ, обращение к стеку, обращение к внешним устройствам и т.д.).The 6 state register is intended for storing information characterizing the state of the processor (selecting a command from the ROM, accessing the stack, accessing external devices, etc.).
Блок 7 сравнения осуществляет сравнение кодов текущего адреса t кодами начального и конечного адре· λ сов и вырабатьпзает прямоугольный импульс, длительность которого соответствует времени проверяемого фрагмента программы. Первый преобразователь 8 код - напряжение предназначен для превращения кода текущего адреса в аналоговый сигнал. Блок 9 индикации служит для графического отображения исполнения программ на первом луче и масштабной шкалы на втором луче. Генератор 10 линейно изменяющегося напряжения служит для создания вертикальной развертки первого луча индикатора 9 и вырабатывает пилообразный импульс напряжения, равный по длительности выходному импульсу блока 7 сравнения. Двоичный счетчик 1I осуществляет счет текущих адресов исполняемой программы. Дешифратор 12 служит для преобразовапия двоичного кода 'меток в позиционный код. Разрядность двоичного счетчика и дешифратора определяется необходимой длиной максимально выбранного фрагмента программы. Второй преобразователь 13 код - напряжение предназначен для преобразования позиционного кода меток в аналоговый сигнал.Comparison unit 7 compares the codes of the current address t with the codes of the start and end addresses · λ owls and generates a rectangular pulse whose duration corresponds to the time of the program fragment being checked. The first converter is 8 code - voltage is designed to convert the code of the current address into an analog signal. The indication unit 9 serves to graphically display the execution of programs on the first ray and the scale scale on the second ray. The linearly varying voltage generator 10 serves to create a vertical scan of the first beam of the indicator 9 and generates a sawtooth voltage pulse, equal in duration to the output pulse of the comparison unit 7. The binary counter 1I counts the current addresses of the executable program. Decoder 12 is used to convert binary code 'labels into positional code. The bit depth of the binary counter and decoder is determined by the required length of the maximum selected program fragment. The second Converter 13 code - voltage is designed to convert the positional code labels in the analog signal.
При появлении на выходе блока 7 сравнения импульсного сигнала,длительность которого равна времени перебора адресов от начального до конечного адресов выбранного фрагмента программы, генератор 10 линейно изменяющегося напряжения формирует пилообразный импульс напряжения, равный по длительности выходному импульсу блока 7 сравнения. Этет пилообразный импульс поступает на первый вход вертикального отклонения блока 9 индикации. При последовательном (без переходов) выполнении фрагментов программ на первом луче блока 9 индикации .будет наблюдаться прямая наклонная линия.When a pulse signal appears at the output of block 7 for comparing the pulse, the duration of which is equal to the enumeration time of addresses from the start to end addresses of the selected program fragment, the linearly varying voltage generator 10 generates a sawtooth voltage pulse equal in duration to the output pulse of the comparison block 7. This sawtooth pulse is fed to the first input of the vertical deflection of the display unit 9. With the sequential (without transitions) execution of program fragments on the first ray of the indication unit 9, a straight inclined line will be observed.
При исполнении программ с переходами внутри выбранного фрагмента на первом луче блока 9 индикации будет наблюдаться соответствующий рисунок программы.When executing programs with transitions inside the selected fragment, the corresponding program pattern will be observed on the first ray of the display unit 9.
Двоичный счетчик 11 обнулен сигналом с выхода 7 блока сравнения. Во время исполнения выбранного фрагмента программы сигнал обнуления снимается и счетчик 1 1 считает импульсы с выхода мультиплексора 3, соответствующие смене апресов исполняемой иро1621036 граммы. С выхода дешифратора 12, стро стробированного этими же импульсами, сигналы, соответствующие, например, кодам 5, 10, 20,..., поступают на входы второго преобразователя 13 код - напряжение вместе с импульсами с выхода мультиплексора 3.The binary counter 11 is reset to zero by the signal from the output 7 of the comparison unit. During the execution of the selected fragment of the program, the zeroing signal is removed and the counter 1 1 counts the pulses from the output of the multiplexer 3, corresponding to the change of addresses of the executed io1621036 grams. From the output of the decoder 12, strobe with the same pulses, the signals corresponding, for example, to codes 5, 10, 20, ..., are fed to the inputs of the second code converter 13 — voltage along with the pulses from the output of multiplexer 3.
Так, если на входы преобразователя 13 поступают сигналы с выхода мультиплексора 3 и дешифратора 12, то' при соответствующем выборе режима работы преобразователя113 на втором луче блока 9 индикации будет наблюдаться масштабная шкала, аналогичная делениям па масштабной линейке (фиг.2) .So, if the inputs of the converter 13 receive signals from the output of the multiplexer 3 and the decoder 12, then 'with the appropriate choice of the operating mode of the converter 1 13, a scale scale similar to the divisions on the scale bar will be observed on the second beam of the display unit 9 (Fig. 2).
Масштабная шкапа на втором луче блока 9 индикации позволяет легко определить адрес останова или неправильной ветви исполнения программы без многократного задания начального адреса программы. Поскольку в исполняемой программе могут быть обращения к ПЗУ, внешним устройствам, стандартным подпрограмм, то'масштаб по вертикальной оси известного устройства и по горизонтальной оси предлагаемого устройства блока 9 индикации будет неравномерным, однако в предлагаемом устройстве с помощью меток масштабной шкалы адреса неправильного исполнения программ определяются однозначно.The large-scale cabinet on the second beam of the display unit 9 makes it easy to determine the stop address or incorrect branch of the program execution without repeatedly setting the starting address of the program. Since the executable program may have access to ROMs, external devices, standard subprograms, the scale along the vertical axis of the known device and the horizontal axis of the proposed device of the indicating unit 9 will be uneven, however, in the proposed device, the addresses of incorrect program execution are determined using scale marks definitely.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU884389710A SU1621036A2 (en) | 1988-03-09 | 1988-03-09 | Device for visual check of program execution |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU884389710A SU1621036A2 (en) | 1988-03-09 | 1988-03-09 | Device for visual check of program execution |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU1260964A Addition SU304176A1 (en) | AMPHIBIA-ATV |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1621036A2 true SU1621036A2 (en) | 1991-01-15 |
Family
ID=21360197
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU884389710A SU1621036A2 (en) | 1988-03-09 | 1988-03-09 | Device for visual check of program execution |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1621036A2 (en) |
-
1988
- 1988-03-09 SU SU884389710A patent/SU1621036A2/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР ,Е 1260964, кл. G 06 F 11/32, 1984. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4736327A (en) | Data display method and apparatus | |
CA1172361A (en) | Logic analyzer for a multiplexed digital bus | |
SU1621036A2 (en) | Device for visual check of program execution | |
SU1275452A1 (en) | Device for debugging programs | |
SU815649A1 (en) | Device for measuring tensions on a discrete screen | |
KR0128219Y1 (en) | Program execution time measure circuit | |
SU570998A1 (en) | Unit for monitoring voltage-code, time delay-coden-discharge converters and arithmetic devices manipulating converted codes | |
SU934474A1 (en) | Programme-interrupting device | |
SU767809A1 (en) | Device for testing code-to-angle converter | |
SU1714651A1 (en) | Device for operators training | |
SU1001181A1 (en) | On-line storage monitoring device | |
SU656024A1 (en) | Programme-control device | |
SU1591015A1 (en) | Device for monitoring electronic units | |
SU892705A1 (en) | Device for automatic measuring of dynamic characteristics of quick-action analogue-digital converter | |
SU1223235A1 (en) | Device for checking program execution time | |
SU705452A1 (en) | Microprogram processor | |
SU1001183A1 (en) | Device for monitoring and measuring parameters of storage units | |
SU1589078A1 (en) | Device for measuring temperature | |
SU641490A1 (en) | Shaft angular position-to-code converter checking device | |
SU879611A2 (en) | Device for reading oscillograph records | |
SU734693A1 (en) | Device for functional testing of digital circuits | |
SU627469A1 (en) | Graphic information display | |
SU1013956A2 (en) | Logic circuit checking device | |
SU1201864A1 (en) | Device for checking working skills of operator of automated control system | |
SU1160583A1 (en) | Device for monitoring run of computational process |