SU1265774A1 - Device for time checking of input-output operations - Google Patents

Device for time checking of input-output operations Download PDF

Info

Publication number
SU1265774A1
SU1265774A1 SU843767715A SU3767715A SU1265774A1 SU 1265774 A1 SU1265774 A1 SU 1265774A1 SU 843767715 A SU843767715 A SU 843767715A SU 3767715 A SU3767715 A SU 3767715A SU 1265774 A1 SU1265774 A1 SU 1265774A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
counter
reset
trigger
Prior art date
Application number
SU843767715A
Other languages
Russian (ru)
Inventor
Александр Михайлович Ванзонок
Владимир Александрович Воронцов
Владислав Михайлович Пронин
Александр Григорьевич Рымарчук
Original Assignee
Предприятие П/Я М-5339
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 Предприятие П/Я М-5339 filed Critical Предприятие П/Я М-5339
Priority to SU843767715A priority Critical patent/SU1265774A1/en
Application granted granted Critical
Publication of SU1265774A1 publication Critical patent/SU1265774A1/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

Изобретение относитс  к вычислительной технике и может быть использовано дл  временного контрол  операций ввода-вьгаода в каналах ввода-вывода ЭВМ.The invention relates to computing and can be used to temporarily monitor input-output operations in computer input-output channels.

Цель изобретени  - увеличение полноты временного контрол  операций ввода-вывода.The purpose of the invention is to increase the completeness of the time control of I / O operations.

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

Устройство дл  временного контрол  операций ввода-вывода содержит счетчики 1-3, триггер 4, генератор 5 импульсов, элемент НЕ 6, элементы И 7-1, элементыИЛИ 12 и 13, коммутатор 14, первую 15 и-16 вторую входные шины, вход 17 автоматического режима и выход 18. The device for time control of I / O operations contains counters 1-3, trigger 4, generator 5 pulses, element NOT 6, elements AND 7-1, elements OR 12 and 13, switch 14, first 15 and-16 second input buses, input 17 auto mode and exit 18.

Перва  входна  шина 15 содержит линии сигналов, поступающих с блока управлени  каналом: 19 - сброс, 20 вьтолн етс  команда Начать ввод-вывод , 21 - вьтолн етс  цепочка команд , 22 - микропрограммный сигнал, по которому вычитаетс  единица из второго счетчика 2, 23 - сигнал прерывани , 24 - микропрограммный сброс.The first input bus 15 contains the lines of the signals coming from the channel control unit: 19 - reset, 20 the Start I / O command completes, 21 - the command chain is completed, 22 is the microprogram signal, from which the unit is subtracted from the second counter 2, 23 - interrupt signal, 24 - firmware reset.

Втора  входна  шина 16 содержит линии сигналов, поступающих с блока управлени  интерфейсом: 25 - сигнал начальной выборки, 26 - УПР-А (управление абонета), 27 - нуль на DMH-A (состо ние абонента).The second input bus 16 contains the signal lines coming from the interface control unit: 25 - initial sampling signal, 26 - UPR-A (subscriber control), 27 - zero to DMH-A (subscriber state).

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

Перва  входна  шина 15 подключаетс  к блоку управлени  каналом, втора  входна  шина 16. - к блоку управлени  интерфейсом, вход 17 - к пульту инженера, а вьгход 18 - к блоку управлени  каналом. Коммутатор 14 представл ет Собой мультиплексор, информационные входы которого соединены с выходами определенных разр дов третьего счетчика 3, а коммутаци  адресных входов перемычками позвол ет получить импульсы счета с разным периодом , например 1, 3, 10, 30 с и т.д. После сброса системы (сигнал 19 входной шины 15) счетчики 1 и 2 обнулены , триггер 4 сброшен. Нулевое состо ние счетчика 2 блокирует прохождение импульсов счета через элемент И 7 на вход счетчика 1.The first input bus 15 is connected to the channel control unit, the second input bus 16 is connected to the interface control unit, the input 17 is connected to the engineer console, and the starter 18 is connected to the channel control unit. The switch 14 represents the multiplexer itself, the information inputs of which are connected to the outputs of certain bits of the third counter 3, and switching the address inputs by jumpers allows to receive counting pulses with different periods, for example 1, 3, 10, 30 s, etc. After the system has been reset (input bus 15 signal 19), counters 1 and 2 are reset, trigger 4 is reset. The zero state of the counter 2 blocks the passage of the counting pulses through the element 7 to the input of the counter 1.

