SU1504652A1 - Queue orering device - Google Patents

Queue orering device Download PDF

Info

Publication number
SU1504652A1
SU1504652A1 SU884364328A SU4364328A SU1504652A1 SU 1504652 A1 SU1504652 A1 SU 1504652A1 SU 884364328 A SU884364328 A SU 884364328A SU 4364328 A SU4364328 A SU 4364328A SU 1504652 A1 SU1504652 A1 SU 1504652A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
register
output
group
trigger
Prior art date
Application number
SU884364328A
Other languages
Russian (ru)
Inventor
Александр Николаевич Бучнев
Владимир Родионович Горовой
Евгений Иванович Карпунин
Владимир Алексеевич Корнеев
Василий Иванович Песоченко
Original Assignee
Предприятие П/Я Р-6052
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 Предприятие П/Я Р-6052 filed Critical Предприятие П/Я Р-6052
Priority to SU884364328A priority Critical patent/SU1504652A1/en
Application granted granted Critical
Publication of SU1504652A1 publication Critical patent/SU1504652A1/en

Links

Landscapes

  • Bus Control (AREA)

Abstract

Изобретение относитс  к области автоматики и вычислительной техники и может быть использовано в устройствах управлени  очередностью обслуживани . Целью изобретени   вл етс  повышение достоверности работы устройства за счет исключени  потери запросов с длительностью, меньшей длительности цикла чтени  устройства. Устройство дл  организации очереди содержит два регистра хранени  информации и сдвиговый регистр, две группы элементов И, группу элементов задержки, распределитель импульсов, триггер, элемент ИЛИ, формирователь импульсов, счетчик и коммутатор. В устройстве благодар  использованию сдвигового регистра дл  управлени  коммутатором осуществл етс  выдача на выходы устройства требуемого кода приоритета со счетчика, а применение группы элементов задержки и соединение синхровходов триггеров с входами устройства позвол ет обрабатывать запросы любой длительности, причем исключено срабатывание устройства от кратковременных единичных помех. 1 ил.The invention relates to the field of automation and computer technology and can be used in service scheduling devices. The aim of the invention is to improve the reliability of the device by eliminating the loss of requests with a duration shorter than the cycle time of the device reading. The device for queuing contains two registers of information storage and a shift register, two groups of AND elements, a group of delay elements, a pulse distributor, a trigger, an OR element, a pulse shaper, a counter, and a switch. In the device, by using the shift register to control the switch, the device outputs the required priority code from the counter, and the use of a group of delay elements and the connection of the trigger inputs to the device inputs allows processing requests of any duration, and the short-term single interference is prevented. 1 il.

Description

Изобретение относитс  к автомати-: ке и вычислительной технике и может быть использовано в устройствах управлени  очередностью обслуживани .The invention relates to automation and computing and can be used in service order control devices.

Цель изобретени  - повьшение до- стоверности работы устройства за счет исключени  потери запросов с длительностью, меньшей длительности цикла чтени  устройства,The purpose of the invention is to increase the reliability of the device by eliminating the loss of requests with a duration shorter than the reading cycle of the device,

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

Устройство содержит первый регистр 1,с триггерами 2, второй и третий регистры 3 и 4, первую группу элементов И 5, вторую группу элементов И 6, элементы задержки 7, распределитель импульсов 8, элемент ИЛИ 9, триггер 10, счетчик П, коммутатор 12, формирователь импульсов 13, группу запросных входов 14 устройст- а, группу информационных выходов 15 устройства, установочный вход 16 устройства и вход 17 чтени  устройства .The device contains the first register 1, with triggers 2, the second and third registers 3 and 4, the first group of elements AND 5, the second group of elements AND 6, delay elements 7, pulse distributor 8, element OR 9, trigger 10, counter P, switch 12 pulse generator 13, a group of request inputs 14 of the device, a group of information outputs 15 of the device, installation input 16 of the device and input 17 of the device.

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

