SU1741133A1 - Priority device - Google Patents

Priority device Download PDF

Info

Publication number
SU1741133A1
SU1741133A1 SU904832917A SU4832917A SU1741133A1 SU 1741133 A1 SU1741133 A1 SU 1741133A1 SU 904832917 A SU904832917 A SU 904832917A SU 4832917 A SU4832917 A SU 4832917A SU 1741133 A1 SU1741133 A1 SU 1741133A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
group
inputs
output
elements
Prior art date
Application number
SU904832917A
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 SU904832917A priority Critical patent/SU1741133A1/en
Application granted granted Critical
Publication of SU1741133A1 publication Critical patent/SU1741133A1/en

Links

Landscapes

  • Bus Control (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано в цеп х управлени  устройствами общего пользовани  Целью изобретени   вл етс  повышение быстродействи . Устройство содержит две группы элементов И-НЕ, две группы элементов И, группу триггеров, п ть элементов И, элемент НЕ генератор тактовых импульсов, триггер, регистр маски и регистр режимов. В устройстве запись очередного запроса осуществл етс  сразу же после окончани  обслуживани  предыдущего , а обслуживание поступившего запроса - после окончани  обслуживани  запросов более высокого приоритета и при отсутствии их поступлени . 1 ил., 1 табл.The invention relates to computing and can be used in control circuits for public devices. The aim of the invention is to improve speed. The device contains two groups of AND-NOT elements, two groups of AND elements, a group of triggers, five AND elements, an element of a NOT pulse generator, a trigger, a mask register and a mode register. In the device, the next request is recorded immediately after the end of the previous service, and the incoming request is serviced after the end of the service of higher priority requests and in the absence of their arrival. 1 ill., 1 tab.

Description

Изобретение относитс  к вычислительной технике л может быть использовано в цел х управлени  устройствами общего пользовани .The invention relates to computing technology and can be used for the control of public devices.

Известно устройство приоритетаPriority device known

К недостатку которого следует отнести независимость времени обслуживани  запросов от их приоритета. Устройство имеет расширенные функциональные возможности , однако оно не обеспечивает возможности измен ть приоритет запросов.The lack of which should be attributed to the independence of the time of service requests from their priority. The device has advanced functionality, but it does not provide the ability to change the priority of requests.

Наиболее близким к предлагаемому  вл етс  асинхронное устройство переменного приоритета.Closest to the proposed is an asynchronous device of variable priority.

Однако данное устройство обладает р дом недостатков: дисциплина обслуживани  запросов жестко фиксирована, запись вновь поступивших запросов на обслуживание происходит только после обслуживани  всех ранее записанных, что приводит к длительному времени ожидани  обслуживани  высокоприоритетных за вок.However, this device has a number of drawbacks: the discipline of servicing requests is rigidly fixed, the recording of newly received service requests occurs only after servicing all previously recorded ones, which leads to a long waiting time for servicing high priority requests.

Целью изобретени   вл етс  расширение области применени  устройства за счет обеспечени  возможности изменени  режимов его работы.The aim of the invention is to expand the field of application of the device by providing the possibility of changing its operating modes.

Поставленна  цель достигаетс  тем, что в асинхронное устройство переменного приоритета, содержащее первую группу элементов И-НЕ, первую группу элементов И, группу триггеров регистра запросов, вторую группу элементов И-НЕ, вторую группу элементов И, первый регистр маски, первый элемент И, элемент НЕ, генератор тактовых импульсов, второй элемент И, триггер, третий элемент И, первый вход которого подключен одновременно к выходу первого элемента И, входу элемента НЕ, входу генератора тактовых импульсов, выход которого подключен одновременно к первому входу третьего и второму входу второго элементов И, выход второго элемента И  вл етс  выходом устройства, входы запросов первой группы входов которого соединены одновременное первыми входами соответствую2The goal is achieved by the fact that in an asynchronous variable priority device containing the first group of NAND elements, the first group of AND elements, the trigger register group of the query register, the second group of NAND elements, the second AND group of elements, the first mask register, the first AND element, the element is NOT, the clock pulse generator, the second element is AND, the trigger, the third element is AND, the first input of which is connected simultaneously to the output of the first element AND, the input of the element NOT, to the input of the generator of clock pulses, the output of which is connected simultaneously to the first input of the third and second input of the second elements AND, the output of the second element AND is the output of the device, the request inputs of the first group of inputs of which are connected simultaneously by the first inputs of the corresponding 2

СО ОЭSO OE

щих элементов И и И-НЕ первых групп, выходы которых соединены с первыми и четвертыми входами соответственно одноименных триггеров группы регистра запросов вторые входы которых объединены и подключены к шине логический ноль устройства, а третьи входы объединены и  вл ютс  первым входом сброса устройства , входы ответа второй группы входов которого подключены одновременно к вторым входам элементов И-НЕ и третьим входам элементов И первых групп, второй вход записи маски устройства соединен одновременно с вторым входом установки в единицу триггера и первым входом записи первого регистра маски, группа информационных входов которого  вл етс  третьей группой входов устройства, а выходы подключены одновременно к четвертым входам соответствующих элементов И второй группы и вторым входам соответствующих элементов И-НЕ второй группы, первые входы которых подключены одновременно к выходам соответствующих триггеров группы триггеров регистра запросов и первым входам соответствующих элементов И второй группы, третьи входы которых объединены и подключены к выходу элемента НЕ, п тые входы второго и третьего элементов И второй группы объединены и подключены одновременно к четвертому входу четвертого элемента И второй группы, второму входу первого элемента Пик выходу первого элемента И-НЕ второй группы, шестой вход третьего элемента 1/1 второй группы подключен одновременно к третьему входу первого элемента И, выходу второго элемента И-НЕ второй группы и п тому входу четвертого элемента И второй группы, шестой вход которого соединен одновременно с выходом третьего элемента И-НЕ второй группы и четвертым входом первого элемента И, первый вход которого подключен к второму инверсному выходу четвертого триггера группы триггеров регистра запросов, первый выход которого под- ключен к первому входу четвертого элемента И второй группы элементов И, выходы которых  вл ютс  группой выходов устройства , дополнительно введены первый элемент ИЛИ, четвертый элемент И, второй элемент ИЛИ, элемент ИЛИ-НЕ, второй регистр режимов, п тый элемент И, выход которого соединен с входом установки в состо ние первого регистра маски, второй вход п того элемента И соединен с первым выходом триггера, а первый - с вторым выходом второго регистра режима, группа информационных входов которого образует четвертую группу входов устройства, третийThe first and fourth groups of inputs whose outputs are connected to the first and fourth inputs of the same name triggers of the query register group, the second inputs of which are combined and connected to the bus logical zero of the device, and the third inputs are combined and are the first reset input of the device, the response inputs The second group of inputs of which are connected simultaneously to the second inputs of the NAND elements and the third inputs of the elements of the first groups, the second input of the device mask recording is connected simultaneously with the second input of the installation into one The trigger trigger and the first input of the first mask register, the group of information inputs of which is the third group of device inputs, and the outputs are connected simultaneously to the fourth inputs of the corresponding AND elements of the second group and the second inputs of the corresponding AND-NOT elements of the second group, the first inputs of which are connected simultaneously to the outputs of the corresponding triggers group triggers register requests and the first inputs of the corresponding elements And the second group, the third inputs of which are combined and connected to the output element and NOT, the fifth inputs of the second and third elements AND the second group are combined and connected simultaneously to the fourth input of the fourth element AND the second group, the second input of the first element Peak to the output of the first element AND-NOT of the second group, the sixth input of the third element 1/1 of the second group is connected at the same time to the third input of the first element AND, the output of the second element AND-NOT of the second group and the fifth input of the fourth element AND of the second group, the sixth input of which is connected simultaneously with the output of the third element AND-NOT of the second group and the fourth the first element AND whose first input is connected to the second inverse output of the fourth trigger of the request register trigger group, the first output of which is connected to the first input of the fourth element AND of the second group of AND elements whose outputs are a group of device outputs, the first element OR is additionally introduced the fourth AND element, the second OR element, the OR OR NOT element, the second mode register, the fifth AND element, the output of which is connected to the installation input to the state of the first mask register, the second input of the fifth AND element connected to the first trigger output, and the first to the second output of the second mode register, the group of information inputs of which form the fourth group of device inputs, the third

вход которого подключен одновременно к входу записи второго регистра режимов и второму входу элементов ИЛИ-НЕ, выход которого соединен с вторыми входами эле5 ментов И второй группы, первый вход элемента ИЛИ-НЕ подключен одновременно к выходу первого элемента ИЛИ и первому входу четвертого элемента И, выход которого подключен одновременно к выходу пер0 вого элемента ИЛИ и первому входу четвертого элемента И, выход которого подключен к первому входу второго элемента ИЛИ, второй вход которого подключен к выходу третьего элемента И, выход второгоthe input of which is connected simultaneously to the input of the recording of the second mode register and the second input of the OR-NOT elements, the output of which is connected to the second inputs of the AND elements of the second group, the first input of the OR-NO element is simultaneously connected to the output of the first OR element and the first input of the fourth AND element, the output of which is connected simultaneously to the output of the first OR element and the first input of the fourth AND element, the output of which is connected to the first input of the second OR element, the second input of which is connected to the output of the third AND element, output second

5 элемента ИЛИ подключен одновременно к вторым входам элементов И-НЕ первой группы, второй вход четвертого элемента И соединен с первым выходом второго регистра режимов, входы первого элемента ИЛИThe 5th OR element is simultaneously connected to the second inputs of the NAND elements of the first group, the second input of the fourth element AND is connected to the first output of the second mode register, the inputs of the first element OR

0 подключены к одноименным входам ответов второй группы входов устройства.0 are connected to the same inputs of responses from the second group of device inputs.

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

Устройство содержит первую группуThe device contains the first group

5 элементов И-НЕ 1, первую группу элементов И 2, группу триггеров 3 регистра запросов , вторую группу элементов И-НЕ 4, вторую группу элементов И 5, первый регистр 6 маски, первый элемент И 7, элемент5 elements AND-NOT 1, the first group of elements AND 2, the group of triggers 3 query register, the second group of elements AND-NOT 4, the second group of elements AND 5, the first register 6 of the mask, the first element AND 7, the element

0 НЕ 8, генератор тактовых импульсов 9, второй элемент И 10, триггер 11, третий элемент И 12, первый элемент ИЛИ 13, четвертый элемент И 14, второй элемент ИЛИ 15, элемент ИЛИ-НЕ 16, второй ре5 гистр 17 режимов, п тый элемент И 18, первую 19 и вторую 20 группы входов, первую 21 и вторую 22 входные шины, третью 23 группы входов, третью 24 входную шину, четвертую 25 группу входов, группу выходов0 NOT 8, clock generator 9, second element AND 10, trigger 11, third element AND 12, first element OR 13, fourth element AND 14, second element OR 15, element OR-NOT 16, second reg5 of the 17 modes, n the second element 18, the first 19 and second 20 groups of inputs, the first 21 and second 22 input buses, the third 23 groups of inputs, the third 24 input bus, the fourth 25 groups of inputs, a group of outputs

0 26, выходную шину 27.0 26, the output bus 27.

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

В статическом режиме триггеры и регистры устройства установлены в любое со5 сто ние, В динамическом режиме работа устройства начинаетс  с записи режима работы устройства и маски. После включени  питани  по первой входной шине 21 на третьи входы триггеров 3 группы поступаетIn the static mode, the triggers and registers of the device are set to any position. In the dynamic mode, the operation of the device begins with the recording of the operating mode of the device and the mask. After power is turned on, the first input bus 21 enters the third inputs of the 3 group triggers.

0 сигнал, устанавливающий триггеры 3 группы в нулевое состо ние.0 signal setting triggers 3 groups in the zero state.

После этого по второй 22 и третьей 24 входным шинам на первые входы первого и второго 17 регистров поступают сигналы за5 писи, в результате чего присутствующий на третьей группе входов 23 код маски записываетс  в первый 6 регистр маски, причем нулевые значени  разр дов указывают замаскированные уровни приоритета, присутствующий на четвертой группе входов 25After that, the second 22 and third 24 input buses send recording signals to the first inputs of the first and second 17 registers, as a result of which the mask code present on the third group of inputs 23 is written into the first 6 mask register, with zero bits indicating masked priority levels present on the fourth group of inputs 25

код режима записываетс  во второй 17 регистр режима, а триггер 11 устанавливаетс  в единичное состо ние. В соответствии с записанным во второй 17 регистр режима кодом устройство может работать в четырех режимах в соответствии с таблицей.the mode code is recorded in the second 17 mode register, and the trigger 11 is set to one. In accordance with the code recorded in the second 17 mode registers, the device can operate in four modes in accordance with the table.

Режим 1. Этап записи запросов.Mode 1. Stage recording requests.

В данном режиме дискретного обслуживани  запросов без использовани  маски в исходном состо нии группа триггеров 3 регистра запросов обнулена, во второй регистр 17 запросов записан код 00, в первом регистре 6 маски записан код маски.In this mode of discrete service of requests without using a mask in the initial state, the group of triggers 3 of the query register is reset, 00 is written in the second request register 17, the mask code is recorded in the first register 6 of the mask.

В результате этого с первого выхода второго регистра 17 режима сигнал низкого уровн  поступает на второй вход четвертого элемента И 14, запреща  прохождение через него сигналов с выхода первого элемента ИЛИ 13 на первый вход второго элемента ИЛИ 15. Сигнал низкого уровн  с второго выхода второго регистра 17 режима поступает на первый вход п того элемента И 18, запреща  прохождение через него сигналов высокого уровн  с первого выхода триггера 11 на второй вход первого регистра 6 маски, в результате чего первый регистр 6 маски оказываетс  переведенным в состо ние высокого импеданса (далее состо ние) на все врем  работы устройства в данном режиме. Так как триггеры группы 3 регистра запросов обнулены, то на их в пр мых выходах присутствуют сигналы низкого уровн , которые поступают одновременно на первые входы элементов И-НЕ 4 второй группы и элементов И 5 второй группы, в результате чего ча выходах 26 группы выходов устройств так жэ присутствуют сигналы низкого уровн , а на выходах элементов И-НЕ второй группы присутствуют сигналы высокого уровн , которые поступают на соответствующие входы первого элемента И 7. Поскольку на первом входе первого элемента И 7 так же присутствует сигнал высокого уровн , то на выходе первого элемента И 7 так же присутсвует сигнал высокого уровн , поступающий одновременно на элемент НЕ 8, генератор тактовых импульсов 9 и на первым вход третьего элемента И 12, в результате чего с выхода элемента НЕ 8 сигнал низкого уровн  поступает на третьи входы элементов И 5 второй группы, блокиру  их, генератор тактовых импульсов начинает работать , в результате чего на его выходе формируетс  импульс, который приводит триггер 11 в нулевое состо ние. Так как на выходе первого элемента И 7 продолжает присутствовать сигнал высокого уровн , то генератор импульсов 9 вырабатывает следующий импульс, который переводит триггер 11 в единичное состо ние, в результате чегоAs a result, from the first output of the second register 17 of the mode a low level signal is fed to the second input of the fourth element AND 14, prohibiting the passage of signals through it from the output of the first element OR 13 to the first input of the second element OR 15. The low level signal from the second output of the second register 17 mode enters the first input of the fifth element And 18, prohibiting the passage through it of high-level signals from the first output of the trigger 11 to the second input of the first register 6 of the mask, with the result that the first register 6 of the mask turns out to be nnym in a high impedance state (hereinafter state) all the time on the device operation in this mode. Since the triggers of group 3 of the query register are set to zero, low level signals are present on their forward outputs, which are simultaneously received at the first inputs of the AND-HES 4 elements of the second group and the AND 5 elements of the second group, resulting in 26 outputs of the group of device outputs so there are low-level signals, and at the outputs of the N-elements of the second group there are high-level signals that go to the corresponding inputs of the first element AND 7. Since the first input of the first element And 7 also contains a signal high level, then the output of the first element And 7 also has a high level signal that arrives simultaneously at the element HE 8, a clock generator 9 and the first input of the third element And 12, as a result of which the output of the element HE 8 low signal goes to the third inputs of the elements of the 5th group of the second group, blocking them, the clock pulse generator starts to work, as a result of which a pulse is generated at its output, which causes the trigger 11 to the zero state. Since the output of the first element And 7 continues to be a high level signal, the pulse generator 9 produces the next pulse, which converts the trigger 11 into a single state, as a result

на выходе третьего элемента И 12 формируетс  импульс, поступающий с его выхода через второй элемент ИЛИ 15 на вторые входы элементов И-НЕ 1 первой группы,at the output of the third element And 12, a pulse is generated, coming from its output through the second element OR 15 to the second inputs of the AND-NE elements of the first group,

разреша  запись поступавших на входы 19 группы входов запросов в триггеры 3 группы триггеров регистра запросов, в результате чего в соответствующие триггеры 3 группы триггеров регистра запросов устанавливаютс  в единичное состо ние.permitting the entry of the input request groups 19 to the triggers of the 3 groups of triggers of the query register, resulting in the triggers of the 3 groups of triggers of the query register being set to one state.

Сигнал высокого уровн  с выхода соответствующих триггеров 3 группы триггеров регистра-запросов поступает одновременно на первые входы соответствующих элементов И 5 второй группы и элементов И-Н Е 4 второй группы, с выходов которых сигнал низкого уровн  поступает одновременно на соответствующие входы элеменов И 5 второй группы и входы первого элемента И 7, в результате чего на выходе первого элемента И 7 по витс  сигнал низкого уровн , который вызовет остановку генератора тактовых импульсов 9 и по вление сигналаThe high level signal from the output of the corresponding triggers of the 3rd group of triggers of the query register enters simultaneously the first inputs of the corresponding AND 5 elements of the second group and the I – E E 4 elements of the second group, from whose outputs the low level signal simultaneously arrives at the corresponding inputs of the II 5 elements of the second group and inputs of the first element And 7, as a result of which at the output of the first element And 7 there is a low level signal that will cause the clock generator 9 to stop and the signal will appear

низкого уровн  на выходе третьего элемента И 12, в результате чего дальнейша  запись запросов в триггеры 3 группы триггеров регистра запросов прекратитс . На этом этап записи запросов заканчиваетс .low level at the output of the third element And 12, as a result of which the further recording of requests to the triggers of the 3 groups of triggers of the register of the requests is terminated. At this point, the recording of requests is completed.

Этап обработки запросов.The stage of processing requests.

Сигнал низкого уровн  с выхода первого элемента И 7 поступает на вход элементаThe low level signal from the output of the first element And 7 is fed to the input element

НЕ 8, с выхода которого сигнал высокого уровн  поступает на третьи входы элементов И 5 второй группы, однако совпадение сигналов высокого уровн  происходит только на входах того элемента И 5 второй группы , куда поступает сигнал высокого уровн  с выхода соответствующего триггера 3 группы триггеров регистра запросов. Таким образом на выходах 26 группы в любой момент времени присутствует только одинHE 8, from the output of which the high level signal arrives at the third inputs of AND 5 elements of the second group, however, the high level signals coincide only at the inputs of that AND 5 element of the second group, which receives a high level signal from the output of the corresponding trigger of the 3 group of trigger registers. Thus, at the outputs of the 26th group, only one is present at any given time.

сигнал высокого уровн , причем на том выходе 26 группы выходов, который соответствует наивысшему необработанному запросу. По окончании обработки запроса по соответствующему входу 20 второй группы входов поступает импульс ответа, который , пройд  через вход соответствующего триггера 3 группы триггеров регистра запросов , сбрасывает его в нулевое состо ние . Одновременно этот же импульсhigh level signal, and at that output 26 of the group of outputs, which corresponds to the highest unprocessed request. Upon completion of processing the request, a response impulse is received at the corresponding input 20 of the second group of inputs, which, after passing through the input of the corresponding trigger 3 of the trigger register group 3, resets it to the zero state. At the same time, the same impulse

поступает через первый элемент ИЛИ 13 и элемент ИЛ И-НЕ 16 на вторые входы элементов И 5 второй группы, блокиру  выдачу сигналов высокого уровн  на врем  действи  импульса ответа. В результате этого сигнал высокого уровн  снимаетс  с соот- ветствующего выхода 26 группы выходов.comes through the first element OR 13 and the element IL AND-NOT 16 to the second inputs of the elements AND 5 of the second group, blocking the output of high-level signals for the duration of the response pulse. As a result, the high level signal is taken from the corresponding output 26 of the output group.

Через врем , разное длительности импульса ответа, аналогичным образом сигнал высокого уровн  по вл етс  на следующем выходе 26 группы выходов устройства, если соответствующий триггер 3 группы триггеров регистра запросов установлен в единичном состо нии.After a time different from the response pulse duration, similarly, a high level signal appears at the next output 26 of the output group of the device, if the corresponding trigger 3 of the trigger register group 3 of the request register is set to one.

Этап окончани  обработки запросов.Stage of the end of request processing.

После того, как будут обработаны все запросы данной группы, на всех входах первого элемента И 7 будут присутствовать сигналы высокого уровн  (так как все триггеры 3 группы триггеров регистра запросов установлены в нулевое состо ние), следовательно , на выходах соответствующих элементов И-НЕ 4 второй группы присутствует сигнал высокого уровн . В результате на выходе первого элемента И 7 образуетс  сигнал высокого уровн  и устройство начинает новый цикл работы.After all requests of this group are processed, all inputs of the first element And 7 will have high-level signals (since all triggers of the 3 groups of trigger registers of the request register are set to zero), therefore, at the outputs of the corresponding AND-NOT 4 elements The second group contains a high level signal. As a result, at the output of the first element And 7, a high level signal is formed and the device starts a new cycle of operation.

Режим 2. Этап записи запросов.Mode 2. Stage recording requests.

В режиме 2 дискретного обслуживани  запросов с использованием маски исходное состо ние регистров и триггеров устройства , а так же их функционировани  происходит аналогично, за исключением того, что на втором выходе второго регистра 17 режима присутствует сигнал высокого уровн , разрешающий прохождение сигнала с первого выхода триггера 11. В результате этого к моменту окончани  этого этапа на первом выходе триггера 11 присутствует сигнал высокого уровн , который через п тый элемент И 18 поступает на второй вход первого регистра 6 маски, в результате чего на выходах первого регистра 6 маски, а следовательно , и на соответствующих ьходах элементов И-НЕ и И вторых групп будет присутствовать маска, причем сигналы низкого уровн  будут соответствовать замаскированным уровн м приоритетов запросов.In mode 2 discrete servicing of requests using a mask, the initial state of the registers and triggers of the device, as well as their operation, is similar, except that a high level signal is present at the second output of the second register 17, allowing a signal from the first trigger output 11 As a result, by the time this phase ends, the first output of the trigger 11 contains a high level signal, which through the fifth element I 18 enters the second input of the first register 6 of the mask, Performan which the outputs of the first register mask 6, and therefore on the respective hodah AND-NO elements and the second group will be present mask, and low level signals would be masked prior match queries m priorities.

Режим обработки запросов.Request processing mode.

Данный этап проходит с той лишь разницей , что в начале обслуживани  только незамаскированные запросы. После того как будут обработаны все не замаскированные запросы на всех входах первого элемента И 7 по вл ютс  сигналы высокого уровн . С выхода этого элемента сигнал высокого уровн  поступает на вход генератора тактовых импульсов 9, который формирует следующий импульс, по которому триггер 11 переводитс  в нулевое состо ние, в результате чего сигнал, низкого уровн  с первого выхода триггера 11 через п тый элемент И 18 поступает на второй вход первого регистра 6 маски и переводит его в состо ние, в результате чего код маски снимаетс  с вторых элементов И-НЕ 4 второй группы и начинаетс  обработка запросов, которые ранее были замаскированы.This stage takes place with the only difference that at the beginning of the service only unguarded requests. After all non-masked requests are processed, high level signals appear at all inputs of the first element And 7. From the output of this element, the high level signal is fed to the input of the clock pulse generator 9, which generates the next pulse, which triggers 11 to the zero state, resulting in a low level signal from the first output of the trigger 11 through the fifth element 18 to the second input of the first register 6 of the mask and translates it into a state, as a result of which the mask code is removed from the second elements AND-NOT 4 of the second group and the processing of requests that were previously masked begins.

Этап окончани  обработки запросов. Характерной чертой режимов 1 и 2  вл етс  5 дискретное обслуживание запросов, т.е. запись и обслуживание очередной группы запросов различных приоритетов производитс  в определенные моменты времени, определ емые моментом оконча10 ни  обработки последнего из запросов предыдущей записанной группы. Режим 3. Этап записи запросов. В режиме 3 непрерывного обслуживани  запросов без использовани  маски ис15 ходное состо ние триггеров и регистров устройства то же, за исключением того, что на первом выходе второго регистра 17 режима присутствует сигнал высокого уровн , разрешающий прохождение импульсов от0 вета с выхода первого элемента ИЛИ 13 через четвертый элемент И 14 и второй элемент ИЛИ 15 на вторые входы элементов ИЛИ-НЕ 1 первой группы.Stage of the end of request processing. A characteristic feature of modes 1 and 2 is 5 discrete query service, i.e. The recording and maintenance of the next group of requests of different priorities is performed at certain points in time determined by the moment of the end10 or the processing of the last of the requests of the previous recorded group. Mode 3. Stage recording requests. In mode 3 of continuous servicing of requests without using a mask, the initial state of the triggers and device registers is the same, except that the first output of the second register 17 of the mode contains a high level signal allowing the passage of pulses from the output of the first element OR 13 through the fourth the element AND 14 and the second element OR 15 to the second inputs of the elements OR NOT 1 of the first group.

Этап записи запросов. После обра5 ботки очередного запроса импульс ответа по соответствующему входу 20 второй группы входов поступает на одноименный вход первого элемента ИЛИ 13 и с его выхода через четвертый элемент И 14 и второй эле0 мент ИЛИ 15 на вторые входы элементов И-НЕ 1 первой группы, в результате чего в соответствующие триггеры 3 группы триггеров регистра запросов будут записаны запросы , если к этому моменту времени ониStage recording requests. After processing the next request, the response pulse for the corresponding input 20 of the second group of inputs goes to the same input of the first element OR 13 and from its output through the fourth element AND 14 and the second element OR 15 to the second inputs of the AND-NOT elements of the first group, as a result which, in the corresponding triggers of the 3 groups of triggers of the query register, the queries will be recorded, if at this time they

5 выставлены на соответствующих входах 19 первой группы входов. В этом случае обслуживатьс  будет запрос с высшим приоритетом , даже если он только что поступил. К обслуживанию запросов более низких при0 оритетов устройство перейдет только в случае отсутстви  на данный момент времени запросов с высшим приоритетом, Если в момент обслуживани  запроса с низким приоритетом будет выставлен запрос с бо5 лее высоким приоритетом, то он будет обслужен сразу же после окончани  обслуживани  предыдущего запроса. Этап окончани  обработки запросов. В этом режиме окончание обработки за0 просов происходит в том случае, если запрос больше не поступает. При этом устройство находитс  в состо нии ожидани ,5 are exposed at the corresponding inputs 19 of the first group of inputs. In this case, the request with the highest priority will be served, even if it has just arrived. To service requests of lower priorities, the device will go only if there are no requests with the highest priority at the moment. If at the time of servicing the request with a low priority a request with a higher priority is submitted, then it will be served immediately after the end of the service of the previous request . Stage of the end of request processing. In this mode, the end of request processing occurs if the request is no longer received. The device is in a standby state,

Режим 4. Этап записи запросов.Mode 4. Stage recording requests.

5 Данный этап режима 4 непрерывного обслуживани  запросов с использованием маски аналогичен, но с той лишь разницей, что разрешено использование записанного в первый регистр 6 маски кода маски.5 This stage of the mode 4 of continuous service of requests using a mask is similar, but with the only difference that the use of the mask code mask recorded in the first register 6 is allowed.

Этап обработки запросов.The stage of processing requests.

После обслуживани  всех записанных незамаскированных запросов при отсутствии вновь поступивших производитс  пере- ключение триггера 11 и происходит обслуживание замаскированных запросов.After servicing all the recorded, unmasked requests, in the absence of newly received requests, trigger 11 is switched and the masked requests are serviced.

Этап окончани  обработки запросов.Stage of the end of request processing.

Таким образом характерной чертой режимов 3 и 4  вл етс  непрерывное обслуживание запросов, т.е. запись очередного запроса осуществл етс  сразу же после окончани  обслуживани  предыдущего, а обслуживание поступившего запроса - после окончани  обслуживани  запросов более высокого приоритета и отсутствии их поступлени .Thus, a feature of modes 3 and 4 is the continuous service of requests, i.e. the next request is recorded immediately after the end of the previous service, and the incoming request is serviced after the end of the service and the absence of incoming requests.

Использование устройства-прототипа позвол ет обслуживать поступившие запросы по одной фиксированной дисциплине обслуживани , при которой за вки с высшим приоритетом вынуждены ожидать окончани  обслуживани  группы запросов с более низкими приоритетами. Использование же предлагаемого устройства позвол ет измен ть дисциплину обслуживани , при изменении параметров потока запросов, что приводит к повышению качества обслуживани  запросов с высшими приоритетами.The use of the prototype device allows servicing incoming requests for one fixed service discipline, in which applications with the highest priority are forced to wait for the service to end to a group of requests with lower priorities. The use of the proposed device allows changing the discipline of service when changing the parameters of the request flow, which leads to an increase in the quality of service of requests with higher priorities.

Таким образом, предлагаемое устройство может быть использовано в блоках управлени  устройствами общего пользовани  с повышенными требовани ми к качеству обслуживани  запросов с высшими приоритетами .Thus, the proposed device can be used in control units of common use devices with increased demands on the quality of service of requests with top priorities.

Claims (1)

Формула изобретени  Устоойство приоритета, содержащее две группы элементов И-НЕ, две группы элементов И, группу триггеров, регистр маски, три элемента 2И, элемент НЕ, генератор тактовых импульсов, триггер, первый вход первого элемента И соединен с выходом второго элемента И, входом эпемента НЕ и входом генератора тактовых импульсов, выход которого подключен к первому входу третьего элемента И, второму входу первого элемента И и к С-входу триггера, вход записи регистра маски  вл етс  входом записи устройства и подключен к S-входу триггера, нулевой выход которого соединен с третьим входом первого элемента И и вторым входом третьего элемента И, выход которого  вл етс  выходом разрешени  записи маски устройства, группа входов запросов которого подключена к первым входам одноименных элементов И-НЕ и И первых групп, выходы которых подключены к S- и R-входам соответственно одноименныхInvention priority priority device containing two groups of AND-NOT elements, two groups of AND elements, trigger group, mask register, three 2I elements, NOT element, clock generator, trigger, first input of the first element AND connected to the output of the second element AND, input of the NOT element and the input of the clock generator, the output of which is connected to the first input of the third element I, the second input of the first element I and to the C input of the trigger, the recording input of the mask register is the recording input of the device and connected to the S input of the trigger the output of which is connected to the third input of the first element AND and the second input of the third element AND, the output of which is the output of enabling the recording of a device mask, a group of request inputs of which are connected to the first inputs of the same-name elements AND-NOT and AND first groups whose outputs are connected to S - and R-inputs, respectively, of the same name триггеров группы, пр мые выходы которых подключены к первым входам элементов И второй группы и к первым входам одноименных элементов И-НЕ второй группы, заgroup triggers, the direct outputs of which are connected to the first inputs of the AND elements of the second group and to the first inputs of the same-name elements of the NAND of the second group, исключением последнего вторые входы подключены к одноименным разр дным выходам регистра маски и к вторым входам одноименных элементов И второй группы, третьи входы которых подключены к выходуwith the exception of the latter, the second inputs are connected to the same-named bit outputs of the mask register and to the second inputs of the elements of the same name of the second group, the third inputs of which are connected to the output элемента НЕ, выходы элементов И-НЕ второй группы подключены к соответствующим входам второго элемента И, выход i-ro (,..., n--1, n - число запросов) элемента И-НЕ второй группы подключен ксоответствующим входам с (i+1)-ro по n-й элементов И второй группы, выходы элементов И второй группы  вл ютс ч группой запросных выходов устройства, группа входов ответа которого подключена к вторым входам элементов И и И-НЕ первых групп соответственно , D-входы триггеров группы подключены к шине логического нул  устройства , С-входы триггеров группы  вл ютс  тактовым входом устройства, группаof the NOT element, the outputs of the second group AND-NOT elements are connected to the corresponding inputs of the second element AND, the output i-ro (, ..., n - 1, n is the number of requests) of the AND-NOT element of the second group is connected to the corresponding inputs with (i +1) -ro on the n-th element of the second group, the outputs of the elements of the second group are the group of request outputs of the device, the input response group of which is connected to the second inputs of the AND and AND-NOT elements of the first groups, respectively, the D inputs of the group triggers are connected to the logical zero bus of the device, the C inputs of the group triggers are ticks th input device, the group информационных входов регистра маски  вл етс  группой входов маски устройства, отличающеес  тем, что, с целью повышени  быстродействи , в него дополнительно введены первый элемент ИЛИ,the information entries of the mask register is a group of device mask inputs, characterized in that, in order to improve speed, the first OR element is additionally introduced into it, четвертый элемент И, второй элемент ИЛИ, элемент ИЛ И-НЕ, регистр режимов, п тый элемент И, первый вход которого соединен с первым разр дным выходом регистра режимов , группа информационных входов которого  вл етс  группой входов режима устройства, вход записи которого  вл етс  группой входов режима устройства, вход записи которого подключен к входу записи регистра режимов и первому входу элемента ИЛ И-НЕ, второй вход которого подключен к выходу первого элемента ИЛИ и первому входу четвертого элемента И, второй вход которого соединен с вторым разр дным выходом регистра режимов, выходthe fourth element is AND, the second element is OR, the element is IL-AND-NOT, the mode register, the fifth element is AND, the first input of which is connected to the first bit output of the mode register, the group of information inputs of which is a group of device mode inputs whose recording input is a group of inputs of the device mode whose recording input is connected to the record input of the mode register and the first input of the IL-AND-NOT element, the second input of which is connected to the output of the first OR element and the first input of the fourth AND element, the second input of which is connected to the second bit output of the mode register, the output четвертого элемента И соединен с первым входом второго элемента ИЛИ, второй вход которого подключен к выходу первого элемента И, единичный выход триггера соединен с вторым входом п того элемента И,the fourth element AND is connected to the first input of the second element OR, the second input of which is connected to the output of the first element AND, the single output of the trigger is connected to the second input of the fifth element AND, выход которого соединен с входом разрешени  выдачи регистра маски, выход элемента ИЛ И-НЕ соединен с четвертыми входами элементов И второй группы, группа входов ответа устройства соединена с соответствующими входами первого элемента ИЛИ, выход второго элемента ИЛИ - с третьими входами элементов И-НЕ первой группы.the output of which is connected to the mask register issue enable input, the output of the IL AND-IS element is connected to the fourth inputs of the AND elements of the second group, the input response group of the device is connected to the corresponding inputs of the first OR element, the output of the second OR element to the third inputs of the AND-NE elements first groups. Ы,S ;&; &
SU904832917A 1990-05-29 1990-05-29 Priority device SU1741133A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU904832917A SU1741133A1 (en) 1990-05-29 1990-05-29 Priority device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU904832917A SU1741133A1 (en) 1990-05-29 1990-05-29 Priority device

Publications (1)

Publication Number Publication Date
SU1741133A1 true SU1741133A1 (en) 1992-06-15

Family

ID=21517397

Family Applications (1)

Application Number Title Priority Date Filing Date
SU904832917A SU1741133A1 (en) 1990-05-29 1990-05-29 Priority device

Country Status (1)

Country Link
SU (1) SU1741133A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1148030, кл. G 06 F 9/46, 1982. Авторское свидетельство СССР № 1361553, кл. G 06 F 9/46, 1986. *

Similar Documents

Publication Publication Date Title
SU1741133A1 (en) Priority device
SU1624449A1 (en) Device for connecting data sources to a common bus
SU1522205A1 (en) Device for servicing impurities
RU1805467C (en) Device for request servicing
SU1483454A1 (en) Request servicing unit
SU1174919A1 (en) Device for comparing numbers
SU1120328A1 (en) Device for priority processing of requests
SU1226465A2 (en) Device for servicing request groups with different priorities
RU1789984C (en) Handle priorities device
SU1606975A1 (en) Device for executing interruptions
SU1599858A1 (en) Device for cyclic interrogation of initiative signals
SU1756888A1 (en) Dynamic priority device
SU1336004A1 (en) Inquiry service device
SU1056194A1 (en) Priority device
RU1809436C (en) Device for comparing and sorting numbers
SU1081803A1 (en) Counter
SU1341640A1 (en) Interruption signal forming device
SU1531097A1 (en) Priority device
SU1242949A1 (en) Priority device for servicing interrogations in arrival order
SU1226464A1 (en) Device for servicing interrogations
SU1737449A1 (en) Priority device
RU1833874C (en) Priority device
RU1807492C (en) Data output device
SU1176360A1 (en) Device for transmission and reception of information
SU1091161A2 (en) Device for control of servicing requests in arrival order