SU1522204A1 - Device for organizing queue to common source - Google Patents
Device for organizing queue to common source Download PDFInfo
- Publication number
- SU1522204A1 SU1522204A1 SU874347307A SU4347307A SU1522204A1 SU 1522204 A1 SU1522204 A1 SU 1522204A1 SU 874347307 A SU874347307 A SU 874347307A SU 4347307 A SU4347307 A SU 4347307A SU 1522204 A1 SU1522204 A1 SU 1522204A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- inputs
- input
- group
- outputs
- elements
- Prior art date
Links
Abstract
Изобретение может быть использовано в вычислительных системах. Цель изобретени - расширение области применени путем обеспечени обслуживани запросов с дисциплиной "последним пришел - первым обслужилс ". Устройство содержит группу сдвигающих регисторов, шифратор, счетчик, два дешифратора, регистр, два триггера, элементы И и ИЛИ. Устройство позвол ет также организовать выборку запросов в пор дке поступлени . 2 ил.The invention can be used in computing systems. The purpose of the invention is to expand the scope of application by providing service requests with the discipline "last come, first served". The device contains a group of shift registers, an encoder, a counter, two decoders, a register, two triggers, and AND and OR elements. The device also allows the selection of requests in the order received. 2 Il.
Description
Изобретение относитс к вычислительной технике и может быть использовано в вычислительных системах.The invention relates to computing and can be used in computing systems.
Цель изобретени - расширение области применени устройства путем обеспечени обслуживани запросов с дисциплиной последним пришел - первым обслужилс .The purpose of the invention is to expand the field of application of the device by providing service requests with the discipline of the last to come - first served.
На фиг, 1 приведена схема устройства; на фиг. 2 - схема сдвигающего регистра.Fig, 1 shows a diagram of the device; in fig. 2 - scheme shift register.
Устройство (фиг. .1) содержит сдвигающий регистры 1, шифратор 2, эле- . мент i-ШИ 3, счетчик 4, дешифраторы 5, 6, тригд еры 7 и 8, элемент И 9, регистр 10,-блоки 11 элементов .И, группу элементов ИЛИ 12, группу 13 элемен-. тов 1ШИ, блок 14 элементов И, запросные входы 15 устройства, ответный вход 16 устройства, вход запуска 17 устройства , вход останова 18 устройства.The device (Fig. 1) contains the shift registers 1, the encoder 2, the Elec. i-SHI 3, counter 4, decoders 5, 6, triggers 7 and 8, element 9, register 10, blocks of 11 elements. AND, a group of elements OR 12, group 13 elements. Comrades 1, block 14 elements AND, the request inputs 15 of the device, the response input 16 of the device, the start input of the device 17, the input stop of the device 18.
первый вход 19 режима устройства, второй вход 20 режима устройства, выходы 21; позици ми 22, 25 обозначены первые информационные входы,. синхронизи- рун цие входы, вторые информационные входы и выходы сдвигахщих регистров 1 соответственно. Сдвигагаций регистр 1 (фиг. 2) содержит триггеры 26, элементы Ш1И 27, 28 и элементы И 29, 30.the first input 19 of the device mode, the second input 20 of the device mode, the outputs 21; positions 22, 25 denote the first information inputs ,. synchronization inputs, second information inputs and outputs of the shift registers 1, respectively. The shift register 1 (Fig. 2) contains the triggers 26, the elements ShII 27, 28 and the elements And 29, 30.
Устройство работает следунщим образом .The device works as follows.
При включении питани счетчик 4 -и регистры 1 и 10 обнул ютс (не показано ). При этом дешифратор 5 выдает сигнал на нулевом (верхнем) выходе, который подготавливает к срабатыванию первые элементы И 29 регистров 1 и разрешает запись информации в первые триггеры-26. При отсутствии запросов на обращение к общему расурсу (обслу- . живающему устройству) нулевое состо When the power is turned on, the counter 4-registers 1 and 10 are zeroed (not shown). In this case, the decoder 5 generates a signal at the zero (upper) output, which prepares the first elements AND 29 of registers 1 for operation and allows the information to be written into the first 26 triggers. In the absence of requests to appeal to the common race (service. Device), the zero state
ние первых триггеров 26 не измен етс . На выходах 21 поддерлшваютс нули. Устройство может работать в двухThe notion of first triggers 26 is unchanged. On outputs 21, zeros are maintained. The device can work in two
то нии, в результате чего.подготовлен к срабатыванию элемент И 9. При установке триггера 7 в едньшчное состо ниеThat is, as a result, element I 9 is prepared for actuation. When trigger 7 is set to a single state
режимах в режиме обслуживани запро-д. по вл етс сигнал на выходе элементаmodes in service mode request-d. an output signal appears
И 9s который подаетс на синхронизн- руга1дий вход регистра 10. В результа- те этого текущее состо ние сигналов на выходах дешифратора 5 (за исключер за,цаваемым им- |g нием нулевого выхода) фиксируетс вAnd 9s which is fed to the synchronized input of the register 10. As a result, the current state of the signals at the outputs of the decoder 5 (except for the output of the zero output) is fixed in
регистре 0. Предположим, что в регистрах 1 хран тс коды запросов. При этом соответствующий разр д регистра 10 находитс в единичном состо нии, а остальные - в нулевом. Этот сигнал открывает соответствующие элементы И блоков Н и код запроса (поступившего последним) через оти элементы И и элементы И.1И 12 подае.тс на входы дешифратора 6, который выдает сигнал на выходе 21. Таким образом, в случае еди Еичного состо 11и триггер 7 на выходгэ 2 выдаетс запрос, посту-, пивший в систему последним. Кроме того, сигнал с выхода разр да регистра 10 проходит череэ элементы ИЛИ 3, подготавлива к срабатыванию соответствующие злементыИ14, Исключение составл ет только сигнал на выходе первого разсов в пор дке поступлеют и в режиме обслуживани запросов с дисциплиной поааедним пришел первый обслужил- Режим обслуживани определ етс ; состо нием триггера I пульсами по входам 19 и 20, Нулевое i состо ние триггера 8 определ ет пер- iвый из упом нутых режимовэ а единич- Iное - второй,register 0. Suppose that registers 1 are stored request codes. In this case, the corresponding register bit 10 is in the unit state, and the rest in the zero state. This signal opens the corresponding elements And blocks H and the request code (last received) through the elements And elements I.1I 12 and goes to the inputs of the decoder 6, which outputs a signal at output 21. Thus, in the case of a single condition 11and a trigger 7, on Outgoing 2, a request is issued, which is the last to enter the system. In addition, the signal from the output of the register register 10 passes through the OR 3 elements, preparing the corresponding elements for operation. 14 The exception is only the signal at the output of the first time in order to arrive and, in the service mode, the first service has been received with the discipline. is; the state of the trigger I pulses at inputs 19 and 20, the zero i state of the trigger 8 determines the first of these modes and the unit I is the second,
; Пор док приема запросов на обслужи)5 Звание Не зависит от рекмма работы сие- iтемы и состо ни триггера 7, Импульс :первого запроса по одному из запрос- 1ных входов 15 поступает на соответст- 1вующий вход шифратора 2, код с выхо- 20 I дов которого проходит через первые эле- I менты И 29 и ИЛИ 27 и записываетс в ;первые триггеры 26 регистров I, Од- новременно с этим на выходе элемента 3 по вл етс импульс которьм уве-25; The order of receiving requests for service) 5 Title Not dependent on the status of the system and trigger status 7, Impulse: the first request for one of the request- 1 inputs 15 is sent to the corresponding 1 input encoder 2, the code from the output 20 I Which passes through the first elements I 29 and OR 27 and is written in; the first triggers 26 of the registers I, at the same time, the output of the element 3 is an impulse which increases
личивает содерлдамое счетчика 4 на еди- : ницу, в результате чего открываютс вторые элементы И 29 к через вторые элементы ИЛИ 28 разрешаетс запись ин- litering the contents of counter 4 on a single unit, as a result of which the second elements are opened AND 29 through the second elements OR 28 the recording of information is allowed
формадии во вторые триггеры 26 регистроп р да регистра 10,который подаетс непо1; изменение же состо ни первых тг/ г- геров 26 регистров запрещаетс , Сла- .дующий код, соответстзуюший следующа- му запросу, записываетс во BTOpijie триггеры 26 регистров 1. Сс ержимс- : счетчика 4 снова увеличиваетс на единицу , вследствие чего разрешаетс прием информации в третьи триггеры 26, регистров дл записи кода третьего запроса; вторые триггеры 26 регистров .,, 1 блокируютс и Заполнение кодами запросов остальных разр дов регистров 1 происходит аналогично,Formations in the second triggers 26 of the register case register 10, which is supplied not by 1; the change in the status of the first registrars 26 registers is prohibited, the next code corresponding to the following request is recorded in the BTOpijie triggers of registers 1. The counter-: counter 4 is again increased by one, as a result of which the reception of information is permitted in the third triggers 26, registers for recording the code of the third request; the second register triggers 26 ,, 1 are blocked and the filling with the request codes of the remaining bits of the registers 1 is similar,
Состо ние общего ресурса фиксируетсредственно на один из входов первого элемента И блока 14, Если регистрыThe state of the shared resource is fixed directly to one of the inputs of the first element AND block 14, If the registers
Iполностью свободны, то нулевое состо ние регистра 10 запрещает прохождение сигналов через элементы И блоковIf they are completely free, then the zero state of register 10 prohibits the passage of signals through the elements AND blocks.
IIи 14, При этом на выходах 21 поддерживаютс нулевые уровни.II and 14; At the same time, zero levels are maintained at outputs 21.
Прошедший на один из выходов 21 сигнал запроса поступает в общий ресурс . Последний начинает обслуживание соответствующего абонента . и выдает импульс на вход 1.7, по которому триггер 7 устанавливаетс в нулевое состо -ние. Вследствие этого блокис триггером 7, который переключаетс .,; руетс изменение содержимого регистимпульсаг Ш по входам 17 и 18. При освобождении общий ресурс посьшает им- на вход 17, который устанавливает триггер 7 в. еди1шчное состо Ш 1ес После приема запроса на обслуживание обгций ресурс подает импульс на вход 18, по которому триггер 7 сбрасываетс в нуль.Passed to one of the outputs 21 of the request signal enters the share. The latter starts servicing the corresponding subscriber. and gives a pulse to the input 1.7, according to which the trigger 7 is set to the zero state. As a consequence, it blocks with trigger 7, which switches.,; There is a change in the contents of the registress pulse III to the inputs 17 and 18. When released, the shared resource deletes the name input 17, which sets the trigger 7 in. Single state W 1c. After receiving the request for servicing the resources, the resource supplies a pulse to input 18, through which trigger 7 is reset to zero.
Рассмотрим выборку запроса на обслуживание в двух режимахSConsider a sample of a service request in two modes
1| Режим обслуживани в пор дке, обратном поступлению, В этом случае триггер 8 находитс з единичном сос501 | The service mode is in the order of the return. In this case, the trigger 8 is located at a unit 50
ра 0. Поступагадие в систему запросы фиксируютс в регистрах обычным образом , однако состо ние регистра 10 остаетс неизменным.ra 0. The request to the system is recorded in the registers in the usual way, but the state of the register 10 remains unchanged.
После удовлетворени запроса обощ ресурс подает последовательно импуль на входы.16 и 18, Импульс по входу 1 проходит через открытые элементы И 14, открывает соответствующие элемен ты И 30 и разрешает запись («ерез эл менты ) в триггеры 26, При это осуществл етс сдвиг содержимого раз р дов регистров 1 на один разр д вправо последние разр ды обнул ютс . За счетAfter satisfying the request, the general resource sends a pulse to inputs 16 and 18 sequentially. The pulse at input 1 passes through the open elements AND 14, opens the corresponding elements AND 30 and allows writing ("Through the elements) to the triggers 26, When this is done the contents of the rows of registers 1 by one bit to the right of the last bits are zeroed. By
средственно на один из входов первого элемента И блока 14, Если регистрыOn one of the inputs of the first element And block 14, If the registers
Iполностью свободны, то нулевое состо ние регистра 10 запрещает прохождение сигналов через элементы И блоковIf they are completely free, then the zero state of register 10 prohibits the passage of signals through the elements AND blocks.
IIи 14, При этом на выходах 21 поддерживаютс нулевые уровни.II and 14; At the same time, zero levels are maintained at outputs 21.
Прошедший на один из выходов 21 сигнал запроса поступает в общий ресурс . Последний начинает обслуживание соответствующего абонента . и выдает импульс на вход 1.7, по которому триггер 7 устанавливаетс в нулевое состо -ние. Вследствие этого блоки ,; руетс изменение содержимого регист0Passed to one of the outputs 21 of the request signal enters the share. The latter starts servicing the corresponding subscriber. and gives a pulse to the input 1.7, according to which the trigger 7 is set to the zero state. As a consequence, the blocks,; Routec change content register0
ра 0. Поступагадие в систему запросы фиксируютс в регистрах обычным образом , однако состо ние регистра 10 остаетс неизменным.ra 0. The request to the system is recorded in the registers in the usual way, but the state of the register 10 remains unchanged.
После удовлетворени запроса обощй ресурс подает последовательно импульс на входы.16 и 18, Импульс по входу 16- проходит через открытые элементы И 14, открывает соответствующие элемен- ты И 30 и разрешает запись («ерез элементы ) в триггеры 26, При этом осуществл етс сдвиг содержимого разр дов регистров 1 на один разр д вправо, последние разр ды обнул ютс . За счетAfter the request is satisfied, the general resource supplies a pulse to the inputs 16 and 18 successively. The pulse at input 16 passes through the open elements AND 14, opens the corresponding elements AND 30 and allows writing ("Through the elements) to the triggers 26. shifting the contents of register bits 1 by one bit to the right, the last bits are zeroed out. By
этого код обслуженного запроса из регистров 1 удал етс , а коды пришедших за врем его обслуживани запросов продвигаютс вправо. При этом пор док в очереди, повтор етс ,Этим же импульсом содер- жимое счетника 4 уменьшаетс на единицу , отража изменени содержимого регистров 1. Дешифратор 5 декодирует новое состо ние счетчика 4,this service request code is removed from registers 1, and the codes of requests that have arrived during its service are moved to the right. At the same time, the order in the queue is repeated. With the same impulse, the content of the counter 4 decreases by one, reflecting changes in the contents of registers 1. The decoder 5 decodes the new state of counter 4,
Импульсом со входа 18 триггер 7 переводитс в единичное состо ние и содержимое регистра 10 измен етс . Теперь оно снова соответствует коли10The impulse from input 18 triggers 7 to one state, and the contents of register 10 change. Now it again corresponds to the number 10.
ИЛИ и с ответным входом устройства соответственно , выходы второго дешифратора вл ютс выходами устройства, отличающеес тем, что, с целью расширени области применени путем обеспечени обслуживани запросов с дисциплиной последним пришел- первым обслужилс , в устройство введены два триггера.. элемент И, регистр, блоки элементов И, две группы элементов HJIIi, причем каждый выход первого дешифратораJ кроме первого выхода, сое динен с одноименным информационнымOR and with the device's reciprocal input, respectively, the outputs of the second decoder are device outputs, characterized in that, in order to expand the field of application by ensuring the maintenance of queries with discipline last arrived — first served, two triggers were entered into the device. blocks of elements And, two groups of elements HJIIi, and each output of the first decoder J except the first exit, is connected to the same informational
честву запросов, коды которых хран т-, входом регистра, 1-й (,.,.п,п- -. с в регистрах 1.число запросных входов устройства}the number of requests whose codes are stored, register input, 1st (,.,. n, n - -. in registers 1. number of device request inputs}
выход- которого соединен с 1-ми входа 2, Режим обслуживани в пор дкеми элементов ИЛИ первой группы,с (1-.1,)-поступлени , В этом режиме триггер 8 го по (п-1 )-й выходы первого разр да ре- находитс в нулевом состо нии, Элемент20 гистра соединены с первым информационным входом блока элементов И группы и с первыми входами элементов ИЛИ первой группы, выходы регистра соединены с первыми группами входов блоков элементовoutput - which is connected to the 1st input 2, the service mode in the order of the OR elements of the first group, with (1-1.) - arrival, In this mode, the trigger 8 to the (n-1) -th output of the first discharge is restored in the zero state, the element 20 of the hyste is connected to the first information input of the block of elements AND of the group and with the first inputs of the elements OR of the first group, the outputs of the register are connected to the first groups of inputs of the blocks of elements
И 9 оказываетс закрытым, а сигналом с инверсного выхода триггера 8 в регистр 10 записываетс крд числа .1-1, Независимо от состо ни счетчика 4 к входам дешифратора 6 посто нно подкпю-25 И группы, группа выходов каждого сдвига- чены выходы первых разр дов регистров ющего регистра группы соединена с вто- 1 и подан сигнал на все элементы Ирой группой входов одноименного блокаAnd 9 turns out to be closed, and the signal from the inverse output of the trigger 8 to the register 10 is written to the number 1-1. Regardless of the state of the counter 4 to the inputs of the decoder 6, constantly sub-25-AND groups, the group of outputs each shifted the outputs of the first bits The group register register is connected to the second and a signal is sent to all the elements. Iroy group of inputs of the block of the same name.
блока 14, что обеспечит сдвиг: со-эл емент а И группы, группа входов котородержимого всех разр дов регистров 1 - по импульсу на входе 16, В остальном работа устройства протекает аналогично предыдущему режиму.unit 14, which will provide a shift: co-element a AND group, a group of inputs for which all the bits of registers 1 are in impulse at input 16; Otherwise, the operation of the device proceeds similarly to the previous mode.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874347307A SU1522204A1 (en) | 1987-10-30 | 1987-10-30 | Device for organizing queue to common source |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874347307A SU1522204A1 (en) | 1987-10-30 | 1987-10-30 | Device for organizing queue to common source |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1522204A1 true SU1522204A1 (en) | 1989-11-15 |
Family
ID=21343794
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU874347307A SU1522204A1 (en) | 1987-10-30 | 1987-10-30 | Device for organizing queue to common source |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1522204A1 (en) |
-
1987
- 1987-10-30 SU SU874347307A patent/SU1522204A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР№ 1126964, кл. G 06 F 9/46, 1983. Авторское свидетельство СССР № 945.867, кл. G 06 F 9/46, 1981. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US3051929A (en) | Digital data converter | |
SU1522204A1 (en) | Device for organizing queue to common source | |
US4387341A (en) | Multi-purpose retimer driver | |
SU1456956A1 (en) | Multichannel device for controlling the servicing of requests in the order of arrival | |
SU1322284A1 (en) | Multichannel device for managing access to resources | |
SU1120331A1 (en) | Control device for common resorce access | |
SU1141412A1 (en) | Device for servicing requests | |
SU1488799A1 (en) | Unit for organization of access to resorces | |
SU1432542A1 (en) | Device for connecting subscriber to common trunk line | |
GB1184601A (en) | Data Handling System. | |
RU2222044C2 (en) | Module for forwarding messages in switching structure | |
SU424148A1 (en) | DEVICE FOR MAINTENANCE OF APPLICATIONS OF A COLLECTIVE OF USERS | |
SU1145345A1 (en) | Model of queueing system | |
RU2110831C1 (en) | Unit of matrix commutator | |
SU1283798A1 (en) | Device for translating codes from one language to another | |
SU1647578A1 (en) | Device for interfacing of computer and users | |
SU1622886A1 (en) | Triple-stage commutation system | |
SU1612302A1 (en) | Multichannel priority device | |
SU1481901A1 (en) | Serializer-deserializer | |
SU1751757A1 (en) | Pipeline computing unit controller | |
SU1238088A1 (en) | Interface for linking computer with using equipment | |
SU807297A1 (en) | Device for control of handling requests in the coming order | |
SU1319040A1 (en) | Interface for linking the using equipment | |
SU1532943A1 (en) | Device for modelling queueing systems | |
SU1126961A2 (en) | Priority device |