SU1383354A1 - Device for servicing requests - Google Patents
Device for servicing requests Download PDFInfo
- Publication number
- SU1383354A1 SU1383354A1 SU864139160A SU4139160A SU1383354A1 SU 1383354 A1 SU1383354 A1 SU 1383354A1 SU 864139160 A SU864139160 A SU 864139160A SU 4139160 A SU4139160 A SU 4139160A SU 1383354 A1 SU1383354 A1 SU 1383354A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- output
- group
- input
- elements
- inputs
- Prior art date
Links
Abstract
Изобретение относитс к вычислительной технике и может быть использовано в вычислительных системах. Цель изобретени - повышение быстродействи . Устройство содержит регистр 1 запросов, группы элементов И 2, 14, 16, буферный регистр 3 запросов, элементы ИЛИ 4, 18, 20, элемент НЕ 5, триггер 6, элемент задержки 7, элемент И 8, блок элементов И 9, счетчик 10, дешифратор 11, группы элементов ИЛИ 12, 13 и 17, элемент ИЛИ-НЕ 15, шифратор 19. Устройство обеспечивает реализацию циклической дисциплины обслуживани запросов с формированием двоичного кода номера источника запроса, который может быть использован в качестве адреса подпрограммы обслуживани . 1 ил.,2 табл.The invention relates to computing and can be used in computing systems. The purpose of the invention is to increase speed. The device contains a register of 1 requests, groups of elements AND 2, 14, 16, buffer register 3 requests, elements OR 4, 18, 20, element NOT 5, trigger 6, delay element 7, element AND 8, block of elements AND 9, counter 10 the decoder 11, the group of elements OR 12, 13 and 17, the element OR NOT 15, the encoder 19. The device provides the implementation of a cyclic discipline of servicing requests with the formation of the binary code of the number of the source of the request, which can be used as the address of the service subroutine. 1 dw., 2 tab.
Description
со 00from 00
соwith
со О1with O1
4four
Изобретение относитс к вычислительной технике и может быть использовано в вычислительных системах.The invention relates to computing and can be used in computing systems.
Целью изобретени вл етс повышение быстродействи устройства.The aim of the invention is to improve the speed of the device.
На чертеже приведена структурна схема устройства.The drawing shows a block diagram of the device.
Устройство содержит регистр 1 запросов, группу элементов И 2, буферный регистр 3 запросов, элемент ИЛИ 4, элемент НЕ 5, триггер 6, элемент 7 задержки, элемент И 8, блок элементов И 9, счетчик 10, дешифратор 11, группы элементов ИЛИ 12 и 13, группу элементов И 14, элемент ИЛИ-НЕ 15, группу элементов И 16, группу элементов ИЛИ 17, элемент ИЛИ 18, шифратор 19, элемент ИЛИ 20, запросные 21 и ответные 22 входы, выход 23 готовности, вход 24 запуска, сигнальный выход 25, адресные выходы 26.The device contains the register of 1 requests, the group of elements AND 2, the buffer register of the requests, the element OR 4, the element NOT 5, the trigger 6, the element 7 delay, the element AND 3, the block of elements AND 9, the counter 10, the decoder 11, the group of elements OR 12 and 13, the group of elements AND 14, the element OR-NOT 15, the group of elements AND 16, the group of elements OR 17, the element OR 18, the encoder 19, the element OR 20, the interrogation 21 and the response 22 inputs, the ready output 23, the start input 24, signal output 25, address outputs 26.
Устройство работает следующим образом.The device works as follows.
В исходном состо нии регистр 3, триггер 6 и счетчик 10 установлены в состо ние «О (не показано).In the initial state, the register 3, the trigger 6 and the counter 10 are set to the state “O (not shown)”.
Устройство обеспечивает реализацию циклической дисциплины обслуживани запросов , причем каждый очередной цикл выбора источника запроса начинаетс с опроса источника, номер которого на единицу больше обслуженного в предыдущем цикле.The device provides the implementation of a cyclic discipline of servicing requests, with each successive cycle of selecting the source of the request beginning with polling the source, the number of which is one more than the number served in the previous cycle.
Запросы от источников по входам 21 поступают в соответствующие .разр ды регистра 1, и так как триггер 6 находитс в состо нии «О, то открыты элементы И 2 единичным сигналом с нулевого выхода .триггера 6. Нри этом зафиксированные запросы в регистре 1 передаютс в регистр 3, чем обеспечиваетс отслеживание поступающих запросов. Нри наличии запросов в регистре 1 элементом ИЛИ 20 формируетс единичный сигнал, поступающий в качестве сигнала готовности устройства па выход 23. Но этому сигналу обслуживающее устройство выдает по входу 24 импульс запуска, которым устанавливаетс в состо ние «1 триггер 6, а в счетчике 10 к его содержимому добавл етс единица. Нри первоначальном включении устройства в работу в счетчике 10 в данном случае формируетс двоичный код единицы .Requests from sources at inputs 21 are sent to the corresponding register bits 1, and since trigger 6 is in the "O" state, elements AND 2 are opened with a single signal from the zero output of the trigger 6. In this case, the recorded requests in register 1 are transmitted to register 3, which ensures tracking of incoming requests. In the presence of requests in register 1, an element OR is generated by a single signal, which arrives at the output 23 as a signal of the device. But the servicing device generates a trigger pulse at input 24, which is set to state 1 trigger 6, and in counter 10 a unit is added to its contents. When the device is initially turned on, the binary code of the unit is generated in the counter 10 in this case.
С помощью элементов ИЛИ 12 и 13 производитс управление работой элементов И 14 и 16, обеспечивающих циклический режим обслуживани запросов.With the help of the elements OR 12 and 13, the operation of the elements AND 14 and 16 is performed, which provide for the cyclical mode of servicing requests.
Элементы ИЛИ 12 включены с выходами дешифратора 11 так, что элементами И 14 производитс анализ запросов источников, начина с /-го номера по -й, где i - номер источников запроса, на единицу больший номера источника, обслуженного в предыдущем цикле.The OR 12 elements are included with the outputs of the decoder 11 so that the AND 14 elements analyze the source requests, starting with the / th number, where i is the number of sources of the request, one greater than the source number served in the previous cycle.
Работа элементов ИЛИ 12 по сн етс табл. 1 и 2.The operation of the elements OR 12 is explained in Table. 1 and 2.
Элементы ИЛИ 13 включены с выходами дешифратора 11 так, что элементами И 16 производитс анализ запросов источников, начина с первого номера по г-й.The elements OR 13 are included with the outputs of the decoder 11 so that the elements of AND 16 analyze the requests of the sources, starting with the first number in rst.
00
5five
0 0
-зс -zs
ИЛИ 13 по сн етс OR 13 is as defined
Работа элементов табл. 3 и 4.Work items table. 3 and 4.
С помощью элемента ИЛИ-НЕ 15 блокируетс выбор запроса с первого по (-и источников при наличии сигналов от i-ro по л-й источников запроса.Using the OR-NOT 15 element blocks the selection of the request from the first to (s) if there are signals from the i-ro from the lth request sources.
Элементы ИЛИ 17 и 18 обеспечивают формирование объединенного сигнала запроса на обслуживание, а двоичный код номера абонента, который может использоватьс в качестве адреса программы обслуживани , формируетс шифратором 19. Кроме того, выходные сигналы шифратора 19 используютс дл организации выбора очередного абонента (источника) в следующем цикле работы устройства с помощью счетчика 10.The elements OR 17 and 18 provide the formation of a combined service request signal, and the binary code of the subscriber number that can be used as the address of the service program is generated by the encoder 19. In addition, the output signals of the encoder 19 are used to organize the selection of the next subscriber (source) in the following cycle operation of the device using the counter 10.
Работу устройства рассмотрим при следующих исходных данных.The operation of the device consider the following source data.
Нусть в регистре 1 прин ты запросы от 2, (п-1) и п-го источников.Nust in register 1 accept requests from 2, (n-1) and n-th sources.
Так как триггер 6 находитс в нулевом состо нии, то эти запросы передаютс в регистр 3 в соответствующие разр ды через открытые элементы И 2.Since the trigger 6 is in the zero state, these requests are transmitted to the register 3 to the corresponding bits through the open elements AND 2.
Но входу 24 поступает сигнал запуска, устанавливающий триггер 6 в состо ние «1, 5 а в счетчике 10 формируетс двоичный код «1. Нулевым сигналом с нулевого выхода триггера 6 блокируетс прием в регистр 3 поступающих запросов в регистр 1.But input 24 receives a start signal, setting trigger 6 to the state "1, 5, and in the counter 10 a binary code" 1 is generated. The zero signal from the zero output of the trigger 6 blocks the reception in the register 3 of incoming requests to the register 1.
Через некоторое врем , определ емое элементом 7 задержки на синхронизирующем входе дешифратора 11 устанавливаетс единичный сигнал.After some time, determined by the delay element 7 at the clock input of the decoder 11, a single signal is established.
На первом выходе дешифратора 11 формируетс единичный сигнал, которым открываютс по первым входам элемент И 14 и через элементы ИЛИ 12 все последуюшие элементы И 14. Кроме того, по первому входу открыт элемент И 16i через элемент ИЛИ 13i.At the first output of the decoder 11, a single signal is formed, which opens the first element And 14 and through the element OR 12 all subsequent elements And 14. In addition, the first input opens the element And 16i through the element OR 13i.
В данном случае дисциплина .циклического обслуживани реализуетс в следую- шем пор дке размещени номеров источников запросов: 1 2 - ... п-1 п.In this case, the discipline of the cyclic service is implemented in the following order of placing the numbers of the sources of queries: 1 2 - ... n-1 p.
Элементы И 14 включены с выходами регистра 3 по приоритетной схеме так, что приоритет источника убывает с возрастанием его номера. Ноэтому на выходе элемента И Иг формируетс единичный сигнал, а на остальных выходах элементов И 14 - нулевые . Единичным сигналом, преобразуемым элементом ИЛИ-НЕ 15 в нулевой, блокируетс работа элементов И 16.Elements 14 are included with the outputs of register 3 in the priority scheme so that the priority of the source decreases with increasing number. Therefore, a single signal is formed at the output of the element I lg, and at the other outputs of the elements E 14 it is zero. A single signal, the converted element OR NOT 15 to zero, blocks the operation of elements AND 16.
30thirty
4040
4545
5050
На выходе элементов ИЛИ 17 формируетс позиционный код числа два, преобразуемый шифратором 19 в двоичный код числа два, и на выходе элемента ИЛИ 18 формируетс сигнал запроса, поступаюший в ЭВМ. По этому сигналу производитс счи- 55 тывание двоичного кода с выходов 25, а по соответствующему входу 22 выдаетс сигнал ответа. Этим сигналом устанавливаетс в состо ние «О второй разр д регистра 3, через элемент ИЛИ 4 и блок элементов и 9.At the output of the OR elements 17, the position code of the number two is formed, converted by the encoder 19 into the binary code of the number two, and at the output of the element OR 18, a request signal is received, which arrives at the computer. This signal is used to read the binary code from the outputs 25, and the corresponding input 22 generates a response signal. This signal is set to the state "On the second register bit 3, through the element OR 4 and the block of elements and 9.
открытый единичным сигналом с выхода элемента НЕ 5, производитс прием в счетчик 10 двоичного кода числа два и устанавливаетс в состо ние «О триггер 6. После установки триггера 6 в нулевое состо ние в регистре 3 оказываютс в состо нии «1 только (п-1)-й и «-Й разр ды. При этом элементом ИЛИ 20 удерживаетс единичный сигнал готовности устройства на выходе 23. По окончании обслуживани запроса от второго источника по входу 24 подаетс импульс запуска, устанавливающий триггер 6 в состо ние «1, а в счетчике 10 формируетс двоичный код числа три. В дальнейшем устройство работает аналогично рассмотренному . При этом обеспечиваетс выбор запроса анализа с третьего источника, в силу чего дисциплина циклического обслуживани реализуетс в следующем пор дке размещени номеров источников запросов: - ...-- л-1 л 1 2. opened by a single signal from the output of the NOT element 5, the binary code of the number 10 is received in the counter 10 and set to the state "About the trigger 6. After the trigger 6 is set to the zero state in register 3, they are in the state" 1 only (n-1 ) th and “th discharge. At the same time, the OR 20 element holds a single device readiness signal at the output 23. At the end of the service of the request from the second source, input 24 sends a start pulse setting trigger 6 to the state "1", and in the counter 10 the binary code of the number three is generated. In the future, the device operates as described above. In this case, the choice of the request for analysis from the third source is ensured, by virtue of which the discipline of the cyclic service is implemented in the following order of placing the numbers of the sources of the requests:
Единичным сигналом с третьего выхода дещифратора 10 через элементы ИЛИ 122, ---, 12„ открыты по первым входам элементы И 14з, ..., И 14„. Так как в регистре 3 зафиксированы запросы от (п-1)-го и п-го источников , то на выходе элемента И 14п-2 формируетс единичный сигнал, которым через элемент ИЛИ-НЕ 15 блокируютс элементы И 16. На выходах элементов ИЛИ 17 формируетс позиционный код, имеющий единицу на (rt-1)-й позиции. Посредством элемента ИЛИ 18 формируетс сигнал запроса, поступающий на выход 15 устройства, а на выходах 26 устанавливаетс двоичный код числа (п-1).By a single signal from the third output of the descrambler 10 through the elements OR 122, ---, 12 ", the elements AND 14з, ..., And 14" are opened at the first inputs. Since register 3 records requests from (n-1) -th and n-th sources, a single signal is generated at the output of the AND 14p-2 element, through which the AND 16 elements are blocked by the OR-NOT 15 element. a position code is generated having one at the (rt-1) -th position. By means of the element OR 18, a request signal is generated, arriving at the output 15 of the device, and the binary code of the number (n-1) is set at the outputs 26.
В дальнейшем по сигналу ответа производитс установка в «О (п-1)-го разр да регистра 1 и триггера 6, а также запись в счетчик 10 двоичного кода (п-1), и по очередному сигналу запуска в устройстве устанавливаетс следующий пор док размещени номеров источников дл циклического обслуживани : п - 1 - 2 - ..., п-1.Subsequently, the response signal is used to set the “O (n-1) -th bit of register 1 and trigger 6, as well as write a binary code (n-1) to counter 10, and the next order is set at the next start signal in the device accommodating source numbers for cyclic service: n - 1 - 2 - ..., n-1.
В соответствии с этим пор дком и при наличии запроса в регистре 3 только от п-го источника аналогичным образом на выходе 25 формируетс двоичное число п. При этом единичным сигналом с выхода элемента ИЛИ 17л открываетс элемент ИЛИ 18, а через элемент НЕ 5 закрываетс блок элементов И 9. Поэтому сигналом ответа дл п-го источника через элемент ИЛИ 4 устанавливаетс в состо ние «О триггер 6, п-й разр д регистра 1 и через элемент И 8 счетчик 10. При этом единичный сигнал на выходе 23 устройства снимаетс .In accordance with this order and if there is a request in register 3 only from the n-th source, the binary number n is formed at the output 25. At this, the element OR 18 is opened from the output of the OR 17l element, and the block is closed through the HE 5 element elements AND 9. Therefore, the response signal for the n-th source through the element OR 4 is set to the state of "On trigger 6, the n-th register bit 1 and through the element And 8 counter 10. At the same time, a single signal at the output 23 of the device is removed.
Если же регистр 1 оказываетс в нулевом состо нии по сигналу ответа дл источника запросов, номер которого не равен п, то счетчик 10 принимает двоичный код обслуженного источника, а устройство переходит в режим ожидани запросов. Как только в регистр 1 поступит хот бы один запрос, на выходе 23 формируетс сигнал готовности,If register 1 is in the zero state by the response signal for the request source, the number of which is not equal to n, then the counter 10 receives the binary code of the source served, and the device goes into the waiting mode. As soon as at least one request is received in register 1, a ready signal is generated at output 23,
по которому обслуживающее устройство выдает сигнал запуска по входу 24. При этом анализ содержимого регистра 1 выполн етс с номера источника, на единицу больного обслуженного в предыдущем цикле работы устройства.by which the servicing device issues a trigger signal at input 24. At the same time, the analysis of the contents of register 1 is performed from the source number, per patient unit served in the previous operation cycle of the device.
Элементы И 16 формируют позиционный код номера источника в тех случа х, когда после выдачи на обслуживание запроса отElements And 16 form the position code of the source number in those cases when, after issuing for service a request from
i-ro источника в регистре 3 имеютс запросы в разр дах с 1-го по /-и включительно. В этом случае после обслуживани запроса от ( -го источника по сигналу ответа в счетчике 10 формируетс двоичный код числа (/-|-1). После установки триггера 6 в состо ние «1The i-ro source in register 3 has requests in bits 1 through / -i inclusive. In this case, after serving the request from the (source), a binary code of the number (/ - | -1) is generated in the counter 10 after the trigger 6 is set to the state "1
на (/+1)-м выходе дешифратора 11 по вл етс единичный сигнал, которым через элементы ИЛИ 13i, ..., 13, открываютс элементы И 16i, ..., 16,-+i по первым входам. Кроме того, единичным сигналом с (/-(-1)-го выхода дешифратора 11 через элементыat the (/ + 1) th output of the decoder 11, a single signal appears, which through the elements OR 13i, ..., 13, opens the elements AND 16i, ..., 16, - + i through the first inputs. In addition, a single signal from the (/ - (- 1) -th output of the decoder 11 through the elements
ИЛИ 12, ..., открываютс элементы И 14,-+:, ..., 14„. Но так как запросы в разр дах с (г+1)-го по л-й регистров 3 отсутствуют , то на выходе элемента ИЛИ-НЕ 15 формируетс единичный сигнал, которымOR 12, ..., elements AND 14, - + :, ..., 14 are opened. But since there are no requests in bits with (r + 1) -th for the lth registers 3, then at the output of the OR-NOT 15 element a single signal is generated, which
открываютс по вторым входам все элементы И 16. Этими элементами в дальнейшем формируетс позиционный кад номера источника , который через элемент ИЛИ 17 передаетс на входы элемента ИЛИ 18 и щифрато- ра 19. Далее устройство работает аналогично рассмотренному.all elements of AND 16 are opened through the second inputs. With these elements, the position frame of the source number is then formed, which is transmitted through the OR element 17 to the inputs of the OR element 18 and the encoder 19. Next, the device works in the same way as before.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864139160A SU1383354A1 (en) | 1986-10-28 | 1986-10-28 | Device for servicing requests |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864139160A SU1383354A1 (en) | 1986-10-28 | 1986-10-28 | Device for servicing requests |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1383354A1 true SU1383354A1 (en) | 1988-03-23 |
Family
ID=21264486
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU864139160A SU1383354A1 (en) | 1986-10-28 | 1986-10-28 | Device for servicing requests |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1383354A1 (en) |
-
1986
- 1986-10-28 SU SU864139160A patent/SU1383354A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 728128, кл. G 06 F 9/46, 1980. Авторское свидетельство СССР № 1126962, кл. G 06 F 9/46, 1983. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1383354A1 (en) | Device for servicing requests | |
SU1434431A2 (en) | Queue organization device | |
SU1605244A1 (en) | Data source to receiver interface | |
SU1513460A1 (en) | Device for controlling information exchange | |
SU1278863A1 (en) | Interface for linking the using equipment with digital computer | |
SU1084794A1 (en) | Device for servicing requests according to arrival order | |
SU1117626A1 (en) | Channel-to-channel interface | |
SU1536383A1 (en) | Device for servicing inquires | |
SU1695316A1 (en) | Device for information exchange | |
SU1238092A1 (en) | Information input device | |
RU1803909C (en) | Device for arranging in sequence number files | |
SU1096645A1 (en) | Multichannel device for priority pulse selection | |
SU1492354A1 (en) | Request servicing unit | |
SU1168958A1 (en) | Information input device | |
SU1531097A1 (en) | Priority device | |
SU1727137A1 (en) | Image processing device of rank-order filtering | |
SU1123055A1 (en) | Address unit for storage | |
SU1270900A1 (en) | Device for converting serial code to parallel code | |
SU1290296A1 (en) | Device for sorting numbers | |
SU1432540A1 (en) | Multichannel device for connecting subscribers to common trunk line | |
SU1711164A1 (en) | Priority device | |
SU1302279A1 (en) | Variable priority device | |
SU1302437A1 (en) | Device for converting parallel code to serial code | |
RU1789984C (en) | Handle priorities device | |
SU1005054A1 (en) | Multi-channel device for group request servicing |