В исходном состо нии регистры 3 и 4, триггер 10 и счетчик Л1 обнулены. Обнуление производитс  единичным импульсом по входу 16 устройства. Разр ды регистра I обнул ютс  автоматически через элементы задержки 7. ЗасдIn the initial state, registers 3 and 4, trigger 10 and counter L1 are reset. The zeroing is performed by a single pulse at the input 16 of the device. Register I bits are zeroed automatically through delay elements 7. Back

99

слcl

fOfO

3.1503.150

просы на обслуживание поступают по входам 14 устройства, фиксируютс  в триггерах 2 регистра 1 и через элементы И 5 устанавливают в единицу соответствующие разр ды регистра 3, Приоритет запросов возрастает с возрастанием пор дкового номера запроса . Элементы И 5 предотвращают срабатывание регистра 3 при по влении на входах 14 кратковременной единичной помехи, Помехой считаетс  сигнал длительность Которого меньше времени срабатывани  триггера 2, Помеха установит в единицу один из триггеров 2, но через врем , определ ющеес  величиной элемента задержки, триггер 2 возвратитс  в исходное состо ние, Так как триггер 10 обнулен, то регистр 4 и счетчик 11 наход тс  в ре- жиме ожидани  параллельного приема информации, заданном единицей с инверсного выхода триггера 10. По тактовому входу 17 устройства поступают импульсы чтени . Рассмотрим один такт чтени  устройства. По переднему фронту импульса чтени  запускаетс  распределитель импульсов 8. Импульс с его первого выхода через элемент ИЛИ 9 поступает на тактовые входы регистра 4 и счетчика 11, По переднему фронту этого импульса содержимое регистра 3 переписываетс  в регистр 4, а в счетчик 11 заноситс  нулевое значение. Если в регистр 4 записалс  запрос наивысшего приоритета , то единица с N-ro выхода регистра 4 открывает коммутатор 12 и на выходы 15 устройства из счетчика 11 вьдаетс  код наивысшего приоритета, Затем импульсом со второго выхода распределител  импульсов 8 устанавливаетс  в единицу триггер 10, сигнал с инверсного выхода которого переводит регистр 4 в режим сдвига инфор мации,. а счетчик II - в режим счета. Кроме того, формирователь 13 вырабатывает единичный импульс, которьй проходит через элементы И 6 и сбрасывает только те разр ды регистра 3, из которых в регистр 4 переписалась единица. Следующие N импульсов, поступающие через элемент ИЛИ 9 с выходов распределител  импульсов 8, последовательно сдвигают информацию в регистре 4 и прибавл ют единицу к содержимому счетчика 11. Если в i-M разр де регистра 4 была единица, то на выходы 15 устройства из счетчика 11 через коммутатор 12 будет выдан код i-ro запроса. Регистр 4 после окончани  каждого цикла чтени  будет обнулен, (N+3)-M импульсом с выхода распределител  импульсов 8 триггер 10 устанавливаетс  в нуль.service requests are received at the device inputs 14, fixed in the triggers 2 of register 1, and through the elements of AND 5 the corresponding bits of the register 3 are set to one. The priority of requests increases with increasing request sequence number. Elements 5 and 5 prevent triggering of register 3 when short-term unit interference appears at inputs 14, Interference is considered to be a signal whose duration is less than trigger 2, the Interference will set one of triggers 2 to 1, but after a time determined by the value of the delay element, trigger 2 will return to the initial state. Since the trigger 10 is reset, then the register 4 and the counter 11 are in the mode of waiting for the parallel reception of information specified by the unit from the inverse output of the trigger 10. On the clock input 17 Twa read pulses arrive. Consider one tact reading device. On the leading edge of the read pulse, the pulse distributor 8 is started. The pulse from its first output through the element OR 9 goes to the clock inputs of register 4 and counter 11. On the leading edge of this pulse, the contents of register 3 are written to register 4, and zero is entered into counter 11. If a request of the highest priority is recorded in register 4, then the unit from the N-ro output of the register 4 opens the switch 12 and the highest priority code enters the outputs 15 of the device from the counter 11, then the pulse from the second output of the pulse distributor 8 is set to one trigger 10, the signal c the inverse output of which translates register 4 into the information shift mode ,. and counter II is in counting mode. In addition, the driver 13 generates a single impulse, which passes through the elements of AND 6 and resets only those bits of register 3, of which one is copied to register 4. The next N pulses coming through the OR 9 element from the outputs of the pulse distributor 8 sequentially shift the information in register 4 and add one to the contents of counter 11. If in the iM bit of register 4 there was one, then the outputs 15 of the device from counter 11 through the switch 12 i-ro request code will be issued. The register 4 will be reset to zero after the end of each read cycle, the (N + 3) -M pulse from the output of the pulse distributor 8 trigger 10 is set to zero.

