[go: up one dir, main page]

SU1444959A1 - Position code to large-base code converter - Google Patents

Position code to large-base code converter Download PDF

Info

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
Application number
SU874251305A
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 SU874251305A priority Critical patent/SU1444959A1/en
Application granted granted Critical
Publication of SU1444959A1 publication Critical patent/SU1444959A1/en

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)

Формула изобретени держит умножитель и сумматор, причемThe invention formula holds a multiplier and an adder, and 55 выход старшего разр да первой  чейки55 output of the highest bit of the first cell Преобразователь позиционного кода i-ro столбца матрицы (i 1.... m-2i 9 код с большим основанием, выполнен- га - разр дность входного кода) со.еди- ный в виде треугольной матрицы одно- нен с входом множимого первой  чей- типных  чеек, кажда  из-которьк со- ки (i+1)-ro столбца, выход старшегоThe position code converter i-ro of the matrix column (i 1 .... m-2i 9 is a code with a large base, performed - the input code width), the unit in the form of a triangular matrix is identical to the input of the multiplicand first - typical cells, each of the so-called (i + 1) -ro columns, the output of the highest 8181 оabout 6561,0 .6561.0. X 6561 295245X 6561 295245 X 81 - 3402X 81 - 3402 - 298715- 298715 10ten 51444959 51444959 разр да j-й  чейки (j 2.., m-1) j-ro столбца матрицы соединен с входом слагаемого (j-1)-й  чейки (i+1)- го столбца матрицы, выход младшего разр да j-й  чейки i-ro столбца соединен с входом множимого (3+1)-й  чейки i-ro столбца матрицы, вход множимого первой  чейки первого столбца матрицы и входы слагаемого всех  чеек первого столбца матрицы соединены с соответствующими информационными входами преобразовател , вход выбора основани  выходного кода которого соединен с входами выбора основани  выходного кода всех  чеек матрицы, входы множител  которых соединены с входом основани  входного кода, выход старшего разр да первой  чейки последней строки матрицы и выходы младших разр дов всех  чеек последней строки матрицы  вл ютс  выходом матрицы, отличающий15bit j-th cell (j 2 .., m-1) j-ro column of the matrix is connected to the input of the term (j-1) -th cell (i + 1) -th column of the matrix, the output of the lower bit j cells of the i-ro column are connected to the input of the multiplicative (3 + 1) -th cell of the i-ro column of the matrix, the input of the multiplicand of the first cell of the first column of the matrix and the inputs of the term of all the cells of the first column of the matrix are connected to the corresponding information inputs of the converter which is connected to the inputs of the selection of the base of the output code of all the cells of the matrix, the inputs of which are connected enes input code to an input of a base, yield significant bit of the first cell of the last row of the matrix and outputs low bits of all the cells of the last row of the matrix are output matrix otlichayuschiy15 из ds+i Ig однотипных  чеек, где Ig 8(m + 1)/п, 8 0,from ds + i Ig of the same type of cells, where Ig 8 (m + 1) / p, 8 0, г .j. -- g. - (n-1), n - число треугольных матриц, (п-1) блоков умножени  и многовходо вой сумматор, информационные выходы которого  вл ютс  информационными выходами преобразовател , вход выбора основани  выходного кода кото рого соединен с входами выбора основани  выходного кода всех блоков умножени , всех  чеек всех введенных треугольных матриц и .многовходового сумматора, перва  группа входов которого соединена соответственно с выходами первой треугольной матрицы, остальна  (п-1)-  группа входов мно- говходового сумматора соответственно соединена с группами выходов блоков 20 умножени , входы множимого которых соединены соответственно с выходами соответствующих треугольных матриц, входы множителей блоков умножени  всех блоков умножени  соединены с сос   тем, что, с целью повьшени  скорости преобразовани  в него дополни- 25 ответствующими ведовыми вхбдами пре- тельно введены (п-1)-  треугольна  образовател . матрица, кажда  из которых состоит(n-1), n is the number of triangular matrices, (p-1) multiplication blocks and a multi-input adder, whose information outputs are information outputs of the converter, the input selection of which output code base is connected to the input selectors of the output code of all multiplication blocks all cells of all entered triangular matrices and a multi-input adder, the first group of inputs of which is connected respectively to the outputs of the first triangular matrix, the rest (n-1) - a group of inputs of a multi-input adder respectively connected with The outputs of the multiplication units 20, whose multiplicative inputs are connected respectively to the outputs of the corresponding triangular matrices, the multiplicator inputs of the multiplication units of all multiplication units are connected with the fact that, in order to increase the conversion rate, additional 25 -1) - triangular form. each matrix consists of ФI I fiffiAFI I fiffiA QsQlSi OlQsQlSi Ol Фие . iPhie. i 00 49594959 1515 из ds+i Ig однотипных  чеек, где Ig 8(m + 1)/п, 8 0,from ds + i Ig of the same type of cells, where Ig 8 (m + 1) / p, 8 0, г .j. -- g. - (n-1), n - число треугольных матриц, (п-1) блоков умножени  и многовходо вой сумматор, информационные выходы которого  вл ютс  информационными выходами преобразовател , вход выбора основани  выходного кода кото рого соединен с входами выбора основани  выходного кода всех блоков умножени , всех  чеек всех введенных треугольных матриц и .многовходового сумматора, перва  группа входов которого соединена соответственно с выходами первой треугольной матрицы, остальна  (п-1)-  группа входов мно- говходового сумматора соответственно соединена с группами выходов блоков 20 умножени , входы множимого которых соединены соответственно с выходами соответствующих треугольных матриц, входы множителей блоков умножени  всех блоков умножени  соединены с со25 ответствующими ведовыми вхбдами пре- образовател . (n-1), n is the number of triangular matrices, (p-1) multiplication blocks and a multi-input adder, whose information outputs are information outputs of the converter, the input selection of which output code base is connected to the input selectors of the output code of all multiplication blocks all cells of all entered triangular matrices and a multi-input adder, the first group of inputs of which is connected respectively to the outputs of the first triangular matrix, the rest (n-1) - a group of inputs of a multi-input adder respectively connected with Rupp multiplying outputs of the units 20, multiplicand inputs of which are connected respectively to the outputs of the respective triangular matrices, blocks multipliers multiplying the inputs of all the blocks are connected to the multiplying so25 responsible Vedova vhbdami pre-forming. 99 г-1g-1 t 5,t 5, /5./five. 1 ГЗ1 GZ f f LL // 1one ,г5, g5 фиг.22
SU874251305A 1987-05-27 1987-05-27 Position code to large-base code converter SU1444959A1 (en)

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)

* Cited by examiner, † Cited by third party
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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР 526884, кл. Н 03 М 7/00, 1973. Авторское свидетельство СССР 1332537, кл. Н 03 М 7/00, 1985. *

Cited By (1)

* Cited by examiner, † Cited by third party
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