SU506854A1 - Variable priority device - Google Patents
Variable priority deviceInfo
- Publication number
- SU506854A1 SU506854A1 SU2021872A SU2021872A SU506854A1 SU 506854 A1 SU506854 A1 SU 506854A1 SU 2021872 A SU2021872 A SU 2021872A SU 2021872 A SU2021872 A SU 2021872A SU 506854 A1 SU506854 A1 SU 506854A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- counter
- register
- priority
- cyclic shift
- shift register
- Prior art date
Links
Landscapes
- Bus Control (AREA)
Description
(54) УСТРОЙСТВО ПЕРЕМЕННОГО ПРИОРИТЕТА(54) DEVICE VARIABLE PRIORITY
1 one
Изобретение относитс к области вычислительной техники и в частности к устройствам , обеспечивающим переменную приоритетность сигналов прерывани в электронных вычислительных машинах.The invention relates to the field of computing and, in particular, to devices that provide variable priority to interrupt signals in electronic computers.
Известно устройство переменного приоритета , содержащее регистр приоритета, кодовый выход которого соединен с кодовым входом счетчика, блок управлени , выходы которого соединены с управл ющими входами регистра приоритета, циклического регистра сдвига и со счетным входом счетчика.A variable priority device is known comprising a priority register, the code output of which is connected to the counter code input, a control unit whose outputs are connected to the control inputs of the priority register, cyclic shift register and the counter count input.
С целью сокращени оборудовани устройства оно содержит блок анализа на нуль счетчика и блок анализа на единицу старщего разр да циклического регистра сдвига, входы которых соединены с выходами соответственно счетчика и циклического регистра сдвига, а выходы - с соответствующими входами блока управлени .In order to reduce the equipment of the device, it contains a unit for analyzing the counter zero and an analysis unit for the high-order bit of the cyclic shift register, the inputs of which are connected to the outputs of the counter and the cyclic shift register, respectively, and the outputs with the corresponding inputs of the control unit.
Блок-схема предлагаемого устройства приведена на чертеже.The block diagram of the proposed device shown in the drawing.
Устройство переменного приоритета содержит регистр приоритета 1, счетчик 2, блок анализа на нуль счетчика 3, циклический регистр сдвига 4, блок анализа на ,«1 старщего разр да циклического регистра сдвига 5 и блок управлени 6.The variable priority device includes a priority register 1, a counter 2, a zero analysis block of counter 3, a cyclic shift register 4, an analysis block for, 1 the high bit of the cyclic shift register 5, and a control block 6.
Устройство работает следующим образом.The device works as follows.
В регистр приоритета 1 программно заноситс код, соответствующий номеру разр да циклического регистра сдвига 4. Сигнал прерывани в этот момент имеет высший приоритет . Циклический регистр сдвига 4 и счетчик 2 устанавливаютс в «О.In the priority register 1, the code corresponding to the bit number of the cyclic shift register 4 is programmed in software. The interrupt signal has the highest priority at this moment. The cyclic shift register 4 and counter 2 are set to "O.
При поступлении одного или нескольких сигналов прерывани соответствующие разр ды циклического регистра сдвига 4 устанавливаютс в «1, выполнение текущей программь прерываетс , и начинает работать блок управлени 6, в результате чего содерлшмое регистра приоритета 1 обратным кодом заноситс в счетчик 2, к полученному содержимому счетчика добавл етс «1, а содержимое циклического регистра сдвига 4 начинает сдвигатьс в сторону старшего разр да. Перед сдвигами, а также после каждого такта сдвига блоком анализа на нуль счетчика 3 анализируетс текущее состо ние счетчика 2. При ненулевом состо нии счетчика 2 к его содержимому добавл етс «1, при нулевом состо нии - содержимое регистра приоритета 1 передаетс пр мым кодом в счетчик 2 и начинает работать блок анализа на единицу старшего разр да циклического регистра сдвига 5. При нулевом состо нии старщего разр да в счетчик 2 добавл етс «1 и выполн етс следующий сл,виг на один разр д содержимого циклического регистра сдвига 4 в сторонуWhen one or more interrupt signals are received, the corresponding bits of the cyclic shift register 4 are set to "1, the current program is interrupted, and the control unit 6 starts operating, as a result of which the contents of priority register 1 are entered into the counter 2 with the reverse code. "1, and the contents of the cyclic shift register 4 begin to shift toward the higher bit. Before the shifts, as well as after each shift cycle, the analyzer block analyzes the current state of the counter 2 by zero analysis. In the non-zero state of the counter 2, the content of the counter is added to "1"; in the zero state, the contents of the priority register 1 are transmitted by the direct code counter 2 and the analysis unit begins to operate at the high-order unit of the cyclic shift register 5. When the high-order bit is in zero, the "2" is added to the counter 2, and the next time is executed for one bit of the cyclic shift register 4 in one hundred ronu
старшего разр да, после чего анализ о состо нии старшего разр да регистра сдвига 4 лор/гор етс и т. д. При единичном состо нии старшего разр да блок управлени 6 отключаетс , а содержимое счетчика 2 используетс в качестве модифицируемой части адреса перехода на соответствуюш,ую программу.the higher bit, then the analysis of the state of the high bit of the shift register 4 LOR / burns, etc. In the single state of the higher bit, the control unit 6 is turned off, and the contents of counter 2 is used as a modifiable part of the jump address to the corresponding , my program.
Пусть, например, разр дность регистра приоритета 1 и счетчика 2 равна четырем, а разр дность циклического регистра сдвига 4 - шестнадцати. В регистре приоритета 1 содержитс код 0101. Поступает сигнал прерывани в третий разр д циклического регистра сдвига 4.Let, for example, the width of priority register 1 and counter 2 be four, and the length of cyclic shift register 4 be sixteen. In priority register 1, code 0101 is contained. The interrupt signal is sent to the third bit of cyclic shift register 4.
Содержимое регистра приоритетов 1 обратным кодом передаетс в счетчик 2, и к содержимому счетчика 2 добавл етс единица. В результате в счетчике будет код 1011.The contents of the priority register 1 are transferred by a reverse code to counter 2, and one is added to the contents of counter 2. As a result, the counter will be code 1011.
Начинаютс сдвиги содержимого циклического регистра сдвига 4 одновременно со счетом числа сдвигов в счетчике 2 (суммированием с кодом 1011) и анализом на нуль его содержимого. После выполнени п ти сдвигов в счетчике 2 будет «О, старший но приоритету разр д циклического регистра сдвига 4, определенный кодом в регистре приоритета 1, сдвинетс на место старшего разр да регистра 4, а единица в третьем разр де циклического регистра сдвига 4 передвинетс в четырнадцатый разр д. Так как в регистре приоритета 1 код 0101 (5), то расположение сигналов прерывани в пор дке их приоритетов будет следуюшим: «5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, О, 1, 2, 3, 4.Shifts of the contents of the cyclic register of shift 4 begin simultaneously with the count of the number of shifts in counter 2 (summation with code 1011) and analysis of its contents to zero. After performing five shifts in the counter 2, the “O” most senior priority of the cyclic shift register 4, defined by the code in the priority register 1, will move to the place of the high register register 4, and the unit in the third digit of the cyclic shift register 4 will move to the fourteenth bit. Since code 0101 (5) is in priority register 1, the location of the interrupt signals in order of priority will be the following: "5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 , O, 1, 2, 3, 4.
Код 0101 из регистра приоритета 1 записываетс в счетчик 2, после чего сдвиги содержимого циклического регистра сдвига 4 будут продолжены со счетом числа сдвигов (суммированием с кодом 0101) и анализом на единицу старшего разр да.Code 0101 from priority register 1 is written to counter 2, after which shifts in the contents of cyclic shift register 4 will be continued with a count of the number of shifts (summation with code 0101) and analysis per unit of high-order bit.
Если сигналов прерывани с номерами «5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, О, 1, 2 не поступало , то в о-13 разр дах циклического регистра сдвига 4 будут нули. После выполнени четырнадцати сдвигов срабатывает блок анализа на единицу старшего разр да циклического регистра сдвига 5 и отключает блок управлени 6.If the interrupt signals with the numbers "5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, O, 1, 2 have not been received, then in o-13 bits of the cyclic shift register 4 will be zeros. After performing fourteen shifts, the analysis unit is triggered by a unit of the highest bit of the cyclic shift register 5 and turns off the control unit 6.
Код в счетчике 2 будет: 0101 + 1110 10011. Поскольку разр дность счетчика 2 равна четырем , старший разр д суммы тер етс , а содержимое счетчика 2 соответствует номеру разр да прерывани . По этому коду формируетс адрес перехода к прерывающей программе .The code in counter 2 will be: 0101 + 1110 10011. Since the counter size of 2 is four, the most significant bit of the sum is lost, and the contents of counter 2 correspond to the number of the interrupt bit. This code forms the address of the transition to the interrupting program.
Код в регистре приоритета 1 определ ет переменные значени приоритетов сигналов прерывани .The code in priority register 1 identifies the variable priority values of the interrupt signals.
При программном изменении содержимого 5 регистра 1 измен етс номер разр да циклического регистра сдвига 4, значение которого сдвигаетс в старший разр д регистра, начина с которого будет осуществл тьс его анализ на «О и «1. Разр ды, отсто щие от анализируемого в сторону младших разр дов регистра , анализируютс позже и имеют постепенно уменьшающийс приоритет.When programmatically changing the content of 5 register 1, the bit number of the cyclic shift register 4 is changed, the value of which is shifted to the most significant bit of the register, starting from which its analysis will be performed on "O and" 1. Discharges distant from the analyzed in the direction of the lower bits of the register are analyzed later and have a gradually decreasing priority.
Общее число позиций приоритета устройства и каждого прерывающего сигнала соответствует разр дности циклического регистра сдвига 4.The total number of device priority positions and each interrupting signal corresponds to the size of the cyclic shift register 4.
Быстродействие известного и рассматриваемого устройства, т. е. врем реакции на сигнал прерывани , зависит как от номера разр да сигнала прерывани , так и от кода в регистре приоритета.The speed of the known and considered device, i.e. the response time to the interrupt signal, depends both on the bit number of the interrupt signal and on the code in the priority register.
Если прин ть врем одного такта сдвига и передачи между регистрами за 0,2 мксек, то задержка времени реакции в известном устройстве составл ет от 0,2 до 3,2 мксек в зависимости от кода в регистре приоритета 1 и номера разр да прерывани , в рассматриваемом устройстве - соответственно от 0,4 до 6,4 мксек. При повышении рабочей частотыIf we take the time of one shift cycle and transfer between registers in 0.2 microseconds, then the response time delay in the known device is from 0.2 to 3.2 microseconds, depending on the code in the priority register 1 and the interrupt number, the device under consideration is, respectively, from 0.4 to 6.4 microseconds. With increasing operating frequency
0 элементов это врем будет уменьшатьс . Дл вычислительных систем, временные характеристики которых позвол ют использовать известное устройство, указанное различие времени реакции не вл етс существенным.0 items this time will decrease. For computing systems whose temporal characteristics allow the use of a known device, this difference in response time is not significant.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU2021872A SU506854A1 (en) | 1974-04-30 | 1974-04-30 | Variable priority device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU2021872A SU506854A1 (en) | 1974-04-30 | 1974-04-30 | Variable priority device |
Publications (1)
Publication Number | Publication Date |
---|---|
SU506854A1 true SU506854A1 (en) | 1976-03-15 |
Family
ID=20583802
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU2021872A SU506854A1 (en) | 1974-04-30 | 1974-04-30 | Variable priority device |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU506854A1 (en) |
-
1974
- 1974-04-30 SU SU2021872A patent/SU506854A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU506854A1 (en) | Variable priority device | |
JPS638971A (en) | Polynomial vector arithmetic and control unit | |
SU450174A1 (en) | Variable priority device | |
SU717756A1 (en) | Extremum number determining device | |
SU746520A1 (en) | Variable priority device | |
SU1019447A1 (en) | Binary-decimal code-frequency multiplier | |
SU1124301A1 (en) | Multichannel program interruption device | |
SU1280615A1 (en) | Versions of device for squaring binary numbers | |
SU397907A1 (en) | DEVICE FOR CONSTRUCTION IN SQUARE NUMBERS PRESENTED IN UNITARY CODE | |
SU1265794A1 (en) | Cascade device for fast fourier transform | |
SU962926A1 (en) | Device for taking logarithms | |
SU1264165A1 (en) | Adder-accumulator | |
SU1388856A1 (en) | Device for extracting a square root | |
SU741322A1 (en) | Shifting memory | |
SU913367A1 (en) | Device for comparing binary numbers | |
SU830359A1 (en) | Distributor | |
SU729586A1 (en) | Number comparing arrangement | |
SU598070A1 (en) | Function computing arrangement | |
SU491129A1 (en) | Device for raising binary numbers to the third degree | |
SU556433A1 (en) | Multiplying device | |
SU1151956A1 (en) | Squaring device | |
SU728125A1 (en) | Device for determining the position of number on numeric axis | |
SU611208A1 (en) | Square root computing device | |
SU1083192A1 (en) | Variable priority device | |
SU1441395A1 (en) | Modulo three adder-multiplier |