RU2152072C1 - Dynamic priority device - Google Patents

Dynamic priority device Download PDF

Info

Publication number
RU2152072C1
RU2152072C1 RU99104580A RU99104580A RU2152072C1 RU 2152072 C1 RU2152072 C1 RU 2152072C1 RU 99104580 A RU99104580 A RU 99104580A RU 99104580 A RU99104580 A RU 99104580A RU 2152072 C1 RU2152072 C1 RU 2152072C1
Authority
RU
Russia
Prior art keywords
inputs
elements
group
output
outputs
Prior art date
Application number
RU99104580A
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 RU99104580A priority Critical patent/RU2152072C1/en
Application granted granted Critical
Publication of RU2152072C1 publication Critical patent/RU2152072C1/en

Links

Images

Abstract

FIELD: computer engineering and automatic control, in particular, interrupt generators, data flow controllers, generators of data bank addresses in logical processors. SUBSTANCE: device has request register, priority unit, two groups of OR gates, group of AND gates, two OR gates, n l-bit priority registers, n groups of bit AND gates. Goal of invention is achieved by introduced AND gate, OR gate, (n+1) priority registers, (n+2) logical units, each of which has two groups of AND gates, group of AND gates, group of OR gates, three gates, two AND gates, delay gate 32. EFFECT: increased field of application, simplified design. 6 dwg

Description

Изобретение относится к вычислительной технике, автоматическому контролю и может быть использовано в устройствах прерывания программ, управления потоками данных и формирования исполнительного адреса банков в логических процессорах. The invention relates to computer technology, automatic control and can be used in devices for interrupting programs, controlling data flows and forming the executive address of banks in logical processors.

