1чЭ1HE
О5O5
со Изобретение относитс к вычислительной технике и может быть использовано при построении узлов вычислительных , машин, работающих с пол ми переменной длины. Целью изобретени вл етс уменьшение аппаратурных затрат устройства На фиг. 1 показана функциональна схема предлагаемого устройства; на фиг. 2-4 - схемы св зей между блоками анализа группового переноса (на 64 разр да). Устройство генерации п-разр дной маски (фиг. 1) содержит дешифратор 1 адреса начала, дешифратор 2 адреса конца, -блок 3 формировани маски, состо щий из независимых узлов 4 группового переноса, первый блок 5 анализа группового переноса, состо щий из К групп элементов И-И.ВД 6 и элементов И 7, (М-1)-й блок 8 анализа группового переноса, состо щий из К групп элементов И-ИЛИ 6 и элементо-в И 7, М -и блок 9 анализа группово го переноса, состо щий из Ч элементо И-ИЛИ 6, и имеет выход 10 маски и ад ресный вход 11. Выходы дешифратора 1 |Соединены с первой группой входов бл блока 3 формировани маски. Выходы дешифратора 2 соединены с второй гру группой входов блока 3. Перва группа выходов блока 3 вл етс выходом 10 маски устройства. Втора группа выходов блока 3, посто ща изR пар выходов, подключена к группе входов блока 5, причем i- пара подключена к входам групп элементов И-ШШ 6 и . элементов И 7 с i-й по fi+N-li Jv. I hiodv Группа выходов j-го (1 - j#H) блока 5 подключена к группе входов (j+1)-ro блока 8, причем выходы q-й группы элементов И-ИЛИ 6 и элементов И 7 j-ro блока 5 подключены к входам tq+N- t) групп элементов И-ИЛИ 6 и элементов И 7 (j + 1)-ro блока 8. Группа выходов (Т1-1)-го блока 8 подключена к группе входов-Tl-го блока причем выходы q-й группы элементов И-ИЛИ 6 и элементов И 7 (П-1)-го, блока 8 соединены с входами q+N tJm элементов И-ИЛИ 6 f -го блока (где t О,..., N-1). Группа выходовМ-го блока 9 соединена соответствуюй ими разр дами с третьей группой входов блока 3. Входы дешифраторов 1 и 2 соединены с адресв)1м входом 11 . Аппаратурные затраты дешифраторов 1 и 2 и блока 3 формировани маски известного и предлагаемого устройств одинаковы. В предлагаемом устройстве Н-1 блоков анализа группового переноса содержат К - групп элеменI W тов И-ШТИ 6 группового переноса G и элементов И 7 признака распространени переноса Р , а И-й блок анализа группового переноса содержит только К элементов И-ИЛИ 6 группового переноса G (где W - разр дность независимых узлов 4 группового переноса в блоке 3 формировани маски). Количество вводимых блоков анализа группового переноса определ етс выражением ш -Г(1оёгп) - (log,W). L J При устройство работает следующим образом. Например, требуетс сформировать маску, начинающуюс с 17-го разр да и заканчивающуюс в 50-м разр де. На вход дешифратора 1 поступает код 010001, а на вход дешифратора 2 код 110010. На выходе дешифратора 1 по вл етс 1 в 17-м разр де (), а во всех остальных разр дах сохран ютс О. На выходе дешифратора 2 по вл етс О в 51-м разр де (), а во всех остальных разр дах сохран ютс 1. Поскольку блок 3 может быть реализован аналогично первому уровню известного устройства на элементах 100ИП179 и 100 ЛС117, то в результате воздействи этих сигналов на выходе группового переноса п той группы G° по вл етс 1, так как G,, , f,g и Р равны 1, а на выходах группового переноса всех остальных групп сохран ютс О. На выходе Р признака распространени переноса тринадцатой группы Р,,, по вл етс О, так как Р, , Р, , - и Р,1 равны О, а на выходах признака распространени переноса остальных групп сохран ютс 1. Следовательно, на выходе блока 3 присутствуют следующие сигналы: Согласно ка 5 сигналы G G G G G Gj G{ G| Gg pj PJ РЗ Р Pj Р Р Pj Pq Р Р,5 Р Р,5 РД Следовательно сутствуют сиг огическим функци м бло- дои i-й группы имеют следующие знаGj и f; на выходах каж- чени : О, так как G, , G,, и G равну 0; 0, так как G , GI , G, и G, равны 0; 0, так как G , G, G, и 0 равны 0; О, так как G , G., G и G, равны 0; 1, так как G, Gj и G равны О, а G 1; 1, так как G, G и Gg равны О, а Gy и Р равны 1; 1 , так как G , G и G, равны О, а G , Р и Р, равны 1j 1 , так как Gj , G-, и G равны О, а G, Р , Р-, и Р равны 1; О, так как Gg , G, , G и Gg равны О и т.д. до G,. 1, так как Р, , Р, Р, и Р равны 1; 1, так как Р , Р, , Р и Р, равны 1; 1, так как Р , Pj , Р, и Р(. равны 1; 1, так как Р , Р, , Р и Р равны 1; 1, так как Р , Р , Pj и Р равны 1; 1, так как Р , Р , Р и Р равны 1; 1, так как Р, , Pg , Pj и Р равны 1; 1, так как Pj , Р , Р и Pj равны 1; 1, так как Р , Р, , Р., и Р равны 1; 1, так как Р, Р , Pg и РТ равны 1; 1, так как Р,, Р,, Pq и Р равны 1; 1, так как Р,, Р„ , Р,„ и Р, равны 1; 0, так как Р,,, р,, Р, и Р, равны 0; 0, так как Р, P,j, и Р„ равны 0; О, так как Р, Р, Р и Е, Равны 0; О, так как Р, и п Равны 0. , на выходе блока 5 приналы Согласно логическим функци ка 8 сигналы выход ,так как ,так как ,так как Gj 0,так как Gl 1,так как 1,так как 1,так как Gj 1,так как Gq 1 ,так как GIO Uтак как G,, 1так как 1,так как G, 0,так как 0,так как G, О,так как G, 0,так как м бло- дои i-й группы имеют следующие значеах каж- ни : с; ,G; , G;, С, , р; , Р и Р; равны 0; G.; ,G;, G, G, , P , p; и P равны 0; G; ,СИ , G;, G, , p; , p; и p; равны 0; G ,G , G;, G , P , P и P равны 0; G, ,G н Gj равны 0, a G; 1 ; G, , и G, равны 0, a G 1 ; С ,G., и G;; равны О, a G 1; G ,G, и GJ, равны О, a G 1; G,,GJ и GJ равны 0, a G и Pj равны 1; G/,GJ и G,; равны 0, a G и P,; равны 1; G,;,G и G,; равны 0, a G и p;, равны 1; .,Gj и G равны 0, a G и P Ранны 1; G,,G, , , Gs , Ц и Pg равны 0; G; ,G , G;, G; , P, и Р,„ равны 0; G,G , G; , G , P,j и Р„ равны 0; G,;,G, G, G,;, P,, н Р„ равны 0.The invention relates to computing and can be used in the construction of nodes of computing machines operating with variable-field fields. The aim of the invention is to reduce the hardware cost of the device. In FIG. 1 shows a functional diagram of the proposed device; in fig. 2–4 are the communication schemes between the groups of analysis of group transfer (by 64 bits). The device for generating the p-bit mask (Fig. 1) contains the decoder 1 of the start address, the decoder 2 of the end address, the mask forming unit 3 consisting of independent group transfer nodes 4, the first group transfer analysis unit 5 consisting of K groups elements AND-I.VD 6 and elements AND 7, (M-1) -th block 8 of the analysis of group transfer, consisting of K groups of elements AND-OR 6 and elements in AND 7, M-and block 9 of the analysis of group transfer, consisting of B elements AND-OR 6, and has an output of 10 masks and an address input 11. The outputs of the decoder 1 | Connected to the first input group s plaque forming unit 3 of the mask. The outputs of the decoder 2 are connected to the second group by a group of inputs of block 3. The first group of outputs of block 3 is the output 10 of the device mask. The second group of outputs of block 3, connected from R pairs of outputs, is connected to the group of inputs of block 5, and the i-pair is connected to the inputs of groups of elements I-ШШ 6 and. elements And 7 from the i-th to fi + N-li Jv. I hiodv The group of outputs of the j-th (1 - j # H) of block 5 is connected to a group of inputs (j + 1) -ro of block 8, with the outputs of the q-th group of AND-OR 6 elements and And 7 elements of j-ro block 5 connected to inputs tq + N- t) groups of elements AND-OR 6 and elements AND 7 (j + 1) -ro of block 8. A group of outputs (T1-1) of block 8 is connected to the group of inputs of the Tl-th block, the outputs of the q-th group of elements AND-OR 6 and the elements AND 7 (P-1) of block 8 are connected to the inputs q + N tJm of elements AND-OR 6 of the f-th block (where t О, ..., N -one). The group of outputs of block 9 is connected with the corresponding bits with the third group of inputs of block 3. The inputs of the decoder 1 and 2 are connected to the address 1m input 11. The hardware costs of the decoders 1 and 2 and the mask generation unit 3 of the known and proposed devices are the same. In the proposed device H-1, the group transfer analysis blocks contain K - groups of elements I W of the I-STI 6 group transfer G and elements 7 of the transfer propagation attribute P, and the AND block of the group transfer analysis contains only K of the AND-OR 6 group transfer G (where W is the size of the independent nodes of the group transfer 4 in the mask generation unit 3). The number of groups of analysis of group transfer that is entered is determined by the expression w-r (1g) - (log, W). L J When the device operates as follows. For example, it is required to form a mask starting from the 17th bit and ending in the 50th bit. At the input of the decoder 1, the code 010001 is received, and at the input of the decoder 2, the code 110010. At the output of the decoder 1 it appears 1 in the 17th bit (), and in all other bits it remains O. At the output of the decoder 2 there appears О in the 51st bit (), and in all other bits are saved 1. Since block 3 can be implemented similarly to the first level of the known device on the elements 100IP179 and 100 ЛС117, as a result of the influence of these signals at the output of group transfer fifth the group G ° appears 1, since G ,,, f, g and P are equal to 1, and at the outputs of the group transfer of all O. At the output P of the propagation attribute of the thirteenth group P ,,, O appears, since P,, P,, - and P, 1 are equal to O, and at the outputs of the propagation propagation sign of the other groups, 1 Therefore, the output of block 3 contains the following signals: According to ka 5, the signals GGGGG Gj G {G | Gg pj PJ РЗ Р Pj Р Р Pj Pq Р Р, 5 Р Р, 5 RD Consequently, the systics of the i-th group lack the sign functions and have the following signs Gj and f; at the outputs of each: O, since G,, G ,, and G is equal to 0; 0, since G, GI, G, and G are equal to 0; 0, since G, G, G, and 0 are equal to 0; O, since G, G., G, and G are 0; 1, since G, Gj and G are equal to O, and G 1; 1, since G, G and Gg are equal to O, and Gy and P are equal to 1; 1, since G, G and G are equal to O, and G, P and P are equal to 1j 1, since Gj, G-, and G are equal to O, and G, P, P-, and P are equal to 1; O, since Gg, G,, G and Gg are equal to O, etc. to G ,. 1, since P,, P, P, and P are equal to 1; 1, since P, P,, P and P are equal to 1; 1, since Р, Рj, Р, and Р (. Are equal to 1; 1, since Р, Р,, Р and Р are equal to 1; 1, because Р, Р, Pj and Р are equal to 1; 1, because P, P, P, and P are 1; 1, since P,, Pg, Pj, and P are 1; 1, since Pj, P, P, and Pj are 1; 1, since P, P, P, , and Р are equal to 1; 1, since Р, Р, Pg and РТ are equal to 1; 1, because Р ,, Р ,, P ,, Pq and Р are equal to 1; 1, because Р, Р, Р, Р, „and Р, equal to 1; 0, since Р ,,, р, Р, and Р are equal to 0; 0, since Р, P, j, and Р „are equal to 0; О, since Р, Р, Р and E, Equal 0; O, since P, and n Equal 0., at the output of block 5, the signals According to the logic function 8, the signals are output, because, since, as Gj 0, since Gl 1, as 1, since 1, since Gj is 1, since Gq is 1, so As GIO Utak as G ,, 1 as 1, as G, 0, as 0, as G, О, as G, 0, as the mlobies of the i-th group have the following values: C;, G;, G ;, C,, p;, P, and P; are equal to 0; G;, G ;, G, G,; P, p; and P are equal to 0; G;, SI, G; , G,, p;, p; and p; are equal to 0; G, G, G ;, G, P, P and P are equal to 0; G,, G and Gj are equal to 0, a G; 1; G,, and G, are equal 0, a G 1; C, G., And G ;; equal O, a G 1; G, G, and GJ are equal to O, a G 1; G ,, GJ and GJ are equal to 0, a G and Pj are equal to 1; G /, GJ and G; equal 0, a G and P ,; equal to 1; G,;, G and G ,; equal to 0, a G and p ;, equal to 1; ., Gj and G are 0, a G and P Ranna 1; G ,, G,,, Gs, Ц and Pg are equal to 0; G; , G, G ;, G; , P, and P, „are equal to 0; G, G, G; , G, P, j and Р „are equal to 0; G,;, G, G, G,;, P ,, н Р „are equal to 0.