SU1377856A1 - Priority device - Google Patents

Priority device Download PDF

Info

Publication number
SU1377856A1
SU1377856A1 SU864081950A SU4081950A SU1377856A1 SU 1377856 A1 SU1377856 A1 SU 1377856A1 SU 864081950 A SU864081950 A SU 864081950A SU 4081950 A SU4081950 A SU 4081950A SU 1377856 A1 SU1377856 A1 SU 1377856A1
Authority
SU
USSR - Soviet Union
Prior art keywords
channel
inputs
requests
input
elements
Prior art date
Application number
SU864081950A
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 SU864081950A priority Critical patent/SU1377856A1/en
Application granted granted Critical
Publication of SU1377856A1 publication Critical patent/SU1377856A1/en

Links

Landscapes

  • Bus Control (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано в многопроцессорных системах дл  управлени  доступом абонентов к.магистрали передачи данных и другим раздел емым ресурсам. Целью изобретени   вл етс  расширение функциональных возможностей путем обслуживани  нескольких групп запросов в циклическом режиме. Устройство содержит каналы 1, а в триггер 2, элементы И-НЕ 3, И 4, ЕЛИ 5, И 6, запросные входы 7, вход 8 опроса, вход 9 сброса, выходы 10 разрешени . При поступлении группы запросов на входы 7 благодар  св з м инверсных выходов элементов И 6 с входами нижесто щих элементов И 6 разрешение будет вьщано на выходе 10 запросу, поступившему в канал 1 с минимальным Номером, В конце обслуживани  первого запроса группы импульсом опроса, поступающим на вход 8, необслуженные запросы записываютс  в соответствую:- 1цне триггеры 2 и в дальнейшем обслуживаютс  циклически в пор дке возра стани  номеров каналов 1. Благодар  св з м инверсных выходов всех злемен-- SThe invention relates to computing and can be used in multiprocessor systems to control the access of subscribers to a data transmission highway and other shared resources. The aim of the invention is to extend the functionality by serving several groups of requests in a cyclic mode. The device contains channels 1, and in the trigger 2, the elements AND-NOT 3, AND 4, ELI 5, AND 6, query inputs 7, polling input 8, reset input 9, resolution outputs 10. When a group of requests to inputs 7 is received, due to the connection of the inverse outputs of the AND 6 elements with the inputs of the lower elements AND 6, the resolution will be received at the output 10 of the request received in channel 1 with a minimum number, At the end of the service of the first request of the group, a polling pulse input 8, unserved requests are written to the corresponding: - 1cne triggers 2 and are subsequently serviced cyclically in the order of the age of channel number 1. Thanks to the inverse outputs of all terminals-S

Description

оэ. oh.

ч|h |

0000

елate

тов и 3 со входом элемента И 6 первого канала и через элементы ИЛИ 5 с запросными входами 7 остальных каналов запросы обслуживаемой группы,- повторно поступившие в каналы с малы ми номерами, обслуживаютс  только после окончани  начатого цикла. ПриComm and 3 with the input of the element And 6 of the first channel and through the elements of OR 5 with the request inputs of the 7 remaining channels, the requests of the served group, re-received into the channels with small numbers, are served only after the end of the started cycle. With

13778561377856

сн тии с входов 7 необслуженных запросов первой группы и подаче на другие входы 7 запросов второй группы начинаетс  новый цикл обслуживани , который может быть аналогично прерван и начат следующий или продолжен ранее прерванный цикл. 2 ил,From the inputs 7 of unserved requests of the first group and submitting to the other inputs 7 requests of the second group, a new service cycle begins, which can be similarly interrupted and the next one is started or the previously interrupted cycle is continued. 2 or

ни , который может быть аналогично прерван и начат следующий или продолжен ранее прерванный цикл. 2 ил,nor, which can be similarly interrupted and the next one is started or the previously interrupted cycle is continued. 2 or

1one

Изобретение относитс  к вычислительной технике и может быть использовано в многопроцессорных ЭВМ дл  приоритетного обслуживани  запросов абонентов на магистрали передачи данных и другие раздел емые ресурсы.The invention relates to computing and can be used in multiprocessor computers for priority service of subscriber requests for data transmission lines and other shared resources.

Целью изобретени   вл етс  расширение функциональных возможностей устройства за счет циклического обслживани  нескольких групп запросов .The aim of the invention is to expand the functionality of the device by cyclically servicing several groups of requests.

На фиг. 1 приведена функциональна  схема предложенного устройства; на фиг, 2 - пример, иллюстрирующий обслуживание трех групп запросов.FIG. 1 shows a functional diagram of the proposed device; FIG. 2 is an example illustrating the maintenance of three groups of requests.

Устройство (фиг. 1) содержит N каналов 1 (N - число источников запросов ) . Каждьй канал, кроме первого содержит триггер 2, элементы И-НЕ 3, И 4 и элемент ШШ 5. Все каналы содержат также элементы И 6. Цифрами 7 .обозначены запросные входы устройства , 8 - вход опроса, 9 - вход сброса, 10 - ВЫХОДЫ разрешений (на обслуживание).The device (Fig. 1) contains N channels 1 (N is the number of sources of requests). Each channel, except the first one, contains trigger 2, AND-NOT 3, AND 4 elements and SH-5 element. All channels also contain AND-6 elements. The numbers 7 indicate the device's request inputs, 8 is the polling input, 9 is the reset input, 10 is EXITS OF PERMISSIONS (FOR SERVICE).

Устройство может работать в двух режимах: приоритетном и циклическом.The device can operate in two modes: priority and cyclic.

В приоритетном режиме сигналом сброса, поступающим с входа 9, все триггеры 2 устанавливаютс  в .нулевое состо ние, в котором они остаютс  в течение всей работы устройства. Сигналы опроса на вход 8 в этом режиме не подаютс ,In the priority mode, the reset signal from input 9, all triggers 2 are set to the zero state in which they remain during the entire operation of the device. Polling signals to input 8 are not given in this mode,

Нулевые сигналы с выходов триггеров 2 закрывают элементы И-НЕ 3, на инверсных выходах которых присутствует 1, поступающа  на второй вход элемента И 6 первого канала и на вторые входы элементов.ИЛИ 5 остальных каналов, причем на выходах всех элементов ИЛИ также 1,Zero signals from the outputs of the flip-flops 2 close the elements AND-NOT 3, on the inverse outputs of which there is 1, coming to the second input of the element AND 6 of the first channel and to the second inputs of the elements. OR 5 other channels, and at the outputs of all the elements OR also 1,

Запросы на -входы 7 устройства поступают в виде 1, отсутствие запроса обозначаетс  О. В св зи с тем, что выходы источников запросов на входах 7 устройства соединены с выходами элементов ШШ 5 этих кана5 лов, на соединительном проводнике реализуетс  логическа  операци  И. Поскольку в приоритетном режиме работы устройства на выходах всех элементов ИЛИ 5 вырабатываютс  1, то Requests to the device 7 inputs come in the form of 1, the absence of the request is denoted by O. Due to the fact that the outputs of the sources of the requests at the device inputs 7 are connected to the outputs of the SHSh 5 elements of these channels, a logical operation is implemented on the connecting conductor I. Since the device’s priority mode of operation at the outputs of all elements OR 5 are generated 1, then

10 в результате операции Монтажное И на первые входы элементов И 6 поступают неизменные сигналы запросов10 as a result of the mounting operation, and the first inputs of the AND elements 6 receive constant request signals.

(1(one

или о), выработанные абонентами . При наличии нескольких запро15 сов (1) разрешение на обслуживание (единичный сигнал на выходе 10) получит только тот абонент, который подключён к каналу с наименьшим номером, так как сигналом О с инвер20СНОГО выхода элемента И 6 этого кана- па элементы И 6 каналов с большими номерами будут закрыты.or o) developed by subscribers. If there are several requests (1), only the subscriber who is connected to the channel with the lowest number will receive a permission to serve (a single signal at output 10), because the signal O from the inverter 20 output of the AND 6 element of this channel and 6 channels from large rooms will be closed.

После обслуживани  выбранного абонента этот абонент снимает (обну25 л ет) свой запрос йа соответствующе .входе 7. В результате разрешение на обслуживание получит абонент, выставивший запрос в одном из следующих в пор дке возрастани  номеров кана30 лов. Если в процессе такого последовательного обслуживани  запросов повторно поступит запрос в канал с малым номером, то он вновь (вне очереди ) получит разрешение на обслужи35 вание, т.е. реализуетс  приоритетный режим обслуживани  запросов. учитываютс  позиционные приоритеты .абонентов: приоритет зависит от номера канала устройства, к которому After servicing the selected subscriber, this subscriber removes (returns) his request ya corresponding to input 7. As a result, the subscriber who receives the request in one of the following channels will receive permission for servicing. If, in the course of such sequential servicing of requests, a request is re-submitted to a channel with a small number, then it will again (out of turn) receive a service permit, i.e. The priority mode of service requests is implemented. The positional priorities of the subscribers are taken into account: the priority depends on the channel number of the device to which

40 абонент подключен.40 subscriber is connected.

Дл  обеспечени  гарантированного обслуживани  запросов по всем каналам в устройстве предусмотрен режим цикTo provide guaranteed service requests for all channels, the device has a cycle mode

лического обслуживани , который реализуетс  следующим образом.This service is implemented as follows.

В исходном состо нии сигналом сброса по входу 9 все триггеры 2 устанавливаютс  в нулевое положение. Пусть на произвольную группу входов 7 поступили запросы в виде 1. При этом, как и в приоритетном режиме, разрешение на обслуживание в виде 1 на одном из выходов 10 получит запрос, поступивший в канал с наименьшим номером. В конце обслуживани  абонент вырабатьшает импульс опроса , который поступает на вход 8 устройства. В каналах, имеющих запросы на входах 7,-импульс опроса через элементы И 4 поступит на входы синхронизации триггеров 2. Во всех каналах , имеющих запросы (кроме обслуживаемого в данный момент канала), с инверсных выходов элементов И 6 еди- ничный сигнал запишетс  в соответствующий триггер 2, т.е. необслуженные запросы данной группы останутс  на входах 7 и запишутс  в соответствующие триггеры 2.In the initial state, by the reset signal on input 9, all the triggers 2 are set to the zero position. Let an arbitrary group of inputs 7 receive requests in the form 1. At the same time, as in the priority mode, the service permission in the form 1 on one of the outputs 10 will receive a request received in the channel with the lowest number. At the end of the service, the subscriber generates a polling pulse, which is fed to the input 8 of the device. In channels that have requests for inputs 7, the polling pulse through elements of AND 4 will go to the synchronization inputs of trigger 2. In all channels that have requests (except for the channel currently being serviced), from the inverse outputs of elements 6, a single signal will be written to corresponding trigger 2, i.e. unserved requests of this group will remain at inputs 7 and will be written into the corresponding triggers 2.

Запрос на входе 7 хот  бы одного канала 1 и единичное состо ние триггера 2 этого канала открывают элемент И-НЕ 3 этого канала и обеспечивают О на зыходах элементов И-НЕ 3 всех канало в. Этот сигнал закрывает элемент И 6 первого канала. Если на входе 7 первого канала был запрос , то он обслужилс  в первом такт работы устройства, поэтому закрытие, элемента И 6 запрещает повторное обслуживание запроса этого канала.A request at input 7 of at least one channel 1 and the unit state of flip-flop 2 of this channel open element AND-HE 3 of this channel and provide O at the outputs of elements AND-HE 3 of all channels in. This signal closes the element And 6 of the first channel. If the input 7 of the first channel was a request, then it served in the first cycle of the device, so closing And 6 of the element prohibits re-servicing the request of this channel.

В каналах, имеющих необслуженные запросы на входах 7 и триггеры 2 в единичном состо нии, на выходах элементов ИЛИ 5 вырабатываетс  1, котора  не вли ет на сигнал запроса этого канала. Б каналах-, в которых триггеры 2 остались в нулевом состо нии , на выходах элементов ИЛИ 5 буду 0 % которые в соответствии с операцией Монтажное И поддерживают на первых входах элементов И 6 этих каналов О, запрещающие обслуживание новой группы запросов, которые не успели записатьс  в свои триггеры 2, но могут по витьс  после регистрации в триггеры 2 необслуженных запроIn channels that have unserved requests at inputs 7 and triggers 2 in a single state, the outputs of the OR 5 elements produce 1, which does not affect the request signal of this channel. In channels-in which the triggers 2 remained in the zero state, the outputs of the elements OR 5 will be 0% which, in accordance with the operation Assembly And support at the first inputs of the elements AND 6 of these channels O, prohibiting the maintenance of a new group of requests that did not manage to be recorded in its triggers 2, but can appear after registration in triggers 2 unserved requests

сов рассматриваемой группы.sov of the group in question.

Обслуживание запросов данной группы в каналах, имеющих триггеры 2 в единичном состо нии, производитс  вService requests of this group in the channels having triggers 2 in a single state are performed in

00

c c

5 five

0 0

5five

пор дке возрастани  номеров каналов. В конце обслуживани  каждого очередного запроса на вход 8 устройства подаетс  импульс, опроса, который через элементы И 4 каналов, имеющих запросы , поступает на входы синхронизации триггеров 2 этих каналов. В канале , выработавшем единичный сигнал разрешени  на выходе 10, нулевой сигнал с инверсного выхода элемента И 6 заноситс  в триггер 2 этого канала, т.е. после обслуживани  запроса соответ- ствующ н триггер 2 обнул етс .order of increasing channel numbers. At the end of the service of each successive request to the input 8 of the device, a pulse is sent, which, through the elements AND 4 channels having requests, goes to the synchronization inputs of the flip-flops 2 of these channels. In the channel that generated the single resolution signal at output 10, the zero signal from the inverse output of the element 6 is inserted into the trigger 2 of this channel, i.e. after servicing the request, the corresponding trigger 2 is zeroed.

Таким образом, устройство реализует циклический режим обслуживани  группы запросов. В течение цикла обслуживани  всей группы запросов новые запросы благодар  нулевым сигналам на выходах элементов ИЛИ 5 соответствующих каналов обнул ютс  и не пропускаютс  на обслуживание. В конце цикла обслуживани  группы запросов . триггеры 2 всех каналов окажутс  обнуленными , а на выходах элементов И-НЕ 3 и ИЛИ 5 будут 1. Последние . разрешают поступление на входы 7 новых запросов (Монтажное И не обнул ет сигналы запросов). Новый цикл обслуживани  новой группы запросов начинаетс  с обслуживани  запроса, поступившего в канал с наименьшим номером , и записи остальных необслуженных запросов в триггеры 2.Thus, the device implements a cyclic service mode for a group of requests. During the service cycle of the entire request group, new requests due to zero signals at the outputs of the elements OR 5 of the corresponding channels are zeroed and are not passed to the service. At the end of the service cycle of a group of requests. the triggers of 2 all channels will be zeroed out, and at the outputs of the elements AND-NOT 3 and OR 5 will be 1. The last. they allow the input of 7 new requests to inputs (Mounting And doesn’t return requests signals). A new service cycle of a new group of requests begins with the service of the request received on the channel with the lowest number, and the recording of the remaining unserved requests to the triggers 2.

Достоинством предлагаемого устрой- ства  вл етс  возможность циклического обслуживани  не одной, а нескольких групп запросов: цикл обслуживани  данной группы запросов может быть прерван и начат цикл обслужива-. ни  вновь поступившей группы запросов или продолжен цикл обслуживани  любой из ранее прерванных циклов обслуживани  групп запросов с соответствую -, щей точки прерывани , что осуществл етс  следующим образом.The advantage of the proposed device is the possibility of cyclic maintenance of not one, but several groups of requests: the service cycle of this group of requests can be interrupted and the service cycle begins. neither the newly received request group or the service cycle of any of the previously interrupted service cycles of the request groups from the corresponding breakpoint is continued, as follows.

Пусть устройство выполн ет цикл обслуживани  S-й группы запросов и в Ig X триггерах 2 записаны оставвш- ес  необслуженными запросы S-й группы. Дл  переключени  устройства на обслуживание (S + 1)-й группы запросов все вопросы S-й группы снимаютс  с соответствующих входов 7, а на другие входы 7 подаютс  запросы (S + 1)- й группы. При этом Ig-e элементы И-НЕ 3, И 4 будут закрыты, а в Ij-x триггерах 2 останутс  необслуженные запросы S-й группы, которые не буLet the device perform the service cycle of the S-th group of requests and in Ig X the triggers 2 record the un-served requests of the S-th group. To switch the device to service (S + 1) -th group of requests, all questions of the S-th group are removed from the corresponding inputs 7, and the other inputs 7 are asked (S + 1) -th group. In this case, the Ig-e elements AND-NOT 3 and 4 will be closed, and in Ij-x triggers 2 will remain unserved requests of the S-th group, which are not

дут мешать обслуживанию запросов (S + 1)-й группы. Аналогично можно прервать начатый цикл обслуживани  (S 2)-й группы. Если прервать выполн ющийс  цикл обслуживани  запросов , сн ть с входов 7 запросы этой группы, а на другие входц 7 подать запросы любой из прерванных групп запросов, то наличие запомнен- ных в соответствующих триггерах 2 оставшихс  необслуженными запросов прерванной группы позвол ет продолжить цикл обслуживани  с точки прерывани .they interfere with the service of requests (S + 1) -th group. Similarly, you can interrupt the started service cycle (S 2) -th group. If you interrupt the running request service cycle, remove requests from this group from inputs 7, and submit requests from any of the interrupted request groups to other inputs 7, then the remaining 2 serviced requests of the interrupted group stored in the corresponding triggers allow you to continue the maintenance cycle breakpoints.

Описанна  процедура циклического обслуживани  групп запросов с прерывани ми и продолжени ми прерванных циклов аналогична процедуре прерываний и продолжений выполнени  программ в ЭВМ.The described procedure of cyclic servicing of groups of requests with interruptions and continuations of interrupted cycles is similar to the procedure of interruptions and continuations of the execution of programs in a computer.

На фиг. 2 изображен пример прерывани  цикла обслуживани  первой группы запросов второй группой запросов прерывани  дикла обслуживани  второй группы запросов третьей группой и последующего продолжени  прерванных второго и первого циклов обслуживани  запросов.FIG. Figure 2 shows an example of interrupting the service cycle of the first group of requests by the second group of requests for interrupting the service cycle of the second group of requests by the third group and then continuing the interrupted second and first request service cycles.

Claims (2)

Формула изобретени Invention Formula Устройство приоритету, содержащее N каналов (N - число запросных входов устройства), причем i-и ка- нал (i - 2, N) содержит первый элемент И и триггер, вход опроса устройства соединен с первыми входами первых элементов И i-x каналов, выконвлаThe device has a priority containing N channels (N is the number of request inputs of the device), with i and channel (i - 2, N) containing the first AND element and a trigger, the device polling input is connected to the first inputs of the first I elements of the i – x channels XX jifayw jifayw JLJl II 2 3 4 S в 7 8 $ Iff2 3 4 S at 7 8 $ Iff 5five 00 5 050 5 five Ходы которых соединены с тактовыми входами триггеров соответствующих каналов, отличающеес  тем, что, с целью расширени  функциональных возможностей устройства за счет циклического обслуживани  нескольких групп запросов, в первый канал устройства введен элемент И, в i-e каналы введены элемент И-НЕ, элемент ИЛИ и второй элемент И, причем запросный вход первого канала соединен с первым входом элемента И первого канала, выход которого  вл етс  выходом разрешени  канала, в i-M канале запросньй вход канала и выход элемента ИЛИ через.монтажное И соединены с первь1ми входами элемента И-НЕ, второго элемента И и вторьм входом первого элемента И, инверсный выход второго элемента И соединен с информационным входом триггера, выход которого соединен с первым входом элемента ИЛИ и вторым входом элемента И-НЕ, инверсный выход элемента И первого канала соединен с вторыми входами вторых элементов И i-х каналов , инверсный выход второго элемен- та И j-ro канала j The moves of which are connected to the clock inputs of the flip-flops of the respective channels, characterized in that, in order to expand the functionality of the device by cyclically servicing several groups of requests, an AND element is entered into the first channel of the device, AND-NOT element, OR element and second element AND, the request input of the first channel is connected to the first input of the element AND of the first channel, the output of which is the channel resolution output, on the iM channel, the channel input and the output of the element OR through the connected to the first inputs of the element AND –NE, the second element AND and the second input of the first element AND, the inverse output of the second element AND connected to the information input of the trigger, the output of which is connected to the first input of the element OR and the second input of the element IS — NOT the inverse output of the element AND the first channel is connected to the second inputs of the second elements AND the i-th channel, the inverse output of the second element And the j-ro channel j 2., (N - 1) соединен с (j + 1)-ми входами вторых элементов И каналов с (j + 1)-го по N-й, выходы элементов И-НЕ i-x каналов через монтажное И соединены с вторыми входами элементов ИЛИ i-кана- лов и вторым входом элемента И первого канала, вход сброса устройства соединен с входами сброса триггеров i-x каналов, выход второго элемента И i-ro канала  вл етс  выходом раз- решени  i-ro канала.2., (N - 1) is connected to the (j + 1) -th inputs of the second elements AND channels from (j + 1) -th to the N-th, the outputs of the elements AND-HE of the ix channels through the installation And connected to the second inputs of the elements OR i-channels and the second input element AND of the first channel, the device reset input is connected to the reset inputs of the channel triggers ix, the output of the second element AND the i-ro channel is the output of the i-ro channel. осwasp JLJl
SU864081950A 1986-06-26 1986-06-26 Priority device SU1377856A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU864081950A SU1377856A1 (en) 1986-06-26 1986-06-26 Priority device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU864081950A SU1377856A1 (en) 1986-06-26 1986-06-26 Priority device

Publications (1)

Publication Number Publication Date
SU1377856A1 true SU1377856A1 (en) 1988-02-28

Family

ID=21243071

Family Applications (1)

Application Number Title Priority Date Filing Date
SU864081950A SU1377856A1 (en) 1986-06-26 1986-06-26 Priority device

Country Status (1)

Country Link
SU (1) SU1377856A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское.свидетельство СССР № 1145343, кл. G 06 F 9/46; 1983. Авторское свидетельство СССР № 1124307, кл. G 06 F 9/46, 1983. *

Similar Documents

Publication Publication Date Title
US4789926A (en) Digital data processing arbitration system
SU1377856A1 (en) Priority device
SU1274634A3 (en) Device for priority connection of information source to common main line
US4894769A (en) Increased bandwith for multi-processor access of a common resource
US5898847A (en) Bus arbitration method and appparatus for use in a multiprocessor system
SU1495794A1 (en) Multichannel priority unit for servicing requests
US4773037A (en) Increased bandwidth for multi-processor access of a common resource
SU1522207A1 (en) Multichannel device for connection of information sources to common bus
US4567571A (en) Memory control for refreshing in a step mode
SU1495793A1 (en) Dynamic priority unit
RU1772803C (en) Multichannel priority device
SU1416986A1 (en) Device for connecting users to common trunk line
RU1829033C (en) Priority device
SU1619287A1 (en) Multichannel device for distributing tasks among processors
SU1377855A1 (en) Priority device
SU1619270A1 (en) Multichannel priority device
SU1113804A1 (en) Device for servicing interrogations
SU1728867A1 (en) Device for interfacing computer with main line
SU1524051A2 (en) Dynamic priority device
SU1302287A1 (en) Interface for linking microprocessor with bus
SU1479931A1 (en) Multichannel unit for switching data sources to common bus
RU1783525C (en) Device for control of information exchange
SU1730632A1 (en) Multichannel device for coupling subscribers to common main line
SU1517035A1 (en) Processor for multiprocessor system
SU1566350A1 (en) Priority device