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

Position code to large base code converter Download PDF

Info

Publication number
SU732852A1
SU732852A1 SU772508755A SU2508755A SU732852A1 SU 732852 A1 SU732852 A1 SU 732852A1 SU 772508755 A SU772508755 A SU 772508755A SU 2508755 A SU2508755 A SU 2508755A SU 732852 A1 SU732852 A1 SU 732852A1
Authority
SU
USSR - Soviet Union
Prior art keywords
bit
register
elements
subtractor
code
Prior art date
Application number
SU772508755A
Other languages
Russian (ru)
Inventor
Олег Владимирович Викторов
Алексей Михайлович Романкевич
Татьяна Евгеньевна Файдова
Original Assignee
Киевский Ордена Ленина Политехнический Институт Им.50-Летия Великой Октябрьской Социалистической Революции
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 Киевский Ордена Ленина Политехнический Институт Им.50-Летия Великой Октябрьской Социалистической Революции filed Critical Киевский Ордена Ленина Политехнический Институт Им.50-Летия Великой Октябрьской Социалистической Революции
Priority to SU772508755A priority Critical patent/SU732852A1/en
Application granted granted Critical
Publication of SU732852A1 publication Critical patent/SU732852A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Description

Изобретение относится к автоматике и цифровой вычислительной технике и может быть использовано при построении преобразователей позиционных кодов с одним произвольным основанием в коды с любым другим большим основанием. 5 The invention relates to automation and digital computer technology and can be used to construct positional code converters with one arbitrary base to codes with any other large base. 5

Известен преобразователь двоичного кода в код с любым другим основанием, содержащий пирамидальные сумматоры значений всех разрядов числа с новым основанием, при этом число разрядов первого сумматора, на котором выделяется младший разряд числа с новым основанием, равно разрядности преобразуемого двоичного числа [1] . , 5 A known converter of binary code to code with any other base, containing pyramidal adders of the values of all bits of a number with a new base, while the number of bits of the first adder, on which the least significant bit of a number with a new base is allocated, is equal to the digit capacity of the converted binary number [1]. 5

Недостатком этого преобразователя являются большие аппаратные затраты.The disadvantage of this converter is the high hardware costs.

. Наиболее близким по технической сущности и схемному решению является преобразователь кода в код с большим осно- м ванием, содержащий регистр, двухразрядный вычитатель, блок управления, блок умножения на константу, вход которого соединен с выходом К-ого разряда регистра (где К - число разрядов преобразуемого кода) и с первым входом двухразрядного вычитателя, второй вход которого соединен с выходом (К—1)—ого разряда регистра, выходы блока умножения на константу соединены соответственно с третьим и четвертым входами двухразрядного вычитателя, Кроме того, преобразователь содержит группу элементов И для сдвига кода в регистре [2].. The closest in technical essence and the schematic is the code converter to the code with a large m based vaniem comprising a register, two-bit subtracter, a control unit, a multiplication by a constant, whose input is connected to the output of register K-th bit (where K is - the number of discharges code to be converted) and with the first input of a two-bit subtractor, the second input of which is connected to the output of the (K – 1) -th bit of the register, the outputs of the constant multiplication unit are connected to the third and fourth inputs of the two-bit subtract, respectively For, in addition, the converter contains a group of AND elements for shifting code in the register [2].

Недостатком преобразователя' является относительно низкое быстродействие, В нем преобразование К-раэрядного числа осуществляется за 2 К (К—2) + 1 тактов.The disadvantage of the converter is a relatively low speed. In it, the conversion of a K-row number is carried out in 2 K (K — 2) + 1 clock cycles.

Цель изобретения - увеличение скорости преобразования.The purpose of the invention is to increase the conversion rate.

Это достигается тем, что преобразователь содержит первый, второй, третий и четвертый элементы И, первый и второй . элементы ИЛИ, выходы которых соединены соответственно с входами К-ого и первого разрядов регистра, первые 'входы элементов ИЛИ соединены соответственно с выходами первого и второго элементовThis is achieved by the fact that the converter contains the first, second, third and fourth elements And, the first and second. OR elements whose outputs are connected respectively to the inputs of the Kth and first bits of the register, the first 'inputs of OR elements are connected respectively to the outputs of the first and second elements