Следующие циклы чтени  происход т аналогично.The following reading cycles occur similarly.

Claims (1)

Формула изобретени Invention Formula Устройство дл  организации очереди , содержащее первый регистр, первую группу из N элементов И (где N - число запросных входов устройства , первый элемент задержки, распределитель импульсов, элемент ИЛИ и счетчик, причем первый вход каждого i-ro элемента И первой группы (i 1,N) соединен с i-м запросным входом устройства, второй вход i-ro элемента И первой группы соединен с выходом i-ro разр да первого регистра, отличающеес  тем, что, с целью повьшени  достоверности работы устройства за счет исключени  потери запросов с длительностью, меньшей длительности цикла чтени .уст- ройства, в него введены N-1 элементов задержки, второй и третий регистры , втора  группа из N элементов И, триггер,,формирователь, импульсов и коммутатор, причем i-й синхронизирующий вход первого регистра соединен с i-M запросным входом устройства, i-й информационный вход первого регистра соединен с шиной питани  устройства , i-й нулевой вход через i-й элемент задержки подключен к выходу i-ro разр да первого регистра, выход i-ro элемента И первой группы соединен с единичным входом i-ro разр да второго регистра, нулевой вход i-ro разр да которого соединен с выходом i-ro элемента И второй группы, выход i-ro разр да второго регистра соединен с i-M информационным входом третьего регистра, выход i-ro разр да которого соединен с первым входом i-ro элемента И второй группы, выход N-ro разр да третьего регистра соединен с управл ющим входом коммутатора , вторые входы всех элементов И второй группы объединены и соединены с выходом формировател  импульсов, вход которого соединен с инверсным выходом триггера и входами управлени  записью третьего регистра и счетчика , выход коммутатора  вл етс  выходом устройства, информационный вход коммутатора соединен с выходом счетчика, счетньй вход которого соединен с тактовым входом третьего регистра и выходом элемента ИЛИ, первый вход которого соединен с первым выходом распределител  импульсов, второй выход которого соединен с единичным входом триггера, выхода рас- пределител  импульсов с третьего по (Н+2)-й соединены соответственно с входами элемента ИЛИ с второго по (Н+1)-й (Ы+3)-й выход распределител A queuing device containing the first register, the first group of N elements AND (where N is the number of request inputs of the device, the first delay element, the pulse distributor, the OR element and the counter, with the first input of each i-ro AND element of the first group (i 1 , N) is connected to the i-th query input of the device, the second input of the i-ro element And the first group is connected to the output of the i-ro bit of the first register, characterized in that, in order to increase the reliability of the device by eliminating the loss of requests with duration shorter the read cycle of the device, N-1 delay elements, the second and third registers, the second group of N elements AND, the trigger, driver, pulses, and the switch, with the i-th clock input of the first register connected to the iM request the device input, the i-th information input of the first register is connected to the device power bus, the i-th zero input through the i-th delay element is connected to the output of the i-th bit of the first register, the output of the i-i element of the first group is connected to the single input i-ro bit of the second register, zero input i- ro of the bit of which is connected to the output of the i-ro element AND the second group, the output of the i-ro bit of the second register is connected to the iM information input of the third register, the output of the i-ro bit of which is connected to the first input of the i-ro element AND of the second group, the output of the N-ro bit of the third register is connected to the control input of the switch, the second inputs of all elements of the second group are combined and connected to the output of the pulse generator, the input of which is connected to the inverse output of the trigger and the recording control inputs of the third register and counter, switch output The device is an output of the device, the information input of the switch is connected to the output of the counter, the counting input of which is connected to the clock input of the third register and the output of the OR element, the first input of which is connected to the first output of the pulse distributor, the second output of which is connected to the single input of the trigger the third to (H + 2) -th pulse pulses are connected respectively to the inputs of the OR element from the second to (H + 1) -th (Y + 3) -th output of the distributor 4652646526 импульсов соединен с нулевым входом триггера, синхронизирующий вход триггера и второго регистра, а также ус- тановочные входы счетчика и третьего регистра подключены к установочному входу устройства, вход запуска распределител  импульсов  вл етс  входом чтени  устройства, информационные входы счетчика и триггера,.информационные входы всех разр дов второго регистра и последовательный вход третьего регистра соединены с шиной логического нул  устройства.the pulses are connected to the zero input of the trigger, the synchronizing input of the trigger and the second register, and the set inputs of the counter and the third register are connected to the setup input of the device, the trigger input of the pulse distributor is the input of the device, the information inputs of the counter and trigger, information inputs of all The bits of the second register and the serial input of the third register are connected to the logical zero bus of the device.
SU884364328A 1988-01-18 1988-01-18 Queue orering device SU1504652A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU884364328A SU1504652A1 (en) 1988-01-18 1988-01-18 Queue orering device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU884364328A SU1504652A1 (en) 1988-01-18 1988-01-18 Queue orering device

Publications (1)

Publication Number Publication Date
SU1504652A1 true SU1504652A1 (en) 1989-08-30

Family

ID=21350011

Family Applications (1)

Application Number Title Priority Date Filing Date
SU884364328A SU1504652A1 (en) 1988-01-18 1988-01-18 Queue orering device

Country Status (1)

Country Link
SU (1) SU1504652A1 (en)

Non-Patent Citations (1)

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

Similar Documents

Publication Publication Date Title
SU1504652A1 (en) Queue orering device
RU2053545C1 (en) Device for serial request of information sources
RU2013804C1 (en) Multichannel priority device
SU1562966A1 (en) Device for selection of asynchronous signals on basis of criterion "m out of n"
SU1587504A1 (en) Programmed control device
SU1405090A1 (en) Buffer memory
SU1605244A1 (en) Data source to receiver interface
SU1310822A1 (en) Device for determining the most significant digit position
SU1695302A1 (en) Device for distribution of requests among processors
RU1837288C (en) Device for dynamic priority
SU1277087A1 (en) Device for comparing numbers
SU1302280A1 (en) Device for servicing requests
SU1174919A1 (en) Device for comparing numbers
SU1633529A1 (en) Device for majority sampling of asynchronous signals
SU1522383A1 (en) Digital pulse generator
SU1444937A1 (en) Divider of pulse recurrence rate with variable pulse duration
SU1434431A2 (en) Queue organization device
SU1695389A1 (en) Device for shifting pulses
SU1709293A2 (en) Device for information input
SU1005285A2 (en) Device for multiplying pulse repetition frequency of periodic pulses
SU1705874A1 (en) Device for checking read/write storages
SU1059559A1 (en) Device for implementing input of information from discrete-type transduers
SU1188846A1 (en) Pulse repetition frequency multiplier
SU1709310A1 (en) Frequency multiplier
SU1277386A1 (en) Device for checking serviceability of counter