SU1280606A1 - Device for analyzing and changing numeric fields - Google Patents
Device for analyzing and changing numeric fields Download PDFInfo
- 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
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)
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) |
-
1985
- 1985-07-25 SU SU853934439A patent/SU1280606A1/en active
Non-Patent Citations (1)
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 |