И, а вторые входы — с выходами третьего и четвертого элементов И соответственно, выходы старшего и младшего разрядов двухразрядного вычитателя соединены соответственно с первыми входами первого и второго элементов И, вторые входы которых соединены с первым выходом блока управления, выходы К-ого и (К-1)-ого разрядов регистра соединены соответственно с первыми входами третьего и четвертого элементов И, вторые входы которых соединены с вторым выходом блока управления.And, and the second inputs - with the outputs of the third and fourth elements And, respectively, the outputs of the senior and younger bits of a two-bit subtractor are connected respectively to the first inputs of the first and second elements And, the second inputs of which are connected to the first output of the control unit, the outputs of the Kth and (K -1) th bits of the register are connected respectively with the first inputs of the third and fourth elements And, the second inputs of which are connected to the second output of the control unit.

На фиг. 1 изображена блок-схема предлагаемого устройства; на фиг, 2 - диаграммы управляющих сигналов, вырабатываемые блоком управления устройства при преобразовании четырехразрядных кодов.In FIG. 1 shows a block diagram of the proposed device; in Fig.2 - diagrams of control signals generated by the control unit of the device when converting four-digit codes.

Преобразователь кода содержит К-разрядный R-ичный регистр 1, где X основание системы счисления, в которую переводится код, двухразрядный вычитатель 2, блок 3 умножения на константу, четыре элемента И 4, 5, 6, 7, блок 8 управления. Выход старшего (К-ого) разряда 9 регистра 1 соединен с входами блока 3 умножения на константу и младшим разрядом 10 вычитателя 2. Выход (К-1)-ого разряда 11 регистра 1 подключен к второму входу 12 вычитателя 2. Выход старшего разряда 10 вычитателя 2 через первый элемент И 4 и элемент ИЛИ 13 связан с входом младшего разряда регистра. Выход младшего разряда 12 вычитателя через второй элемент И 5 и элемент ИЛИ 14 объединен с входом первого старшего разряда 9 регистра 1. Выход разряда 9 через третий элемент И 6 подключен к младшему разряду регистра. Выход разряда 11 соединен через четвертый элемент И 7 с разрядом 9 регистра 1. Блок 8 управления связан по шине 15 с элементами 6, 7, а по шине 16 с элементами 5, 4.The code converter contains a K-bit R-ary register 1, where X is the base of the number system into which the code is translated, a two-digit subtracter 2, a constant multiplication unit 3, four AND 4, 5, 6, 7 elements, and a control unit 8. The output of the senior (K-th) bit 9 of register 1 is connected to the inputs of the block 3 of constant multiplication and the least significant bit 10 of subtractor 2. The output of the (K-1) -th bit 11 of register 1 is connected to the second input 12 of the subtracter 2. The output of the senior bit 10 subtractor 2 through the first element AND 4 and the element OR 13 is connected to the input of the least significant bit of the register. The output of the low order bit 12 of the subtractor through the second AND element 5 and the OR element 14 is combined with the input of the first high order bit 9 of register 1. The output of the bit 9 through the third element And 6 is connected to the low order bit of the register. The output of discharge 11 is connected through the fourth element And 7 to the discharge 9 of register 1. The control unit 8 is connected via bus 15 with elements 6, 7, and via bus 16 with elements 5, 4.

Работа преобразователя рассматривается на примере преобразования К - разрядных кодов при К = 4.The operation of the converter is considered on the example of the conversion of K - bit codes at K = 4.

Все схемы, входящие в состав устройства, предназначены для работы с кодами чисел в системе счисления с тем основанием, с которым необходмо получить результат; К - разрядный код целого числа, которое необходимо преобразовать, помешают в регистр 1. Код цифры, хранящейся в разряде 9 регистра 1, поступает на блок 3, где происходит умножение на константу, равную разности основан^ систем счисления. На вычитателе 2 из двух старших разрядов кода числа, поступающих на регистр 1, вычитается код числа, поступающий с выходов блока 3.All circuits that are part of the device are designed to work with number codes in the number system with the basis with which you need to get the result; K - the bit code of the integer that needs to be converted will be prevented from register 1. The code of the digit stored in bit 9 of register 1 is sent to block 3, where multiplication by a constant equal to the difference of the number systems is performed. On the subtractor 2, the number code from the outputs of block 3 is subtracted from the upper two bits of the number code entering register 1.