Кажда  операци  ввода-вывода начинаетс  по команде Начать ввод-вы- i вод, при этом возбуждена лини  20 входной шины 15. Если в начальнойEach I / O operation starts on the Start I / O command, and the line 20 of the input bus 15 is energized.

выборке периферийное устройство присылает нулевой начальный байт состо ни , то по совпадению сигналов 25-27 на входах элемента И 10 сигнал с егоthe peripheral device sends the zero initial status byte to the sample, then by coincidence of the signals 25-27 at the inputs of the element 10 the signal from its

выхода через элементы И 8 и ИЛИ 12 поступает на вход счетчика 1 и сбрасывает его и триггер 4. Сигнал с выхода элемента И 8 поступает также на вход счетчика 2, добавл   единицу. Содержимое счетчика 2 становитс  отличным от нул , и сигнал с выхода элемента ИЛИ 13 разрешает прохождение импульсов счета через элемент И 7 на вход счетчика 1. Последний начинает отсчитывать интервал времени , отведенный на вьшолнение операции ввода-вывода.output through the elements of AND 8 and OR 12 enters the input of counter 1 and resets it and the trigger 4. The signal from the output of the element And 8 is also fed to the input of counter 2, adding one. The contents of counter 2 become different from zero, and the signal from the output of the element OR 13 allows the passage of counting pulses through the element 7 to the input of counter 1. The latter begins to count the time interval allotted for the execution of the input-output operation.

Дл  контрол  операции ввода-вывода используетс  таблица в управл ющей пам ти. В таблице каждому адресу периферийного устройства соответствует строка, один бит которой используетс  дл  временного контрол  операций ввода-вывода. Микропрограмма , реализующа  команду Начать вводвывод , определив, что в начальной выборке получен нулевой начальный байт состо ни , устанавливает этот бит контрол  в единицу.A table in the control memory is used to control the I / O operation. In the table, each address of the peripheral device corresponds to a string, one bit of which is used to temporarily monitor I / O operations. The firmware implementing the Start I / O command, determining that a zero initial status byte has been received in the initial sample, sets this control bit to one.

Если операци  ввода-вывода выполн етс  с использованием цепочек команд , то каждый раз, когда вьшолн етс  начальна  выборка в цепочке ко-. манд, возбужден вход 21 входной пшныIf an I / O operation is performed using a chain of commands, then each time the initial sample in the chain is executed, the co-. mand, excited entrance 21 input pshny

5 15 и сигнал с выхода элемента И 10 через элементы И 9 и ИЛИ 12 вьтолн ет сброс счетчика 1 и триггера 4, после чего счетчик 1 начинает счет с нул .5 15 and the signal from the output of the element And 10 through the elements And 9 and OR 12 executes the reset of counter 1 and trigger 4, after which counter 1 starts counting with zero.

00

Вьтолнение операции ввода-вывода кончаетс  тем, что периферийное устройство присылает конечньй байт состо ни  с битом Устройство кончило.The accomplishment of the I / O operation ends with the fact that the peripheral device sends the final state byte with the bit The device has finished.

