SU1388997A1 - Residual class system code-to-position code converter - Google Patents

Residual class system code-to-position code converter Download PDF

Info

Publication number
SU1388997A1
SU1388997A1 SU864138948A SU4138948A SU1388997A1 SU 1388997 A1 SU1388997 A1 SU 1388997A1 SU 864138948 A SU864138948 A SU 864138948A SU 4138948 A SU4138948 A SU 4138948A SU 1388997 A1 SU1388997 A1 SU 1388997A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
inputs
code
subtractor
Prior art date
Application number
SU864138948A
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 SU864138948A priority Critical patent/SU1388997A1/en
Application granted granted Critical
Publication of SU1388997A1 publication Critical patent/SU1388997A1/en

Links

Landscapes

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

Abstract

Изобретение относитс  к вычислительной технике и предназначено дл  преобразовани  кода из системы остаточных классов в позиционный код. Цель изобретени  состоит в сокращении аппаратурных затрат. Поставленна  цель достигаетс  тем, что преобразователь кода системы остаточных классов в позиционный код, содержащий четыре регистра 1-4 сдвига, вы- читатель 7, сумматор-вычитатель 5, три сумматора 6,24,25, формирователь 8 дополнительного кода, переключатель 9 основани  системы остаточных классов, коммутатор II, блок 12 синхронизации , схему 13 сравнени  кодов, два триггера .14,15, четыре элемента И 16-19, элемент ИСКЛЮЧАЮЩЕЕ ИЛИ 20, два элемента 21,22 задержки, содержит третий элемент задержки 23 с соответствующими св з ми. 1 шт. с S (ЛThe invention relates to computing and is intended to convert a code from a system of residual classes into a position code. The purpose of the invention is to reduce hardware costs. The goal is achieved by the fact that the code converter of the system of residual classes into a position code containing four registers 1–4 shift, subtractor 7, adder – subtractor 5, three adders 6,24,25, shaper 8 additional code, switch 9 of the system base residual classes, switch II, synchronization unit 12, code comparison circuit 13, two triggers .14,15, four elements AND 16-19, EXCLUSIVE OR 20, two delay elements 21,22, contains the third delay element 23 with the corresponding connections mi 1 PC. with S (L

Description

соwith

00 0000 00

;о со ; about with

t7ZJ...21t7ZJ ... 21

Изобретение относитс  к вычисли- |тельной технике, предназначено дл  преобразовани  кода из системы оста- iточных классов в позиционный код и может быть использовано в ци фровых системах автоматики и телемеханики.The invention relates to a computing technique, is intended to convert a code from a system of residual classes into a positional code, and can be used in digital automation and telemechanics systems.

Целью изобретени   вл етс  сокращение аппаратурных затрат. : На чертеже представлена схема |преобразовател  кода системы остаточ- |ных классов в позиционный код.The aim of the invention is to reduce hardware costs. : The drawing shows the scheme | converter code system residual classes | in the positional code.

Преобразователь кода системы остаточных классов в позицонный код соResidual class system code converter into positional code with

рует последовательность синхроимпульсов на своих выходах. Синхроимпульс с первого выхода блока 12 синхронизации поступает на входь управлени  занесением информации регистров 1-3 сдвига, а также на входы элементов И 18 и 19. По этому сигналу,в реггист- ры 1,2 и 3 сдвига вводитс  исходна  информаци  в виде параллельных двоичных кодов, а триггеры 14 и 15 устанавливаютс  в состо ни , определ ющие режим работы преобразовател . Регистр 1 сдвига содержит 2п + 1It drives a sequence of clock pulses at its outputs. The sync pulse from the first output of the synchronization unit 12 is fed to the control input for entering information of shift registers 1-3 and also to the inputs of the elements 18 and 19. By this signal, the initial information is inputted into parallel shift binary registers 1,2 and 3 codes, and triggers 14 and 15 are set to the states that determine the mode of operation of the converter. Register 1 shift contains 2p + 1

держит регистры 1-4 сдвига, сумматор-15 разр д, а регистры 2 и 3 сдвига пholds registers 1-4 shift, adder-15 bit, and registers 2 and 3 shift n

вычитатель 5, сумматор 6, вычитатель subtractor 5, adder 6, subtractor

I 7, фбрмирователь 8 дополнительногоI 7, frmi 8 additional

кода, переключатель 9 основани  сис|темы остаточных классов, вход 10 раI Дани  диапазона представлени  чисел 20code, switch 9 bases of the system | topics of residual classes, input 10 of the range of representation of numbers 20

{преобразовател , коммутатор 11, блок{converter, switch 11, block

|12 синхронизации, схему 13 сравнени | 12 synchronization circuit 13 comparison

кодов, триггеры 14 и 15, элементыcodes, triggers 14 and 15, elements

IИ 16-19, элемент ИСЮПОЧАТЭДЕЕ ИЛИ 20,II 16-19, an element of suicide or 20,

;элементы 21-23 задержки, сумматоры 25; elements 21-23 delay, adders 25

;24 и 25, группы информационных входов 26 и 27 преобразовател , вход 28; 24 and 25, groups of informational inputs 26 and 27 of the converter, input 28

: запуска преобразовател ,: start converter,

Блок 12 синхронизации, схема 13Block 12 synchronization scheme 13

разр дов, где п - количество разр дов представлени  остатков об, и в по основани м Р и Р, системы остаточных классов.bits, where n - the number of bits of the representation of residues about, and in the bases of P and P, the system of residual classes.

Регистр 4 сдвига содержит m раз р дов , где m п.Register 4 shift contains m times the series, where m p.

Параллельные п-разр дные двоичны коды остатков oi, и oi считываютс  с ответственно с информационных входо 26 и 27 и записываютс  в регистры 2 и 3 сдвига соответственно. Параллел ный 2п-разр дный двоичный код Р,,- Р диапазона представлени  чисел считы ваетс  с входа 10 и записываетс  вParallel n-bit binary codes of residuals oi, and oi are read off responsibly from information inputs 26 and 27 and written to shift registers 2 and 3, respectively. A parallel 2n-bit binary code P ,, - P of the number representation range is read from input 10 and written to

сравнени  кодов и формирователь 8 до-30 регистр 1 сдвига, старший 2п + 1-й полнительного кода реализованы и функционируют идентично прототипу.code comparisons and shaper 8 up to-30 shift register 1, the older 2n + 1 st additional code are implemented and function identically to the prototype.

Преобразователь .кода системы остаточных классов в позиционный код работает следующим образом. 35The converter of the code of the system of residual classes to the positional code works as follows. 35

В исходном состо нии триггеры 14, 15 наход тс  в нулевом состо нии, в которое они устанавливаютс  в результате предыдущего цикла преобразовани  .40In the initial state, the triggers 14, 15 are in the zero state, in which they are set as a result of the previous conversion cycle. 40

С помощью переключател  9 устанавливаетс  двоичный код основани  Р, системы остаточных классов, а на входе 10 устанавливают диапазон предразр д которого находитс  в нулевом состо нии.Using switch 9, the binary code of base P is set, systems of residual classes are set, and input 10 sets the range of which the bit is in the zero state.

Схема 13 сравнени  кодов вает два п-разр дных параллельных двоичных кода остатков, действующих на информационных входах 26 и 27 ус ройства соответственно, и вырабатывает на выходе сигнал 1 при The comparison circuit 13 codes the two n-bit parallel binary codes of the residuals acting on the information inputs 26 and 27 of the device, respectively, and generates the output 1 at

Сигнал 1 на выходе схемы 13 сравнени  кодов открывает элемент И 18, через который проходит импуль с первого выхода блока 12 синхрониз ции и устанавливает триггер 14 в единичное состо ние.The signal 1 at the output of the code comparison circuit 13 opens the element AND 18, through which the pulse passes from the first output of the synchronization unit 12 and sets the trigger 14 to one state.

J .,  J.,

Р РР Р

1 212

системы остаточных классовresidual class systems

Pj 6N - 1; N 2S m - натуральньй р д чичисел , равный v , гдеPj 6N - 1; N 2S m is a natural number equal to v, where

Переключатель 9 основани  системы остаточных классов подключает один из выходов разр дов регистра 4 сдвига к входу элемента 23 задержки на такт и к первому входу сумматора 24.The base switch 9 of the residual class system connects one of the outputs of the bits of the shift register 4 to the input of the delay / clock element 23 and to the first input of the adder 24.

За.пуск преобразовател  осуществл етс  путем подачи сигнала 1 на вход 28 запуска преобразовател , по которому блок 12 синхронизации формиразр дов , где п - количество разр дов представлени  остатков об, и в по основани м Р и Р, системы остаточных классов.The converter is started up by applying a signal 1 to the converter start input 28, according to which the synchronization unit 12 is formed, where n is the number of digits for representing the residuals, and in the bases P and P of the residual classes system.

Регистр 4 сдвига содержит m разр дов , где m п.Shift register 4 contains m bits, where m p.

Параллельные п-разр дные двоичные коды остатков oi, и oi считываютс  соответственно с информационных входов 26 и 27 и записываютс  в регистры 2. и 3 сдвига соответственно. Параллельный 2п-разр дный двоичный код Р,,- Р диапазона представлени  чисел считываетс  с входа 10 и записываетс  вThe parallel n-bit binary codes of the residuals oi and oi are read from the information inputs 26 and 27, respectively, and written to registers 2. and 3 shifts, respectively. A parallel 2n-bit binary code P ,, - P of the number representation range is read from input 10 and written to

регистр 1 сдвига, старший 2п + 1-й shift register 1, senior 2n + 1

разр д которого находитс  в нулевом состо нии.the bit of which is in the zero state.

Схема 13 сравнени  кодов вает два п-разр дных параллельных двоичных кода остатков, действующих . на информационных входах 26 и 27 устройства соответственно, и вырабатывает на выходе сигнал 1 при ,.The comparison circuit 13 codes two n-bit parallel binary codes of residuals acting. on the information inputs 26 and 27 of the device, respectively, and generates the output signal 1 when,.

Сигнал 1 на выходе схемы 13 сравнени  кодов открывает элемент И 18, через который проходит импульс с первого выхода блока 12 синхронизации и устанавливает триггер 14 в единичное состо ние.The signal 1 at the output of the code comparison circuit 13 opens the element AND 18, through which the pulse passes from the first output of the synchronization unit 12 and sets the trigger 14 to one state.

Элемент ИСЮТЮЧАЮЩЕЕ ИЛИ 20 сравнивает младшие разр ды двоичных кодов остатков oi, и Ы, действующих на первых информационных входах 26 и 27 соответственно. Когда в младших разр дах двоичных кодов остатков действуют различные сигналы, то на выходе элемента ИСКЛЮЧАЮЩЕЕ ИЛИ 20 формируетс  сигнал 1 который открывает элемент И 19. Импульс с первого выхода блока 12 синхронизации проходит через элемент И 19 и устанавливает триггер 15 в единичное состо ние.The element ENTITUDING OR 20 compares the lower bits of the binary codes of the residuals oi, and Ы acting on the first information inputs 26 and 27, respectively. When various signals act in the lower bits of the residual binary codes, the output of the EXCLUSIVE OR 20 element produces a signal 1 which opens the AND 19 element. The pulse from the first output of the synchronization unit 12 passes through the AND 19 element and sets the trigger 15 to the one state.

Под воздействием синхроимпульсов с второго выхода блока 12 синхронизации двоичные коды остатков сдвигаютс , начина  с младшего разр да, с выходов регистров 2 и 3 сдвига соответственно . Вычитатель 7 вьтолн ет последовательное вычитание из последовательного двоичного кода остатка oij последовательного двоичного кода остатка oi, , а на выходе вычитател  7 формируетс  последовательный двоичный код разности остатков, который, начина  с младшего разр да, поступает на информационный вход формировател - 8 дополнительного кода.Under the influence of clock pulses from the second output of synchronization block 12, the binary codes of the residuals are shifted, starting with the lower order bits, with the outputs of the registers 2 and 3 of the shift, respectively. The subtractor 7 completes the sequential subtraction from the serial binary code of the remainder oij of the serial binary code of the remainder oi, and the output of the subtractor 7 forms the serial binary code of the residual difference, which, starting with the least significant bit, goes to the information input of the imager - 8 additional code.

Формирователь 8 дополнительного кода преобразует дополнительный код разности остатков oi.. - (v, в пр мой код, если на его управл ющий вход поступает сигнал I с нулевого выхода триггера 14, или пропускает без изменени  пр мой код разности остатков, когда триггер 14 находитс  в единичном состо нии. Таким образом на выходе формировател  .8 дополнительного кода формируетс  пр мой код абсолютной величины разности остатков /oij. - oi, / , который через элемент И 16 поступает, начина  с млад- шего разр да, на информационный вход регистра 4 сдвига. Спуст  один, два,...,т тактов на выходах соответственно первого,- второго,... ,т-го разр дов регистра 4 сдвига под действием импульсов с второго выхода блока 12 синхронизации сдвигаетс , начина  с младших разр дов, последовательный двоичный код разности остатков . Поскольку задержка последова- тельного кода на один такт эквивалентна умножению на два, то на выходах первого, второго,...,т-го разр дов регистра 4 сдвига формируютс  соответственно последовательные дво- ичные коды величин 2 joi - oi i /,..., 2 /cij - oi, / . Выбор одной из этих величин осуществл ют переключателем 9 основани  системы остаточных классов Например, если основание системы ос- таточных классов P-f 6N + 1 , то выход i + 1-го разр да регистра 4 сдвига подключают переключателем 9 к входу элемента 23 задержки и первому входу сумматора 24. В этом случае на выходе переключател  9 формируетс  .последовательный двоичный код величины -oi,/, который задерживаетс  элементом 23 задержки на такт.The additional code generator 8 converts the additional residual difference code oi .. - (v, into the direct code if its control input receives the signal I from the zero output of trigger 14, or passes without changing the forward code of the residual difference when trigger 14 is in a single state. Thus, at the output of the shaper .8 of the additional code, a direct code is formed of the absolute value of the residual difference (oij) - oi, /, which through element 16 enters, starting from the lower order, at the information input of the register 4 shift. n, two, ..., t clocks at the outputs of the first, second, ..., t-th bits of the 4 shift register, under the action of pulses, from the second output of the synchronization block 12, starting with the lower bits, the serial binary code residual differences. Since the delay of a sequential code by one clock cycle is equivalent to multiplying by two, then at the outputs of the first, second, ..., t-th bits of the shift register 4, respectively, successive binary codes of 2 joi - oi i / are formed , ..., 2 / cij - oi, /. One of these values is selected by switch 9 of the base of the system of residual classes. For example, if the base of the system of residual classes Pf 6N + 1, then the output of the i + 1th digit of the shift register 4 is connected by switch 9 to the input of the delay element 23 and the first input adder 24. In this case, the output of the switch 9 generates a sequential binary code of the magnitude -oi, /, which is delayed by the delaying element 23 per clock.

0 5 о « с 0 5 о «с

5five

что эквивалентно умножению этой величины на два. Таким .образом, на выходе элемента 23 задержки формируетс  последовательный двоичный код величины 2 oil/ 5 который суммируетс  , начина  с младших разр дов, в сумматоре 24 с последовательным двоичным кодом величины , -о,/ , формируемым на выходе переключател  9 основани  системы остаточных классов . На выходе сумматора 24 формируетс  последовательный двоичный код величины б-2 joly oi,t , который суммируетс , начина  с младших разр дов, в сумматоре 25 с последовательным двоичным кодом величины/6i -oi,/, формируемым на выходе элемента И 16. На выходе сумматора 25 формируетс  пос- ледовательный двоичный код произведени  основани  системы остаточных классов на абсолютизме величину разности остатков P./oi, -об,/ . Спуст  -п тактов, после запуска преобразовател  на третьем выходе блока 12 синхронизации вырабатываетс  нулевой сигнал, блокирующий Вычитатель 7, а на п том выходе блока 12 синхронизации формируетс  сигнал 1, устанавливающий по входу . сброса формирователь 8 дополнительного кода в исходное состо ние. С выхода сумматора 25 последовательный двоичный код произведени  поступает, начина  с младшего разр да, на первый вход сумматора-вычитател  5. Сум- матор-вычитатель 5 устанавливаетс  в режим суммировани , если триггер 14 находитс  в нулевом состо нии, либо в режим вычитани , когда триггер 14 находитс  в единичном состо нии. Последовательный двоичный код остатка сдвигаетс , начина  с младшего разр да , под действием импульсов с второго выхода блока 12 синхронизации на вкод элемента 21 задержки на такт. Элемент 21 задержки обеспечивает сдвиг на один разр д последовательного двоичного кода остатка об по отношению к последовательному двоичному коду произведени  . а,/ , т.е. реализует операцию умножени  двоичного кода остатка на два. Последовательный двоичный код величины 2oi2 поступает с выхода элемента 21 задержки на второй вход сумматора- вычитател  5, который в зависимости от режима суммировани  или вычитани  формирует последовательный двоичный код величины i l which is equivalent to multiplying this value by two. Thus, at the output of the delay element 23, a serial binary code of 2 oil / 5 is formed, which is summed, starting with the lower bits, in the adder 24 with the serial binary value code, -o, /, generated at the output of the switch 9 of the base system of residual classes . At the output of the adder 24, a sequential binary code of the magnitude b-2 joly oi, t, which is summed, starting with the least significant bits, is formed in the adder 25 with the serial binary code of the value / 6i -oi, / generated at the output of the And 16 element. adder 25 generates a successive binary code for the product of the base of the system of residual classes on absolutism, the magnitude of the difference between the residuals P./oi, -ab, /. After the clock cycles, after the converter is started, a zero signal is generated at the third output of the synchronization unit 12, the blocking subtractor 7 is generated, and at the fifth output of the synchronization unit 12, a signal 1 is generated that installs on the input. reset the shaper 8 additional code to its original state. From the output of the adder 25, the serial binary code of the product arrives, starting with the low-order bit, to the first input of the adder-subtractor 5. The totalizer-subtractor 5 is set to the summing mode, if trigger 14 is in the zero state, or to the subtraction mode, when trigger 14 is in a single state. The consecutive residual binary code is shifted, starting with the lower bit, under the action of pulses from the second output of the synchronization unit 12 to the code of the delay unit 21 per clock. Delay element 21 provides a one-digit shift in the serial binary code of the remainder relative to the serial binary product code. and those. implements the operation of multiplying the binary code of the remainder by two. The serial binary code of the 2oi2 value comes from the output of the delay element 21 to the second input of the adder-subtractor 5, which, depending on the summation or subtraction mode, forms the serial binary code of the i l

5 13 Коммутатор 1 1 подключает выход регистра 1 сдвига к входу сумматора 6,, если триггер 15 находитс  в единичном состо нии, либо подключает вход сумматора 6 к выходу элемента 22 задержки на такт, когда триггер 15 находитс  в нулевом состо нии. Элемент И 17 блокирует вход, элемента 22 задержки , если триггер 14 находитс  в нулевом состо нии, либо подключает :выход регистра I сдвига к входу элемента 22 задержки, когда триггер 14 Находитс  в единичном состо нии.5 13 The switch 1 1 connects the output of the shift register 1 to the input of the adder 6, if the trigger 15 is in the unit state, or connects the input of the adder 6 to the output of the delay unit 22 when the trigger 15 is in the zero state. Element And 17 blocks the input, delay element 22, if trigger 14 is in the zero state, or connects: the output of the I shift register to the input of delay element 22, when trigger 14 is in the unit state.

После запуска преобразовател  дноAfter starting the converter bottom

ичный код величины Pj, сдвигаетс  под действием импульсов с второго |выхода блока 12 синхронизации из ре- :гистра 1 сдвига и, начина  с младше- го разр да, поступает через коммута- ;тор 11 на вход сумматора 6 в случае ;единичного состо ни  триггера 15. |В этом случае на выходе сумматора 6 |формируетс  последовательный двоич 1НЫЙ код величины Р, Р + 2ы t Р , х :n/oii oi,/, который равен удвоенному значению преобразованного числа. An identical code of Pj is shifted under the action of pulses from the second | output of synchronization unit 12 from the register: shift 1 and, starting from the least significant bit, enters through the switch; the switch 11 to the input of the adder 6 in the case of the single state trigger 15. | In this case, at the output of the adder 6 |, a serial binary code of the value P, P + 2y t P, x: n / oii oi, / is formed, which is equal to twice the value of the transformed number.

Когда триггер 15 находитс  в нулевом состо нии, а триггер 14 в единичном состо нии, то двоичный код Р,- Р сдвигаетс  из регистра 1 сдви га через элемент И 17, элемент 22 задержки на такт и коммутатор 11 на |вход сумматора 6. Элемент 22 задерж- |ки на такт обеспечивает сдвиг на ОДИН разр д последовательного двоич ного кода величины Р, Р по отношению к последовательному двоичному коду, формируемому на выходе суммато ра-вычитател  5, т..е„ реализует операцию умножени  последовательного двоичного кода на два.. В этом случае на выходе сумматора 6 формируетс  последовательный двоичный код величины 2Р,- Р + 2ci,, - Р,. ., , который равен удвоенному значению преобразованного числа. В том числе, когда триггеры 14 и 15 наход тс  в нулевом состо нии, элемент И 17 закрыт сигналом пр мого выхода триггера 14 и на выходе ком-- мутат ора 1 1 действует нулевой двоич ный код. На выходе сумматора 6 в это случае формируетс  двоичный код вели чины 2о(,2 + PV /oi If который равен удвоенному значению преобразованного числа.When the trigger 15 is in the zero state, and the trigger 14 is in the single state, the binary code P, - P is shifted from the shift register 1 through the AND 17 element, the tact delay element 22 and the switch 11 to the | adder input 6. Element 22 delays per clock provides a shift by ONE bit of the serial binary code of the value P, P with respect to the serial binary code generated at the output of the totalizer-subtractor 5, i.e., it implements the operation of multiplying the serial binary code by two .. In this case, the output of the adder 6 is formed mc sequential binary code of 2P, - Р + 2ci ,, - Р ,. ., which is equal to twice the value of the converted number. In particular, when the triggers 14 and 15 are in the zero state, the AND element 17 is closed by the direct output signal of the trigger 14 and the output 1 is mutated by the 1 1 1 zero binary code. The output of the adder 6 in this case generates a binary code of the value 2o (, 2 + PV / oi If which is equal to twice the value of the transformed number.

Последовательный двоичный код пре образованного числа с выхода сумматоSequential binary code of the converted number from the output of the sum

7 7

ра 6 записываетс , начина  с младше го разр да, в регистр 1 сдвига под действием импульсов, поступаюш,их с второго выхода блока 12 синхрониза- ции.Section 6 is written, starting from the lower bit, into the shift register 1 under the action of pulses, arriving, from the second output of the synchronization unit 12.

Спуст  2п + 1 такт после запуска преобразовател  в регистре 1 сдвига фиксируетс  двоичный код преобразо- ванного числа. Разр дность регистра 1 сдвига 2п + выбрана так, чтобыAfter 2n + 1 clock after the converter is started, the binary code of the converted number is fixed in shift register 1. The register size of shift 1 2p + is chosen so that

„ Q „Q

дd

0 5 0 5

30 thirty

3535

4040

4545

5050

5555

младший разр д двоичного кода преоб- разованного -числа (второй разр д удг военного значени  преобразованного числа) в конце цикла преобразовани  находилс  в первом разр де регистра 1 сдвига. Кроме того, спуст  2п + 1 такт после запуска преобразовател  триггеры 14 и 15 импульсом с четвер- того выхода блока 12 синхронизации устанавливаютс  в нулевое состо ние, блок 12 синхронизации устанавливаетс  в исходное состо ние и цикл преобразовани  заканчиваетс .The lower bit of the binary code of the converted -number (the second bit of the value of the military value of the converted number) at the end of the conversion cycle was in the first bit of the shift register 1. In addition, after 2p + 1 clock cycle, after triggering the converter, the triggers 14 and 15 pulse to the zero state from the fourth output of the synchronization unit 12, the synchronization unit 12 is reset, and the conversion cycle ends.

Claims (1)

Формула изобретени Invention Formula Преобразователь кода системы ос таточных классов в позиционный код, содержаш;ий первый, второй, третий и четвертый регистры сдвига, вычита тель, сумматор вычитатель, три сумма- тора, формирователь дополнительного кода, переключатель основани  систе- мы остаточных классов, коммутатор, первый и второй триггеры, первый, второй., третий и четвертый элементы И, первый и второй элементы задерж ки, элемент ИСКЛЮЧАЮЩЕЕ ИЛИ, схему сравнени  кодов и-блок синхронизации, причем вход запуска преобразовател  соединен с входом запуска блока синх- ронизации, первый выход которого сое- динен с входами разрешени  занесени  информации первого,.второго и третьего регистров сдвига, второй выход блока синхронизации соединен.с входами разрешени  сдвига первого, второго и третьего регистров сдвига, третий выход блока синхронизации соединен с входом разрешени  вычитател  и с первым входом первого элемента И, четвертый выход блока Синхронизации соединен с входами установки в нуль первого и второго триггеров, п тый выход блока синхронизации соединен с входом сброса формировател  дополнительного кода, выход которого сое-The converter of the residual classes system code into a position code contains the first, second, third, and fourth shift registers, a subtractor, a totalizer, a subtractor, three summers, an additional code generator, a switch of the base of the residual classes system, a switch, the first and second triggers, first, second., third and fourth elements AND, first and second elements of delay, EXCLUSIVE OR element, a code comparison circuit and a synchronization unit, the converter start input connected to the synchronization block start input and, the first output of which is connected to the resolution input inputs of the first, second and third shift registers, the second output of the synchronization unit is connected to the shift resolution inputs of the first, second and third shift registers, the third output of the synchronization unit is connected to the permission input of the subtractor and with the first input of the first element And, the fourth output of the Synchronization block is connected to the inputs for setting the first and second triggers to zero, the fifth output of the synchronization block is connected to the reset input of the additional driver o code whose output is динен с вторым входом первого элемён та И, выход первого элемента задерж ки соединен с первым информационным входом сумматора- вычитател , входы разрешени  вычитани  и сложени  которого соединены соответственно с пр  мым и инверсным выходами первого триггера, выход сумматора-вычитател  соединён с входом первого слагаемого первого сумматора, вход второго ела гаемого которого соединен с выходом коммутатора, выход сумматора соеди нен с информационным вхйдом первого регистра сдвига, группа входов ввода данных которого соединена с входом задани  диапазона представлени  о числе преобразовател , выход первого регистра сдвига соединен с первым входом второго элемента И и с первым информационным входом коммутатора, управл ющий вход которого соединен с пр мым выходом второго триггера,пр  мой выход первого триггера соединен с вторым входом второго элемента И, выход которого через второй элемент задержки соединен с вторым ииформа ционным входом коммутатора, входы ус тановки в 1 первого и второго триг геров соединены соответственно с вы ходами третьего и четвертого элемен тов И, перва  и втора  группь ин(Ьоо«- мационных входов преобразовател  сое динены соответственно с входами да данных второго и третьего регистров сдвига, перва  и втора  группы информационных входов преобразовател  соединены соответственно с первой и второй группами входов схемы сравнени  кодов, выход которой соединен с первым входом третьего элемента И, выход второго регистра сдвига соеди-dinene with the second input of the first element I, the output of the first element of the delay connected to the first information input of the totalizer subtractor, the resolution and subtraction resolution inputs of which are connected respectively to the direct and inverse outputs of the first trigger, the output of the subtractor subtractor connected to the input of the first component of the first an adder whose second input is connected to the output of the switch, the output of the adder is connected to the information input of the first shift register, the group of data input inputs of which is connected to the input assigning the range of representation of the converter number, the output of the first shift register is connected to the first input of the second element AND and the first information input of the switch, the control input of which is connected to the direct output of the second trigger, the direct output of the first trigger is connected to the second input of the second element And, the output of which through the second delay element is connected to the second information input of the switch, the inputs of the installation in 1 of the first and second triggers are connected respectively to the outputs of the third and fourth elements And the first and second groups in (Loo "- mation inputs of the converter are connected to the inputs and data of the second and third shift registers, the first and second groups of information inputs of the converter are connected respectively to the first and second groups of inputs of the code comparison circuit, the output of which is connected to the first input of the third element And the output of the second shift register connect нен с входом вычитаемого вычитател , выход которого соединен с информационным входом формировател  дополнительного кода, вход разрешени  которого соединен с инверсным выходом первого триггера, выход третьего регистра сдвига соединен с входом I уменьшаемого вычитател  и с входомпервого элемента задержки,-первый вход четвертого элемента И .соединенnot the input of the subtracted subtractor, the output of which is connected to the information input of the additional code generator, the resolution input of which is connected to the inverse output of the first trigger, the output of the third shift register is connected to the input I of the decremented subtractor and from the input of the first delay element, the first input of the fourth element And the connected с выходом элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, первый и второй входы которого соединены соответственно с первыми входами первой и второй групп информационных входов преобразовател , вторые входы третьего и четвертого элементов И соединены с первым выходом блока синхронизации, выход второго сумматора соединен с входом первого слагаемого третьего сумматора, выход которого соединен с вторым информационным входом сумматора-вычитател , отличающийс , тем, что, с целью сокращени  аппаратурных затрат, он содержит третий элемент задержки, причем выход первого элемента И соединен с информационным входом четвертого регистра сдвига и с входом-второго слагаемого третьего сумматора, выходы разр дов четвертого регистра сдвига соединены с информационными with the output of the EXCLUSIVE OR element, the first and second inputs of which are connected respectively to the first inputs of the first and second groups of information inputs of the converter, the second inputs of the third and fourth elements And are connected to the first output of the synchronization unit, the output of the second adder is connected to the input of the first term of the third adder, output which is connected to the second information input of the subtractor, characterized in that, in order to reduce hardware costs, it contains a third delay element, and One of the first element I is connected to the information input of the fourth shift register and with the input of the second term of the third adder, the outputs of the bits of the fourth shift register are connected to the information входами переключател  основани  системы остаточных клaccoвJ выход которого соединен с входом первого слагаемого второго сумматора и через третий элемент задержки - с входом второго слагаемого второго сумматора , вход разрешени  сдвига четвертого регистра сдвига соединен с вторым выходом блока синхронизации.the inputs of the switch of the residual clocks system, whose output is connected to the input of the first addend of the second adder and through the third delay element to the input of the second addend of the second adder, the shift enable input of the fourth shift register is connected to the second output of the synchronization unit.
SU864138948A 1986-07-22 1986-07-22 Residual class system code-to-position code converter SU1388997A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU864138948A SU1388997A1 (en) 1986-07-22 1986-07-22 Residual class system code-to-position code converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU864138948A SU1388997A1 (en) 1986-07-22 1986-07-22 Residual class system code-to-position code converter

Publications (1)

Publication Number Publication Date
SU1388997A1 true SU1388997A1 (en) 1988-04-15

Family

ID=21264409

Family Applications (1)

Application Number Title Priority Date Filing Date
SU864138948A SU1388997A1 (en) 1986-07-22 1986-07-22 Residual class system code-to-position code converter

Country Status (1)

Country Link
SU (1) SU1388997A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 924695, кл. Н 03 М 7/18, 1980. Авторское свидетельство СССР № 557363, кл. G 06 F 1975. Авторское свидетельство СССР № 1228290, кл. Н 03 М 7/18, 1984. *

Similar Documents

Publication Publication Date Title
SU1388997A1 (en) Residual class system code-to-position code converter
SU1624699A1 (en) Residue system code to positional code converter
SU1062674A1 (en) Binary number generator
SU1341633A1 (en) Serial adder
SU911508A1 (en) Device for comparing two numbers
SU1765839A1 (en) Binary number multiplier
SU1566340A1 (en) Device for division of numbers with floating point
SU1734212A1 (en) Device for computing of modulo @@@+1 reminder
SU1070545A1 (en) Computing device
SU798902A1 (en) Integro-differential computer
SU1411775A1 (en) Device for computing functions
SU1007105A1 (en) Integro-differential computer
SU1264165A1 (en) Adder-accumulator
SU1737735A1 (en) Converter of residual class code to positional code
SU1073766A1 (en) Orthogonal signal generator
RU2007037C1 (en) Recurrent generator of remainders of arbitrary modulo
SU1100621A1 (en) Function generator
SU1233138A1 (en) Serial multiplyting device
SU1557681A1 (en) Modular code converter
SU1246091A1 (en) Device for extracting square root
SU1116424A1 (en) Translator from residual class system code to position code
SU1228290A1 (en) Residual class system code-to-position code converter
SU1737444A1 (en) Device for computing polynomial function in analog argument
SU1183959A1 (en) Device for summing numbers
SU1571573A1 (en) Serial adder