SU924710A2 - Program interrupting device - Google Patents

Program interrupting device Download PDF

Info

Publication number
SU924710A2
SU924710A2 SU802989577A SU2989577A SU924710A2 SU 924710 A2 SU924710 A2 SU 924710A2 SU 802989577 A SU802989577 A SU 802989577A SU 2989577 A SU2989577 A SU 2989577A SU 924710 A2 SU924710 A2 SU 924710A2
Authority
SU
USSR - Soviet Union
Prior art keywords
input
control
interrupt
output
trigger
Prior art date
Application number
SU802989577A
Other languages
Russian (ru)
Inventor
Валерий Пантелеймонович Хельвас
Original Assignee
Предприятие П/Я В-8117
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 Предприятие П/Я В-8117 filed Critical Предприятие П/Я В-8117
Priority to SU802989577A priority Critical patent/SU924710A2/en
Application granted granted Critical
Publication of SU924710A2 publication Critical patent/SU924710A2/en

Links

Landscapes

  • Bus Control (AREA)

Description

Изобретение относитс  к вычисли- тельной технике и. может быть исполь- зовано в цифровых вычислительных .системах.The invention relates to computing technology and. can be used in digital computing systems.

По основному авт. св. № 645158 известно устройство дл  прерывани  программ, содержащее регистр защиты, входы которого соединены с группой входных шин, шифратор, выходной элемент ИЛИ, выход которого подключен к шине прерывани , N каналов прерывани , каждый из которых содержит триггер прерывани , триггер управлени , четыре злемента И и элемент ИЛИ( причем кажда  шина внешнего запроса группы шин внешних запросов подключена соответственно к первст у входу первого элемента И .одновременного канала прерывани , в каждом канале прерывани  выход первого элемента И соединен с первым входом триггера прерывани , выход элемента ИЛИ каждого предыдущего канала прерывани  соединен с первым входом элемента ИЛИ и первым входом второго элемента И последующего канала прерывани , выход второго злемента И подключен к первому входу третьего элемента И и к входу шифратора, ВЕЛХОДЫ которого подключены к группе выходных шинAccording to the main author. St. No. 645158, there is a known device for interrupting programs, which contains a security register, the inputs of which are connected to a group of input buses, an encoder, an output OR element, whose output is connected to an interrupt bus, N interrupt channels, each of which contains an interrupt trigger, a control trigger, four elements AND and an OR element (and each external request bus of an external request bus group is connected respectively to the first one at the input of the first element AND of the simultaneous interruption channel, in each interrupt channel the output of the first element AND inn with the first input of the interrupt trigger, the output of the OR element of each previous interrupt channel is connected to the first input of the OR element and the first input of the second element AND the subsequent interruption channel, the output of the second element AND is connected to the first input of the third element AND and to the input of the encoder whose RELAYS tire output group

устройства, первый вход триггера управлени  каждого канала прерывани  соединен с одноименной управл н цей device, the first control trigger input of each interrupt channel is connected to the control of the same name

Ч шиной группы управл ющих шин и в каждом канале прерывани  второй вход триггера управлени  соединен с выходом триггера прерьюани  и вторым входом второго элемента И, третий вход которого соединен с соответствующими By a bus of a group of control buses and in each interrupt channel, the second input of the control trigger is connected to the output of the interruption trigger and the second input of the second element I, the third input of which is connected to the corresponding

10 входом регистра защиты и с первым входом четвертого элемента И, выход которого подключен к второму входу элемента ИЛИ, выход триггера управлени  соединен с вторым входом пер15 вого злемента и с вторым входом четвертого элемента И, выход третьего элемента И подключен к второму входу триггера прерывани , второй вход третьего элемента И каждого канала 10 by the input of the protection register and the first input of the fourth AND element, the output of which is connected to the second input of the OR element, the output of the control trigger is connected to the second input of the first element and to the second input of the fourth And element, the output of the third AND element is connected to the second input of the interrupt trigger, the second input of the third element And each channel

20 прерывани  соединен с шиной ответа, выходы вторых- элементов И каждого канала пре млвани  соединены с входами выходного элемента ИЛИ.20 interrupts are connected to the response bus, the outputs of the second AND elements of each preemption channel are connected to the inputs of the output OR element.

Устройство обеспечивает обслужи25 вание внешних запросов только с абсолютными приоритетами, т.е. запрос высшего приоритета прерывает обслуживание запроса низшего приоритета, с последующим возвращением к обслуживанию запроса низшего приоритета fj. Однако известное устройство не позвол ет обслуживать внешние запро с относительными приоритетами, что ограничивает функциональные возможности известного устройства. Цель изобретени  - расширение об ласти применени  за счет обеспечени  работы в реальном масштабе времени . Поставленна  цель достигаетс  тем, что в устройство введены триггер режима, второй элемент ИЛИ и элемент И, первый вход которого сое динен с выходом первого элемента ИЛ второй вход элемента И соединен с входом управлени  режимом устройств третий вход элемента И соединен с входом синхронизации устройства, а его выход подключен к первому входу триггера режима, второй вход которо соединен с выходом второго элемента ИЛИ, входы второго элемента ИЛИ подключены к группе управл ющих вхо дов устройства, выход триггера режима соединен с первыми входами тре тьего элемента И и элемента ИЛИ первого канала прерывани . На чертеже приведена схема устро ства- дл  прерывани  программ. Устройство содержит регистр 1 за щиты, шифратор 2, первый элемент ИЛИ 3,триггер 4 режима, элемент И 5, вто- . рой элемент ИЛИ 6, каналы / прерыва ни , в каждый из которых вход т четыре элемента И В - 11, элемент ИЛИ 12, триггер 13 прерывани  и триггер 14 управлени . На чертеже обозначены следующие входы и выходы: группа 1й входов защиты , вход 16 ответа, группа 17 управл ющих входов, группа 18 входов внешних запросов вход 19 прерывани , группа 20 выходов, вход 21 управлени  режимами, вход 22 синхронизации . При обслуживании внешних запросов с абсолютными приоритетамиустройство работает следующим образом. Режим работы с абсолютными приоритетами обеспечиваетс  разрешающим выходным потенциалом триггера 4 режима , который сбрасываетс  в нулевое состо ние при включении устройства и его установк.а в единичное состо ние блокируетс  запрещающим потенциалом на входе 21 управлени  режимами. В исходном состо нии разрешающим потенциалом с выходов триггеров 14 управлени  разрешен прием внешних запросов. Сигналы внешних запросов поступают по входам 18 запросов и через элемент И 8 фиксируютс  триг- герами 13 прерывани . Выходным потенциалом с триггеров прерывани  устанавливаютс  соответствующие триггеры 14 yпpaв eн  , выходом которых на вторых входах элементов И 8 блокируетс  прием соответствующего внеш него запроса. Сигналы с триггеров прерывани  и управлени  поступают на входы элементов И 9 и 10, которые выдел ют запрос, имеющий высший приоритет . Элементами ИЛИ 12 обеспечиваетс  сквозна  передача сигнала запрета прерывани  от высшего уровн  приоритета к низшему. Приоритеты запросов уменьшаютс  слева направо в пор дке нумерации каналов 7 прерывани . Таким образом, сигнал прерывани  формируетс  только на вьлходе элемента И 10 наиболее приоритетного в текущий момент времени канала 7 прерывани . Этот сигнал поступает на вход элемента ИЛИ 3, на вход шифратора 2 и на первый вход элемента И 11 соответствующего канала прерывани . На выходе элемента ИЛИ 3 формируетс  управл ющий сигнал, а на выходе шифратора 2 команда перехода , поступающие в ЦВМ. После приема в ЦВМ команды перехода из нее по входу 16 ответа на второй вкой элемента И 11 всех каналов выдаетс  сигнал Запрос прин т , которым производитс  установка триггера 13 прерывани , работающего в текущий момент канала, в нулевое состо ние. Триггеры 14 управлени  хран т внешние запросы до полного их выполнени  и через элемент И 9 запрещают поступление в ЦВМ. внешних запросов более низких приоритетов. Триггеры 14 управлени  устанавливаютс  в нулевое состо ние по окончании программы, вызванной внешним запросом , дл  чего из ЦВМ по программе выдаетс  управл ющий сигнал по одной из шин группы управл ющих входов 17 (каждому каналу соответствует . свой управл ющий сигнал). Таким образом , на втором входе элемента И 8 и элемента И 9 устанавливаетс  разрешающий потенциал, т.е. снимаетс  . блокировка запросов низшего уровн  приоритета и высший из них поступает в ЦВМ. Режим работы с относительными приоритетами обеспечиваетс  разрешающим поте1 циалом на входе 21 управлени  режимами. После включени  устройства триггер 4 режима устанавливаетс  в нулевое состо ние (на его выходе разрешающий потенциал). Сигналом прерывани , выдаваемым из устройства в ЦВМ по шине 19 управени , через элемент И 5, по тактовому импульсу, поступаемому из ЦВМ по входу 22, устанавливаетс  в единичное состо ние триггер 4 режиу , т.е. запрещаетс  поступление в ВМ сигналов прерывани  всех уровней приоритетов. Триггер сбрасывает  в нулевое состо ние по завершению рограммы прерывани  сигналом с сответствующего входа из группы упрайл ющих входов 17, собранных на элементе ИЛИ 6. В ЦВМ на исполнение поступает внешний запрос с высшим приоритетом среди всех прин тых устройством и при этом устройство оп ть блокируетс  до завершени  обслуживани  запроса.The device provides servicing of external requests only with absolute priorities, i.e. the higher priority request terminates the lower priority request service, and then returns to the lower priority request service fj. However, the known device does not allow serving external requests with relative priorities, which limits the functionality of the known device. The purpose of the invention is to expand the scope of application by providing real-time operation. The goal is achieved by introducing a mode trigger, a second OR element and an AND element, the first input of which is connected to the output of the first IL element, the second input of the AND element connected to the control mode input of the device, the third input of the AND element connected to the synchronization input of the device, and its output is connected to the first input of the mode trigger, the second input of which is connected to the output of the second OR element, the inputs of the second OR element are connected to the group of control inputs of the device, the mode trigger output is connected to the first odes tre tego of AND and OR of the first channel interrupt. The drawing shows the layout of the program for interrupting programs. The device contains a register 1 for shields, an encoder 2, the first element OR 3, the trigger 4 modes, the element AND 5, second. This is an OR 6 element, channels / interrupts, each of which includes four AND 11 elements, an OR element 12, an interrupt trigger 13, and a control trigger 14. The drawing shows the following inputs and outputs: group 1 of the protection inputs, response input 16, group 17 of control inputs, group 18 of the external request inputs, interrupt input 19, output group 20, mode control input 21, synchronization input 22. When servicing external requests with absolute priorities, the device works as follows. The absolute priority operation mode is provided by the permissive output potential of the mode trigger 4, which is reset to the zero state when the device is turned on and set in one state is blocked by the inhibitory potential at the mode control input 21. In the initial state, the resolving potential from the outputs of the control triggers 14 is allowed to receive external requests. The signals of the external requests are received at the inputs 18 of the requests and, through the element 8, are detected by the interrupt triggers 13. The output potential from interrupt triggers are set to the corresponding 14 y trigger triggers, the output of which at the second inputs of the And 8 elements blocks the reception of the corresponding external request. The signals from the interrupt and control triggers are fed to the inputs of the And 9 and 10 elements, which highlight the request having the highest priority. The OR elements 12 provide for the end-to-end transmission of the interrupt inhibit signal from the highest priority level to the lowest. Request priorities are reduced from left to right in the order of the numbering of interrupt channels 7. Thus, the interrupt signal is generated only at the input of the AND 10 element of the interrupt channel 7 that is of the highest priority at the current time. This signal is fed to the input of the element OR 3, to the input of the encoder 2, and to the first input of the element 11 of the corresponding interrupt channel. At the output of the element OR 3, a control signal is generated, and at the output of the encoder 2, a transition command arriving at the digital computer. After receiving in the digital computer the transition command from it on input 16 of the answer to the second element I 11 of all channels, a signal is received. The request is received, which sets the interrupt trigger 13 of the channel currently running to zero. The control triggers 14 store external requests until they are fully executed and And 9 prohibits admission to a digital computer. lower priority external requests. The control triggers 14 are set to zero state at the end of the program caused by an external request, for which a control signal is issued from the digital computer via one of the buses of the group of control inputs 17 (each channel has its own control signal). Thus, at the second input of the element And 8 and the element And 9 a resolving potential is established, i.e. removed. blocking requests of the lowest priority level and the highest of them goes to the digital computer. The operation mode with relative priorities is provided by the permitting power at the input 21 of the mode control. After switching on the device, the trigger 4 of the mode is set to the zero state (the permitting potential at its output). The interrupt signal, issued from the device in the digital computer via the control bus 19, through the element 5, to the clock pulse received from the digital computer via the input 22, sets the trigger state 4, i.e. The interruption signals of all priority levels are prohibited for the VM. The trigger resets to zero state upon completion of the interrupt program by a signal from the corresponding input from the group of selector inputs 17 assembled on the element OR 6. The external request with the highest priority among all received by the device is received for execution in the digital computer and the device is again blocked to completing the service request.

Расширение функциональных возможностей предлагаемого устройства достигаетс  за счет обеспечени  обслуживани  внешних запросов с относительными приоритетами. Введение относительных приоритетов приводит к уменьшению времени ожидани  запросов с низшими приоритетами с одновременным увеличением времени ожидани  зат просов с высфими приоритетами.The expansion of the functionality of the proposed device is achieved by providing service to external requests with relative priorities. The introduction of relative priorities leads to a decrease in the waiting time for requests with lower priorities while increasing the waiting time for requests with priorities.

Кроме того, в целом р де управл ющих вычислительных систем, работающих в реальноУ масштабе времени и управл ющих оборудованием с быстропротекающими техиологическими процессами , обработка внешних запросов с абсолютными приоритетами недопустима , поскольку управл юща  вычислительна  система должна в фиксированный интервал времени провести анализ состо ни  объектов управлени  и в соответствии с этим состо нием выдать на них управл ющие воздействи , которые определ ютс  те- . кущим состо нием управл емого процесса . Бели в таких системах использовать дисциплину обслуживани  внешних запросов с абсолютными приоритетами , то может возникнуть ситуаци  когда после опроса состо ни  оборудовани  программа будет прервана и управл ющие воздействи  на объекты управлени  будут переданы значительно позже т.е. коЛа состо ние оборудовани  изменитс  и .выдаваемое управл ющее воздействие ие будет соответствовать текущему состо нию управл емого технологического процесса .In addition, on the whole, a number of control computer systems operating on a real time scale and controlling equipment with fast-running techiological processes, external requests with absolute priorities are unacceptable, since the control computer system must analyze the state of objects in a fixed time interval and in accordance with this state, give them control actions that are determined by those. the current state of the controlled process. If such systems use the discipline of servicing external requests with absolute priorities, a situation may arise when the program is interrupted after polling the equipment condition and control actions affecting the control objects will be transferred much later. The state of the equipment will change and the control output will not correspond to the current state of the controlled process.

Предлагаемое устройство позвол ет оперативно измен ть дисциплину об ,служивани  внешних запросов, т.е. в одном режиме работы системы устрой ство может обслуживать запросы с абсолютными приоритетами, в другом с относительными. Переключение режимов может осуществл ть либо програм0 ма ЦВМ, либо оператор, либо внешние устройства системы.The proposed device allows you to quickly change the discipline about serving external requests, i.e. in one mode of operation, the device can service requests with absolute priorities, and in the other with relative priorities. Mode switching can be performed by either a digital computer program, or an operator, or external devices of the system.

Claims (1)

1. Авторское свидетельство CCGP 645158, кл. G 06 F 9/46, 1976 1. Copyright certificate CCGP 645158, cl. G 06 F 9/46, 1976 40 ( прототип). 40 (prototype).
SU802989577A 1980-10-04 1980-10-04 Program interrupting device SU924710A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU802989577A SU924710A2 (en) 1980-10-04 1980-10-04 Program interrupting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU802989577A SU924710A2 (en) 1980-10-04 1980-10-04 Program interrupting device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
SU645158 Addition

Publications (1)

Publication Number Publication Date
SU924710A2 true SU924710A2 (en) 1982-04-30

Family

ID=20920609

Family Applications (1)

Application Number Title Priority Date Filing Date
SU802989577A SU924710A2 (en) 1980-10-04 1980-10-04 Program interrupting device

Country Status (1)

Country Link
SU (1) SU924710A2 (en)

Similar Documents

Publication Publication Date Title
KR920004403B1 (en) Interrupt controller
SU924710A2 (en) Program interrupting device
KR20010015874A (en) A/d converter
KR900010537A (en) How to Unblock a Multiverse Multiprocessor System
SU645158A1 (en) Programme interrupting device
SU525094A1 (en) Interrupt device
SU739534A1 (en) Device for interruption programs
SU955066A1 (en) Interrupt device
KR920700426A (en) Method and apparatus for processing one or more signals through a single high speed input terminal of a microprocessor
SU758155A1 (en) Program interrupting device
SU811259A1 (en) Device for processing interruption request priorities
SU670937A1 (en) Multiprocessor computing system
SU726531A1 (en) Programme interruption control device
SU978150A1 (en) Device for controlling program interrupt
KR100229427B1 (en) Apparatus for generating interrupt signals
SU1425673A2 (en) Variable priority device
SU1660002A2 (en) Multichannel prioritizer
SU1095179A1 (en) Multichannel priority device
SU1527635A1 (en) Dual feed priority device
SU798839A1 (en) Multichannel priority device
SU1254486A1 (en) Device for interrupting programs
SU1644139A2 (en) Priority multi-channel device
SU714396A1 (en) Programme interrupting device
SU721816A1 (en) Priory device
SU1525903A1 (en) Variable distributor switchgear