SU1280606A1 - Device for analyzing and changing numeric fields - Google Patents

Device for analyzing and changing numeric fields Download PDF

Info

Publication number
SU1280606A1
SU1280606A1 SU853934439A SU3934439A SU1280606A1 SU 1280606 A1 SU1280606 A1 SU 1280606A1 SU 853934439 A SU853934439 A SU 853934439A SU 3934439 A SU3934439 A SU 3934439A SU 1280606 A1 SU1280606 A1 SU 1280606A1
Authority
SU
USSR - Soviet Union
Prior art keywords
elements
group
inputs
generation unit
outputs
Prior art date
Application number
SU853934439A
Other languages
Russian (ru)
Inventor
Александр Валентинович Соболев
Георгий Николаевич Черников
Валерий Анатольевич Чудовский
Original Assignee
Белорусский Ордена Трудового Красного Знамени Государственный Университет Им.В.И.Ленина
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 Белорусский Ордена Трудового Красного Знамени Государственный Университет Им.В.И.Ленина filed Critical Белорусский Ордена Трудового Красного Знамени Государственный Университет Им.В.И.Ленина
Priority to SU853934439A priority Critical patent/SU1280606A1/en
Application granted granted Critical
Publication of SU1280606A1 publication Critical patent/SU1280606A1/en

Links

Abstract

Изобретение относитс  к области цифровой вычислительной техники и может быть использовано при обработке структурно-сложной информации (графов, таблиц), анализе структур алгоритмов и программ, оптимизации линейных участков граф-схем алгоритмов. Оно позвол ет выполнить часто встречаемую операцию анализа и замены числовых полей, которыми кодируетс  смысловое представление графов. Цель изобретени  - повышение быстродействи  устройства. Устройство содержит два входных регистра , блок формировани  масок, два регистра масок, две группы элементов И, блок коррекции, .группу элементов ИЛИ, два входа, два выхода . БЛОК формировани  масок.содержит два элемента НЕ, две группы элементов . И, -п ть элементов И, группу элементов ИЛИ, две схемы сравнени . элемент ИЛИ. Блок коррекции содержит группу элементов ИЛИ, две группы элементов И, элемент НЕ. Два элемента данных, которые необходимо проанализировать и заменить числовые ПОЛЯ, поступают на входные регистры и с выхода последних - на входы двух групп элементов И и на входы блока формировани  масок. С помощью последнего анализируетс  возможность замены числовых полей в соответствии с правилом обобщени  линейных участков грзф-схем и результат анализа представл етс  на втором выходе блока,  вл ющемс  I О) вторым выходом устройства, а также проводитс  формирование масок на первом и третьем выходах блока. Маски с этих выходов поступают на регистры масок и с выходов последних - на соответствующие группы элементов И. С выхода второй группы элементов И выделенное поле подаетс  на первый вход блока коррекции , на второй вход которого Поступает сигнал с четвертого выхода блока о том, что первьш элемент данных имеет 1 или 2 входа в графсхеме и выделенное поле из втсГрого элемента соответственно не должно ИЛИ ДОЛЖНО быть сдвинуто на размер одного ПОЛЯ вправо. С выходов первой группы элементов И и блока коррекции вьщеленные пол  подаютс  на входы группы элементов ИЛИ, где объедин ютс  и поступают на первый выход устройства. 5 ил.The invention relates to the field of digital computing and can be used in the processing of structurally complex information (graphs, tables), analysis of the structures of algorithms and programs, optimization of linear sections of graph-schemes of algorithms. It allows you to perform a frequently encountered operation of analyzing and replacing numeric fields that encode a semantic representation of graphs. The purpose of the invention is to increase the speed of the device. The device contains two input registers, a mask generation unit, two mask registers, two groups of AND elements, a correction block, a group of OR elements, two inputs, two outputs. The mask forming unit contains two NOT elements, two groups of elements. And, -but elements AND, a group of elements OR, two comparison schemes. element OR. The correction block contains a group of elements OR, two groups of elements AND, an element NOT. Two data elements that need to be analyzed and replaced with numerical FIELDS, go to the input registers and from the output of the latter to the inputs of two groups of AND elements and to the inputs of the mask generation unit. With the help of the latter, the possibility of replacing numerical fields is analyzed in accordance with the rule of generalizing linear sections of HRF-schemes and the result of the analysis is presented at the second output of the block, which is the IO) second output of the device, and also forms masks at the first and third outputs of the block. The masks from these outputs go to the registers of the masks and from the outputs of the latter to the corresponding groups of elements I. From the output of the second group of elements I, the highlighted field is fed to the first input of the correction unit, to the second input of which a signal is received from the fourth output of the block that the first element The data has 1 or 2 inputs in the graph and the selected field from the vsGryy element, respectively, should not OR should be shifted to the size of one FIELD to the right. From the outputs of the first group of elements AND and the correction unit, the allocated fields are fed to the inputs of the group of elements OR, where they are combined and fed to the first output of the device. 5 il.