На первых трех тактах из блока 8 по шине 16 на элементы И 4, 5 подается разрешающий потенциал, вследствие чего код разности с выхода вычитателя 2 записывается в регистр 1 таким образом, что содержимое старшего разряда 10 вычитателя 2 записывается в младший разряд регистра 1, а содержимое разряда 12 вычитателя 2 записывается в старший разряд регистра 1.In the first three clock strokes from block 8, bus 16 is applied to the elements And 4, 5 to enable elements 4, 5, as a result of which the difference code from the output of the subtracter 2 is written into register 1 so that the contents of the upper digit 10 of the subtractor 2 are written to the least significant bit of register 1, and the contents of bit 12 of the subtracter 2 are recorded in the high bit of register 1.

На четвертом такте на элементы И 6, из блока 8 управления по шине 15 поступает разрешающий сигнал, в результате чего происходит сдвиг содержимого регистра 1 на один разряд влево, при этом код, хранящийся в старшем разряде 9 регистра 1, переписывается в младший разряд, а код, хранящийся в разряде 11, записывается в разряд 9 регистра 1.In the fourth cycle, the And signals, from the control unit 8, are sent via bus 15 from the control unit 8, as a result of which the contents of register 1 are shifted by one bit to the left, while the code stored in the high order 9 of register 1 is rewritten to the low order, and the code stored in bit 11 is recorded in bit 9 of register 1.

На пятом и шестом тактах из блока поступает по шине 15 управляющий сигнал на элементы И 6, 7, а на седьмом и восьмом тактах управляющий сигнал по шине 16 поступает на элементы И 4, 5.At the fifth and sixth clock strokes, a control signal is sent to busbars 15 and 7 via elements 15, and at the seventh and eighth clocks a control signal is sent to busbars 16 and 5 via elements 16, 5.

На (К-1) -ом такте в регистре 1 получается код числа с новым основанием системы счисления.On the (K-1) -th step in register 1, a number code is obtained with a new base of the number system.

Алгоритм преобразования построен таким образом, что на каждых К шагах (начиная с первого) последовательно обрабатываются К-1, К-2 и т.д. разрядов преобразуемого числа. Последующие К-(К-1), К-(К-2) и т.д. разряды промежуточного результата преобразования остаются без изменения.The conversion algorithm is constructed in such a way that at every K steps (starting from the first), K-1, K-2, etc. are sequentially processed. digits of the converted number. Subsequent K- (K-1), K- (K-2), etc. bits of the intermediate result of the conversion remain unchanged.

При 6*3=18 At 6 * 3 = 18 мер. Перевести measures. Translate <6012>п 10-7=3 6612 “ 18<6012> n 10-7 = 3 6612 “18 —ϊ <х> —Ϊ <x> 10 10 8124 8124 запись record со with сдвигом a shift 8*3=2 4 8 * 3 = 2 4 8124 ~ 24 8124 ~ 24 запись record со with сдвигом a shift 7245 7245 7*3=21 7 * 3 = 21 7245 7245 21 21 зап ись log in со with сдвигом a shift 1455 1455 1455 1455 0 0 сдвиг shift 4551 4551 ,4*3=12 , 4 * 3 = 12 4551 12 4551 12 запись record со with сдвигом a shift

3513 3*3 = 9 __3513 запись co сдвигом3513 3 * 3 = 9 __3513 record with a shift

61326132

-6132-6132

ОсдвигOsdvig

1326 _1326 О сдвиг101326 _1326 About shift 10

32613261

3*3 = 9_3261 запись со сдвигом3 * 3 = 9_3261 record with shift

36 Г1536 g15