Когда канал принимает байт состо ни , в блоке управлени  каналом устанавливаетс  триггер прерывани , возбуждаетс  вход 23 первой входной шины 15 и сигнал с выхода элемента НЕ 6 бло0 кирует прохождение импульсов счёта на вход счетчика 1. Сигнал на входе 17 разрешает прохождение импульсов счета на вход счетчика 1 только в автоматическом режиме, если переключа5 тель режима работы стоит в положении Команда или 1 крокоманда, то работа устройства блокируетс , что удобно при наладочных работах. When the channel receives a status byte, an interrupt trigger is set in the channel control block, input 23 of the first input bus 15 is energized, and the signal from the output of the NOT element 6 blocks the passage of counting pulses to the input of counter 1. The signal at input 17 enables the passage of counting pulses to the counter 1 only in the automatic mode, if the switch of the operating mode is in the command or 1 co-ordinate position, the device is blocked, which is convenient during adjustment work.

Микропрограмма обработки прерывани  в канале анализирует бит контрол  в таблице дл  данного периферийного устройства и, если он установлен, анализирует байты состо ни  устройст ва и канала. Если она обнаруживает один из битов Устройство кончило, Сбой устройства, Нарушение защиты , Ошибка в программе, Сбой управлени  каналом, Сбой управлени  интерфейсом, то сбрасывает бит контрол  в таблице и вырабатывает сигнал на входе 22 входной шины 15, по которому из счетчика 2 вычитаетс  единица . Если в канале запущена одна oneраци  ввода-вывода, то после вычитани  из счетчика 2 единицы он обнул етс , что блокирует прохождение импульсов счета на вход счетчика 1. Если в канале запущено Несколько опера ций ввода-вывода (максимум 255) на разных периферийных устройствах, то количество их указано в счетчике 2, так как каждый раз, когда запускаетс  очередна  операци  ввода-вывода, состо ние счетчика 2 увеличиваетс  на единицу. Каждьйраз, когда одна из запущенных операций ввода-вывода заканчиваетс  (дл  нее обрабатываетс  прерывание), из содержимого счетчика 2 вычитаетс  единица.The channel processing interrupt microprogram analyzes the control bit in the table for this peripheral device and, if installed, analyzes the device status and channel bytes. If it detects one of the device bits, Device Crash, Device Failure, Security Violation, Program Error, Channel Control Failure, Interface Control Failure, then it clears the control bit in the table and generates a signal at input 22 of input bus 15, through which one is subtracted from counter 2 . If one channel of I / O is running on a channel, then after subtracting 2 units from the counter, it is zeroed out, which blocks the passage of counting pulses to counter 1. If several channel I / O operations are running (maximum 255) on different peripheral devices, then their number is indicated in counter 2, since each time the next input / output operation is started, the state of counter 2 is increased by one. Every time one of the started I / O operations ends (an interrupt is processed for it), one is subtracted from the contents of counter 2.

ЕСЛИ по каким-то причинам за врем , отведенное дл  выполнени  операции ввод-вывода, она не закончена, сигнал переполнени  с выхода счетчика 1 устанавливает триггер %, сигнал с выхода которого в блоке управлени  каналом устанавливает запрос на микропрограммную приостановку. Далее выполн етс  микропрограмма обработки ситуации.IF for some reason, during the time allotted for performing an I / O operation, it is not finished, the overflow signal from the output of counter 1 sets the trigger%, the signal from the output of which in the channel control unit sets the request for microprogramming suspension. Next, the situation processing firmware is executed.

Возможны две ситуации.Two situations are possible.

А. Завис загруженный канал (устройство , логически подсоединенное к каналу, не выдало какой-то сигнал, ожидаемый каналом). В этом случае микропрограмма устанавливает бит Сбой управлени  интерфейсом, выполн ет регистрацию канала, селективный сброс на интерфейсе, устанавливает триггер прерывани  в блоке управлени  каналом, с выхода которого через элемент НЕ 6 блокирует прохождение импульсов счета на вход счетчика 1, вьтолн ет сброс счетчика 1 и триггера 4,,дл  чего возбуждает вход 24 входной шины 15 и выполн ет возврат к приостановленной микропрограмме.A. The loaded channel hangs (the device logically connected to the channel did not produce any signal expected by the channel). In this case, the firmware sets the interface failure control, performs channel registration, selective reset on the interface, sets the interrupt trigger in the channel control block, from which the output through the NOT 6 element blocks the passage of counting pulses to the input of counter 1, reset the counter 1 and trigger 4, for which excites input 24 of input bus 15 and performs a return to the suspended firmware.

