SU1348823A1 - Device for shifting sequential numbers in redundant code - Google Patents

Device for shifting sequential numbers in redundant code Download PDF

Info

Publication number
SU1348823A1
SU1348823A1 SU864076285A SU4076285A SU1348823A1 SU 1348823 A1 SU1348823 A1 SU 1348823A1 SU 864076285 A SU864076285 A SU 864076285A SU 4076285 A SU4076285 A SU 4076285A SU 1348823 A1 SU1348823 A1 SU 1348823A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
inputs
coding
register
Prior art date
Application number
SU864076285A
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 SU864076285A priority Critical patent/SU1348823A1/en
Application granted granted Critical
Publication of SU1348823A1 publication Critical patent/SU1348823A1/en

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано при построении блоков хранеФив . I ни , сдвига и нормализации в системах , работающих с плавающей зап той и избыточных системах счислени . Целью изобретени   вл етс  расширение функциональных возможностей за счет выполнени  нормализации. Поставленна  цель достигаетс  тем, что в устройство дл  сдвига последовательных чисел в избыточном коде, состо щее из разр дных  чеек 2, кажда  из которых содержит регистр 3, элементов И 5, 10, элемента ИЛИ 7, счетчика 8 и триггера 9, введены элемент ИЛИ-НЕ 6, элемент И 11, а кажда  разр дна   чейка 2 содержит преобра- зователь 4 из вспомогательного кодировани  в основное кодирование. 2 ил. (ЛThe invention relates to computing and can be used in the construction of storage units. I, shift and normalization in systems operating with floating point and redundant number systems. The aim of the invention is to enhance the functionality by performing normalization. This goal is achieved by the fact that the device for shifting consecutive numbers in the redundant code, consisting of bit cells 2, each of which contains a register 3, elements AND 5, 10, element OR 7, counter 8 and trigger 9, introduces the element OR - NOT 6, element 11 and 11, and each bit of cell 2 contains a converter 4 from the auxiliary encoding to the basic encoding. 2 Il. (L

Description

Изобретение относитс  к вычислительной технике и может быть использовано при построении блоков хранени , сдвига и нормализации в системах , работающих с плавающей зап той, и в избыточных системах считывани .The invention relates to computing and can be used in the construction of storage units, shear and normalization in systems operating with a floating point, and in redundant reading systems.

Целью изобретени   вл етс  расширение функциональных возможностей за счет выполнени  нормализации.The aim of the invention is to enhance the functionality by performing normalization.

На фиг. 1 представлена схема устройства дл  сдвига последовательных чисел в избыточном коде; на фиг. 2 - схема преобразовател  числа из вспомогательного кодировани  в основное кодирование.FIG. 1 shows a device for shifting consecutive numbers in a redundant code; in fig. 2 shows a scheme for converting a number from auxiliary encoding to basic encoding.

Устройство (фиг. 1) содержит информационный вход 1 устройства, разр дные  чейки 2, кажда  из которыхThe device (Fig. 1) contains information input 1 of the device, bit cells 2, each of which

вертичной избыточной системой счислени , в которой дл  представлени  любой цифры отводитс  три двоичных разр да (-2 1.10, -1 --1.11, О 0.00, 1 f-O.OI, 2 0.10, 3 .ll). Поэтому в  чейках 2 используютс  трехразр дные регистры и информационные вход/выход, есть группа 0 их 3-х входов/выходов. Режим нормализации заключаетс  в исключении нулевых старших разр дов. Зап та  фиксируетс  перед самым старшим разр дом. Знакового разр да нет. 15 Знак определ етс  знаком старшейa vertical redundant numeral system in which three binary bits are assigned to represent any digit (-2 1.10, -1 -1.11, O 0.00, 1 f-O.OI, 2 0.10, 3 .ll). Therefore, cells 2 use three-bit registers and information input / output, there is a group 0 of their 3 inputs / outputs. The normalization mode is to exclude zero high bits. Zap is fixed before the most senior bit. Signed yes no. 15 The sign is determined by the sign of the highest

цифры. Например, число (, 1.11 0.11 0.10),ц (0,Т 3 2 (-0,002).numbers. For example, the number (, 1.11 0.11 0.10), c (0, T 3 2 (-0.002).

Нормализаци  осуществл етс  подачей потенциала на вход 16. Причем содержит регистр 3 и преобразоплтель 20 нормализаци  выполн етс  как над 4 числа из вспомогательного кодировани  числами, хранимыми в устройстве, так в основное кодирование, элемент II 5, элемент ШЖ-НЕ 6, элемент ИЛИ 7, счетчик 8, триггер 9, элементы И 10, 11, вход 12 величины сдвига устройст- 25 ва, входы 13-16 режимов сдвига, считывани , установки, нормализации устройства , тактовый вход 17 и выход 18 устройства.Normalization is carried out by applying the potential to input 16. Moreover, it contains register 3 and converter 20 normalization is performed on both 4 numbers from the auxiliary coding by numbers stored in the device, as well as to the main coding, element II 5, element ШЖ-НЕ 6, element OR 7 , counter 8, trigger 9, elements AND 10, 11, input 12 of the device shift magnitude 25, inputs 13-16 of the shift, read, set, normalize device modes, clock input 17 and device output 18.

Преобразователь 4 числа из вспомо- 30 один разр д. Действительно, как гательного кодировани  в основное ко- известно, число в избыточной системе дирование (фиг. 2) содержит элеменгм счислени  после выполнени  каких-либоConverter 4 is a number from auxiliary 30 one-bit. Indeed, as a good coding into a basic code, a number in a redundant system (Fig. 2) contains the numbering element after performing any

операций формируетс  в кодировании (-2, -1, О, 1, 2, 3). При нормализа- .1, ции необходимо перевести число в основное кодирование, так как выполнение некоторых операций, таких как деление, вычисление обратной величины , необходимо вести во вспомога- 40 тельном кодировании. Тогда, если в старших разр дах сто т максимальные цифры, то из них об зательно возникает перенос. Например, - 33231 1,OOTTl (черта над цифрой означает, 45 что данна  цифра беретс  со знаком минус).operations are generated in coding (-2, -1, O, 1, 2, 3). During normalization, it is necessary to translate the number into the basic coding, since the execution of some operations, such as division, calculation of the reciprocal, must be carried out in auxiliary coding. Then, if the highest digits are maximal digits, then a transfer necessarily occurs from them. For example, - 33231 1, OOTTl (a bar over the digit means 45 that the digit is given with a minus sign).

и над вновь записываемыми. Как в первом , так и втором случае нормализаци  протекает практически одинаково.and above the newly recorded. Both in the first and second cases, the normalization proceeds almost equally.

Рассмотрим первый случай.Consider the first case.

Записанное число занимает п-1 раз - р д, старший п разр д свободен. Это необходимо с той целью, что нормализованное число может увеличитьс  наThe recorded number takes n-1 times - p d, the senior n-bit is free. This is necessary with the intention that the normalized number can be increased by

И-ИЛИ 19-23 и реализует следующие булевы выра;кени :AND-OR 19-23 and implements the following boolean expressions; Keny:

п: хГх n: hGh

., V п- п; х., V p-p; x

о - t - - 4tabout - t - - 4t

V п XX i 2 J V p XX i 2 J

. .

-t-l --t-l

vn;vn;

x x vn; npxjvn x x vn; npxjvn

П P

+1 - +1 -

3 V П,3 V P,

n,x,v П, x;.n, x, v, x ;.

Преобразование в основное кодирование осуществл етс  при записи числа с помощью преобразователей и  чеек 2.The conversion to basic coding is performed by recording the number with converters and cells 2.

VП ,X, X 2 VИ Х ,  VП, X, X 2 VИ X,

--И- -1 -k--I- -1

П, X,.  P, X ,.

Устройство работает следующим образом .The device works as follows.

В режиме хранени  управл ющие сигналы отсутствуют и информаци  запоминаетс  в регистрах 3  чеек 2. Устройство предназначено дл  работы с четНормализаци  осуществл етс  подачей потенциала на вход 16. Причем нормализаци  выполн етс  как над числами, хранимыми в устройстве, так In the storage mode, the control signals are missing and information is stored in the registers of the 3 cells 2. The device is designed to work with the fourth normalization by applying the potential to the input 16. Moreover, the normalization is performed both on the numbers stored in the device

и над вновь записываемыми. Как в первом , так и втором случае нормализаци  протекает практически одинаково.and above the newly recorded. Both in the first and second cases, the normalization proceeds almost equally.

Рассмотрим первый случай.Consider the first case.

Записанное число занимает п-1 раз - р д, старший п разр д свободен. Это необходимо с той целью, что нормализованное число может увеличитьс  наThe recorded number takes n-1 times - p d, the senior n-bit is free. This is necessary with the intention that the normalized number can be increased by

00

5five

Преобразование в основное кодирование осуществл етс  при записи числа с помощью преобразователей и  чеек 2.The conversion to basic coding is performed by recording the number with converters and cells 2.

Рассмотрим этот этап подробнее. Числа записываютс  в устройство, начина  со старших разр дов. Входы переноса первой  чейки подключены к нулю. Старший разр д, в нашем случае 3, записываетс  в регистр 3 первой  чейки 2. Это число поступает на преобразователь 4, где преобразуетс  вConsider this stage in more detail. Numbers are written to the device, starting with the higher bits. The first cell transfer inputs are connected to zero. The highest bit, in our case 3, is written to register 3 of the first cell 2. This number goes to converter 4, where it is converted to

двухразр дное число 11. Старший раз + 1 р д поступает на выход переноса П .a two-digit number, 11. The senior time + 1 series goes to the output of the transfer P.

а младший - на информационный выход  чейки (,11, т.е. хand the youngest - on the information output of the cell (, 11, i.e. x

в третью  чейку 1, так П , поступающий на входin the third cell 1, so P, coming to the input

х 1).x 1).

В следующем такте в первую  чейку 2 вновь записываетс  3, во вторую  чейку -1,. а как переносIn the next clock cycle, 3 is again recorded in the first cell 2, -1 in the second cell. what about transfer

преобразовател  4 второй  чейки 2, сразу переходит на ее информационный выход. Таким образом, во втором такте в устройстве записано 1 Т 3. На выходе первой  чейки 2 формируетс  число 1 1. Перенос П 1, на вход преобразовател  4 второй  чейки 2 поступают 1 с выхода регистра 3 и 1 с входа переноса. На выходе преобразовател  4 второй  чейки 2 формируютс  00, а на выходе третьей  чейки 2 формируетс  число 01. Следова-- тельно,в третьем такте в устройстве запишетс  1012. Переноса нет. В четвертом такте имеем 10Т23. Перенос возникает из второй и третьей  чеек 2. В результате в п том такте в устройство запишетс  100111, так как число п тиразр дное, то запись прекращаетс . Начинаетс  нормализаци . Сигнал на входе 16 равен единице. Поэтому с выхода злемента ИЛИ 7 тактирующий сигнал может поступать на вход  чеек. Однако в силу того, что на выходе 18 сформирован значащий разр д, на выходе элемента ИЛИ-НЕ 6 формируетс  нулевой сигнал и тактирующа  сери  на  чейки не подаетс . В случае, если бы в старших разр дах были нули, то сери  поступала бы до тех пор, пока не встретитс  значащий разр д. Запись числа и нормализаци  фактически совпадают по значению, поэтому режим записи и нормализации совмещен.Converter 4 of the second cell 2, immediately goes to its information output. Thus, in the second cycle, 1 T 3 is recorded in the device. At the output of the first cell 2, the number 1 1 is formed. Transfer P 1, the input of the transducer 4 of the second cell 2 receives 1 from the register output 3 and 1 from the transfer input. At the output of the transducer 4, the second cell 2 is formed 00, and the output of the third cell 2 forms the number 01. Consequently, in the third cycle, 1012 is recorded in the device. There is no transfer. In the fourth cycle we have 10T23. The transfer arises from the second and third cells 2. As a result, in the fifth clock cycle, 100111 is recorded in the device, since the number is five-fold, the recording stops. Normalization begins. The signal at input 16 is equal to one. Therefore, the output of the element OR 7 clocking signal can be fed to the input cells. However, due to the fact that a significant bit is formed at the output 18, a zero signal is generated at the output of the OR-NOT 6 element and the clock series is not supplied to the cells. If there were zeros in the higher bits, the series would arrive until a significant bit was encountered. The number and normalization records actually coincide in meaning, therefore the recording and normalization modes are combined.

Считывание организуетс  подачей сигнала на вход 14 и тактирующей серии на вход 17.The reading is organized by applying a signal to input 14 and a clock series to input 17.

Режим сдвига. Этот режим предназначен дл  организации задержки выдачи числа по отношению к другому. Дл  зтого с входа 12 в счетчик 8 по сигналу на вхо 15 заноситс  число разр дов, на которы необходимо задержать выдачу числа, в дополнительном коде. Одновременно триггер 9 сбрасываетс  в нуль. Подаетс  сигнал на вход 13 устройства и тактирующа  сери . Счетчик 8 работае по тактовым импульсам с входа 17. При по влении через количество так- тов, равного величине сдвига, на егоShift mode This mode is intended to organize a delay in issuing a number relative to another. For this, from the input 12 into the counter 8, by the signal at the input 15, the number of bits for which it is necessary to delay the issue of the number is entered in the additional code. At the same time, trigger 9 is reset to zero. A signal is fed to the input 13 of the device and a clocking series. Counter 8 is working on clock pulses from input 17. When appearing through the number of clocks equal to the shift value,

00

00

выходе переполнени  импульса триггер 9 устанавливаетс  в единицу, разреша  прохождение тактовых сигналов через элементы И 10, ИЛИ 7 н тактовые входы  чеек 2.The pulse overflow output trigger 9 is set to one, allowing the passage of clock signals through the elements AND 10, OR 7 and the clock inputs of the cells 2.

Claims (1)

Формула изобретени Invention Formula Устройство дл  сдвига последовательных чисел в избыточном коде, содержащее п разр дных  чеек (п-1 - разр дность числа), кажда  из которых с одержит регистр, два элемента И, A device for shifting consecutive numbers in a redundant code, containing n bit cells (n − 1 - the number of digits), each of which contains a register, two AND elements, 5 элемент ИЛИ, счетчик и триггер, причем информационный вход устройства соединен с информационным входом регистра первой разр дной  чейки, тактовый вход устройства соединен с перQ выми входами первого и второго элементов И и со счетным входом счетчика , информационный вход которого соединен с входом величины сдвига устройства, вход режима установки5, the OR element, the counter and the trigger, the information input of the device connected to the information input of the first bit cell register, the clock input of the device connected to the first inputs of the first and second elements AND, and the counting input of the counter, the information input of which is connected to the device shift input installation mode input 5 которого соединен с входом разрешени  приема счетчика и с нулевым входом триггера, единичный вход и выход которого соединены соответственно с выходом счетчика и с вторым входом второго элемента И, третий вход которого и второй вход первого элемента И соединены соответственно с входами режимов сдвига и считывани  устройства , выходы первого и второго элементов И соединены соответственно с первым и вторым входами элемента ИЛИ, выход которого соединен с входами разрешени  приема регистров р зр д- ных  чеек с первой по п-ю, отличающеес  тем, что, с цельн расширени  функциональных возможностей за счет вы.юлнени  нормализации , оно содержит элемент ИЛИ-НЕ, третий элемент Нив каждой разр дной  чейке - преобразователь числа из вспомогательного кодировани  в основное кодирование, причем тактовый вход и вход режима нормализации устройство соединены соответст-: венно с первым и вторым входами третьего элемента И, третий вход и выход которого соединены соответственно с выходом элемента ИЛИ- НЕ и с третьим входом элемента ИЛИ, выход преобразовател  числа из вспомогательного кодировани  в основное кодирование К-й разр дной  чейки соединен с информационным входом регистра (К+1)-й разр дной  чейки5 of which is connected to the input of the reception of the counter and to the zero input of the trigger, the single input and the output of which are connected respectively to the output of the counter and to the second input of the second element And, the third input of which and the second input of the first element And are connected respectively to the inputs of the shift and read modes of the device , the outputs of the first and second elements And are connected respectively to the first and second inputs of the OR element, the output of which is connected to the inputs of the resolution of the reception of registers of the right cells from the first to the nth, different m, that, from the whole extension of functionality due to the expansion of normalization, it contains the element OR NOT, the third element of each field cell - the number converter from the auxiliary coding to the basic coding, and the clock input and the input of the normalization mode are connected to the device -: with the first and second inputs of the third element AND, the third input and output of which are connected respectively with the output of the OR element and with the third input of the OR element, the output of the number converter from the auxiliary The main coding of the K-th bit cell is connected to the information input of the register (K + 1) -th bit cell 5five 00 5five 00 (, ..., n-1),,, выходы разр дов преобразовател  числа из вспомогательного кодировани  в основное кодирование п-й разр дной  чейки соеди(, ..., n-1) ,,, the outputs of the bits of the number converter from the auxiliary coding to the main coding of the n-th bit cell of the connection нены соотпетстБбнно с входными элементаdo not match the input element иand 1348823613488236 ИЛИ-НЕ и  вл ютс  выходом устройства, причем в разр дной  чейке выход регистра соединен с входом преобразовател  числа из вспомогательного кодировани  в основное кодирование.OR is NOT and is the output of the device, and in the bit cell the output of the register is connected to the input of the number converter from auxiliary encoding to the basic encoding. Редактор Н. Слобод никEditor N. Slobod Nick Составитель В. БерезкинCompiled by V. Berezkin Техред А.Кравчук Корректор Е. КорольTehred A. Kravchuk Proofreader E. King Заказ 5191/48Тираж 670ПодписноеOrder 5191/48 Circulation 670 Subscription ВНИИПИ Государственного крмитета СССРVNIIPI State Committee of the USSR по делам изобретений и открытий 113035, Москва, Ж-35, Раушска  наб. , д. 4/5for inventions and discoveries 113035, Moscow, Zh-35, Raushsk nab. D. 4/5 Производственно-полиграфическое предпри тие, г, Ужгород, ул. Проектна , 4Production and printing company, Uzhgorod, st. Project, 4
SU864076285A 1986-06-09 1986-06-09 Device for shifting sequential numbers in redundant code SU1348823A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU864076285A SU1348823A1 (en) 1986-06-09 1986-06-09 Device for shifting sequential numbers in redundant code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU864076285A SU1348823A1 (en) 1986-06-09 1986-06-09 Device for shifting sequential numbers in redundant code

Publications (1)

Publication Number Publication Date
SU1348823A1 true SU1348823A1 (en) 1987-10-30

Family

ID=21240951

Family Applications (1)

Application Number Title Priority Date Filing Date
SU864076285A SU1348823A1 (en) 1986-06-09 1986-06-09 Device for shifting sequential numbers in redundant code

Country Status (1)

Country Link
SU (1) SU1348823A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1140113, кл. G 06 F 7/38, 1983. Букреев И.Н. и др. Микроэлектронные схемы цифровых устройств. М.: Сов.- радио, 1975, с. 149. *

Similar Documents

Publication Publication Date Title
GB1422819A (en) Matrix data manipulator
SU1348823A1 (en) Device for shifting sequential numbers in redundant code
SU1290295A1 (en) Device for calculating ordinal statistics of sequence of binary numbers
SU1439745A1 (en) Binary to binary-decimal code converter
SU1527715A1 (en) Code converter
SU1363481A1 (en) Code converter
SU1302437A1 (en) Device for converting parallel code to serial code
SU1293844A1 (en) Device for transforming programs
SU1383321A1 (en) Smooth periodic function generator
SU1256210A1 (en) Converter of n-valued binary code to p-valued binary code
SU1285605A1 (en) Code converter
SU1310806A1 (en) Device for shifting information
SU1338073A1 (en) Follow-up analog-to-digital converter
SU1767700A1 (en) Binary-to-nonposition fibonacci code converter
SU771660A1 (en) Binary-to-bunary-decimal code converter
SU447759A1 (en) Permanent storage device
SU1561074A1 (en) Device for determining ratio of 16/90 sets
SU1302320A1 (en) Shift register
SU1236616A1 (en) Binary-coded decimal code-to-binary code converter
SU1474853A1 (en) Parallel-to-serial code converter
SU1444820A1 (en) Device for converting matrices and solving linear equation systems
SU1341632A1 (en) Device for summing up redundant codes
SU1267624A1 (en) Binary code-to-modular code converter
SU1249473A1 (en) Servo drive for electromechanical timepiece
SU1259211A1 (en) Device for determining extremum