Description

Изобретение относитс  к цифровойThis invention relates to digital

вычислительной технике,и может быть использовано при обработке структурно-сложной информации (графов, таблиц ), анализе алгоритмов, программ. computing, and can be used in the processing of structurally complex information (graphs, tables), analysis of algorithms, programs.

В вычислительной технике часто используетс  операци  анализа возможности замены числовых полей и замены числовых полей при положительном результате анализа. Например, при анализе программ, оптимизации линейных участков алгоритмов .часто встречаемой  вл етс  операци  укрупнени  алгоритмических действий. Пусть алгоритмическое действие представимо элементами данных следующей структуры:In computing, the analysis of the possibility of replacing numeric fields and replacing numerical fields with a positive result of analysis is often used. For example, when analyzing programs and optimizing linear parts of algorithms, the operation of aggregating algorithmic actions is often encountered. Let an algorithmic action be represented by data elements of the following structure:

«С Элемент данных : «Споле 3"From the Item:" Spole 3

пол  св зи ; «i Поле 3 : 0 число ; Поле св зи :. поле 2 . : поле 1 поле 0 : communication field; “I Field 3: 0 number; Communication field:. field 2. : field 1 field 0:

г:Поле 0 : 1 число 1 HI...II; г Поле 1 : О числоg: Field 0: 1 number 1 HI ... II; g Field 1: O number

I 1 число ; - Поле 2 : 0 « число ; -i Число : .000.. .00,i| ООП. ..01, I ,000.. .10,1.../I 1 number; - Field 2: 0 “number; -i Number: .000 .. .00, i | OOP. ..01, I, 000 ... 10.1 ... /