Б. Канал свободен. Микропрограмма устанавливает триггер загрузки канала и триггер прерывани  в блоке управлени  каналом, сбрасывает счетчик 1 и триггер 4, дл  чего возбуждает вход 2Д входной шины 15 и вьтолн ет возврат к приостановленной микропрограмме .B. The channel is free. The firmware sets the channel load trigger and the interrupt trigger in the channel control block, resets counter 1 and trigger 4, for which it excites input 2D of the input bus 15 and eliminates the return to the suspended firmware.

Чтобы отыскать периферийное устройство , дл  которого операци  вводавывода не бьша закончена, микропрог рамма обработки прерывани  просматривает таблицу в управл ющей пам ти на предмет обнаружени  строки с установленным битом контрол . Обнаружив в таблице строку с установленным битом контрол , она сбрасывает этот бит, из адреса строки формирует адрес периферийного устройства5 дл  которого будет вьтолнено прерьшание, формирует соответствующий байт состо ни  устройства, записывает слово состо ни  канала и сбрасывает триггер прерывани  .In order to find a peripheral device for which the I / O operation has not been completed, the microprogram for interrupt processing scans the table in the control memory for the detection of a row with the control bit set. Having found a line in the table with the control bit set, it clears this bit, from the address of the line forms the address of the peripheral device5 for which the fault is filled, forms the corresponding device status byte, writes the channel status word and resets the interrupt trigger.

Claims (1)

Формула изобретени Invention Formula Устройство дл  временного контрол  операций ввода-вывода, содержащее триггер, первый элемент И первый элемент ИЛИ, генератор импульсов, первый счетчик, выход переполнени  которого соединен с единичным входом триггера, выход которого  вл етс  выходом устройства, нулевой вход триггера соединен с выходом первого элемента ИЛИ и с входом сброса первого счетчика, счетный вход которого соединен с выходом первого элемента И, первьй вход первого элемента ИЛИ соединен с входом сброса устройства, отличающеес  тем, что, с целью увеличени  полноты временного контрол  операций ввода-вывода, оно содержит второй и третий счетчики , коммутатор, второй элемент ИЛИ, второй, третий, четвертьй и п тый элементы И, элемент НЕ, причем первый вход первого элемента И соединен с выходом второго элемента ИЛИ, входы которого соединены с выходами второго счетчика, вход + которого соединен с выходом второго элемента И и с вторым входом первого элемента ИЛИ, третий вход которого соединен с выходом третьего элемента И, первый вход которого соединен с выходом четвертого элемента И и с первым вхо$ 12657746A device for time control of I / O operations containing a trigger, first element AND first element OR, a pulse generator, the first counter whose overflow output is connected to a single trigger input whose output is a device output, zero trigger input connected to the output of the first OR element and with the reset input of the first counter, whose counting input is connected to the output of the first element AND, the first input of the first element OR is connected to the reset input of the device, characterized in that, in order to increase completeness in belt control I / O operations, it contains the second and third counters, the switch, the second element OR, the second, third, fourth and fifth elements AND, the element is NOT, the first input of the first element AND is connected to the output of the second element OR whose inputs are connected with the outputs of the second counter, input + of which is connected to the output of the second element AND, and to the second input of the first element OR, the third input of which is connected to the output of the third element AND, the first input of which is connected to the output of the fourth element AND, and with the first input $ 12657746 дом второго элемента И, второй входго соединен с выходом элемента НЕ, которого соединен с входом Началовход которого соединен с входом преввода-вывода устройства, вход режи-рьшани  устройства, второй вход п тома которого соединен с вторым входомго элемента И  вл етс  входом автоматрхетьего элемента И, три входа чет-5 тического режима устройства, третий вертого элемента И соединены с трем вход п того элемента И соединен с вывходами признаков устройства, входходом коммутатора, информационные сброса операции устройства соединенвходы которого соединены с выходами с входом -1 второго счетчика, входтретьего счетчика, счетный вход котосброса которого соединен с входомЮ рого соединен с выходом генератора сброса устройства, второй вход перво-импульсов, четвертый вход первого го элемента И соединен с выходом п -элемента ИЛИ соединен с входом общетого элемента И, первый вход которо-го сброса устройства.The house of the second element is And, the second input is connected to the output of the element NOT, which is connected to the input of the Start input of which is connected to the device input-output input, the input of the drive, the second input of which is connected to the second input of the input element , three entrances of the even-5th mode of the device, the third of the correct element And are connected to three inputs of the fifth element And connected to the outputs of the signs of the device, the input of the switch, information reset operations of the device connected to the inputs to second connected to the outputs with input -1 of the second counter, the third counter, the counting input of which is connected to the input of the device connected to the output of the device’s reset generator, the second input of the first pulses, the fourth input of the first element I connected to the output of the p element OR is connected to the input of the common element I, the first input of which the device is reset.
SU843767715A 1984-07-11 1984-07-11 Device for time checking of input-output operations SU1265774A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU843767715A SU1265774A1 (en) 1984-07-11 1984-07-11 Device for time checking of input-output operations

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU843767715A SU1265774A1 (en) 1984-07-11 1984-07-11 Device for time checking of input-output operations