На временной диаграмме управляющих сигналов (фиг, 2), которые формируются блоком 8 управления, показано, что на первых четырех тактах (К=4) коды разрядов поступают на двухразрядный вычи- 20 татель 2 и блок умножения 3 (т.е. осуществляются арифметические операции над. кодами разрядов) только на первых трех тактах и четырех, управляющие сигналы с блока управления 8 на этих тактах25 поступают на тактовую шину 16. На следующем такте (четвертом) управляющий сигнал поступает на шину 15, т.е. осуществляется только сдвиг промежуточного результата перевода без арифметической 30 обработки разрядов. На следующих четырех тактах (5-8) сигналы с блока управления на шину 15 поступают уже дважды (на 7 и 8 тактах), т.е. осуществляется Два сдвига без арифметической обработки 35 и т.д. Следовательно, количество 'повторных' сдвигов определяется алгоритмом перевода и равно 1’ (где i — номер цикла перевода).On the timing diagram of the control signals (FIG. 2), which are generated by the control unit 8, it is shown that in the first four clock cycles (K = 4) the bit codes are sent to a two-bit subtractor 2 and a multiplication unit 3 (i.e., arithmetic operations on the bit codes) only on the first three clocks and four, the control signals from the control unit 8 on these clocks25 are fed to clock bus 16. At the next clock (fourth), the control signal is sent to bus 15, i.e. only the intermediate result of the translation is shifted without arithmetic processing of the digits. In the next four clock cycles (5-8), signals from the control unit to bus 15 are received twice already (in 7 and 8 clock cycles), i.e. Two shifts are carried out without arithmetic processing 35, etc. Therefore, the number of 'repeated' shifts is determined by the translation algorithm and is equal to 1 ’(where i is the number of the translation cycle).

Предлагаемый преобразователь облада- 40 ет более высоким быстродействием по сравнению с известными устройствами. Он осуществляет перевод К-разрядного числа за (К-1) 2тактов, в то время как известное устройство переводит К—разрядное число за 2К (К-2)+1 тактов. Например, 12-разрядный код устройство-прото тип переводит за 241 такт, а предлагаемый преобразователь за 121 такт.The proposed converter has 40 higher speed compared to known devices. It translates a K-bit number in (K-1) 2 cycles, while the known device translates a K-bit number in 2K (K-2) +1 clock cycles. For example, a 12-bit code prototype device translates in 241 clock cycles, and the proposed converter in 121 clock cycles.

Claims (3)

