SU1444959A1 - Position code to large-base code converter - Google Patents
Position code to large-base code converter Download PDFInfo
- Publication number
- SU1444959A1 SU1444959A1 SU874251305A SU4251305A SU1444959A1 SU 1444959 A1 SU1444959 A1 SU 1444959A1 SU 874251305 A SU874251305 A SU 874251305A SU 4251305 A SU4251305 A SU 4251305A SU 1444959 A1 SU1444959 A1 SU 1444959A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- matrix
- inputs
- outputs
- cells
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Abstract
Изобретение относитс к области вычислительной техники и автоматики и предназначено дл перевода кодов чисел из системы счислени с любым основанием в коды чисел с любым боль- шин .основанием в цифровых системах управлени и в устройствах обработки информации. Целью изобретени вл етс повышение скорости преобразовани . Поставленна цель достигаетс тем, что в преобразователь позиционного кода, содержащий треугольную матрицу, введена группа треугольных матриц, группа блоков умножени и многовходовый сумматор, причем каждый элемент треугольных матриц содержит умножитель и сумматор. 2 ил.The invention relates to the field of computer technology and automation and is intended to translate number codes from a number system with any base into number codes with any major basis in digital control systems and information processing devices. The aim of the invention is to increase the conversion rate. The goal is achieved by introducing a group of triangular matrices, a group of multiplication blocks and a multi-input adder into the position code converter containing a triangular matrix, each element of the triangular matrices containing a multiplier and adder. 2 Il.
Description
4 4 4 СО СП СО4 4 4 CO JV CO
Изобретение относитс к вычисли- тельной технике и автоматике и может быть использовано в устройствах обработки информации, функционирующих S различных системах счислени , дл перевода позиционного кода из системы счислени с любым основанием в коды чисел с любым большим основанием . Цель изобретени - повышение скорости преобразовани .The invention relates to computer engineering and automation and can be used in information processing devices that operate S different number systems to translate the positional code from a number system with any base into number codes with any large base. The purpose of the invention is to increase the conversion rate.
На фиг.1 представлена блок-схема преобразовател кодов; на фиг.2 - схема чейки преобразовани . Figure 1 shows the block diagram of the code converter; Fig. 2 is a schematic of a transformation cell.
Преобразователь кодов (фиг.1) состоит из однотипных чеек 1, содержит (п-1) блок умножени 2, многовходо- вый сумматор 3. Однотипные чейки 1 в совокупности образуют п треугольных матриц 4, с выходами старших разр -i дов 5 и вьЕКОдами младших разр дов 6. Информационные входы 7 прео бразовате- л поступают на входы последних столбцов треугольных матриц 4. Выхо- ды треугольных матриц 8 поступают на входы блоков умножени 2 и входы мно- говходового сумматора 3, выходы которого вл ютс выходом 9 преобразовател .The code converter (Fig. 1) consists of cells of the same type 1, contains (p-1) multiplication unit 2, a multiple-input adder 3. The cells of the same type 1 together form n triangular matrices 4, with outputs of the highest bits -i Dov 5 and VECODs low-order bits 6. Information inputs 7 of the transducer arrive at the inputs of the last columns of the triangular matrices 4. The outputs of the triangular matrices 8 arrive at the inputs of multiplication units 2 and the inputs of the multi-input adder 3, whose outputs are output 9 of the converter.
Вход 10 основани входного кода преобразовател и вход 11 выбора основани выходного кода поступают на все чейки треугольных матриц. Весовые входы 12 преобразовател поступа ют на входы блоков умножени 2.The input 10 of the base of the input code of the converter and the input 11 of the selection of the base of the output code arrive on all the cells of the triangular matrices. The weight inputs 12 of the converter are fed to the inputs of multiplication units 2.
Кажда чейка 1 содержит (фиг.2) умножитель 13 и сумматор 14. Множимо поступает на вход 15, а слагаемое на вход 16, множитель (основание входного кода) поступает на вход 17. На вход 18 поступает основание выходного кода, что обеспечивает выбор системы счислени , блоков 13 и 14.Each cell 1 contains (Fig. 2) a multiplier 13 and an adder 14. Multiply enters input 15, and a term at input 16, a multiplier (input code base) enters input 17. Input 18 receives an output code base, which ensures the choice of the system reckoning, blocks 13 and 14.
В основу работы преобразовател кодов, при переводе числа А из системы счислени с меньшим основанием Р в счисление с большим основанием q, положен алгоритм распараллеливани исходного числа А (р) на п параллель- ных ветвей. При этом, кажда .из ветвей обрабатываетс независимо друг от друга по алгоритму последователь- ного умножени старшей цифры части числа А (р) на основании исходной системы счислени р с последующим прибавлением к полученному произведению следующей по пор дку цифры части числа А (р). Операции произвоThe basis of the operation of the code converter, when transferring the number A from a number system with a smaller base P to a numbering with a larger base q, is the algorithm for parallelizing the initial number A (p) on n parallel branches. In this case, each of the branches is processed independently of each other by the algorithm of sequential multiplication of the highest digit of the part of the number A (p) on the basis of the original number system p, followed by adding to the resulting product the next order of the digit of the part of the number A (p). Production operations
г 0 g 0
5five
0 5 00 5 0
с with
0 0
д « d "
5five
д тс в q-ичной системе счислени и процесс умножени и сложени повтор етс до тех пор, пока не будет добавлена младша цифра части числа А (р).in the q-ary number system and the process of multiplication and addition is repeated until the lower digit of the part of the number A (p) is added.
Преобразователь кодов работает следующим образом.Converter codes works as follows.
На информационные входы 7 преобразовател подаетс преобразуемое число А в системе счислени с осно- йанием Р, причем исходное число разбиваетс на п частей, кажда из которых содержит (l(,-1)-ls-разр дов (S О, 1, 2, ... (п-1); Ig ls(m + 1)/n, знак ДхЦ - ближайшее меньшее целое число m - максимальна разр дность входного кода п - целое число, . Старший разр д кода -1, каждой группы поступает на треугольные матрицы через входы 15 чейки преобразовател 1 первой строки на входы 1 умножител 13, на выходе которого по вл етс число, умноженное на константу Р исходной системы счислени . На сумматоре 14 чейки 1 первой строки происходит суммирование результата умножени и цифры предыдущего разр да , -2 преобразуемой части числа, поступающего на входы 16 чейки преобразовани 1. Младший разр д результата, полученный на выходах 6 чейки первой строки, поступает на входы 15 первой чейки второй строки а старший разр д этого результата, полученный на выходах 5 чейки, поступает на входы 15 второй чейки второй строки и Т.Д-. в результате параллельного перевода каждой из п частей на выходах 8 каждой матрицы получаем п частей исходного числа А в счислении q. Результаты перевода, полученные на выходах 8 каждой матрицы , кроме первой, поступают параллельно на входы 15 соответствующих блоков умножени 2, на вторые входы которых подаютс соответственно константы Р S в счислении q. Результат с выходов В первой.матрицы и произведени , полученные на выходах каждого из блоков умножени 2, поступают соответственно на п группу входов многовходового сумматора 3. В резуль- тате суммировани на выходах 9 получаетс код преобразованного числа А в системе счислени с основанием q. Операции умножени на блоках умножени 2 и суммировани на многовходов.с1МThe information inputs 7 of the converter are fed into the number A being converted in the number system with the base P, the initial number being divided into n parts, each of which contains (l (, - 1) -ls-bits (S O, 1, 2, ... (p-1); Ig ls (m + 1) / n, the sign DhC - the nearest lower integer m - the maximum width of the input code n - an integer,. The highest bit of the code is -1, each group arrives at triangular matrices through the inputs 15 of the converter cell 1 of the first row to the inputs 1 of the multiplier 13, at the output of which a number multiplied by the constant P of the original appears numbering system. On adder 14 of cell 1 of the first row, the result of multiplication and the digit of the previous bit, -2 of the transformed part of the number arriving at the inputs 16 of the transformation cell 1, are minimized. 15 of the first cell of the second row and the most significant bit of this result, obtained at the outputs of the 5 cell, is fed to the inputs 15 of the second cell of the second row, and so on. as a result of a parallel translation of each of the n parts at the outputs of 8 of each matrix, we obtain n parts of the original number A in the numeration q. The translation results obtained at the outputs 8 of each matrix, except for the first one, go in parallel to the inputs 15 of the corresponding multiplication blocks 2, the second inputs of which are supplied respectively to the constants P S in the numeration q. The result from the outputs B of the first matrix and the products obtained at the outputs of each of the blocks of multiplication 2, go respectively to the n group of inputs of the multi-input adder 3. As a result of the summation at the outputs 9, the code of the transformed number A in the numeral system with base q is obtained. The multiplication operations on multiplication units 2 and summing over multiple inputs.
сумматоре 3 производитс в q-ичной системе счислени .adder 3 is produced in a q-ary number system.
Таким образом, за один такт работы на, выходах 9 преобразовател кодов по вл етс код преобразованного числа в системе счислени с основанием q.Thus, in one cycle of operation on, the outputs 9 of the code converter appear the code of the converted number in the number system with base q.
Исход из этого, максимальна задержка процесса перевода составл етOn this basis, the maximum delay of the translation process is
А(Р)A (P)
(1(one
- 2)- 2)
макс Max
Ч +H +
ty - задержка сигнала блоком ум- ноже ни { t - задержка сигнала многовходовым сумматором,ty is the delay of the signal by a block that is not sufficient {t is the delay of the signal by a multi-input adder,
а врем перевода числа А из счислени р в счисление q в известном преобразователе кодов, равноand the time for converting the number A from the number p to the number q in the known code converter is equal to
T(pj (m - O t.T (pj (m - O t.
10ten
Пример. Перевести число А (120011202112) из троичной в дес счислени . При Example. Translate number A (120011202112) from ternary to decimal. With
А (1200 l l 202112)5 (298715)A (1200 l l 202112) 5 (298715)
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SU874251305A SU1444959A1 (en) | 1987-05-27 | 1987-05-27 | Position code to large-base code converter |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SU874251305A SU1444959A1 (en) | 1987-05-27 | 1987-05-27 | Position code to large-base code converter |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| SU1444959A1 true SU1444959A1 (en) | 1988-12-15 |
Family
ID=21306720
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| SU874251305A SU1444959A1 (en) | 1987-05-27 | 1987-05-27 | Position code to large-base code converter |
Country Status (1)
| Country | Link |
|---|---|
| SU (1) | SU1444959A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| RU2368922C2 (en) * | 2002-11-22 | 2009-09-27 | Бейкер Хьюз Инкорпорейтед | Definition method of vertical and horizontal specific resistance, and also angles of relative inclination in anisotropic geological materials |
-
1987
- 1987-05-27 SU SU874251305A patent/SU1444959A1/en active
Non-Patent Citations (1)
| Title |
|---|
| Авторское свидетельство СССР 526884, кл. Н 03 М 7/00, 1973. Авторское свидетельство СССР 1332537, кл. Н 03 М 7/00, 1985. * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| RU2368922C2 (en) * | 2002-11-22 | 2009-09-27 | Бейкер Хьюз Инкорпорейтед | Definition method of vertical and horizontal specific resistance, and also angles of relative inclination in anisotropic geological materials |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH06502265A (en) | Calculation circuit device for matrix operations in signal processing | |
| SU1444959A1 (en) | Position code to large-base code converter | |
| SU1515161A1 (en) | Multiplication device | |
| SU1073771A1 (en) | Device for multiplying binary-coded decimal digits | |
| US4458327A (en) | Prime or relatively prime radix data processing system | |
| SU1156062A1 (en) | Multiplying device | |
| SU1107119A1 (en) | Matrix device for squaring and extracting root | |
| SU1043627A1 (en) | Binary to bcd converter | |
| SU1635176A1 (en) | Multiplier | |
| US3300627A (en) | Apparatus for real-time multiplication | |
| SU1670685A1 (en) | Multiplier unit | |
| SU1259254A1 (en) | Device for multiplying numbers | |
| SU1008731A1 (en) | Computing device | |
| US3033456A (en) | Apparatus for multiplying binary numbers | |
| SU1024906A1 (en) | Multiplication device | |
| SU1557682A1 (en) | Position code-to-residue class system code | |
| SU1381717A1 (en) | Code converter | |
| SU1234830A1 (en) | Device for multiplying numbers in radix complement form | |
| JPH0214363A (en) | Fast fourier transform method and arithmetic apparatus therefor | |
| JP3230354B2 (en) | High-speed decimal multiplier | |
| SU503234A1 (en) | Binary to decimal number converter | |
| SU1116427A1 (en) | Multiplying device | |
| SU842804A1 (en) | Matrix squaring device | |
| SU779998A1 (en) | Code converter | |
| SU1137479A1 (en) | Walsh function-based conversion device |