Publications (1)

Publication Number Publication Date
SU1265774A1 true SU1265774A1 (en) 1986-10-23

Family

ID=21129493

Family Applications (1)

Application Number Title Priority Date Filing Date
SU843767715A SU1265774A1 (en) 1984-07-11 1984-07-11 Device for time checking of input-output operations

Country Status (1)

Country Link
SU (1) SU1265774A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР 619919, кл. G Об F 11/00, 1976. Авторское свидетельство СССР № 517019, кл. G 06 F 3/04, 1974. *

Similar Documents

Publication Publication Date Title
SE429692B (en) MULTIPLE-PROCESSOR COMPUTER WITH A COMMON COMPUTER
EP0473452A2 (en) Work station having multiprocessing capability
SU1265774A1 (en) Device for time checking of input-output operations
US5721869A (en) Data processing apparatus with function of effecting hang-up processing
SU1474662A1 (en) Input/output controller
SU1264182A2 (en) Multichannel device for automatic checking of microprocessors
SU1088001A1 (en) Device for checking operation control circuits
SU881678A1 (en) Device for testing terminals
SU1575182A1 (en) Device for distribution of problems to processors
SU370609A1 (en) SOFTWARE FOR TROUBLESHOOTING IN DIGITAL COMPUTING
SU1755399A1 (en) Device for controlling redundant computing system
RU2099777C1 (en) Device which searches for alternating fails in microprocessor systems
SU813432A1 (en) Device for testing microprogramme automatic apparatus
SU1374224A1 (en) Priority interruption device
SU1411693A1 (en) Wiring checking device
SU1302265A1 (en) Information input device
SU1213465A1 (en) Multichannel meter of time intervals
SU1315981A1 (en) Versions of device for monitoring program execution
SU362333A1 (en) DEVICE FOR AUTOMATIC CHECKS
JPS59135557A (en) Information processor
SU811315A1 (en) Indication device
SU532103A1 (en) Information system to optimize the service of cutting tools of automatic lines
JPH02150942A (en) Bus abnormality detecting circuit
SU1218385A1 (en) Device for interrupting redundant computer system
SU1348838A2 (en) System for checking electronic devices