-( П-1- (P-1

III...10. 25III ... 10. 25

4040

п-(,30n - (, 30

ТАКИМ образом, поле элемента данных представл ет собой целое число со знаком. Обозначим j-e поле i-ro элемента данных Пи значение знакового разр да этого пол  - ЗП ,; , значение числовых разр дов этого пол  - Mnifj,. Условием возможности замены числовых полей устройства анализа и замены числовых полей  вл етс  истинность вьфажени Thus, the data element field is a signed integer. Denote the jth field of the i-ro of the data element Pi and the value of the sign bit of this field - ZP,; , the value of the numeric bits of this gender is Mnifj ,. The condition for the possibility of replacing the numerical fields of the device for analyzing and replacing numerical fields is the truth of the hyphenation.

L () Л «() А (П10 111....111) V (()Л (П10 111(.v ...111))) А () Л (...1.1)лL () L "() A (P10 111 .... 111) V (() L (P10 111 (.v ... 111))) A () L (... 1.1) l

Л (() V ())Л . ().L (() V ()) L. ()

Операци  замены дл  элементов дан- ных П13 П1 2 П11 111... 11 и П23- П22 П21 111... 11 дает результат П13 П12 П21 111 ... 11, а дл  элементов данных П13 П12 П11 П10 и П23 П22 П21 111... 11 - результат П13 П12 П11 П21.The replacement operation for the data elements P13 P1 2 P11 111 ... 11 and P23-P22 P21 111 ... 11 gives the result P13 P12 P21 111 ... 11, and for the data elements P13 P12 P11 P10 and P23 P21 111 ... 11 - the result of П13 П12 П11 П21.

Цель изобретений - повьшение родействи  устройства.The purpose of the inventions is to increase the device's activity.

На фиг. 1 изображена функциональ- На  схема устройства анализа и заме- « ны числовых полей; на фиг. 2 - функциональна  схема блока формировани  масок; на фиг. 3 - функциональна  схема блока коррекции; на фиг. 4 45FIG. 1 shows the functional- On the diagram of the analysis device and the replacement of numerical fields; in fig. 2 is a functional diagram of a mask generation unit; in fig. 3 - functional block correction circuit; in fig. 4 45

5050

5five

0 15 0 15

0 0

5five

00

00

« "

5five

00

функциональна  схема группы элементов ИЛИ; на фиг. 5 - функциональна  схема группы элементов И.functional diagram of the group of elements OR; in fig. 5 - the functional diagram of the group of elements I.

Устройство содержит первый 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 группы элементов И,элемент НЕ 27.The device contains the first 1 and second 2 input registers, the mask generation block 3, the first 4 and second 5 mask registers, the first 6 and second 7 groups of AND elements, correction block 8, the group of 9 elements OR the second element NOT 10, the second group 11 elements AND , the first and fourth elements And 12 and 13, the first group of 14 elements And, the second and third elements And 15 and 16, the first element NOT 17, the first element OR 18, a group of 19 IL elements, the second and first circuits 20 and 21 of the comparison, n element 22 and 22, the second element OR 23, a group of 24 elements OR, the first 25 and the second 26 groups of elements AND, el ment NOT 27.

Устройство анализа и з.амены числовых полей (фиг. 1) функционирует следующим образом.The analysis device and the replacement of numeric fields (Fig. 1) operates as follows.

В первый входной регистр 1 заноситс  первый элемент данных, во второй входной регистр 2 - второй элемент данных. С выходов первого 1 и второго 2 входных регистров первый и второй элементы данных поступает на первую 6 и вторую 7 группы элементов И. На входы первого 4 и второго 5 регистров масок маски поступают соответственно с первого и третьего выходов блока 3 формировани  масок. На первый и второй входы блока 3 формировани  масок поступают соответствующие разр ды (фиг. 1) полей соответствующих элементов данных . Элемент И 22 блока формировани  масок (фиг. 2) осуществл ет формирование признака возможности замены числовых полей, включающего значение элемента НЕ 10, представл ющего собой ЗП12, значение выхода элемента ИЛИ 18, представл ющего собой значение (ЗП11 Л (...11)) V (ЗП11Д А (П10 111... 11)), образуемого с помощью значений выходов элементов И 15, 12 и 16, значение выхода совпадени  второй схемы 20 сравнени ,представл ющего собой значение (ЧП11 ЧП23) V (), образуемого с помощью значений выходов первой 14 и второй 11 групп элементов И и руппы 19 элементов ИЛИ, осуществл ющих выбор пол  с и содержаще- то нули в ЧП, значение выхода совпадени  первой схемы 21 сравнени ,представл ющего собой значение (ЧП22 ЧП13), значение разр да п 2-го входа блока, представл ющего собой ЗП21, значение выхода элемента И 13, представл ющего собой значение (П20 111... 11). Пр мой и инверсньй выходы элемента ИЛИ 23 имеют посто нные значени , эквивалентные соответственно нулю и единице, которые устанавливают соответственные разр ды масок (фиг. 2). Выход элемента НЕ 17, имеющий значение ЗП11, и пр мой выход элемента И 12, имеющий значение (П10 111... 11), устанавливают соответст- вующие разр ды (фиг. 2) первой маски причем последний  вл етс  четвертым выходом блока 3 формировани  масок и управл ет группами элементов И (фиг. 3) блока 8 коррекции, осущест- вл ющего сдвиг пропущенного пол  второго элемента данных в зависимости от значени  (...11) на одно поле вправо. С помощью группы 9 элементов ИЛИ, производитс  логичес- кое сложение кодов с выходов элементов И первой группы 6 и выхода блока 8 коррекции. Результат поступает на первый выход устройства, второй выход которого представл ет собой пр мой выход элемента И 22 (фиг. 2)JThe first data element is entered into the first input register 1, the second data element is entered into the second input register 2. From the outputs of the first 1 and second 2 input registers, the first and second data elements arrive at the first 6 and second 7 groups of elements I. The inputs of the first 4 and second 5 mask mask registers are received from the first and third outputs of the mask generation unit 3, respectively. The corresponding bits (Fig. 1) of the fields of the corresponding data elements are received at the first and second inputs of the mask generation unit 3. Element AND 22 of the mask generation unit (Fig. 2) generates a sign of the possibility of replacing numeric fields, including the value of the element NOT 10, which represents the G12, the output value of the element OR 18, which represents the value (GF11 L (... 11) ) V (ЗП11Д А (П10 111 ... 11)), formed by the values of the outputs of the elements 15, 12 and 16, the output value of the coincidence of the second comparison circuit 20, which is the value of (VNP CH23) V (), formed with using the values of the outputs of the first 14 and second 11 groups of elements AND and the group of 19 elements OR, carrying out x the choice of the field c and the containing zeros in the PR, the output value of the coincidence of the first comparison circuit 21, which is the value (CP22 PR13), the discharge value n of the 2nd input of the block, which is P21, the output value of the And 13 element, representing the value (P20 111 ... 11). The direct and inverse outputs of the element OR 23 have constant values equivalent to zero and one, respectively, which establish the respective bits of the masks (Fig. 2). The output of the element NOT 17, which has the value ZP11, and the direct output of the element And 12, which has the value (P10 111 ... 11), set the corresponding bits (Fig. 2) of the first mask, the latter being the fourth output of the formation unit 3 masks and controls the groups of elements AND (FIG. 3) of the correction unit 8 that shifts the missing field of the second data element depending on the value (... 11) one field to the right. With the help of a group of 9 elements OR, a logical addition of the codes from the outputs of the elements AND of the first group 6 and the output of the correction block 8 is carried out. The result goes to the first output of the device, the second output of which is the direct output of the And 22 element (Fig. 2) J

Claims (1)

Изобретение относитс  к цифровой вычислительной технике,и может быть использовано при обработке структурно-сложной информации (графов, таблиц ), анализе алгоритмов, программ. В вычислительной технике часто используетс  операци  анализа возмож ности замены числовых полей и замены числовых полей при положительном результате анализа. Например, при анализе программ, оптимизации линейных участков алгоритмов .часто встречаемой  вл етс  операци  укрупнени  алгоритмических действий. Пусть алгоритмическое действие представимо элементами данных следующей структуры: «С Элемент данных : «Споле 3 пол  св зи ; «i Поле 3 : 0 число ; Поле св зи :. поле 2 . : поле 1 поле 0 : г:Поле 0 : 1 число 1 HI...II; г Поле 1 : О число I 1 число ; - Поле2 0 « число ; -i Число : .000.. .00,i| ООП. ..01, I ,000.. .10,1.../ -( П-1 III...10. 1 п-(, ТАКИМ образом, поле элемента данных представл ет собой целое число со знаком. Обозначим j-e поле i-ro элемента данных Пи значение знакового разр да этого пол  - ЗП,; , значение числовых разр дов этого пол  Mnifj ,. Условием возможности замены числовых полей устройства анализа и замены числовых полей  вл етс  истинность вьфажени  L () Л «() А (П10 111....111) V (()Л (П10 11 ... 111))) А () Л (...1. Л (() V ())Л . (). Операци  замены дл  элементов дан , ных П13 П1 2 П11 111... 11 и П23- П22 .П21 111... 11 дает результат П13 П12 П21 111 ... 11, а дл  элементов данных П13 П12 П11 П10 и П23 П22 П21 111.. 11 - результат П13 П12 П11 П21. Цель изобретений - повьшение бысродействи  устройства. На фиг. 1 изображена функциональi На  схема устройства анализа и замены числовых полей; на фиг. 2 - функциональна  схема блока формировани  .масок; на фиг. 3 - функциональна  схема блока коррекции; на фиг. 4 функциональна  схема группы элементов ИЛИ; на фиг. 5 - функциональна  схема группы элементов И. Устройство содержит первый 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 группы элементов И,элемент НЕ 27. Устройство анализа и з.амены числовых полей (фиг. 1) функционирует следующим образом. В первый входной регистр 1 заноситс  первый элемент данных, во второй входной регистр 2 - второй элемент данных. С выходов первого 1 и второго 2 входных регистров первый и второй элементы данных поступает на первую 6 и вторую 7 группы элементов И. На входы первого 4 и второго 5 регистров масок маски поступают соответственно с первого и третьего выходов блока 3 формировани  масок. На первый и второй входы блока 3 формировани  масок поступают соответствующие разр ды (фиг. 1) полей соответствующих элементов данных . Элемент И 22 блока формировани  масок (фиг. 2) осуществл ет формирование признака возможности замены числовых полей, включающего значение элемента НЕ 10, представл ющего собой ЗП12, значение выхода элемента ИЛИ 18, представл ющего собой значение (ЗП11 Л (...11)) V (ЗП11Д А (П10 111... 11)), образуемого с помощью значений выходов элементов И 15, 12 и 16, значение выхода совпадени  второй схемы 20 сравнени ,представл ющего собой значение (ЧП11 ЧП23) V (), образуемого с помощью значений выходов первой 14 и второй 11 групп элементов И и руппы 19 элементов ИЛИ, осуществл ющих выбор пол  с и содержащето нули в ЧП, значение выхода совпадени  первой схемы 21 сравнени ,пред ставл ющего собой значение (ЧП22 ЧП13), значение разр да п 2-го входа блока, представл ющего собой ЗП21, значение выхода элемента И 13, представл ющего собой значение (П20 111... 11). Пр мой и инверсньй выходы элемента ИЛИ 23 имеют посто нные значени , эквивалентные соответствен но нулю и единице, которые устанавли вают соответственные разр ды масок (фиг. 2). Выход элемента НЕ 17, имеющий значение ЗП11, и пр мой выход элемента И 12, имеющий значение (П10 111... 11), устанавливают соответствующие разр ды (фиг. 2) первой маски причем последний  вл етс  четвертым выходом блока 3 формировани  масок и управл ет группами элементов И (фиг. 3) блока 8 коррекции, осущест вл ющего сдвиг пропущенного пол  второго элемента данных в зависимости от значени  (...11) на одно поле вправо. С помощью группы 9 элементов ИЛИ, производитс  логическое сложение кодов с выходов элементов И первой группы 6 и выхода блока 8 коррекции. Результат поступает на первый выход устройства, второй выхо которого представл ет собой пр мой выход элемента И 22 (фиг. 2)J Формула изобретени  Устройство анализа и замены числовых полей, содержащее два входных регистра, два регистра маски,две группы элементов И, группу элементов ИЛИ, причем выходы первого и второго входных регистров подключены поразр дно к первым входам элементов И первой и второй группы соответственно , а выходы первого и второго регистров маски подключены поразр дно к вторым входам элементов И первой и второй группы соответственно,выходы элементов И первой группы соединены поразр дно с первыми входами элементов ИЛИ группы, выходы которых образуют первый выход устройства, отличающеес  тем, что, с целью повышени  быстродействи , оно содержит дополнительно блок формировани  масок, состо щий из двух элементов НЕ, двух элементов ШШ, п ти элементов И, группы элементов ШШ, двух групп элементов И, двух схем сравнени , и блок коррекции, состо щий из элемента НЕ, группы элементов ИЛИ, двух групп элементов И, причем разр ды, начина  с нулевого по (п-2)-й выходы первого входного регистра соединены поразр дно с первьми входами элементов И первой группы блока формировани  масок (п разр дность числа), разр ды, начина  с нулевого по (п-1)-й выходы первого входного регистра, соединены поразр дно с входами первого элемента И блока формировани  масок, разр ды, начина  с п-го по (2п-2)-й выходы первого входного регистра, соединены поразр дно с первыми входами элементов И второй группы блока формировани  масок, (2п-1)-й разр д выхода первого входного регистра соединен с вторыми входами элементов И второй группы блока формировани  масок, с входом первого элемента НЕ блока формировани  масок, с первым входом второго элемента И блока формировани  масок,с первьв4 инверсным входом третьего элемента И блока формировани  масок, (Зп-1)-й разр д выхода первого входного регистра соединен с входом второго элемента НЕ блока формировани  масок, разр ды, начина  с Зп-го по (4п-2)-й выходы первого входного регистра, соединены поразр дно с входами первой группы первой схемы сравнени  блока формировани  масок, причем разр да с нулевого по (п-1)-й выхода второго входного регистра соединены с входами четвертого элемента И блока формировани  масок, разр ды, начина  с 2п-го по (Зп-2)-й выходы второго входного регистра, соединены поразр дно с входами второй группы первой схемы сравнени  блока формировани  масок, разр ды с Зп-го по (4п-2)-й выходы второго входного регистра соединены поразр дно с входами первой группы второй схемы сравнени  блока формировани  масок, выходы элементов И, второй группы блока формировани  масок соединены с первыми входами элементов ИЛИ группы блока формировани  масок, пр мой выход первого элемента И блока формировани  масок соединен с вторым входом второго элемента И блока формировани  масок,с нулевого по (п1 )-й разр дами входа первого регистра маски, с входом элемента НЕ блока коррекции, с первыми входами элементов И первой группы блока коррекции , инверсный выход первого элемента И блока формировани  масок соединен с вторым входом третьего элемента И блока формировани  масок и с вторыми входами элементов И первой группы блока формировани  масок, рыходы которых соединены поразр дно с вторыми входами элементов ИЛИ группы блока формировани  масок, выходы которых соединены с второй группой входов второй схемы сравнени  блока формировани  масок, вьЪсоды второго и третьего элементов И блока формировани  масок соединены с первым и вторьм входами первого элемента ИЛИ блока формировани  масок, причем выход второго элемента НЕ блока формировани  масок, выход первого элемента ИЛИ блока формировани  масок, выходы Равно первой и второй схем сравнени  блока формировани  масок, (2п-1)-й разр д выхода второго входного регистра, выход четвертого элемента И блока формировани  масок соединены соответственно с первым, вторым , третьим, четвертым, п тым и шестым входами п того элемента И блока формировани  масок, выход первого элемента НЕ блока формировани  масок соединен с п-го по (2п-1)-й разр дами входа первого регистра маски, пр мой и инверсный выходы п того элемента И блока формировани  масок соединены соответственно с первым и вторым входами второго элемента ИЛИ блока формировани  масок, пр мой выход второго элемента ИЛИ блока формировани  масок соединенThe invention relates to digital computing, and can be used in the processing of structurally complex information (graphs, tables), analysis of algorithms, programs. In computing, the analysis of the possibility of replacing numeric fields and replacing numeric fields with a positive result of analysis is often used. For example, when analyzing programs and optimizing linear parts of algorithms, the operation of aggregating algorithmic actions is often encountered. Let an algorithmic action be represented by data elements of the following structure: "C Data item:" Spole 3 communication fields; “I Field 3: 0 number; Communication field:. field 2. : field 1 field 0: g: Field 0: 1 number 1 HI ... II; г Field 1: О number I 1 number; - Field2 0 “number; -i Number: .000 .. .00, i | OOP. ..01, I, 000 ... 10.1 ... / - (P-1 III ... 10. 1 n- (, SO, the data element field is a signed integer. Denote by je the field The i-ro of the data element is the value of the sign bit of this field - GF ,;, the value of the number bits of this field is Mnifj. The condition for the possibility of replacing the numerical fields of the device for analyzing and replacing the number fields is the truth of the hyphenation L () L "() A ( P10 111 .... 111) V (() L (P10 11 ... 111))) A () L (... 1. L (() V ()) L. (). Replacement operation for elements data, P13 P1 2 P11 111 ... 11 and P23-P22. P21 111 ... 11 gives the result P13 P12 P21 111 ... 11, and for data elements P13 P12 P11 P1 0 and P23 P22 P21 111 .. 11 is the result of P13 P12 P11 P21.The purpose of the inventions is to increase the device’s performance.Figure 1 shows the functional diagram of the device for analyzing and replacing numeric fields; Fig. 3 is a functional block diagram of the correction; Fig. 4 is a functional block diagram of a group of elements OR; in fig. 5 is a functional diagram of a group of elements I. The device contains the first 1 and second 2 input registers, the mask generation unit 3, the first 4 and second 5 mask registers, the first 6 and second 7 groups of elements AND, the correction unit 8, group 9 elements OR the second element NOT 10, the second group 11 elements And, the first and fourth elements And 12 and 13, the first group 14 elements And the second and third elements And 15 and 16, the first element NOT 17, the first element OR 18, a group of 19 IL elements, the second and the first circuits 20 and 21 of comparison, the fifth element AND 22, the second element OR 23, a group of 24 elements AND And, the first 25 and second 26 group of AND gates, NOT element 27. The apparatus z.ameny analysis and numerical fields (FIG. 1) operates as follows. The first data element is entered into the first input register 1, the second data element is entered into the second input register 2. From the outputs of the first 1 and second 2 input registers, the first and second data elements arrive at the first 6 and second 7 groups of elements I. The inputs of the first 4 and second 5 mask mask registers are received from the first and third outputs of the mask generation unit 3, respectively. The corresponding bits (Fig. 1) of the fields of the corresponding data elements are received at the first and second inputs of the mask generation unit 3. Element AND 22 of the mask generation unit (Fig. 2) generates a sign of the possibility of replacing numeric fields, including the value of the element NOT 10, which represents the G12, the output value of the element OR 18, which represents the value (GF11 L (... 11) ) V (ЗП11Д А (П10 111 ... 11)), formed by the values of the outputs of the elements 15, 12 and 16, the output value of the coincidence of the second comparison circuit 20, which is the value of (VNP CH23) V (), formed with using the values of the outputs of the first 14 and second 11 groups of elements AND and the group of 19 elements OR, carrying out x the choice of the field c and containing zeros in the state of emergency, the output value of the coincidence of the first comparison circuit 21, which represents the value (CP22 PP13), the discharge value n of the 2nd input of the block, which is Z21, the output value of the And 13 element, value (П20 111 ... 11). The direct and inverse outputs of the element OR 23 have constant values equivalent respectively to zero and one, which set the corresponding bits of the masks (Fig. 2). The output of the element NOT 17, having the value of ЗП11, and the direct output of the element 12, having the value (P10 111 ... 11), set the corresponding bits (Fig. 2) of the first mask, the latter being the fourth output of the mask generation unit 3 and controls the groups of elements AND (FIG. 3) of the correction unit 8, which shifts the skipped field of the second data element depending on the value (... 11) one field to the right. With the help of a group of 9 elements OR, a logical addition of codes from the outputs of the elements AND of the first group 6 and the output of the correction block 8 is performed. The result goes to the first output of the device, the second output of which is the direct output of the AND 22 element (FIG. 2). J Formula of the Invention An analysis and replacement device for numeric fields containing two input registers, two mask registers, two groups of elements And, a group of elements OR, the outputs of the first and second input registers are connected bitwise to the first inputs of the elements of the first and second groups, respectively, and the outputs of the first and second mask registers are connected bitwise to the second inputs of the elements of the first and second groups with Respectively, the outputs of the elements AND of the first group are connected bitwise with the first inputs of the elements OR of the groups, the outputs of which form the first output of the device, characterized in that, in order to improve speed, it contains an additional unit for forming masks consisting of two elements NOT of two elements ШШ, five elements И, group of elements ШШ, two groups of elements И, two comparison circuits, and a correction unit consisting of element NOT, a group of elements OR, two groups of elements И, and the bits starting from zero to 2) th outs ln The first input register is connected bitwise with the first inputs of the elements of the first group of the mask generation unit (number of digits), bits, starting from zero to (n-1) -th outputs of the first input register, connected bitwise to the inputs of the first element and the mask generation unit, bits, starting from the nth to (2n-2) -th outputs of the first input register, are connected bitwise with the first inputs of the elements And the second group of the mask-forming unit, (2n-1) -th discharge of the first the input register is connected to the second inputs of the elements of the second group Lok forming the masks, with the input of the first element NOT the mask forming unit, with the first input of the second element AND the mask forming unit, with the first inverse input of the third element AND the mask forming unit, (Zn-1) th output of the first input register is connected to the input of the second element of the mask generation unit, bits, starting from the 3 rd through (4n-2) -th outputs of the first input register, are connected in series with the inputs of the first group of the first comparison circuit of the mask generation unit, the bit from zero to -1) -th output of the second input The first register is connected to the inputs of the fourth element AND the mask generation unit, bits, starting from the 2nd to the (3n-2) -th outputs of the second input register, connected bitwise to the inputs of the second group of the first comparison circuit of the mask generation unit, bits with Zn-th (4n-2) -th outputs of the second input register are connected bitwise to the inputs of the first group of the second comparison circuit of the mask generation unit, the outputs of the AND elements, the second group of the mask generation unit are connected to the first inputs of the OR elements of the mask generation unit, etc. my out The first element AND the mask generation unit is connected to the second input of the second element AND the mask generation unit, from the zero to (P1) th bits of the input of the first mask register, to the input of the NOT element of the correction unit, with the first inputs of the AND elements of the first group of the correction unit, the inverse output of the first element AND the mask generation unit is connected to the second input of the third element AND the mask generation unit and with the second inputs of the AND elements of the first group of the mask generation unit, the fluxes of which are connected bitwise to the second inputs in the OR group of the mask generation unit, the outputs of which are connected to the second group of inputs of the second comparison circuit of the mask generation unit, the outputs of the second and third elements AND the mask generation unit are connected to the first and second inputs of the first OR element of the mask generation unit, with the output of the second element of the formation unit masks, output of the first element OR of the mask generation unit, outputs Equal to the first and second comparison circuits of the mask generation unit, (2n-1) th output of the second input register, output of the fourth element And the mask generation unit is connected to the first, second, third, fourth, fifth and sixth inputs of the fifth element AND the mask generation unit, respectively; the output of the first element of the NOT mask generation unit is connected to the nth (2n-1) -th bits the input of the first mask register, the direct and inverse outputs of the fifth element AND the mask generation unit are connected respectively to the first and second inputs of the second OR element of the mask generation unit; the direct output of the second OR element of the mask generation unit is connected .. с 2п-го по (4п-1)-й разр дами входа первого регистра маски и с п-го по (2п-1)-й разр дами входа второго регистра маски, инверсный выход второго элемента ИЛИ блока формировани  масок соединен с нулевого по (п-1)-й разр дами и с 2п-го по (4п-1)-й разр дами входа второго регистра маски , причем пр мой выход п того элемента И блока формировани  масок  вл етс  вторым выходом устройства, с нулевого по (п-1)-й разр ды выходов элементов И второй группы соединены поразр дно с первыми входами элементов ИЛИ группы блока коррекции, с п-го по(2п-1)-й разр ды выходов элементов И второй группы соединены поразр дно с вторыми входами элементов ИЛИ группы блока коррекции, с 2п-го по (4п-1)-й разр ды выходов элементов И второй группы соединены с вторыми входами соответствующих элементов ИЛИ группы, выход элемента НЕ блока коррекции соединен с первыми входами элементов И второй группы блока коррекции, выходы элементов ШШ группы блока коррекции со динены с вторыми входами элементов И первой и второй групп блока коррекции , разр ды с нулевого по (п-1)-й выходов элементов И второй группы блока коррекции соединены с вторыми входами элементов ИЛИ группы, р азр . ды с 0-го по (п-1)-й выходов элёмен5 тов И первой группы блока коррекции поразр дно соединены с вторыми входами с п-го по (2п-1)-й элементов ИЛИ группы.from the 2nd to the (4n-1) th bits of the input of the first mask register and from the nth to (2n-1) th bits of the input of the second mask register, the inverse output of the second OR element of the mask generation unit is connected from zero to (n-1) th bits and 2 th to (4 n-1) th bits of the input of the second mask register, and the direct output of the fifth element And the mask generation unit is the second output of the device, from zero to ( n-1) -th bit of the outputs of the elements And the second group are connected bitwise with the first inputs of the elements OR of the group of the correction unit, from the n-th to (2n-1) -th discharge of the outputs And the second group of elements are connected in bit with the second inputs of the elements of the OR group of the correction unit, from the 2nth to (4p-1) th bits of the outputs of the elements AND the second group are connected to the second inputs of the corresponding elements of the OR group, the output of the element of the correction unit is connected with the first inputs of elements And the second group of the correction unit, the outputs of the elements of the group W of the correction unit group are connected to the second inputs of the elements AND of the first and second groups of the correction unit, bits from the zero to (n-1) th outputs of the elements And the second group of the correction unit are connected a second input of OR group, p ASP. From the 0th to (p-1) -th outputs of the Element5 And the first group of the correction unit, bitwise are connected to the second inputs from the nth to (2n-1) -th elements of the OR group. 1Нл1Nl
SU853934439A 1985-07-25 1985-07-25 Device for analyzing and changing numeric fields SU1280606A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU853934439A SU1280606A1 (en) 1985-07-25 1985-07-25 Device for analyzing and changing numeric fields

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU853934439A SU1280606A1 (en) 1985-07-25 1985-07-25 Device for analyzing and changing numeric fields

Publications (1)

Publication Number Publication Date
SU1280606A1 true SU1280606A1 (en) 1986-12-30

Family

ID=21190892

Family Applications (1)

Application Number Title Priority Date Filing Date
SU853934439A SU1280606A1 (en) 1985-07-25 1985-07-25 Device for analyzing and changing numeric fields

Country Status (1)

Country Link
SU (1) SU1280606A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР №1120313, кл. G 06 F 7/00, 1983. Авторское свидетельство СССР № 1132284, КЛ. G 06 F 7/00, 1983. .. *

Similar Documents

Publication Publication Date Title
Caldwell On finding minimum routes in a network with turn penalties
SU1280606A1 (en) Device for analyzing and changing numeric fields
US4546445A (en) Systolic computational array
US4875180A (en) Multi-function scaler for normalization of numbers
SU1667059A2 (en) Device for multiplying two numbers
SU1383340A1 (en) Computing device
RU1829119C (en) Device to count number of units in binary-decimal code system
SU1444760A1 (en) Device for squaring a sequential series of numbers
SU436351A1 (en) POSSIBLE DEVICE
SU1667050A1 (en) Module for boolean function logic transformation
SU1317429A1 (en) Device for analyzing and rearranging numeric fields
SU1141402A1 (en) Array dividing device
RU1774502C (en) Redundancy code checking device
SU1273918A1 (en) Adding-subtracting device
SU1140114A1 (en) Device for scaling numbers in residual system notation
SU549808A1 (en) Dividing device
SU1297116A1 (en) Device for shifting information with checking
RU1795455C (en) Device for counting non-zero bits in binary number
SU920714A1 (en) Device for calculation of second-degree polynomial
SU473176A1 (en) Device to interface the computer with incremental sensors
SU976442A1 (en) Device for scheduling tasks for processors
SU1363186A1 (en) Arithmetic device
SU1569822A1 (en) Device for counting units in binary number
SU1525700A1 (en) Device for calculation of function
SU652592A1 (en) Displacement- to-code converter