И, а вторые входы - с выходами третьего и четвертого элементов И соответственно , выходы старшего и младшего разр дов двухразр дного вычитател  соедине ны соответственно с первыми входами первого и второго элементов И, вторые входы которых соединены с первым выхо дом блока управлени , выходы К-ого и (K-l)-oro разр дов регистра соединены соответственно с первыми входами треть го и четвертого элементов И, вторые вхо ды которых соединены с вторым выходом блока управлени . На фиг. 1 изображена блок-схема пре лагаемого устройства; на фиг. 2 - диаграммы управл ющих сигналов, вырабаты ваемые блоком управлени  устройства при преобразовании четырехразр дных кодов. Преобразователь кода содержит К-раз р дный R-ичный регистр 1, где К основание системы счислени , в которую переводитс  код, двухразр дный вычитатель 2, блок 3 умножени  на константу, четыре элемента И 4, 5, 6, 7, блок 8 управлени . Выход старшего (К-ого) разр да 9 регистра 1 соединен с входами блока 3 умножени  на константу и младшим разр дом 10 вычитател  2. Выход (K-l)-oro разр да 11 регистра 1 подклю чен к второму входу 12 вычитател  And, and the second inputs - with the outputs of the third and fourth elements And, respectively, the outputs of the high and low bits of the two-bit subtractor are connected respectively to the first inputs of the first and second elements And, the second inputs of which are connected to the first output of the control unit, the outputs K- The first and (Kl) -oro register bits are connected respectively to the first inputs of the third and fourth AND elements, the second inputs of which are connected to the second output of the control unit. FIG. 1 shows a block diagram of the device; in fig. 2 shows control signal diagrams produced by the device control unit when converting four-digit codes. The code converter contains a K-time regular R-ary register 1, where K is the base of the number system into which the code is transferred, a two-bit subtractor 2, a block 3 multiplying by a constant, four elements AND 4, 5, 6, 7, block 8 controls . The output of the higher (K-th) bit 9 of register 1 is connected to the inputs of the block 3 multiplying by a constant and the younger bit 10 of the subtractor 2. The output (K-l) -oro of the bit 11 of the register 1 is connected to the second input 12 of the subtractor 2. Выход старшего разр да 10 вычитател  2 через первый элемент И 4 и элемент ИЛИ 13 св зан с входом младшего разр да регистра. Выход младшего разр да 12 вычитател  через второй элемент И 5 и элемент ИЛИ 14 объединен с входом первого старшего разр да 9 регистра 1. Выход разр да 9 через третий элемент И 6 подключен к младшему разр ду регистра . Выход разр да 11 соединен через четвертый элемент И 7 с разр дом 9 регистра 1. Блок 8 управлени  св зан по шине 15 с элементами 6, 7, а по шине 16 с элементами 5, 4. Рабрта преобразовател  рассматривает с  на Ьримере преобразовани  К - разр  ных кодов при К 4. Все схемы, вход щие в состав устрой ства, предназначены дл  работы с кодами чисел в системе счислен.и  с тем основанием , с которым необходмо получить результат; К - разр дный код целого числа , которое необходимо преобразовать, помешают в регистр 1. Код цифры, хран щейс  в разр де 9 регистра 1, поступает на блок 3, где происходит умножение на константу, равную разности оснований систем счислени . На вычитателе 2 из двух старших разр дов кода числа, поступающих на регистр 1, вычитаетс  код числа , поступающий с выходов блока 2. The output of the high-order bit 10 of the subtractor 2 is through the first element AND 4 and the element OR 13 is connected with the input of the lower-order bit of the register. The output of the low bit 12 of the subtractor is through the second element And 5 and the element OR 14 is combined with the input of the first high bit 9 of the register 1. The output of the bit 9 through the third element And 6 is connected to the low bit of the register. The output of bit 11 is connected through the fourth element And 7 with the bit 9 of register 1. The control block 8 is connected via bus 15 with elements 6, 7, and through bus 16 with elements 5, 4. The conversion is considered by the converter K - different codes at K4. All the schemes included in the device are designed to work with codes of numbers in the number system and with the basis with which the result should be obtained; K - the digit code of the integer number that needs to be converted is interfered with register 1. The digit code stored in bit 9 of register 1 enters block 3, where multiplication takes place by a constant equal to the difference of the bases of the number systems. On the subtractor 2 of the two high-order bits of the number code entering register 1, the code of the number coming from the block outputs is subtracted 3. На первых трех тактах из блока 8 по шине 16 на элементы И 4, 5 подаетс  разрешающий потенциал, вследствие чего код разности с выхода вычитател  2 записываетс  в регистр 1 таким образом, что содержимое старшего разр да 10 вы- читател  2 записываетс  в младший разр д регистра 1, а содержимое разр да 12 вычитател  2 записываетс  в стар1лий разр д регистра 1. На четвертом такте на элементы И 6, 7из блока 8 управлени  по шине 15 поступает разрешающий сигнал, в результате чего происходит сдвиг содержимого регистра 1 на один разр д влево, при этом код, хран щийс  в старшем разр де 9 регистра 1, переписываетс  в младший разр д , а код, хран щийс  в разр де 11, записываетс  в разр д 9 регистра 1. На п том и шестом тактах из блока 8поступает по шине 15 управл ющий сигнал на элементы И 6, 7, а на седьмом и восьмом тактах управл ющий сигнал по шине 16 поступает на элементы И 4, 5. На (К-1) -ом такте в регистре 1 получаетс  код числа с новым основанием системы счислени . Алгоритм преобразовани  построен таким образом, что на каждых К шагах (начина  с первого) последовательно обрабатываютс  К-1, К-2 и т.д. разр дов преобразуемого числа. Последующие К-(К-1), К-(К-2) и т.д. разр ды промежуточного результата преобразовани  остаютс  без изменени . Пример. ПереЕ1ести - 6612 запись со сдвигом запись со сдвигом 7245 7245 21 запись со сдвигом 1455 О . запись со cnBKTOt.. 3513 9 3513 О9 запись со сдвигом 6132 .6132 О 1326 .1326 3261 9 09 запись со сдвигом 2361 На временной диаграмме управл ющих сигналов (фиг, 2), которые формируютс  блоком 8 управлени , показано, что на первых четырех тактах () коды разр дов поступают на двухразр дный вычитатель 2 и блок умножени  3 (т,е, осуществл ютс  арифметические .операции над Годами разр дов) только на первых трех тактах и четырех, управл ющие сигналы с блока управлени  8 на этих такта поступают на тактовую шину 16, На след ющем такте (четвертчзм) управл ющий сигнал поступает на шину 15, т,е, осуществл етс  только сдвиг промежуточног результата перевода без арифметической обработки разр дов. Ни следующих четырех тактах (5-8) сигналы с блока управ лени  на щину 15 поступают уже дважды (на 7 и 8 тактах), т,е, осуществл етс  Два сдвига без арифметической обработки и т,д. Следовательно, количество повтор ных сдвигов определ етс  алгоритмом перевода и равно i (где i - номер цикла перевода). Предлагаемый преобразователь облада ет более высоким быстродействием по сравнению с известными устройствами. Он осуществл ет перевод К-разр дного числа за (К-1) тактор, в то врем  как известное устройство переводит К-разр дное число за 2К (К-2)+1 тактов. Напри мер, 12-разр дный код устройство-прото 7 24 тип переводит за 241 такт, а предлагаемый преобразователь за 121 такт. Формула изобретени  Преобразователь позиционного кода в код с большим основанием, содержащий регистр, двухразр дный вычитатель, блок управлени , блок умножени  на константу , вход которого соединен с выходом К-ого разр да регистра (где К - число разр дов преобразуемого кода) и с пер вым входом двухразр дного вычитател , второй вход которого соединен с выходом (K-l)-oro разр да регистра, выходы блока умножени  на константу соед1шены соответственно с третьим и четвертым входами двухразр дного вычитател , отличающийс  тем, что, с целью уве- личени  скорости преобразовани , он со- держит первый, второй, третий и четвертый элементы И, первый и второй элементы ИЛИ, выходы которых соединены соответственно с входами К-ого и первого разр дов регистра, первые входы элементов ИЛИ соединены соответственно с выходами первого и второго элементов И, а вторые входы - с выходами третьего и четвертого элементов И соответственно, выходы старшего и младшего разр дов двухразр дного вычитател  соединены соответственно с первыми входами первого и второго элементов И| вторые входы которых соед1шены с первым входом блока управлени , выходы К-ого и (K-l)-oro разр дов регистра соединены соответственно с первыми входами третьего и четвертого элементов И, вторые входы которых соединены с вторым выходом блока управлени . Источники информации, прин тые во внимание при экспертизе 1,Авторское свидетельство СССР № 315176, кл. G 06 F 5/02, 1970, 2,Авторское свидетельство СССР NO 485444, кл. G Об F 5/О2, 1974.3. In the first three clock cycles of block 8, the resolving potential is applied to the elements I 4, 5 through the bus, resulting in the difference code from the output of the subtractor 2 being written to register 1 so that the contents of the high bit 10 of the subtractor 2 are written to the youngest register bit 1, and the contents of bit 12 of subtractor 2 are recorded in the start bit of register 1. In the fourth clock cycle, the enable signal is sent to elements 6, 7 of control unit 8 via bus 15, resulting in a shift of register 1 by one bit d to the left, with the code stored Ice in the higher bit of 9 register 1 is rewritten to the lower bit, and the code stored in bit 11 is written to the bit 9 of register 1. At the fifth and sixth cycles from block 8, the control signal to the elements And 6, 7, and at the seventh and eighth cycles, the control signal on bus 16 goes to elements AND 4, 5. At (K-1) cycle in register 1, a number code is obtained with a new base of the number system. The transformation algorithm is constructed in such a way that K-1, K-2, etc. are sequentially processed at every K steps (starting from the first). bits of the number to be converted. Subsequent K- (K-1), K- (K-2), etc. the bits of the intermediate result of the transformation remain unchanged. Example. Move - 6612 record with shift record with shift 7245 7245 21 record with shift 1455 О. recording with cnBKTOt .. 3513 9 3513 O9 recording with offset 6132 .6132 О 1326 .1326 3261 9 09 recording with offset 2361 In the timing diagram of the control signals (FIG. 2), which are formed by control unit 8, it is shown that in the first four ticks () the bit codes are fed to the two-bit subtractor 2 and multiplier 3 (t, e, arithmetic operations over the years of bits are performed) only in the first three cycles and four, the control signals from the control unit 8 are received on these cycles on the clock bus 16. In the following clock cycle (quarter), the control signal arrives at bus 15, t, e, only the intermediate result of the translation is shifted without arithmetic processing of the bits. For the next four cycles (5-8) signals from the control unit to the bar 15 are already received twice (at 7 and 8 cycles), t, e, Two shifts without arithmetic processing are performed, and t, e. Consequently, the number of repeat shifts is determined by the translation algorithm and is i (where i is the number of the translation cycle). The proposed converter is faster than the known devices. It translates the K-bit number per (K-1) tactor, while the known device translates the K-bit number in 2K (K-2) +1 clock cycles. For example, the 12-bit code of the device-proto 7 type translates into 241 cycles, and the proposed converter into 121 cycles. Claims of the position code to a large base code containing a register, a two-bit subtractor, a control unit, a block multiplied by a constant, the input of which is connected to the output of the K-th register bit (where K is the number of bits of the code being converted) and the two-bit subtractor's input input, the second input of which is connected to the (Kl) -oro register bit output, the outputs of the multiplication unit by a constant are connected, respectively, to the third and fourth inputs of the two-bit subtractor, characterized in that At the conversion rate, it contains the first, second, third and fourth elements AND, the first and second elements OR, the outputs of which are connected respectively to the inputs of the Kth and first bits of the register, the first inputs of the elements OR are connected respectively to the outputs of the first and second elements And, and the second inputs - with the outputs of the third and fourth elements And, respectively, the outputs of the high and low bits of the two-bit subtractor are connected respectively with the first inputs of the first and second elements And | the second inputs of which are connected to the first input of the control unit, the outputs of the K-th and (K-l) -oro register bits are connected respectively to the first inputs of the third and fourth And elements, the second inputs of which are connected to the second output of the control unit. Sources of information taken into account in the examination 1, USSR Author's Certificate No. 315176, cl. G 06 F 5/02, 1970, 2, USSR Author's Certificate NO 485444, cl. G About F 5 / O2, 1974. UJUj лl иand ±1± 1 {.{. ТактовыеClock П П П П П П ri ПP p p p p p p p ri p itMne/fibCblitMne / fibCbl inn П Пinn P P 1i1i 1414 J I .Г J i .g 15 i615 i6 Фиг 1Fig 1 nn П ПA nn Фиг. 2FIG. 2
SU772508755A 1977-07-18 1977-07-18 Position code to large base code converter SU732852A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU772508755A SU732852A1 (en) 1977-07-18 1977-07-18 Position code to large base code converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU772508755A SU732852A1 (en) 1977-07-18 1977-07-18 Position code to large base code converter