Известно устройство переменного приоритета (авторское свидетельство СССР N 1383353, м.кл. 4 G 06 F 9/46, бюл. N 11, 1988), содержащее триггер, единичный и нулевой входы которого являются входами режима устройства, регистр запросов, разрядные входы которого являются группой запросных входов устройства, первую группу элементов И, первые входы которых объединены и соединены с единичным выходом триггера, второй вход каждого i-го (i=1,2,...,n, где n - число запросных входов) элемента И первой группы соединен соответственно с i - ым (i = 1,2,...,n) разрядным выходом регистра запроса, вторую группу элементов И, первые входы которых объединены и соединены с нулевым выходом триггера, второй вход каждого i - го (i = 1,2,..., n) элемента И второй группы соединен соответственно c j - ым (j=n, n-1,..., 1) разрядным выходом регистра запроса, первую группу элементов ИЛИ, входы которых соединены соответственно с выходами одноименных элементов И первой и второй групп, а выходы - с входами первого элемента ИЛИ, регистр кода приоритета, входы которого являются управляющими входами задания режима устройства, а выходы соединены с одноименными входами дешифратора, третью группу элементов И, инверсные входы которых соединены соответственно с выходами дешифратора, четвертую группу элементов И, первые входы которых соединены с инверсными входами одноименных элементов И третьей группы, вторые входы элементов И четвертой группы объединены и соединены с выходом первого элемента ИЛИ, выход первого элемента И пятой группы соединен с прямым входом второго элемента И третьей группы, выход i - го (i=2,3,...,(n-1)) элемента И пятой группы соединен с прямым входом (i+1) элемента И третьей группы, выход n - го элемента И пятой группы соединен с прямым входом первого элемента И третьей группы, выходы одноименных элементов И четвертой и третьей групп соответственно соединены с входами одноименных элементов ИЛИ второй группы, выходы которых соответственно соединены с первыми входами элементов И шестой группы и прямыми входами элементов И пятой группы, инверсные входы элементов И пятой группы и вторые входы элементов И шестой группы соответственно объединены и соединены с выходами соответствующих одноименных элементов ИЛИ первой группы, выходы элементов И шестой группы соответственно соединены с входами шифратора, выходы которого являются группой информационных выходов устройства. A variable priority device is known (USSR author's certificate N 1383353, class 4 G 06 F 9/46, bull. N 11, 1988), containing a trigger, the single and zero inputs of which are the device mode inputs, the request register, the bit inputs of which are a group of request inputs of a device, the first group of AND elements, the first inputs of which are combined and connected to a single output of a trigger, the second input of each i-th (i = 1,2, ..., n, where n is the number of request inputs) of an AND element the first group is connected respectively with the i - th (i = 1,2, ..., n) bit output of the register interrogation, the second group of AND elements, the first inputs of which are combined and connected to the zero output of the trigger, the second input of each i - th (i = 1,2, ..., n) element And the second group is connected respectively cj - th (j = n , n-1, ..., 1) by the bit output of the request register, the first group of OR elements, the inputs of which are connected respectively to the outputs of the same elements AND of the first and second groups, and the outputs are with the inputs of the first OR element, the priority code register, whose inputs are the control inputs of the device mode setting, and the outputs are connected to the same decoder inputs, the third group of AND elements, the inverse inputs of which are connected respectively to the outputs of the decoder, the fourth group of AND elements, the first inputs of which are connected to the inverse inputs of the same elements AND of the third group, the second inputs of the elements AND of the fourth group are combined and connected to the output of the first OR element, the output of the first AND element of the fifth group is connected to the direct input of the second AND element of the third group, the output of the ith (i = 2,3, ..., (n-1)) element of the And fifth element is connected to the direct input (i + 1) element And the third group, out one of the nth element AND of the fifth group is connected to the direct input of the first element AND of the third group, the outputs of the same elements AND of the fourth and third groups, respectively, are connected to the inputs of the same elements OR of the second group, the outputs of which are respectively connected to the first inputs of the elements AND of the sixth group and direct inputs elements And the fifth group, the inverse inputs of the elements And the fifth group and the second inputs of the elements And the sixth group, respectively, are combined and connected to the outputs of the corresponding elements of the same OR OR the first group , And outputs elements of the sixth group are connected respectively to the inputs of the encoder, the outputs of which are a group of information outputs of the device.

Признаками аналога, общими с заявляемым техническим решением, являются регистр запросов, шифратор, первая группа элементов И. Signs of an analogue common with the claimed technical solution are the request register, encoder, first group of elements I.

Причины, препятствующие достижению требуемого технического результата, заключаются в низкой разрешающей способности при управлении запросами η = 2•C i N /2 где

Figure 00000002
- число разрядов кода маски, N - число входных запросов, при которой каждый запрос (абонент) может иметь только два уровня приоритета и рост аппаратурных затрат при реализации данного устройства.The reasons that impede the achievement of the required technical result are the low resolution when managing requests η = 2 • C i N / 2 where
Figure 00000002
- the number of bits of the mask code, N - the number of input requests at which each request (subscriber) can have only two priority levels and an increase in hardware costs when implementing this device.

Известно устройство переменного приоритета (авторское свидетельство СССР N 1444766, м. кл. 4 G 06 F 9/46, бюл. N 46, 1988), содержащее регистр запросов, две группы элементов И, элемент ИЛИ-НЕ, группу дешифраторов, группу регистров, группу элементов ИЛИ, триггер, первый элемент ИЛИ, элемент И и группу из m блоков формирования максимального кода (m - число запросов), причем группа кодовых входов устройства соединена с группой информационных входов регистров группы, группа входов кода номера абонента устройства соединена с группами входов дешифраторов группы, информационные входы регистра запросов являются запросными устройства, выход каждого дешифратора группы соединен с входом разрешения записи одноименного регистра группы, входы элементов И первой группы являются индикационными выходами устройства, выходы регистра запросов соединены с входами первого элемента ИЛИ, выход которого является сигнальным выходом устройства, отличающееся тем, что с целью расширения области применения за счет обеспечения возможности обслуживания абонентов с абсолютными и относительными приоритетами устройство содержит группы триггеров, элемент ИЛИ- НЕ, второй, третий четвертый элементы ИЛИ-НЕ, причем запросные и ответные входы устройства соединены с элемента ИЛИ-НЕ, ответные входы устройства соединены с входами второго элемента ИЛИ, каждый ответный вход устройства соединен с входом сброса одноименного триггера группы и с одноименным входом сброса регистра запросов, каждый выход которого соединен с входом запуска одноименного блока формирования максимального кода группы, группа выходов каждого регистра группы соединена с первой группой информационных входов одноименного блока формирования максимального кода группы j - й, выход группы выходов каждого из которых (j = 1,2,...,m) соединен с соответствующим входом j - го элемента ИЛИ-НЕ группы, выход которого соединен с j - м входом второй группы информационных входов каждого блока формирования максимального кода группы, индикационный выход каждого блока формирования максимального кода группы соединен с первым входом одноименного элемента И второй группы, выход каждого элемента И второй группы соединен с входом установки в "1" одноименного триггера группы, тактовый вход каждого из триггеров группы соединен с выходом одноименного элемента ИЛИ группы, входы каждого элемента ИЛИ группы соединены с выходами всех триггеров группы, исключая выход одноименного триггера группы, выход элемента ИЛИ-НЕ соединен с вторыми входами всех элементов И второй группы, выход каждого триггера группы соединен с первым входом одноименного элемента И первой группы, выходы элементов И первой группы соединены с входами третьего элемента ИЛИ, выход которого соединен с входом сброса триггера, вход запуска устройства соединен с соответствующим входом второго элемента ИЛИ, выход которого соединен с первым входом элемента И, второй вход которого является первым входом задания режима устройства, выход элемента И соединен с первым входом четвертого элемента ИЛИ, второй вход которого является вторым входом задания режима устройства, выход четвертого элемента ИЛИ соединен с вторыми входами всех элементов И первой группы, информационные входы триггеров группы соединены с входом логического нуля устройства, информационный вход триггера соединен с входом логической единицы устройства. A device of variable priority (USSR author's certificate N 1444766, class. 4 G 06 F 9/46, bull. N 46, 1988) containing a request register, two groups of AND elements, an OR-NOT element, a group of decoders, a group of registers , a group of OR elements, a trigger, a first OR element, an AND element, and a group of m blocks for generating the maximum code (m is the number of requests), moreover, the group of code inputs of the device is connected to the group of information inputs of the group registers, the group of inputs of the code of the subscriber number of the device is connected to groups group decoder inputs, and The information inputs of the request register are request devices, the output of each group decoder is connected to the write permission input of the group register of the same name, the inputs of the And elements of the first group are the indicator outputs of the device, the outputs of the request register are connected to the inputs of the first OR element, the output of which is the signal output of the device, characterized in that in order to expand the scope by providing the ability to service subscribers with absolute and relative device priorities yours contains trigger groups, the OR-NOT element, the second, third fourth elements OR-NOT, and the request and response inputs of the device are connected to the OR-NOT element, the response inputs of the device are connected to the inputs of the second OR element, each response input of the device is connected to a reset input group trigger of the same name and with the same input reset request register, each output of which is connected to the start input of the unit of the same name generating the maximum group code, the group of outputs of each group register is connected to the first group and information inputs of the unit of the same name forming the maximum code of the jth group, the output of the group of outputs of each of which (j = 1,2, ..., m) is connected to the corresponding input of the jth element OR NOT of the group, the output of which is connected to j - m the input of the second group of information inputs of each unit for generating the maximum code of the group, the indicator output of each unit for generating the maximum code of the group is connected to the first input of the same element And the second group, the output of each element And the second group is connected to the installation input in "1" by one group trigger, the clock input of each of the group triggers is connected to the output of the same element of the group OR, the inputs of each element of the group are connected to the outputs of all the group triggers, excluding the output of the group trigger of the same name, the output of the OR element is NOT connected to the second inputs of all elements of the second group , the output of each group trigger is connected to the first input of the element of the same name AND the first group, the outputs of the elements of the first group are connected to the inputs of the third OR element, the output of which is connected to the reset reset input , the device startup input is connected to the corresponding input of the second OR element, the output of which is connected to the first input of the AND element, the second input of which is the first input of the device mode setting, the output of the AND element is connected to the first input of the fourth OR element, the second input of which is the second input of the mode setting devices, the output of the fourth element OR is connected to the second inputs of all elements AND of the first group, the information inputs of the triggers of the group are connected to the logical zero input of the device, the information input igger connected to the input of the logical unit of the device.

Признаками аналога, общими с заявляемым техническим решением, являются регистр запроса, группа регистров кода приоритета, триггер, элементы И группы. Signs of an analogue common with the claimed technical solution are a request register, a group of priority code registers, a trigger, elements AND groups.

Причины, препятствующие достижению требуемого технического результата, заключаются в аппаратурной избыточности в зависимости от роста информационной емкости устройства. The reasons that impede the achievement of the required technical result are hardware redundancy, depending on the growth of the information capacity of the device.

Из известных технических решений наиболее близким по технической сущности к заявляемому объекту является устройство переменного приоритета с шифрацией адреса (авторское свидетельство СССР N 1234837, м. кл. 4 G 06 F 9/46, бюл. N 20, 1986), содержащее регистр запросов, входы которого являются запросными входами устройства, триггер, шифратор, выходы которого являются группой информационных выходов устройства, n регистров приоритета (n - количество источников запросов), группу дешифраторов, группу блоков элементов И, две группы элементов ИЛИ, два блока приоритета, два элемента ИЛИ, m групп элементов И (m - количество кодов приоритета), причем первый блок каждого блока элементов И группы подключен к выходу соответствующего регистра приоритета, вторые входы всех блоков элементов И группы соединены с выходом триггера, группа выходов каждого блока элемента И группы соединена с группой входов соответствующего дешифратора группы, выход i - го

Figure 00000003
элемента ИЛИ второй группы соединен с i - ым входом второго блока приоритета, группа выходов которого подключена к группе входов шифратора, к группе входов сброса регистра запросов и к группе входов первого элемента ИЛИ, выход которого соединен с входом установки в "О" триггера, вход установки в "1" которого подключен к выходу второго элемента ИЛИ, первый и второй входы которого являются входом сигнала ответа и входом "Пуск" устройства соответственно, при этом третьи входы каждого блока элементов И группы подключены к выходу соответствующего регистра приоритета, входы регистра приоритета являются группой входов кода приоритета устройства.Of the known technical solutions, the closest in technical essence to the claimed object is a variable priority device with address encryption (USSR author's certificate N 1234837, class. 4 G 06 F 9/46, bulletin N 20, 1986), containing the request register, the inputs of which are the request inputs of the device, a trigger, an encoder, the outputs of which are a group of information outputs of the device, n priority registers (n is the number of request sources), a group of decoders, a group of blocks of AND elements, two groups of OR elements, two priority blocks itet, two OR elements, m groups of AND elements (m is the number of priority codes), the first block of each block of elements AND groups connected to the output of the corresponding priority register, the second inputs of all blocks of elements AND groups connected to the output of the trigger, the group of outputs of each element block And the group is connected to the group of inputs of the corresponding group decoder, the output of the ith
Figure 00000003
of the OR element of the second group is connected to the i-th input of the second priority block, the output group of which is connected to the group of inputs of the encoder, to the group of inputs of the reset of the request register and to the group of inputs of the first OR element, the output of which is connected to the installation input in the "O" trigger, input setting to "1" which is connected to the output of the second OR element, the first and second inputs of which are the input of the response signal and the "Start" input of the device, respectively, while the third inputs of each block of elements AND groups are connected to the output of the corresponding priority register, priority register inputs are a group of device priority code inputs.

В известном устройстве последовательность обслуживания n запросов задается как порядковым номером (i = 1,2,...,n) запроса, так и наделением каждого из n запросов соответствующей кодовой комбинацией из m (m≤n) значений. Не исключена возможность наделения ряда запросов одинаковыми значениями кода приоритета, фиксируемых в регистрах. Определение наиболее приоритетного запроса в момент времени t в известном устройстве реализуется следующим алгоритмом:
1. Единичными запросами выделяются соответствующие им кодовые значения приоритетов.
In the known device, the sequence of servicing n requests is specified both by the sequence number (i = 1,2, ..., n) of the request and by assigning each of n requests with the corresponding code combination of m (m≤n) values. It is not ruled out that a number of requests can be endowed with the same priority code values recorded in registers. The determination of the highest priority request at time t in a known device is implemented by the following algorithm:
1. Unit requests highlight the corresponding priority code values.

2. Выделенные кодовые комбинации декодируются дешифраторами, т. е. преобразовываются соответственно в комбинации кода на одно сочетание Сm1, т.е. в комбинации унитарного кода, положение "1" в комбинации которого отображает десятичный эквивалент (М = 1,2,...,m) декодируемой комбинации кода приоритета. Структура дешифратора соответствует закону кодообразования используемого кода приоритета. Применение других классов кодов для задания приоритета, т. е. для использования данного приоритетного устройства для других ЭВМ потребует применения других дешифраторов, т.е. другого приоритетного устройства.2. The allocated code combinations are decoded by decoders, that is, they are converted respectively into code combinations for one combination With m 1 , ie in the combination of a unitary code, the position "1" in the combination of which displays the decimal equivalent (M = 1,2, ..., m) of the decoded combination of the priority code. The structure of the decoder corresponds to the code formation law of the priority code used. The use of other classes of codes to set the priority, i.e., to use this priority device for other computers, will require the use of other decoders, i.e. another priority device.

3. Объединение одноименных выходов дешифраторов логическими элементами ИЛИ в m дизъюнктивных каналов двоичных эквивалентов кодовых значений кодов приоритетов обеспечивает появление единичного сигнала в соответствующих m каналах. Номер канала соответствует номеру комбинации, занимаемой среди m комбинаций. 3. The combination of the outputs of the decoders of the same name with logical elements OR in m disjunctive channels of binary equivalents of the code values of the priority codes ensures the appearance of a single signal in the corresponding m channels. The channel number corresponds to the combination number occupied among m combinations.

4. Для выбора наиболее приоритетной комбинации среди декодированных комбинаций кода приоритета предназначен схемно-детерминированный алгоритм приоритетного блока, т.е. отсутствует возможность изменения приоритета. 4. To determine the most priority combination among the decoded combinations of the priority code, a circuit-determined algorithm of the priority block is intended, ie there is no possibility of changing the priority.

5. Единичным сигналом с выхода приоритетного блока опрашиваются одноименные выходы всех n дешифраторов посредством элементов И (m групп, в каждой по n элементов), т.е. определяются запросы, имеющие в момент времени t наиболее приоритетное значение (максимальное или минимальное) кодовой комбинации, таких запросов, как уже указывалось, может быть несколько. 5. A single signal from the output of the priority block polls the outputs of the same name for all n decoders by means of AND elements (m groups, each with n elements), ie queries are determined that have at time t the highest priority value (maximum or minimum) of the code combination; there can be several such queries, as already indicated.

6. С помощью приоритетного блока с схемно-заданным приоритетом по значимости порядковых номеров выделяется наиболее приоритетный запрос с последующим кодированием его адреса. 6. Using a priority block with a circuit-set priority for the importance of sequence numbers, the highest priority request is selected with subsequent encoding of its address.

7. Переводом в "0" состояние разрядного триггера, номер разряда которого соответствует номеру выделенного запроса, запросного регистра и триггера управления, осуществляется переход к обслуживанию следующего приоритетного запроса. 7. By transferring to "0" the state of the discharge trigger, the discharge number of which corresponds to the number of the allocated request, request register and control trigger, the transition to servicing the next priority request is carried out.

Недостатками прототипа являются ограниченность области применения, поскольку структура устройства предназначена для только определенного класса кода приоритета, отсутствие контроля порога прерывания, т.е. связи схемного и программного уровней прерывания ЭВМ, и значительные аппаратурные затраты в связи с избыточностью и сложностью процедуры определения наиболее приоритетной кодовой комбинации (пп 2, 3, 4, 5 вышеперечисленных шагов алгоритма и соответствующих элементов схемы: n дешифраторов, m элементов И, приоритетного блока, mxn элементов И). The disadvantages of the prototype are the limited scope, since the structure of the device is designed for only a certain class of priority code, the lack of control of the interrupt threshold, i.e. the connection of the circuit and software levels of computer interruption, and significant hardware costs due to the redundancy and complexity of the procedure for determining the highest priority code combination (items 2, 3, 4, 5 of the above steps of the algorithm and the corresponding circuit elements: n decoders, m AND elements, priority block , mxn elements And).

Задача, на решение которой направлено заявляемое изобретение, заключается в расширении функциональных возможностей и сокращения аппаратурных затрат за счет параллельно-порязрядного сравнения кодов приоритета. The problem to which the invention is directed, is to expand the functionality and reduce hardware costs due to parallel-discharge comparison of priority codes.

Технический результат, достигаемый при осуществлении изобретения, заключается в расширении функциональных возможностей, достигаемым повышением на порядок информативности устройства и обеспечением режима маскирования запросов, кроме того, более чем в десять раз понижаются аппаратные затраты и обеспечивается более однородная структура. The technical result achieved by the implementation of the invention is to expand the functionality achieved by increasing the order of information content of the device and providing a masking mode for requests, in addition, more than ten times lower hardware costs and a more uniform structure is provided.

Технический результат, который может быть получен при осуществлении изобретения, достигается тем, что в устройство переменного приоритета, содержащее регистр запросов, содержащий группу запросных входов, которые являются группой запросных входов устройства, и два входа задания режима, блок приоритета, содержащий два входа задания режима, соединенные с входами задания режима регистра запросов, и n входов управления, являющихся одноименными входами устройства, две группы элементов ИЛИ и группу элементов И, выходы блока приоритета соединены с входами шифратора, выходы которого являются информационными выходами устройства, с входами сброса регистра запросов и с входами первого элемента ИЛИ, выход которого соединен с нулевым входом триггера, второй элемент ИЛИ, первый и второй входы которого являются входами сигналов "Ответ" и "Пуск" устройства соответственно, n 1- разрядных регистров приоритета (n - количество источников запросов), входы которых являются входами задания кодов приоритета источников запросов устройства, n групп разрядных элементов И по l элементов в каждой группе, первые входы которых погруппно объединены и соединены с соответствующими выходами регистра запросов, вторые входы всех разрядных элементов И групп соединены с единичным выходом триггера, выходы регистров приоритетов поразрядно соединены с третьими входами разрядных элементов И соответствующих групп, дополнительно введены первый элемент И, первый вход которого соединен с выходом второго элемента ИЛИ, второй вход первого элемента И соединен с выходом третьего элемента ИЛИ, входы которого соединены соответственно с запросными входами регистра запросов, а выход первого элемента И соединен с единичным входом триггера, n логических блоков, информационные входы которых соответственно разрядам и группам соединены с выходами разрядных элементов И групп, причем каждый логический блок содержит в каждом разряде, кроме первого, вторые элементы И, первые входы которых являются соответствующими (2,3,...l)-информационными входами логического блока, третьи элементы И, первые входы которых поразрядно объединены со вторыми входами вторых элементов И, четвертые элементы ИЛИ, первые входы которых в каждом разряде соединены с выходами вторых элементов И, а вторые входы - с выходами третьих элементов И, выход каждого четвертого элемента ИЛИ i -то разряда (где i=1,2,...,l-1) соединен с объединенными входами второго и третьего элементов И последующего разряда, выход четвертого элемента ИЛИ l разряда является информационным выходом логического блока, в первом разряде каждого логического блока содержится пятый элемент ИЛИ, первый вход пятого элемента ИЛИ является первым информационным входом этого логического блока, выход пятого элемента ИЛИ соединен с объединенными вторым входом второго элемента И и первым входом третьего элемента И второго разряда этого логического блока, входы первого элемента ИЛИ первой группы соединены с первыми информационными входами n логических блоков, нулевой выход первого элемента ИЛИ первой группы соединен с объединенными вторыми входами пятых элементов ИЛИ n логических блоков, входы j - ого (j= 2,3,...l) элемента ИЛИ первой группы соединены с выходами вторых элементов И (j-1)-го разряда n логических блоков, а нулевой выход упомянутого элемента ИЛИ соединен с объединенными вторыми входами третьих элементов И (j- 1)-го разряда n логических блоков, первые входы первой группы элементов И соответственно соединены с единичными выходами элементов ИЛИ первой группы, а вторые входы объединены и соединены с выходом шестого элемента ИЛИ, входы которого соединены с информационными выходами логических блоков, первые входы второй группы элементов И соединены с информационными выходами соответствующих логических блоков, вторые входы упомянутых элементов И объединены, а выходы соответственно соединены с информационными входами блока приоритета, устройство также содержит вторую группу элементов ИЛИ, (n+1)-ый и (n+2)-ой идентичные логические блоки, информационные входы (n+1)-го логического блока соответственно соединены с выходами элементов И первой группы (n+2)-ой логический блок, информационные входы которого соответственно соединены с выходами (n+1)-го регистра приоритета, входы которого являются входами задания кода наивысшего приоритета устройства, входы первого элемента ИЛИ второй группы соединены с первыми информационными входами (n+1)-го и (n+2)-го логических блоков, нулевой выход первого элемента ИЛИ второй группы соединен с объединенными вторыми входами пятых элементов ИЛИ (n+1)-го и (n+2)-го логических блоков, входы j - го (j=2,3,...,l) элемента ИЛИ второй группы соединены с выходами вторых элементов И (j-1)-го разряда (n+1)-го и (n+2)-го логических блоков, а нулевой выход упомянутого элемента ИЛИ соединен с объединенными вторыми входами третьих элементов И (j- 1)-го разряда (n+1)-го и (n+2)-го логических блоков, первые входы четвертого и пятого элементов И объединены и соединены с информационным выходом (n+1)-го логического блока, вторые входы также объединены, причем второй вход четвертого элемента И - инверсный, и соединены с информационным выходом (n+2)-го логического блока, входы седьмого элемента ИЛИ соединены с выходами четвертого и пятого элементов И, а выход соединен с объединенными вторыми входами элементов И второй группы, вход элемента задержки соединен с единичным выходом триггера, а выход с третьими входами элементов И второй группы и с третьими входами четвертого и пятого элементов И. The technical result that can be obtained by carrying out the invention is achieved by the fact that a variable priority device containing a request register containing a group of request inputs, which are a group of request inputs of the device, and two mode setting inputs, a priority block containing two mode setting inputs connected to the inputs of the job request register mode, and n control inputs, which are the same inputs of the device, two groups of OR elements and a group of AND elements, the outputs of the priority block are connected with the inputs of the encoder, the outputs of which are the information outputs of the device, with the inputs of the reset of the request register and with the inputs of the first OR element, the output of which is connected to the zero input of the trigger, the second OR element, the first and second inputs of which are inputs of the “Answer” and “Start” signals "devices, respectively, n 1-bit priority registers (n is the number of request sources), the inputs of which are inputs of setting priority codes for device request sources, n groups of bit elements AND l elements in each group e, the first inputs of which are grouped together and connected to the corresponding outputs of the request register, the second inputs of all bit elements AND groups are connected to a single output of the trigger, the outputs of the priority registers are bitwise connected to the third inputs of the bit elements AND of the corresponding groups, the first element And, the first input which is connected to the output of the second OR element, the second input of the first AND element is connected to the output of the third OR element, the inputs of which are connected respectively to the request input and the query register, and the output of the first AND element is connected to a single input of the trigger, n logic blocks, the information inputs of which, respectively, to the bits and groups are connected to the outputs of the bit elements AND groups, and each logical block contains, in each bit, except the first, the second AND elements, the first inputs of which are the corresponding (2,3, ... l) -information inputs of the logic block, the third elements of And, the first inputs of which are bitwise combined with the second inputs of the second elements of And, the fourth elements of OR, the first inputs whose odes in each category are connected to the outputs of the second AND elements, and the second inputs are connected to the outputs of the third AND elements, the output of each fourth element OR of the i-th category (where i = 1,2, ..., l-1) is connected to the combined the inputs of the second and third elements AND the subsequent discharge, the output of the fourth element OR of the l discharge is the information output of the logical block, the first bit of each logical block contains the fifth OR element, the first input of the fifth OR element is the first information input of this logical block, the output of the fifth of the OR element is connected to the combined second input of the second AND element and the first input of the third AND element of the second bit of this logic block, the inputs of the first OR element of the first group are connected to the first information inputs of n logical blocks, the zero output of the first OR element of the first group is connected to the combined second inputs of the fifth OR elements of n logical blocks, the inputs of the jth (j = 2,3, ... l) OR element of the first group are connected to the outputs of the second elements of the AND (j-1) th category of n logical blocks, and the zero output of the said element OR is connected to the combined second inputs of the third AND elements of the (j- 1) th category of n logic blocks, the first inputs of the first group of AND elements are respectively connected to the unit outputs of the OR elements of the first group, and the second inputs are combined and connected to the output of the sixth OR element, the inputs which are connected to the information outputs of the logical blocks, the first inputs of the second group of AND elements are connected to the information outputs of the corresponding logical blocks, the second inputs of the mentioned AND elements are combined, and the outputs, respectively о are connected to the information inputs of the priority block, the device also contains a second group of OR elements, the (n + 1) and (n + 2) th identical logic blocks, the information inputs of the (n + 1) th logical block are respectively connected to the outputs elements of the first group of the (n + 2) -th logical block, the information inputs of which are respectively connected to the outputs of the (n + 1) -th priority register, the inputs of which are the inputs of the code for the highest priority of the device, the inputs of the first element of the second group are connected to the first information inputs dams of the (n + 1) th and (n + 2) th logical blocks, the zero output of the first OR element of the second group is connected to the combined second inputs of the fifth elements OR of the (n + 1) th and (n + 2) th logical blocks, the inputs of the jth (j = 2,3, ..., l) element of the OR of the second group are connected to the outputs of the second elements of the And (j-1) -th discharge of the (n + 1) -th and (n + 2) -th logical blocks, and the zero output of the said OR element is connected to the combined second inputs of the third elements of the AND (j-1) -th category of the (n + 1) -th and (n + 2) -th logical blocks, the first inputs of the fourth and fifth elements And combined and connected to information the ion output of the (n + 1) th logical block, the second inputs are also combined, the second input of the fourth AND element being inverse, and connected to the information output of the (n + 2) th logical block, the inputs of the seventh OR element are connected to the outputs of the fourth and of the fifth AND element, and the output is connected to the combined second inputs of the AND elements of the second group, the input of the delay element is connected to a single output of the trigger, and the output to the third inputs of the And elements of the second group and to the third inputs of the fourth and fifth elements I.

Наличие отличительных признаков: введение (n+2) логических блоков, трех групп элементов И, шестого элемента ИЛИ, (n+1)-го регистра приоритета, четвертого и пятого элемента И, седьмого элемента ИЛИ и элемента задержки с соответствующими связями обуславливают соответствие заявляемого технического решения критерию "новизна". The presence of distinctive features: the introduction of (n + 2) logical blocks, three groups of AND elements, the sixth OR element, the (n + 1) -th priority register, the fourth and fifth AND elements, the seventh OR element and the delay element with the corresponding relationships determine the conformity of the claimed technical solutions to the criterion of "novelty."

В основу работы положен известный метод, основанный на положениях порядковой логики. The work is based on the well-known method based on the provisions of ordinal logic.

Пусть дана входная последовательность случайных чисел X={x1,x2,...,xn}. Используя некоторые функциональные зависимости, этот ряд необходимо упорядочить, т.е. Y=F(x1,X2,...,xn)=xAdr(1) > xAdr(2) >...> xAdr(n) , причем аргумент x является непрерывным, т. е. xi∈ {a,b} В качестве такой зависимости строятся так называемые порядковые функции, вида:

Figure 00000004

Figure 00000005

где r - адрес члена в вариационном ряде
Figure 00000006

Figure 00000007
- число сочетаний из i - элементов по N.Let an input sequence of random numbers X = {x 1 , x 2 , ..., x n } be given. Using some functional dependencies, this series must be ordered, i.e. Y = F (x 1 , X 2 , ..., x n ) = x Adr (1) > x Adr (2) >...> x Adr (n) , moreover, the argument x is continuous, i.e. x i ∈ {a, b} As such a dependence, the so-called order functions are constructed, of the form:
Figure 00000004

Figure 00000005

where r is the address of the term in the variational series
Figure 00000006

Figure 00000007
- the number of combinations of i - elements in N.

Построив эти функции, получим вариационный ряд вида Y=x(1) > x(2) >...> x(N).Having constructed these functions, we obtain a variational series of the form Y = x (1) > x (2) >...> x (N) .

На практике имеет смысл ставить задачу так: предлагаемое устройство должно реализовывать метод выбора одного или более запросов, имеющих среди n запросов наиболее приоритетное значение кодовой комбинации, с последующим приоритетным кодированием согласно априорно задаваемой приоритетной последовательности. In practice, it makes sense to pose the problem as follows: the proposed device should implement a method for selecting one or more queries that have among n queries the highest priority value of the code combination, followed by priority coding according to a priori given priority sequence.

Этот метод основан на параллельно-поразрядном сравнении кодов приоритета (независимо от класса кода) с выделением только того запроса (либо запросов), имеющего (имеющих) наиболее приоритетное (например, максимальное) значение кодовой комбинации среди кодовых значений приоритетов запросов, имеющих единичное значение на момент анализа в соответствующих разрядах регистра запросов. This method is based on parallel-bitwise comparison of priority codes (regardless of the code class) with the selection of only that request (or requests) having (having) the highest priority (for example, maximum) code combination value among request priority values code having a single value on the moment of analysis in the corresponding bits of the query register.

Если таким кодовым значением наделен только один единичный запрос, адрес его кодируется непосредственно, если же несколько - выделяется наиболее приоритетный единичный запрос согласно априорно задаваемой последовательности приоритетов. Число возможных вариантов выбора единичного запроса и последовательности кодирования всех единичных запросов задается значениями управляющих сигналов на входах блока приоритета. Число приоритетных уровней, которыми наделяется предлагаемое устройство, может быть определенно как:
M = Cni2i2(CKi)2,
где n - число кодовых значений приоритета, m=21, m≤n;
l - число единичных векторов в момент времени t, i ∈ {l,n}
К - число единичных запросов, имеющих одинаковые значения кодов приоритета.
If only one unit request is endowed with such a code value, its address is encoded directly; if there are several, the highest priority unit request is allocated according to an a priori set sequence of priorities. The number of possible options for selecting a single request and the coding sequence of all single requests is set by the values of the control signals at the inputs of the priority block. The number of priority levels that the proposed device is endowed with can be defined as:
M = C n i 2 i 2 (C K i ) 2 ,
where n is the number of priority code values, m = 2 1 , m≤n;
l is the number of unit vectors at time t, i ∈ {l, n}
K is the number of unit requests having the same priority code values.

Итак, совокупность кодовых сигналов приоритета запросов, коммутируемых на запросные входы логических блоков, представляется квазиматрицей кодовых значений, логически умноженных на матрицу-столбец сигналов - запросов:

Figure 00000008

где aij∈ {0,1} - элементы кодовых комбинаций, Ii∈ {0,1} - сигналы запроса в момент времени t,
i=l,...,n, j=l,...l, - номер разрядного коэффициента аij.So, the set of priority priority code signals, switched to the request inputs of logical blocks, is represented by a quasi-matrix of code values logically multiplied by the signal matrix - request matrix:
Figure 00000008

where a ij ∈ {0,1} are elements of code combinations, I i ∈ {0,1} are request signals at time t,
i = l, ..., n, j = l, ... l, is the number of the discharge coefficient a ij .

Тогда совокупность кодовых сигналов на входах логических блоков в момент времени t отобразится квазиматрицей (если I2 = 1, I5 = 1, I7 = 1, I(n-1) = 1, In = 1).Then the set of code signals at the inputs of logic blocks at time t will be displayed as a quasi-matrix (if I 2 = 1, I 5 = 1, I 7 = 1, I (n-1) = 1, I n = 1).

Figure 00000009

Примечание: в обозначениях старший разряд нумеруется "1",..., младший l в соответствии с нумерацией элементов матрицы.
Figure 00000009

Note: in the notation, the leading digit is numbered "1", ..., the least l in accordance with the numbering of the matrix elements.

Таким образом, число строк и их порядковые номера в квазиматрице определяются порядковыми номерами элементов матрицы-столбца с единичными значениями сигналов запросов на момент времени t. В логических блоках, начиная со старшего разряда, определяется максимальное значение старшего разряда (первых элементов матрицы кодов приоритета)

Figure 00000010

Адреса запросов, имеющих в старшем разряде единичное значение, определяются операцией:
Figure 00000011

i=l,n (согласно примера i=2,5,7,n-1,n).Thus, the number of rows and their sequence numbers in the quasi-matrix are determined by the sequence numbers of the elements of the matrix column with the unit values of the query signals at time t. In logical blocks, starting with the highest order, the maximum value of the highest order (the first elements of the matrix of priority codes) is determined
Figure 00000010

Addresses of requests that have a single value in the high order are determined by the operation:
Figure 00000011

i = l, n (according to the example i = 2,5,7, n-1, n).

Эта операция позволяет также индицировать адреса всех запросов при условии равенства старшего разряда кодов приоритета нулевому уровню. This operation also allows you to display the addresses of all requests, provided that the senior level of the priority codes is equal to zero.

Таким образом, единичный адрес Adr(Ii) = 1, i=1,...,n будут иметь либо все единичные запросы (Ii=1), т.е. разрядные коэффициенты у которых нулевой уровень

Figure 00000012
, либо только те, у которых разрядные коэффициенты имеют единичный уровень, т.е.
Figure 00000013
. На втором шаге реализации метода определяются минимальные значения коэффициентов второго (после старшего) разряда в каждом запросе, относительно значений адресов запросов после первого анализа:
Figure 00000014

Figure 00000015

т. е. этой операцией определяется адрес единичного запроса, имеющегося в кодовой комбинации аi2 = 1. При
Figure 00000016
- этот сигнал является адресом соответствующего ему запроса.Thus, the unit address Adr (I i ) = 1, i = 1, ..., n will have either all unit requests (I i = 1), i.e. bit coefficients with a zero level
Figure 00000012
, or only those for which the discharge coefficients have a unit level, i.e.
Figure 00000013
. At the second step of the method implementation, the minimum values of the coefficients of the second (after the senior) rank in each request are determined, relative to the values of the addresses of the requests after the first analysis:
Figure 00000014

Figure 00000015

that is, this operation determines the address of a single request, available in the code combination a i2 = 1. When
Figure 00000016
- this signal is the address of the corresponding request.

При условии равенства коэффициентов второго разряда нулевому уровню у всех запросов индицируется адрес запросов на уровне второго разряда, определяется как:

Figure 00000017

Figure 00000018

где
Figure 00000019

Общий адрес запросов по результатам анализа состояния разрядных коэффициентов второго разряда (элементов второго столбца матрицы кодов приоритета) определяется как:
Figure 00000020

Единичные запросы, у которых первые (старшие разрядные коэффициенты) наделены нулевым уровнем ai1 = 0, имеют адрес
Figure 00000021
. Следовательно, такие запросы и на втором шаге анализа состояния разрядных коэффициентов независимо уже от их состояния будут иметь вид Adr(Ii)2=0, т.е. даже при условии
Figure 00000022
и т.д. до l - го шага, т.е. единичные сигналы будут на выходах только тех логических блоков, на которые поданы одинаковые коды приоритета, содержащие "1" - цы в старших разрядах.Provided that the coefficients of the second category are equal to the zero level, all requests display the address of the requests at the level of the second category, defined as:
Figure 00000017

Figure 00000018

Where
Figure 00000019

The general address of the requests based on the analysis of the state of the discharge coefficients of the second category (elements of the second column of the matrix of priority codes) is defined as:
Figure 00000020

Single queries for which the first (highest bit coefficients) are endowed with a zero level a i1 = 0 have the address
Figure 00000021
. Consequently, such requests in the second step of analyzing the state of the discharge coefficients, regardless of their state, will have the form Adr (I i ) 2 = 0, i.e. even provided
Figure 00000022
etc. to the lth step, i.e. single signals will be at the outputs of only those logical blocks for which the same priority codes are submitted, containing "1" - ts in the higher digits.

Предполагаемое изобретение поясняется чертежами, где на фиг. 1 приведена структурная схема устройства, на фиг. 2 - структурная схема регистра запросов, на фиг. 3 - структурная схема блока приоритета, на фиг. 4 - таблица функционирования устройства, на фиг. 5 - таблица аппаратных ресурсов. The alleged invention is illustrated by drawings, where in FIG. 1 is a structural diagram of the device, FIG. 2 is a block diagram of a request register; FIG. 3 is a block diagram of a priority block; FIG. 4 is a table showing the operation of the device; FIG. 5 is a table of hardware resources.

Устройство содержит (фиг. 1) регистр 1 запросов (РЗ), содержащий запросные входы 2 (21,...,2n), которые являются группой запросных входов устройства, два входа задания режима, блок 3 приоритета (БП), содержащий входы 4 (41;42) задания режима, соединенные с входами задания режима регистра запросов 1, и n входов 5 (51,...,5n) управления, являющихся одноименными входами устройства, две группы элементов ИЛИ (6 и 7 соответственно) и группу элементов И 8, выходы 9 (91,...,9n) блока 3 приоритета соединены с одноименными входами шифратора 10 (ШК), выходы которого являются информационными выходами 11 (111,...,11n) устройства, с входами 12 (121,...,12n) сброса регистра 1 запросов и с входами первого элемента ИЛИ 13, выход которого соединен с нулевым входом триггера 14, второй элемент ИЛИ 15, первый и второй входы (входы 16, 17 соответственно) которого являются входами сигналов "Ответ" и "Пуск" устройства соответственно, а выход соединен с первым входом первого элемента И 18, второй вход которого соединен с выходом третьего элемента ИЛИ 19, входы которого соединены соответственно с запросными входами регистра 1 запросов, а выход первого элемента И 18 соединен с единичным входом триггера 14, n l-разрядных регистров 20 (201-20n) приоритета (РП) (n - количество источников запросов), входы 21 (21,...,21n) которых являются входами задания кодов приоритета источникам запросов устройства, n групп разрядных элементов И 22 (2211 - 22l1; - 22l2 - 22l2;...,221n - 22ln) по l элементов в каждой группе, первые входы которых погруппно объединены и соединены с соответствующими выходами регистра 1 запросов, вторые входы всех разрядных элементов И 22 (2211 - 22l1; 22l2 - 22l2;...,221n - 22ln) групп соединены с единичным выходом триггера 14, выходы регистров 20 (201,...,20n) приоритетов поразрядно соединены с третьими входами разрядных элементов И 22 (2211 - 22l1; . 2212 - 22l2;..,221n - 22ln) соответствующих групп, n - логических блоков 23 (231,...,23n), информационные входы которых соответственно разрядам и группам соединены с выходами разрядных элементов И 22 (2211 - 22l1; 2212 - 22l2;..,221n - 22ln) групп, причем каждый логический блок 23 (231,... ,23n) содержит в каждом разряде, кроме первого, вторые элементы И 24 (2411 - 24l1, 2412 - 24l2, . ..,241n - 24ln), первые входы которых являются соответствующими (2,3,...,l) информационными входами логических блоков 23 (231,. . . 23n), третьи элементы И 25 (2511 - 25l1, 2512 - 25l2,...251n - 25ln), первые входы которых поразрядно объединены со вторыми входами вторых элементов И 24 (2411 - 24l1, 2412 - 24l2,...,241n - 24ln), четвертые элементы ИЛИ 26 (2611 - 26l1, 2612 - 26l2,...,261n - 26ln), первые входы которых в каждом разряде соединены с выходами вторых элементов И 24(2411 - 24l1, 2412 - 24l2,...,241n - 24ln), a вторые входы - с выходами третьих элементов И 25 (2511 - 25l1, 2512 - 25l2,...251n - 25ln), выход каждого четвертого элемента ИЛИ 26 i-го разряда (i=2,3,...l-1) соединен с объединенными входами второго и третьего элементов И 24 и И 25 последующего разряда, выход четвертого элемента ИЛИ 26 l - го разряда является информационным выходом логического блока 23 (231, ...,23n), в первом разряде каждого логического блока 23 (231 - 23n) содержатся пятые элементы ИЛИ 27 (2711,2712,...,271n), первый вход каждого пятого элемента ИЛИ 27 (2711,2712,...,271n) является первым информационным входом этого логического блока 23, выход каждого пятого элемента ИЛИ 27 (2711, 2712,...,271n), соединены с объединенным вторым входом второго элемента И 24 (2411, 2412, ...,241n) и первым входом третьего элемента И 25 (2511, 2512,...,251n) второго разряда этого логического блока, входы первого элемента ИЛИ 6, первой группы соединены с первыми информационными входами n логических блоков 23 (231,...,23n), нулевой выход первого элемента ИЛИ 61 первой группы соединен с объединенными вторыми входами пятых элементов ИЛИ 27 (2711, 2712, ...,271n) n логических блоков 23 (231,...,23n), входы j-ого (j=2,3,...,l) элемента ИЛИ 6 (62,63,...,61) первой группы соединены с выходами вторых элементов И 24 (2411 - 24l1,2412 - 24l2,...,241n - 24ln) (j-1) - го разряда n логических блоков 23 (231 - 23n), а нулевой выход упомянутого элемента ИЛИ соединен с объединенными вторыми входами третьих элементов И 25 (2511 - 25l1, 2512 - 25l2,...,251n - 25ln) (j-1) - го разряда n логических блоков 23 (231,...,23n), первые входы первой группы элементов И 8 (81,..., 8l) соответственно соединены с единичными выходами элементов ИЛИ 6 (61,..., 6l) первой группы, а вторые входы объединены и соединены с выходом шестого элемента ИЛИ 28, входы которого соединены с информационными выходами логических блоков 23, первые входы второй группы элементов И 29 (291,...,29n) соединены с информационными выходами соответствующих логических блоков 23, вторые входы упомянутых элементов И объединены, а выходы соответственно соединены с информационными входами блока 3 приоритета, устройство также содержит вторую группу элементов ИЛИ 7 (71 - 7l), (n+1)-ый и (n+2)-ой идентичные логические блоки (23(n+1) и 23(n+2) соответственно), информационные входы (n+1) -ого логического блока 23n+1 соответственно соединены с выходами элементов И 8 (81,...,8l) первой группы, (n+2) - ой логический блок 23(n+2), информационные входы которого соответственно соединены с выходами (n+1)-го регистра 20(n+1) приоритета, входы 21(n+1) которого являются входами задания кода наивысшего приоритета устройства, входы первого элемента ИЛИ 71, второй группы соединены с первыми информационными входами (n+1) - го и (n+2) - го логических блоков 23(n+1) и 23(n+2), нулевой выход первого элемента ИЛИ 71, второй группы соединен с объединенными вторыми входами пятых элементов ИЛИ 27(n+1) (n+1) - го логического блока и ИЛИ 27(n+1) (n+2) - го логического блока, входы j -ого (j=2,3,...l) элемента ИЛИ 7 (72,73,...,7l) второй группы соединены с выходами вторых элементов И 24 (241(n+1), 242(n+1),...,24l(n+1)) и И 24 (241(n+2), 242(n+2),...,24l(n+2)) (j-1)-го разряда (n+l) - го и (n+2) - го логических блоков 23(n+1) и 23(n+2), а нулевой выход упомянутого элемента ИЛИ соединен с объединенными вторыми входами третьих элементов И 25 (251n+1,252(n+1),...,25l(n+1)) и И 25 (251(n+2),252(n+2),...,25l(n+2)) (j-1) -го разряда (n+l) - го и (n+2) - го логических блоков 23(n+1) и 23(n+2), первые входы четвертого и пятого элементов И 301 и И 302 объединены и соединены с информационным выходом (n+l) - го логического блока 23(n+1), вторые входы также объединены, причем второй вход четвертого элемента И 301 - инверсный, и соединены с информационным выходом (n+2) - го логического блока 23(n+2), входы седьмого элемента ИЛИ 31 соединены с выходами четвертого и пятого элементов И 301, и И 302, а выход соединен с объединенными вторыми входами элементов И 29 (291,...,29n) второй группы, вход элемента задержки 32 соединен с единичным выходом триггера 14, а выход - с третьими входами элементов И 29 второй группы и с третьими входами четвертого и пятого элементов И 301 и И 302 соответственно.The device contains (Fig. 1) register 1 requests (RE) containing the request inputs 2 (2 1 , ..., 2 n ), which are a group of request inputs of the device, two inputs of the job mode, block 3 priority (PSU), containing inputs 4 (4 1 ; 4 2 ) of the job mode connected to the inputs of the job mode of the register of requests 1, and n inputs 5 (5 1 , ..., 5 n ) of the control, which are the same inputs of the device, two groups of OR elements (6 and 7, respectively) and a group of elements AND 8, outputs 9 (9 1 , ..., 9 n ) of priority block 3 are connected to the inputs of the encoder 10 (ШК) of the same name, the outputs of which are information outputs 11 (11 1 , ..., 11 n ) of the device, with inputs 12 (12 1 , ..., 12 n ) of the reset of register 1 of the requests and with the inputs of the first element OR 13, the output of which is connected to the zero input of the trigger 14 , the second element OR 15, the first and second inputs (inputs 16, 17, respectively) of which are the inputs of the signals "Answer" and "Start" of the device, respectively, and the output is connected to the first input of the first element And 18, the second input of which is connected to the output of the third element OR 19, the inputs of which are connected respectively to the request inputs of the register 1 requests, and the output p the first- AND gate 18 is connected to the trigger input unit 14, n l-bit registers 20 (20: 1 -20 n) priority (RP) (n - number of queries sources) 21 inputs (21, ..., 21 n) which are inputs of setting priority codes to the request sources of the device, n groups of bit elements AND 22 (22 1 1 - 22 l 1 ; - 22 l 2 - 22 l 2 ; ..., 22 1 n - 22 l n ) with l elements in each group, the first inputs of which are grouped together and connected to the corresponding outputs of the register 1 of requests, the second inputs of all bit elements AND 22 ( 22 1 1 - 22 l 1 ; 22 l 2 - 22 l 2 ; ..., 22 1 n - 22 l n ) groups are connected to a single output of trigger 14, the outputs of registers 20 (20 1 , ..., 20 n ) priorities are bitwise connected to the third inputs of the bit elements And 22 (22 1 1 - 22 l 1 ;. 22 1 2 - 22 l 2 ; .., 22 1 n - 22 l n ) of the corresponding groups, n - logical blocks 23 (23 1 , ..., 23 n), whose data inputs are respectively connected to groups of digits and us with bit outputs of AND gates 22 (1 1 22 - 1 22 l; 1 22 2 - 22 2 l; .. 1 22 n - 22 l n) groups, wherein each logic block 23 (23 1, ..., 23 n ) contains, in each category, except the first, the second elements AND 24 (24 1 1 - 24 l 1 , 24 1 2 - 24 l 2 , ..., 24 1 n - 24 l n ), the first inputs of which are corresponding (2,3, ..., l) information inputs of logic blocks 23 (23 1 ,. . . 23 n ), the third elements And 25 (25 1 1 - 25 l 1 , 25 1 2 - 25 l 2 , ... 25 1 n - 25 l n ), the first inputs of which are bitwise combined with the second inputs of the second elements And 24 ( 24 1 1 - 24 l 1 , 24 1 2 - 24 l 2 , ..., 24 1 n - 24 l n ), the fourth elements OR 26 (26 1 1 - 26 l 1 , 26 1 2 - 26 l 2 , ..., 26 1 n - 26 l n ), the first inputs of which in each category are connected to the outputs of the second elements AND 24 (24 1 1 - 24 l 1 , 24 1 2 - 24 l 2 , ..., 24 1 n - 24 l n ), and the second inputs - with the outputs of the third elements AND 25 (25 1 1 - 25 l 1 , 25 1 2 - 25 l 2 , ... 25 1 n - 25 l n ), the output of every fourth element OR 26th i-th category (i = 2,3, ... l-1) is connected to the combined inputs of the second and third elements And 24 and AND 25 of the subsequent discharge, the output of the fourth element OR 26 of the lth discharge is the information output of the logical block 23 (23 1 , ..., 23 n ), the first bit of each logical block 23 (23 1 - 23 n ) contains the fifth elements OR 27 (27 1 1 , 27 1 2 , ..., 27 1 n ), the first input of every fifth element OR 27 (27 1 1 , 27 1 2 , ..., 27 1 n ) is the first information input of this logic block 23, the output of every fifth element OR 27 (27 1 1 , 27 1 2 , ..., 27 1 n ), connected to the combined second input of the second element And 24 (24 1 1 , 24 1 2 , ..., 24 1 n ) and the first input of the third element And 25 (25 1 1 , 25 1 2 ,. .., 25 1 n ) of the second category of this logic block, the inputs of the first OR element 6, of the first group are connected to the first information inputs of n logic blocks 23 (23 1 , ..., 23 n ), the zero output of the first element OR 6 1 of the first groups connected to the combined second inputs of the fifth elements OR 27 (27 1 1 , 27 1 2 , ..., 27 1 n ) n logic blocks 23 (23 1 , ..., 23 n ), the inputs of the jth (j = 2,3, ..., l) of the element OR 6 (6 2 , 6 3 , ..., 6 1 ) of the first group are connected to the outputs of the second elements AND 24 (24 1 1 - 24 l 1 , 24 1 2 - 24 l 2 , ..., 24 1 n - 24 l n ) (j-1) -th bit of n logic blocks 23 (23 1 - 23 n ), and the zero output of the mentioned element and OR is connected to the combined second inputs of the third elements AND 25 (25 1 1 - 25 l 1 , 25 1 2 - 25 l 2 , ..., 25 1 n - 25 l n ) (j-1) th category of n logical blocks 23 (23 1 , ..., 23 n ), the first inputs of the first group of elements AND 8 (8 1 , ..., 8 l ) are respectively connected to the unit outputs of the elements OR 6 (6 1 , ..., 6 l ) of the first group, and the second inputs are combined and connected to the output of the sixth element OR 28, the inputs of which are connected to the information outputs of the logic blocks 23, the first inputs of the second group of elements AND 29 (29 1 , ..., 29 n ) are connected to the information outputs of the corresponding logically of their blocks 23, the second inputs of the mentioned AND elements are combined, and the outputs are respectively connected to the information inputs of the priority block 3, the device also contains a second group of elements OR 7 (7 1 - 7 l ), (n + 1) -th and (n + 2 ) -th identical logic blocks (23 (n + 1) and 23 (n + 2), respectively), information inputs of the (n + 1) -th logical block 23 n + 1, respectively, are connected to the outputs of AND elements 8 (8 1 ,. .., 8 l ) of the first group, (n + 2) —th logical block 23 (n + 2) , the information inputs of which are respectively connected to the outputs of the (n + 1) -th register 20 (n + 1) priority, inputs 21 (n + 1) to orogo are input job code highest device priority, the inputs of first OR July 1, a second group connected to the first data inputs of (n + 1) - th, and (n + 2) - th logical block 23 (n + 1) and 23 (n +2) , the zero output of the first element OR 7 1 , the second group is connected to the combined second inputs of the fifth elements OR 27 (n + 1) (n + 1) - logical block and OR 27 (n + 1) (n + 2) of the logical block, the inputs of the jth (j = 2,3, ... l) element OR 7 (7 2 , 7 3 , ..., 7 l ) of the second group are connected to the outputs of the second elements And 24 (24 1 (n + 1) , 24 2 (n + 1) , ..., 24 l (n + 1) ) and 24 (24 1 (n + 2) , 24 2 (n + 2) , ..., 24 l (n + 2) ) (j-1 ) -th discharge of the (n + l) -th and (n + 2) -th logical blocks 23 (n + 1) and 23 (n + 2) , and the zero output of the said OR element is connected to the combined second inputs of the third AND elements 25 (25 1 n + 1 , 25 2 (n + 1) , ..., 25 l (n + 1) ) and I 25 (25 1 (n + 2) , 25 2 (n + 2) , ... , 25 l (n + 2) ) of the (j-1) -th category of the (n + l) -th and (n + 2) -th logic blocks 23 (n + 1) and 23 (n + 2) , the first inputs the fourth and fifth elements And 30 1 and And 30 2 are combined and connected to the information output of the (n + l) th logical block 23 (n + 1) , the second inputs are also combined, and the second input of the fourth element And 30 1 is inverse, and connected to the information output (n + 2) of the log block 23 (n + 2) , the inputs of the seventh element OR 31 are connected to the outputs of the fourth and fifth elements And 30 1 and And 30 2 , and the output is connected to the combined second inputs of the elements And 29 (29 1 , ..., 29 n ) of the second group, the input of the delay element 32 is connected to the single output of the trigger 14, and the output is connected with the third inputs of the elements And 29 of the second group and with the third inputs of the fourth and fifth elements And 30 1 and And 30 2, respectively.

Регистр 1 запроса содержит (фиг. 2) первую группу элементов И 33 (331,.. . ,33n), первые входы которых объединены и являются входом 42 задания режима сброса регистра 1 запроса, вторые входы i - го (i- =l,2,...,n) элемента И 33 соответственно соединены с j-ым входом сброса регистра запроса (j=n,n-1,..., 2,1), вторую группу элементов И 34 (341,...,34n), первые входы которых объединены и являются входом 41 задания режима сброса, вторые входы i - го (i - го (i = 1, 2,..., n) элемента И 34 соответственно соединены с j-ым входом сброса регистра запроса (j=1,2,..., n), первую группу элементов ИЛИ 35 (351, . . . , 35n) первые входы которых соединены с соответствующими выходами элементов И 33 первой группы, а вторые входы - с соответствующими выходами элементов И 34 второй группы, выходы элементов ИЛИ 35 первой группы соединены с нулевыми входами триггеров 36 (361,...,36n), единичные входы которых являются запросными входами 2 (21,...,2n) регистра запроса, а выходы являются разрядными выходами регистра запроса.The request register 1 contains (Fig. 2) the first group of elements AND 33 (33 1 , ..., 33 n ), the first inputs of which are combined and are the input 4 2 of the reset mode of request register 1, the second inputs of the i-th (i- = l, 2, ..., n) of the And 33 element are respectively connected to the jth input of the reset of the request register (j = n, n-1, ..., 2,1), the second group of And 34 elements (34 1 , ..., 34 n ), the first inputs of which are combined and are the input 4 1 of the reset mode, the second inputs of the i-th (i-th (i = 1, 2, ..., n) element And 34 are respectively connected to j-th input of the reset register request (j = 1,2, ..., n), the first group of elements OR 35 (35 1 ,..., 35 n ) the first inputs of which are connected to the corresponding outputs of the AND 33 elements of the first group, and the second inputs are connected to the corresponding outputs of the AND 34 elements of the second group, the outputs of the OR 35 elements of the first group are connected to the zero inputs of the triggers 36 (36 1 , ..., 36 n ), the unit inputs of which are the request inputs 2 (2 1 , ..., 2 n ) of the request register, and the outputs are the bit outputs of the request register.

Блок 3 приоритета содержит (фиг. 3) триггер 37, единичный и нулевой входы которого являются входами 4 (41,;42) задания режима перестраиваемого блока приоритета, первую группу элементов И 38 (381,...,38n), первые входы которых объединены и соединены с единичным выходом триггера 37, второй вход каждого i-го (i= 7,2,..., n) элемента И 38 первой группы является информационным входом 29 (291,...,29n) блока 3 приоритета, вторую группу элементов И 39 (391,...,39n), первые входы которых объединены с нулевым выходом триггера 37, второй вход каждого i-го (i=1,2,...,n) элемента И 39 второй группы соединен соответственно с j (j=n,n-1,...1) - ым информационным входом 29 (291, . ..,29n) блока 3 приоритета, первую группу элементов ИЛИ 40 (401,..., 40n), входы которых соединены соответственно с выходами одноименных элементов И 38 (381,...,38n) и И 39 (391,...,39n) соответственно первой и второй групп, а выходы - с входами первого элемента ИЛИ 41, регистр 42 кода приоритета (РКП), входы которого являются управляющими входами 5 (51,...,5n) блока 3 приоритета, а выходы - соединены с одноименными входами дешифратора 43 кода приоритета (ДКП), третью группу элементов И 44 (441,...,44n), инверсные входы которых соответственно соединены с выходами дешифратора 43, четвертую группу элементов И 45 (451,...,45n, первые входы которых соединены с инверсными входами одноименных элементов И 44 (441,...,44n) третьей группы, вторые входы элементов И 45 (451,..,45n) четвертой группы объединены и соединены с выходом первого элемента ИЛИ 41, выход первого элемента И 461 пятой группы соединен с прямым входом второго элемента И 442 третьей группы, выход i - го (i= 2,3, ...,(n-1)) элемента И 46i, пятой группы соединен с прямым входом (i+1)-го элемента И 44(i+1) третьей группы, выход n - го элемента И 46n, пятой группы соединен с прямым входом первого элемента И 441 третьей группы, выходы одноименных элементов И 45 (451,...,45n) и И 44 (441,...,44n) соответственно четвертой и третьей групп соответственно соединены с входами одноименных элементов ИЛИ 47 (471,...,47n) второй группы, выходы которых соответственно соединены с первыми входами элементов И 48 (481,...,48n) шестой группы и прямыми входами элементов И 46 (461,...,46n) пятой группы, инверсные входы элементов И 46 (461,...,46n) и вторые входы элементов И 48 (481,...,48n) шестой группы соответственно объединены и соединены с выходами соответствующих элементов ИЛИ 40 (401,...,40n) первой группы, выходы элементов И 48 (481,...,48n) шестой группы являются разрядными выходами 6 (61,. ..,6n) перестраиваемого блока приоритета.Priority block 3 contains (Fig. 3) a trigger 37, the single and zero inputs of which are inputs 4 (4 1 ,; 4 2 ) of setting the mode of the tunable priority block, the first group of elements AND 38 (38 1 , ..., 38 n ) , the first inputs of which are combined and connected to the single output of the trigger 37, the second input of each i-th (i = 7,2, ..., n) element And 38 of the first group is an information input 29 (29 1 , ..., 29 n ) priority block 3, the second group of elements AND 39 (39 1 , ..., 39 n ), the first inputs of which are combined with the zero output of the trigger 37, the second input of each i-th (i = 1,2, ..., n) element AND 39 second g groups are connected respectively with the j (j = n, n-1, ... 1) - th information input 29 (29 1 , ..., 29 n ) of priority block 3, the first group of OR elements 40 (40 1 , .. ., 40 n ), the inputs of which are connected respectively with the outputs of the elements of the same names And 38 (38 1 , ..., 38 n ) and And 39 (39 1 , ..., 39 n ), respectively, of the first and second groups, and the outputs are with the inputs of the first element OR 41, priority code register 42 (RPC), the inputs of which are control inputs 5 (5 1 , ..., 5 n ) of priority block 3, and the outputs are connected to the inputs of the same name as decoder 43 of the priority code (DCT) , the third group of elements And 44 (44 1 , ..., 4 4 n ), whose inverse inputs are respectively connected to the outputs of the decoder 43, the fourth group of elements AND 45 (45 1 , ..., 45 n , the first inputs of which are connected to the inverse inputs of the elements AND 44 (44 1 , ..., 44 n ) of the third group, the second inputs of the elements AND 45 (45 1 , .., 45 n ) of the fourth group are combined and connected to the output of the first element OR 41, the output of the first element AND 46 1 of the fifth group is connected to the direct input of the second element AND 44 2 of the third group, the output of the i-th (i = 2,3, ..., (n-1)) element And 46 i , the fifth group is connected to the direct input of the (i + 1) -th element And 44 (i + 1) third g groups, the output of the nth element And 46 n , the fifth group is connected to the direct input of the first element And 44 1 of the third group, the outputs of the same elements And 45 (45 1 , ..., 45 n ) and And 44 (44 1 , .. ., 44 n ), respectively, of the fourth and third groups, respectively, are connected to the inputs of the elements of the same name OR 47 (47 1 , ..., 47 n ) of the second group, the outputs of which are respectively connected to the first inputs of the elements AND 48 (48 1 , ..., 48 n ) the sixth group and the direct inputs of the elements AND 46 (46 1 , ..., 46 n ) the fifth group, the inverse inputs of the elements AND 46 (46 1 , ..., 46 n ) and the second inputs of the elements AND 48 (48 1 , ..., 48 n ) of the sixth group, respectively Are connected and connected to the outputs of the corresponding elements OR 40 (40 1 , ..., 40 n ) of the first group, the outputs of the elements AND 48 (48 1 , ..., 48 n ) of the sixth group are the discharge outputs 6 (6 1 ,. .., 6 n ) a tunable priority block.

Устройство работает следующим образом. По запросным входам 21,...,2n (см. фиг. 1) в произвольные моменты времени поступают единичные сигналы запросов на обслуживание, которые фиксируются в соответствующих разрядах регистра 1 запроса. Разрядность регистра 1 запросов равна числу абонентов n, причем номер разряда регистра 1 запросов определяет его статический приоритет. Коды приоритета, соответствующие каждому запросу, априори задаются управляющей ЭВМ (оператором) и могут быть вычислены, например, на основании статистических данных, таких как частность Pi* появления i - го сигнала запроса, среди n запросов, в определенный промежуток времени. Коды приоритета поступают на входы 21 (211,...,21n) устройства и фиксируются в регистрах 20 (201, . . .,20n) кода приоритета. Принятие решения о выборе наиболее приоритетного запроса среди запросов с одинаковым кодом приоритета также осуществляется управляющей ЭВМ (оператором) и задается в виде единичных сигналов, поданных на входы 4 (41,42) задания режима и на управляющие входы 5 (51,...,5n) блока 3 приоритета.The device operates as follows. On request inputs 2 1 , ..., 2 n (see Fig. 1), at arbitrary instants of time, single signals of service requests arrive, which are recorded in the corresponding bits of register 1 of the request. The capacity of the register 1 requests is equal to the number of subscribers n, and the number of the category of the register 1 requests determines its static priority. Priority codes corresponding to each request are a priori set by the control computer (operator) and can be calculated, for example, on the basis of statistical data, such as the frequency P i * of the appearance of the i-th request signal, among n requests, in a certain period of time. Priority codes 21 applied to the inputs (21 1, ..., 21 n) and device 20 are recorded in the registers (20 1... 20 n) priority code. The decision to choose the highest priority request among requests with the same priority code is also carried out by the control computer (operator) and is set in the form of single signals applied to inputs 4 (4 1 , 4 2 ) of the mode job and to control inputs 5 (5 1 ,. .., 5 n ) priority block 3.

Для динамической и гибкой перестройки варьирования системой приоритетов в процессе контроля предлагаемое устройство наделено свойством перестраиваемости при минимальных аппаратных затратах, т.е. должно обладать свойством универсальности и практически удовлетворять потребностям ЭВМ различного назначения. For dynamic and flexible adjustment of variation by a system of priorities in the control process, the proposed device is endowed with the property of tunability with minimal hardware costs, i.e. must possess the property of universality and practically satisfy the needs of computers for various purposes.

В исходном состоянии триггер 14 находится в нулевом состоянии. В регистрах 20 приоритета приняты коды приоритета, а в регистр 1 - запросы на обслуживание от абонентов. Работа устройства начинается по сигналу "Пуск", поступающему по входу через элемент ИЛИ 15 и элемент И 18, и наличию хотя бы одного запроса на входах регистра 1 запросов, поступающих через элемент ИЛИ 19 и элемент И 18 и устанавливающему триггер 14 в единичное состояние. In the initial state, the trigger 14 is in the zero state. In priority registers 20, priority codes are received, and in register 1, service requests from subscribers. The device starts by the “Start” signal, which is input through the OR element 15 and the And 18 element, and the presence of at least one request at the inputs of the register 1 requests received through the OR element 19 and the And 18 element and sets the trigger 14 to a single state.

Пусть в регистре 1 запросов зафиксированы заявки на обслуживание, пришедшие на второй, пятый, седьмой, (n-1)-ый, n - ый входы регистра 1 запросов. Соответственно в регистрах 202, 205, 207, 20(n-1), 20n кода приоритета зафиксированы коды приоритетов

Figure 00000023

Единичным сигналом с выхода триггера 14, установленного в единичное состояние сигналом "Пуск" и единичными сигналами второго, пятого, седьмого, (n-1)-то и n - го разрядов регистра 1 указанные коды приоритета, посредством 2, 5, 7, (n-1), n групп разрядных элементов И 22 коммутируются на разрядные входы логических блоков 232,235, 237, 23n-1,23n (см. фиг. 4).Suppose that service requests are recorded in the register 1 of requests, which came to the second, fifth, seventh, (n-1) -th, n-th inputs of the register 1 of requests. Accordingly, in the registers 20 2 , 20 5 , 20 7 , 20 (n-1) , 20 n of the priority code, priority codes are recorded
Figure 00000023

The single signal from the output of the trigger 14, set to a single state by the Start signal and the single signals of the second, fifth, seventh, (n-1) -th and n-th bits of register 1, the indicated priority codes, by means of 2, 5, 7, ( n-1), n groups of bit elements AND 22 are switched to the bit inputs of logic blocks 23 2 , 23 5 , 23 7 , 23 n-1 , 23 n (see Fig. 4).

В логических блоках 232, 235, 237, 23n+1, 23n осуществляется операция поразрядного сравнения кодов приоритета, запросы которых поступили на входы регистра 1 запросов. Сравнение начинается со старшего разряда, которому соответствуют первые информационные входы логических блоков (согласно фиг. 4). На первые информационные входы логических блоков 235,237,23n-1,23n поступают сигналы "1", которые одновременно поступают на входы элемента ИЛИ 61, на инверсном входе которого устанавливается сигнал "0". С выходов элементов ИЛИ 275, ИЛИ 277, ИЛИ 27(n-1), ИЛИ 27n единичные сигналы поступают на вторые входы элементов И 2415, И 2417, И 241n-1, И 241n и на первые входы элементов И 2515, И 2517, И 251n-1 И25n1в соответствующем логическом блоке 23. На вторые информационные входы (на первые входы элементов И 2412, И 2415, И 2417, И 241(n-1), И 241n) поступают единичные сигналы второго по значимости разряда кодов приоритета соответственно во втором, пятом, седьмом, (n-1) - ом, n - ом логических блоков 23. Единичный сигнал с выходов элементов И 2415, И 2417, И 241n-1, И 241n поступит на входы соответствующих элементов ИЛИ 26 и на вход элемента ИЛИ 62, на инверсном выходе которого установится сигнал "0". На выходах элементов ИЛИ 2615, ИЛИ 2617, ИЛИ 261n-1, ИЛИ 261n установятся сигналы "1". На третий информационный вход логического блока 237 поступает единичный сигнал. Соответственно на выходе элемента И 2427 появится сигнал "1", который поступит на входы элемента ИЛИ 63, на инверсном выходе которого появится сигнал "0", поступающий на вторые входы элементов И 252i (i=7,2,...,n), где i - номер логического блока. Таким образом, единичные сигналы в 5-ом, (n-1)-ом и n-ом логических блоках 23 не имеют возможности дальнейшего "продвижения" по логической цепи к выходам логических блоков 235, 23n-1, 23n. На четвертый информационный вход логического блока 237 поступает "0"-ое значение кодовой комбинации, соответственно на выходе элемента И 2437 - сигнал "0", на входы элемента ИЛИ 64 поступают сигналы "0", на инверсном выходе которого устанавливается сигнал "1", поступающий на вторые входы элементов И 253i (i= 1,2,...,n). Т.к. на первый вход элемента И 2537 подан единичный сигнал с выхода элемента ИЛИ 2537, а на второй вход - единичный сигнал с инверсного выхода элемента ИЛИ 64, то на выходе элемента ИЛИ 2637 появится "1". И т.д. согласно вышеописанному алгоритму единичный сигнал появится на выходе седьмого логического блока 237. На прямых выходах элементов ИЛИ 6 (61,...,6l,) будет иметь место экстремальный код седьмого запроса, который через элементы И 8 (81,...,8l) поступает на информационные входы (n+1) - то логического блока 23n+1. Регистр кода приоритета 20n+1 предназначен для приема от ЭВМ (оператора) кода, более приоритетного, чем обрабатываемый, для осуществления в случае необходимости операции прерывания обрабатываемого запроса. Пусть на регистр кода приоритета 20n+1 не поступает код (режим прерывания обрабатываемого запроса или маскирования рассмотрим ниже), вызывающий прерывание обрабатываемого запроса, тогда на выходе логического блока 23n+1 появится единичный сигнал. С выхода триггера 14, установленного в единичное состояние, единичный сигнал через элемент задержки 32 с величиной задержки, равной времени обработки сигнала логическим блоком 23, поступает на входы элементов И 29 (291,..., 29n), И 301 и И 302. Единичный сигнал с выхода элемента ИЛИ 31 разрешает прохождение единичного сигнала с выхода седьмого логического блока 237 на информационные входы блока 3 приоритета, на входы 4 задания режима подаются сигналы задания направления обслуживания (пусть подается единичный сигнал на вход 41 или 42, в данном случае это не имеет значения). Это существенно тогда, когда на информационные входы перестраиваемого блока 3 приоритета поступает два и более единичных сигналов-запросов, а на входы 5 (51,...,5n) управления - код, изменяющий алгоритм обслуживания в диапазоне прямого (при подаче единичного сигнала на вход 41 1 → 2 →...→(n-1) → n или обратного (при подаче единичного сигнала на вход 42 n → (n-1) →...→ 2 → 1 порядков следования приоритетов). (Более подробно о входах задания режима, входах управления и сигналах, на них подаваемых, будет сказано ниже). Единичный сигнал седьмого запроса появится на выходе блока 3 приоритета, далее поступит на входы шифратора 10, на выходе которого он будет представлен в помехозащищенном коде, через элемент ИЛИ 13 установит триггер 14 в нулевое состояние и поступит по входу 127 в регистр 1 запросов, где сбросит 7 разряд в нулевое состояние. Сигнал с входа 127 регистра 1 запроса поступит через элемент И 347, на второй вход которого подан разрешающий единичный сигнал 41, и через элемент ИЛИ 357 на нулевой вход триггера 367, приводя тем самым его в нулевое состояние. Таким образом, на седьмом выходе регистра 1 запроса зафиксируется "0".In logical blocks 23 2 , 23 5 , 23 7 , 23 n + 1 , 23 n , the operation of bitwise comparison of priority codes is carried out, the requests of which were received at the inputs of the register 1 requests. The comparison begins with the high order, which corresponds to the first information inputs of logical blocks (according to Fig. 4). The first information inputs of the logic blocks 23 5 , 23 7 , 23 n-1 , 23 n receive signals "1", which are simultaneously fed to the inputs of the OR element 6 1 , at the inverse input of which the signal "0" is set. From the outputs of the elements OR 27 5 , OR 27 7 , OR 27 (n-1) , OR 27 n, single signals are fed to the second inputs of the elements AND 24 1 5 , AND 24 1 7 , AND 24 1 n-1 , AND 24 1 n and to the first inputs of the elements And 25 1 5 , And 25 1 7 , And 25 1 n-1 And 25 n 1 in the corresponding logical block 23. To the second information inputs (to the first inputs of the elements And 24 1 2 , And 24 1 5 , And 24 1 7 , And 24 1 (n-1) , And 24 1 n ) single signals of the second most significant category of priority codes are received, respectively, in the second, fifth, seventh, (n-1) - th, n - th logical blocks 23. A single signal from the outputs of the elements And 24 1 5 , And 24 1 7 , And 24 1 n-1 , And 24 1 n will go to the moves of the corresponding OR elements 26 and to the input of the OR element 6 2 , at the inverse output of which the signal "0" is set. At the outputs of the elements OR 26 1 5 , OR 26 1 7 , OR 26 1 n-1 , OR 26 1 n, signals "1" will be set. The third information input of the logical block 23 7 receives a single signal. Accordingly, the signal "1" appears at the output of the AND 24 2 7 element, which will go to the inputs of the OR 6 3 element, at the inverse output of which the signal "0" arrives at the second inputs of the AND 25 2 i elements (i = 7,2 ,. .., n), where i is the number of the logical block. Thus, the single signals in the 5th, (n-1) and n-th logical blocks 23 do not have the possibility of further "advancement" along the logical circuit to the outputs of the logical blocks 23 5 , 23 n-1 , 23 n . The "0" -th value of the code combination is supplied to the fourth information input of the logic unit 23 7 , respectively, the signal "0" is output at the output of the AND 24 3 7 element, the signals "0" are received at the inputs of the OR 6 4 element, the signal is set at its inverse output "1" entering the second inputs of the elements AND 25 3 i (i = 1,2, ..., n). Because a single signal from the output of the OR 25 3 7 element is supplied to the first input of the AND 25 3 7 element, and a single signal from the inverse output of the OR 6 4 element is supplied to the second input, then “1” will appear at the output of the OR 26 3 7 element. Etc. according to the above algorithm, a single signal will appear at the output of the seventh logical block 23 7 . At the direct outputs of the elements OR 6 (6 1 , ..., 6 l ,) there will be an extreme code of the seventh request, which through the elements AND 8 (8 1 , ..., 8 l ) goes to the information inputs (n + 1 ) - then the logical block 23 n + 1 . The priority code register 20 n + 1 is designed to receive from the computer (operator) a code that is more priority than the one being processed, to carry out, if necessary, the operation to interrupt the processed request. Suppose that no code arrives at the register of priority code 20 n + 1 (we will consider the interruption of the processed request or masking below), causing the interruption of the processed request, then a single signal will appear at the output of the logical block 23 n + 1 . From the output of the trigger 14, set to a single state, a single signal through the delay element 32 with a delay equal to the processing time of the signal by the logical unit 23, is fed to the inputs of the elements And 29 (29 1 , ..., 29 n ), And 30 1 and And 30 2 . A single signal from the output of the OR element 31 allows the passage of a single signal from the output of the seventh logical block 23 7 to the information inputs of the priority block 3, the signals of the job direction are sent to the inputs 4 of the mode setting (let a single signal be input to the input 4 1 or 4 2 , in this case it does not matter). This is significant when two or more single request signals are received at the information inputs of the tunable priority block 3, and a code that changes the service algorithm in the direct range (when applying a single one) is sent to the control inputs 5 (5 1 , ..., 5 n ) input signal 4 1 1 → 2 → ... → (n-1) → n or the reverse (when applying a single signal to input 4 2 n → (n-1) → ... → 2 → 1 of the sequence of priorities) . (In more detail about mode setting inputs, control inputs and signals supplied to them, will be discussed below.) A single signal of the seventh request appears Xia output unit 3 priority, then arrive at the encoder 10 inputs the output of which it will be submitted in anti-interference code through the OR gate 13 will set the flip-flop 14 to the zero state and arrive at the input 12 7 in register 1 requests where reset 7 discharge in The signal from the input 12 7 of the register 1 of the request will go through the AND 34 7 element, to the second input of which the resolving unit signal 4 1 is supplied, and through the OR 35 7 element to the zero input of the trigger 36 7 , thereby bringing it to the zero state. Thus, on the seventh output of the register 1 of the request is fixed "0".

В памяти регистра 1 запросов остались зафиксированными второй, пятый, (n-1)-ый и n-ый запросы. Рассмотрим дальнейшее их обслуживание. Как видно из фиг. 4 и опираясь на вышеописанный алгоритм обработки, в отличие от кодов приоритета пятого, (n-7)-го и n-го запросов, код второго запроса в старшем разряде содержит "0", поэтому на данном этапе алгоритма обслуживания участия не принимает. Коды приоритета пятого, (n-1) - го и n - го запросов имеют одинаковые значения, следовательно, на выходах пятого, (n-1) - го и n - го логических блоков 235, 23n-1, 23n появятся сигналы "1", а на прямых выходах элементов ИЛИ 6 - код, соответствующий пятому, (n-1) - му, n - у запросам, который через элементы И 8 поступит на информационные входы (n+1) логического блока 23. Пусть на регистр кода приоритета 20n+1 не поступает код прерывания, тогда на информационные входы блока 3 приоритета будут поданы сигналы "1" пятого, (n- 1)- го и n - го запросов на обслуживания. Подавая сигналы "1" на входы 4 задания режима, можно изменять порядок обработки одновременно поступивших запросов, т.е. подавая сигнал "1" на вход 41, устанавливается порядок обслуживания: 5-ый, (n-1)-ый, n - ый. А подавая сигнал "1" на вход 42: n-ый, (n-1)-ый, 5-ый. Пусть в нашем случае подается сигнал "1" на вход 41 и устанавливается прямой порядок обслуживания запросов. На входы 5 (51,...,5n) управления подаются коды, изменяющие алгоритм обслуживания в диапазоне прямого или обратного следования приоритетов. При прямом следовании приоритетов (путем подачи "1" на вход 41): 5-ый, (n-1) - ый, n - ый возможны случаи варьирования (см. табл. 1), а при обратном диапазоне следования (устанавливается путем подачи "1" на вход 42) (см. табл. 2).In the memory of register 1 of requests, the second, fifth, (n-1) and n-th requests remained fixed. Consider their further maintenance. As can be seen from FIG. 4 and based on the processing algorithm described above, in contrast to the priority codes of the fifth, (n-7) and n-th requests, the code of the second request in the high order contains "0", therefore, does not take part in the service algorithm. The priority codes of the fifth, (n-1) -th and n-th requests have the same values, therefore, at the outputs of the fifth, (n-1) -th and n-th logical blocks 23 5 , 23 n-1 , 23 n will appear the signals are “1”, and at the direct outputs of the OR 6 elements - the code corresponding to the fifth, (n-1) - th, n - for requests that through the And 8 elements will go to the information inputs (n + 1) of the logical block 23. Let priority code 20 n + 1 does not receive an interrupt code, then the information inputs of priority block 3 will receive the signals "1" of the fifth, (n-1) and n-th service requests. By applying the signals "1" to the inputs 4 of the job mode, you can change the processing order of simultaneously received requests, i.e. giving a signal "1" to input 4 1 , the order of service is established: 5th, (n-1) -th, n -th. And giving a signal "1" to input 4 2 : n-th, (n-1) -th, 5th. Let in our case, the signal "1" is fed to input 4 1 and a direct order of servicing requests is established. Inputs 5 (5 1 , ..., 5 n ) of control are supplied with codes that change the service algorithm in the range of direct or reverse sequence of priorities. When directly following priorities (by supplying “1” to input 4 1 ): the 5th, (n-1), and nth cases of variation are possible (see table 1), and with the reverse range (set by feed "1" to the input 4 2 ) (see table. 2).

Пусть, в нашем случае код, поданный на входы 51,...,5n управления, задает алгоритм обслуживания приоритетов: (n-1), n, 5. Далее вышеописанный алгоритм обслуживания запросов повторяется, т.е. вначале сигнал (n-7)-го запроса будет представлен в помехозащищенном коде, соответственно сбросится (n-1)-ый разряд регистра 1 запросов. Аналогичная процедура будет осуществлена с сигналом пятого запроса.Let, in our case, the code applied to the control inputs 5 1 , ..., 5 n defines an algorithm for servicing priorities: (n-1), n, 5. Further, the above-described algorithm for servicing requests is repeated, i.e. first, the signal of the (n-7) th request will be presented in an anti-interference code, respectively, the (n-1) th bit of the register 1 of requests will be reset. A similar procedure will be carried out with the signal of the fifth request.

Рассмотрим работу перестраиваемого блока 3 приоритета подробнее. Consider the work of tunable priority block 3 in more detail.

Установим по входам 41,42 блока 3 приоритета сигналы "1,0" соответственно, что определяет режим обслуживания 1 → 2 →...→(n-1) → n, а на входы 5 (51,...,5n) кодовую комбинацию, соответствующую подаче на обслуживание пятого запроса, тем самым задается следующая последовательность опроса: 5 → 6 →...→ (n-1) → n → 1 → 2 → 3 → 4. На 5, n-1 и n входы блока 3 приоритета поданы единичные сигналы с выходов второй группы элементов И 29 (И 295, И 29n-1, И 29n) (соответственно в регистре 20n+1 не зафиксирован маскирующий код приоритета). Единичным сигналом с выхода триггера 37 через первую группу элементов И 38 (И 385, И 38n-1, И 38n) и первую группу элементов ИЛИ 40 (ИЛИ 405, ИЛИ 40n-1, ИЛИ 40n) единичные сигналы с входов блока 3 приоритета поступят на инверсные входы элементов И 46 (И 465, И 46n-1, И 46n), которые соответственно закроются и единичный сигнал поступит выход элемента ИЛИ 41. В дешифраторе 43 на пятом выходе появляется единичный сигнал, который открывает элемент И 455 и закрывает элемент И 445. Таким образом, на пятом выходе блока 3 приоритета появится единичный сигнал.We set the signals “1.0” at the inputs 4 1 , 4 2 of the priority block 3, respectively, which determines the service mode 1 → 2 → ... → (n-1) → n, and at the inputs 5 (5 1 , ... , 5 n ) the code combination corresponding to the fifth request for servicing, thereby setting the following polling sequence: 5 → 6 → ... → (n-1) → n → 1 → 2 → 3 → 4. At 5, n- 1 and n inputs of priority block 3 single signals are output from the outputs of the second group of elements AND 29 (AND 29 5 , AND 29 n-1 , AND 29 n ) (respectively, the mask of priority is not fixed in register 20 n + 1 ). A single signal from the trigger output 37 through the first group of AND 38 elements (AND 38 5 , AND 38 n-1 , AND 38 n ) and the first group of OR 40 elements (OR 40 5 , OR 40 n-1 , OR 40 n ) unit signals from the inputs of block 3 priority will go to the inverse inputs of the elements And 46 (And 46 5 , And 46 n-1 , And 46 n ), which are respectively closed and a single signal will receive the output of the element OR 41. In the decoder 43, a single signal appears on the fifth output, which opens the And 45 5 element and closes the And 44 5 element. Thus, a single signal will appear at the fifth output of priority block 3.

Последним будет обслужен сигнал второго запроса, код которого наименее приоритетен по сравнению с кодами других запросов, одновременно со вторым поступившим на обслуживание. The signal of the second request will be served last, the code of which is the least priority in comparison with the codes of other requests, simultaneously with the second received for service.

Пусть в регистре 20n+1 зафиксировано пороговое значение кода приоритета, а на входы логического блока 23n+1, как отмечалось выше, подано значение экстремального кода прерывания. Согласно логике функционирования логических блоков 23 (см. выше) единичный сигнал появится на выходе блока 23n+1, если значение кода приоритета на его входах будет больше порогового, зафиксированного на входах блока 23n+2 и наоборот. Рассмотрим первый случай. Итак, на выходе логического блока 23n+1 зафиксирован единичный сигнал. Этот сигнал, пройдя через элементы И 30 и элемент ИЛИ 31, откроет элемент И 29i, (i-номер запроса с экстремальным кодом) и сигнал запроса с этого элемента поступит в блок 3 приоритета. Если же единичный сигнал зафиксирован на выходе логического блока 23n+2, а на выходе логического блока 23n+1 - нулевой сигнал, то оба элемента И 30 будут закрыты, а соответственно будет также закрыт и элемент 29i (i - номер запроса с экстремальным кодом) и сигнал запроса не поступит на вход блока 3 прерывания. Таким образом может быть осуществлена операция приоритетного обслуживания только тех запросов, значения кодов приоритета которых превышают уровень, зафиксированный в регистре 20n+1.Let the threshold value of the priority code be fixed in the register 20 n + 1 , and, as noted above, the value of the extreme interrupt code is applied to the inputs of the logic block 23 n + 1 . According to the logic of functioning of logical blocks 23 (see above), a single signal will appear at the output of block 23 n + 1 if the value of the priority code at its inputs is greater than the threshold recorded at the inputs of block 23 n + 2 and vice versa. Consider the first case. So, at the output of the logical block 23 n + 1 , a single signal is fixed. This signal, passing through the AND elements 30 and the OR element 31, will open the AND element 29 i , (i-request number with an extreme code) and the request signal from this element will go to priority block 3. If a single signal is fixed at the output of the logic block 23 n + 2 , and at the output of the logic block 23 n + 1 - a zero signal, then both elements And 30 will be closed, and accordingly, element 29 i will also be closed (i is the request number with extreme code) and the request signal does not arrive at the input of block 3 interrupts. Thus, a priority service operation can be carried out only for those requests whose priority code values exceed the level recorded in the register 20 n + 1 .

После сброса второго разряда регистра 1 запросов устройство переходит в исходное состояние и готово обслуживать запросы, пришедшие за время обработки седьмого, (n-1)-го, n - го, пятого и второго запросов. After resetting the second bit of the register 1 of requests, the device returns to its initial state and is ready to serve requests that arrived during the processing of the seventh, (n-1) th, n-th, fifth and second requests.

Использование совокупности существенных признаков - общих: наличие регистра 1 запросов, блока 3 приоритета, первой группы элементов ИЛИ 6, второй группы элементов ИЛИ 7, первой группы элементов И 8, шифратора 10, элемента ИЛИ 13, триггера 14, элемента ИЛИ 15, n - разрядных регистров 20 приоритета, n групп разрядных элементов И 22, с соответствующими функциональными связями и новых совокупностей существенных признаков: наличие элемента И 18, элемента ИЛИ 19, (n+1) регистра приоритета 20n+1, (n+2) - x логических блоков 23, каждый из которых содержит группу элементов И 24, группу элементов И 25, группу элементов ИЛИ 26, элемент ИЛИ 27 элемент ИЛИ 28, два элемента И 30, элемент ИЛИ 31, элемент 32 задержки с соответствующими им функциональными связями, что позволило: получить устройство, обладающее расширенными функциональными возможностями с сокращением аппаратурных затрат. Оно не привязано к определенному классу кодов (в отличие от известных устройств), кроме того, появилась возможность получить структуру, которая реализует алгоритм определения запроса с наиболее приоритетным кодом, относительно известных устройств данная структура минимальна, в предлагаемом устройстве управляемость обеспечивается тем, что задавая предварительно порог, можно осуществлять выбор группы запросов.Using a combination of essential features - general: the presence of a register of 1 requests, priority block 3, the first group of elements OR 6, the second group of elements OR 7, the first group of elements 8, encoder 10, element 13, trigger 14, element 15, n - bit registers 20 of priority, n groups of bit elements And 22, with the corresponding functional relationships and new sets of essential features: the presence of element And 18, element OR 19, (n + 1) register of priority 20 n + 1 , (n + 2) - x logical blocks 23, each of which contains a group of elements AND 24, a group of elements AND 25, a group of elements OR 26, an element OR 27 element OR 28, two elements 30, an element OR 31, a delay element 32 with their corresponding functional relationships, which allowed: to obtain a device with advanced functionality with the reduction hardware costs. It is not tied to a specific class of codes (in contrast to known devices), in addition, it became possible to obtain a structure that implements an algorithm for determining a request with the highest priority code, with respect to known devices, this structure is minimal, in the proposed device controllability is ensured by setting threshold, you can select a group of queries.

Расширение функциональных возможностей, заключающееся в повышении информационной емкости устройства, достигается путем использования логических блоков 23, кроме того, использование дополнительного регистра кода приоритета позволяет маскировать запросы путем установки порогового значения кода приоритета. The expansion of functionality, which consists in increasing the information capacity of the device, is achieved by using logical blocks 23, in addition, the use of an additional priority code register allows you to mask requests by setting a threshold value for the priority code.

Предложенное устройство также позволяет сократить аппаратные затраты, а следовательно, повысить надежность относительно устройства-прототипа с одинаковым количеством информационных входов. Сравнительный анализ аппаратурных затрат для устройства- прототипа и предлагаемого устройства приведен на фиг. 5. При подсчете количества элементов в качестве блока приоритета группы использовалось устройство параллельного приоритета, при раскрытии дешифраторов группы использовалась матричная схема построения дешифраторов. Регистр запросов 20-входовой и каждая кодовая последовательность значений приоритетов представляется в 16 разрядной сетке. Для наглядности сравнения разнородные блоки устройства-прототипа и предполагаемого устройства сведены к одному базису: двухвходовые элементы И и ИЛИ. Следует отметить, что предлагаемое устройство имеет однородную структуру, что облегчает его реализацию и наращивание информационных входов. The proposed device also allows to reduce hardware costs, and therefore, to increase reliability relative to the prototype device with the same number of information inputs. A comparative analysis of hardware costs for the prototype device and the proposed device is shown in FIG. 5. When calculating the number of elements, a parallel priority device was used as the group priority block, and the matrix design of the decoders was used to open the group decoders. The request register is 20-input and each code sequence of priority values is represented in a 16-bit grid. For clarity, the heterogeneous blocks of the prototype device and the proposed device are reduced to one basis: two-input elements AND and OR. It should be noted that the proposed device has a uniform structure, which facilitates its implementation and increasing information inputs.

Таким образом, предлагаемое устройство позволяет расширить функциональные возможности за счет введения логических блоков и дополнительного регистра кода приоритета, а также сократить аппаратные затраты, а следовательно, повысить надежность устройства. Thus, the proposed device allows you to expand the functionality by introducing logical blocks and an additional register of priority code, as well as reduce hardware costs, and therefore increase the reliability of the device.

Устройство может быть реализовано на элементах вычислительной техники серии К1533. The device can be implemented on elements of computer technology series K1533.

Claims (1)

Устройство переменного приоритета, содержащее регистр запросов, содержащий группу запросных входов, которые являются группой запросных входов устройства, и два входа задания режима, блок приоритета, содержащий два входа задания режима, соединенные с входами задания режима регистра запросов, и n входов управления, являющихся одноименными входами устройства, две группы элементов ИЛИ и группу элементов И, выходы блока приоритета соединены с входами шифратора, выходы которого являются информационными выходами устройства, с входами сброса регистра запросов и с входами первого элемента ИЛИ, выход которого соединен с нулевым входом триггера, второй элемент ИЛИ, первый и второй входы которого являются входами сигналов "Ответ" и "Пуск" устройства соответственно, n l - разрядных регистров приоритета (n - количество источников запросов), входы которых являются входами задания кодов приоритета источников запросов устройства, n групп разрядных элементов И по l элементов в каждой группе, первые входы которых погруппно объединены и соединены с соответствующими выходами регистра запросов, вторые входы всех разрядных элементов И групп соединены с единичным выходом триггера, выходы регистров приоритетов поразрядно соединены с третьими входами разрядных элементов И соответствующих групп, отличающееся тем, что в него дополнительно введены первый элемент И, первый вход которого соединен с выходом второго элемента ИЛИ, второй вход первого элемента И соединен с выходом третьего элемента ИЛИ, входы которого соединены соответственно с запросными входами регистра запросов, а выход первого элемента И соединен с единичным входом триггера, n логических блоков, информационные входы которых соответственно разрядам и группам соединены с выходами разрядных элементов И групп, причем каждый логический блок содержит в каждом разряде, кроме первого, вторые элементы И, первые входы которых являются соответствующими (2,3...l - информационными входами логического блока, третьи элементы И, первые входы которых поразрядно объединены со вторыми входами вторых элементов И, четвертые элементы ИЛИ, первые входы которых в каждом разряде соединены с выходами вторых элементов И, а вторые входы - с выходами третьих элементов И, выход каждого четвертого элемента ИЛИ i-го разряда (где i = 1,2..., l-1) соединен с объединенными входами второго и третьего элементов И последующего разряда, выход четвертого элемента ИЛИ l разряда является информационным выходом логического блока, в первом разряде каждого логического блока содержится пятый элемент ИЛИ, первый вход пятого элемента ИЛИ является первым информационным входом этого логического блока, выход пятого элемента ИЛИ соединен с объединенными вторым входом второго элемента И и первым входом третьего элемента И второго разряда этого логического блока, входы первого элемента ИЛИ первой группы соединены с первыми информационными входами n логических блоков, нулевой выход первого элемента ИЛИ первой группы соединен с объединенными вторыми входами пятых элементов ИЛИ n логических блоков, входы j-го (j = 2,3. ..l) элемента ИЛИ первой группы соединены с выходами вторых элементов И (j-l)-го разряда n - логических блоков, а нулевой выход упомянутого элемента ИЛИ соединен с объединенными вторыми входами третьих элементов И (j-1)-го разряда n логических блоков, первые входы первой группы элементов И соответственно соединены с единичными выходами элементов ИЛИ первой группы, а вторые входы объединены и соединены с выходом шестого элемента ИЛИ, входы которого соединены с информационными выходами логических блоков, первые входы второй группы элементов И соединены с информационными выходами соответствующих логических блоков, вторые входы упомянутых элементов И объединены, а выходы соответственно соединены с информационными входами блока приоритета, устройство также содержит вторую группу элементов ИЛИ, (n+1)-й и (n+2)-й идентичные логические блоки, информационные входы (n+1)-го логического блока соответственно соединены с выходами элементов И первой группы, (n+2)-й логический блок, информационные входы которого соответственно соединены с выходами (n+1)-го регистра приоритета, входы которого являются входами задания кода наивысшего приоритета устройства, входы первого элемента ИЛИ второй группы соединены с первыми информационными входами (n+1)-го и (n+2)-го логических блоков, нулевой выход первого элемента ИЛИ второй группы соединен с объединенными вторыми входами пятых элементов ИЛИ (n+1)-го и (n+2)-го логических блоков, входы j-го (j=2,3...., l) элемента ИЛИ второй группы соединены с выходами вторых элементов И (j -1)-го разряда (n+1)-го и (n+2)-го логических блоков, а нулевой выход упомянутого элемента ИЛИ соединен с объединенными вторыми входами третьих элементов И (j -1)-го разряда (n+1)-го и (n+2)-го логических блоков, первые входы четвертого и пятого элементов И объединены и соединены с информационным выходом (n+1)-го логического блока, вторые входы также объединены, причем второй вход четвертого элемента И-инверсный, и соединены с информационным выходом (n+2)-го логического блока, входы седьмого элемента ИЛИ соединены с выходами четвертого и пятого элементов И, а выход соединен с объединенными вторыми входами элементов И второй группы, вход элемента задержки соединен с единичным выходом триггера, а выход с третьими входами элементов И второй группы и с третьими входами четвертого и пятого элементов И. A variable priority device containing a request register containing a group of request inputs that are a group of request inputs of a device and two mode setting inputs, a priority block containing two mode set inputs connected to the request register mode setting inputs and n control inputs of the same name device inputs, two groups of OR elements and a group of AND elements, the outputs of the priority block are connected to the inputs of the encoder, the outputs of which are the information outputs of the device, with reset inputs request register with the inputs of the first OR element, the output of which is connected to the zero input of the trigger, the second OR element, the first and second inputs of which are inputs of the "Answer" and "Start" signals of the device, respectively, nl - bit priority registers (n - the number of request sources ), the inputs of which are inputs of the set of priority codes of the request sources of the device, n groups of bit elements AND l elements in each group, the first inputs of which are grouped together and connected to the corresponding outputs of the request register , the second inputs of all the bit elements AND groups are connected to a single output of the trigger, the outputs of the priority registers are bitwise connected to the third inputs of the bit elements AND of the corresponding groups, characterized in that the first AND element is added to it, the first input of which is connected to the output of the second OR element, the second input of the first AND element is connected to the output of the third OR element, the inputs of which are connected respectively to the query inputs of the query register, and the output of the first AND element is connected to a single input trigger, n logical blocks, the information inputs of which, respectively, of the bits and groups are connected to the outputs of the bit elements AND groups, and each logical block contains in each bit, except the first, the second elements And, the first inputs of which are corresponding (2,3 ... l - information inputs of the logical unit, the third AND elements, the first inputs of which are bitwise combined with the second inputs of the second AND elements, the fourth OR elements, the first inputs of which in each category are connected to the outputs of the second AND elements, and the second ith inputs - with outputs of the third AND elements, the output of every fourth OR element of the i-th category (where i = 1,2 ..., l-1) is connected to the combined inputs of the second and third elements AND the subsequent discharge, the output of the fourth OR element l the bit is the information output of the logical block, the first bit of each logical block contains the fifth OR element, the first input of the fifth OR element is the first information input of this logical block, the output of the fifth OR is connected to the combined second input of the second AND element and by the input of the third AND element of the second bit of this logic block, the inputs of the first OR element of the first group are connected to the first information inputs of n logical blocks, the zero output of the first OR of the first group is connected to the combined second inputs of the fifth elements OR n logic blocks, the inputs of the jth ( j = 2,3. ..l) the OR element of the first group is connected to the outputs of the second elements of the And (jl) -th discharge of n-logical blocks, and the zero output of the said OR element is connected to the combined second inputs of the third elements of the And (j-1) -th discharge of n logical blocks , the first inputs of the first group of AND elements are respectively connected to the unit outputs of the OR elements of the first group, and the second inputs are combined and connected to the output of the sixth OR element, the inputs of which are connected to the information outputs of the logical blocks, the first inputs of the second group of elements And so are connected to the information outputs of the corresponding logical blocks, the second inputs of the AND elements are combined, and the outputs are respectively connected to the information inputs of the priority block, the device also contains a second group of OR elements, the (n + 1) th and (n + 2) th identical logical blocks, information inputs of the (n + 1) -th logical block are respectively connected to the outputs of the elements of the first group, (n + 2) -th logical block, the information inputs of which are respectively connected to the outputs of the (n + 1) -th priority register, inputs which are I have the inputs of the task code of the highest priority of the device, the inputs of the first OR element of the second group are connected to the first information inputs of the (n + 1) th and (n + 2) th logical blocks, the zero output of the first OR of the second group is connected to the combined second inputs of the fifth OR elements of the (n + 1) th and (n + 2) th logical blocks, the inputs of the jth (j = 2,3 ...., l) OR element of the second group are connected to the outputs of the second AND elements (j - 1) -th category of the (n + 1) -th and (n + 2) -th logical blocks, and the zero output of the said OR element is connected to the combined second inputs of the third x elements of the And (j -1) -th category of the (n + 1) -th and (n + 2) -th logical blocks, the first inputs of the fourth and fifth AND elements are combined and connected to the information output of the (n + 1) -th logical block, the second inputs are also combined, and the second input of the fourth element is I-inverse, and connected to the information output of the (n + 2) -th logical block, the inputs of the seventh element OR are connected to the outputs of the fourth and fifth AND elements, and the output is connected to the combined second inputs of elements AND of the second group, the input of the delay element is connected to a single output of the trigger a, and the output from the third inputs of AND gates of the second group and the third inputs of the fourth and fifth elements I.
RU99104580A 1999-03-02 1999-03-02 Dynamic priority device RU2152072C1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU99104580A RU2152072C1 (en) 1999-03-02 1999-03-02 Dynamic priority device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
RU99104580A RU2152072C1 (en) 1999-03-02 1999-03-02 Dynamic priority device

Publications (1)

Publication Number Publication Date
RU2152072C1 true RU2152072C1 (en) 2000-06-27

Family

ID=20216796

Family Applications (1)

Application Number Title Priority Date Filing Date
RU99104580A RU2152072C1 (en) 1999-03-02 1999-03-02 Dynamic priority device

Country Status (1)

Country Link
RU (1) RU2152072C1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2591017C1 (en) * 2015-07-23 2016-07-10 федеральное государственное автономное образовательное учреждение высшего профессионального образования "Национальный исследовательский ядерный университет МИФИ" (НИЯУ МИФИ) Multi-output indicator of most significant unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2591017C1 (en) * 2015-07-23 2016-07-10 федеральное государственное автономное образовательное учреждение высшего профессионального образования "Национальный исследовательский ядерный университет МИФИ" (НИЯУ МИФИ) Multi-output indicator of most significant unit

Similar Documents

Publication Publication Date Title
US6748405B2 (en) Method and circuits for performing the quick search of the minimum/maximum value among a set of numbers
US4270181A (en) Data processing system having a high speed pipeline processing architecture
US4485455A (en) Single-chip semiconductor unit and key input for variable function programmed system
JP7241470B2 (en) Vector processor array sorting method
US5721809A (en) Maximum value selector
Howard et al. Parallel lossless image compression using Huffman and arithmetic coding
US7610454B2 (en) Address decoding method and related apparatus by comparing mutually exclusive bit-patterns of addresses
US4504904A (en) Binary logic structure employing programmable logic arrays and useful in microword generation apparatus
RU2717934C1 (en) Device for on-bit range boundary detecting
RU2152072C1 (en) Dynamic priority device
US3713109A (en) Diminished matrix method of i/o control
RU2633110C1 (en) Device for determining number of senior units (zeros) in binary number
US6012077A (en) Method and apparatus for indicating overflow status of bit-variable data employing pipelining adder
US7743231B2 (en) Fast sparse list walker
RU2087939C1 (en) Variable-priority device
RU2760628C1 (en) Method and associative matrix apparatus for parallel search of a sample based on the prefixes thereof
Yoon A Novel Architecture of Asynchronous Sorting Engine Module for ASIC Design
SU1619274A1 (en) Priority selection device
SU1233161A1 (en) Device for distributing tasks in computer system
Daalder et al. High-level synthesis optimisation with genetic algorithms
RU2777841C1 (en) Multichannel task manager arbiter
SU1179316A1 (en) Device for selecting extreme number from n m-bit binary numbers
EP1115056B1 (en) Method and circuits for performing a quick search of the minimum/maximum value among a set of numbers
AU745572B2 (en) Multi-Level random access priority encoder
RU2224281C1 (en) Device for priority servicing of requests