Publications (1)

Publication Number Publication Date
SU732852A1 true SU732852A1 (en) 1980-05-05

Family

ID=20718494

Family Applications (1)

Application Number Title Priority Date Filing Date
SU772508755A SU732852A1 (en) 1977-07-18 1977-07-18 Position code to large base code converter

Country Status (1)

Country Link
SU (1) SU732852A1 (en)

Similar Documents

Publication Publication Date Title
SU732852A1 (en) Position code to large base code converter
KR920006843A (en) Semiconductor computing device
US2973511A (en) Code converter
SU662935A1 (en) Conveyer-type device for simultaneously performing arithmetic operations on a set of n-digit numbers
SU1545329A1 (en) Code form converter
SU549801A1 (en) Device for converting binary to decimal code to binary
SU581469A1 (en) Code-to-code with greater basis converter
RU1774328C (en) Decimal numbers divider
SU734669A1 (en) Converter of proper binary fraction into binary-decimal fraction and integer binary-decimal numbers into binary numbers
SU1662004A1 (en) Binary coded decimal to binary translator
SU526884A1 (en) Code converter
SU779998A1 (en) Code converter
SU494744A1 (en) Binary decimal to binary converter
SU734670A1 (en) Binary-decimal-to-binary code converter
SU1283979A1 (en) Binary-coded decimal code-to-binary code converter
SU809150A1 (en) Binary-to-bcd converter
SU1631554A1 (en) Device for computing fourier-galoiz transform
SU132434A1 (en) The method of converting binary code to decimal and device for its implementation
SU1557683A1 (en) Device for conversion of number from position code to residue class system number
SU424142A1 (en) DEVICE COMPARISON OF TWO NUMBERS IN DIGITAL CODE
SU860055A1 (en) Converter of bcd numbers in 4,2,2,1 code to binary numbers
SU839046A1 (en) Analogue-digital converter
SU1495825A1 (en) Device for extracting square root from sum of squares of two values
SU1125621A1 (en) Translator from binary system to residual class system
SU614435A1 (en) Counting device