SU1624699A1 - Residue system code to positional code converter - Google Patents

Residue system code to positional code converter Download PDF

Info

Publication number
SU1624699A1
SU1624699A1 SU884610360A SU4610360A SU1624699A1 SU 1624699 A1 SU1624699 A1 SU 1624699A1 SU 884610360 A SU884610360 A SU 884610360A SU 4610360 A SU4610360 A SU 4610360A SU 1624699 A1 SU1624699 A1 SU 1624699A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
input
inputs
code
converter
Prior art date
Application number
SU884610360A
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 SU884610360A priority Critical patent/SU1624699A1/en
Application granted granted Critical
Publication of SU1624699A1 publication Critical patent/SU1624699A1/en

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

Изобретение относитс  к вычислительной технике и предназначено дл  преобразовани  кода из системы остаточных классов в позиционный код. Цель изобретени  состоит в упрощении преобразовател . Преобразователь кода системы остаточных классов в позиционный код содержит четыре регистра 1-4 сдвига, два вычитател  8 и 9, три сумматора 5-7, переключатель Ю основани  системы остаточных классов, коммутатор 11, блок 12 синхронизации, схему 13 сравнени  кодов, два триггера 14 и 15, три элемента И 17-19, элемент ИСКЛЮЧАЮЩЕЕ ИПИ 16, два элемента 20 и 21 задержки . 4 ил.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 simplify the converter. The code converter of the residual classes system to the position code contains four shift registers 1-4, two subtractors 8 and 9, three adders 5-7, a switch U of the base of the residual classes system, switch 11, synchronization unit 12, code comparison circuit 13, two triggers 14 and 15, the three elements And 17-19, the element EXCLUSIVE IPI 16, two elements 20 and 21 of the delay. 4 il.

Description

(А С(A C

гз гз гзgz gz gz

Фиг.11

ОABOUT

ЮYU

UU

OsOs

Ю ЮYu Yu

г гь litdfr lit

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

Цель изобретени  - упрощение преобразовател .The purpose of the invention is to simplify the converter.

На фиг. 1 изображена структурна  схема преобразовател  кода системы остаточных классов в позиционный код; на фиг.2 - структурна  схема блока синхронизации; на фиг.З - схема сравнени  кодов; на фиг.4 - временна  диаграмма синхронизирующих сигналов.FIG. 1 shows a block diagram of the converter of the code of the system of residual classes into a position code; figure 2 - block diagram of the synchronization unit; FIG. 3 is a comparison chart; figure 4 is a timing diagram of the synchronizing signals.

Преобразователь кода системы остаточных классов в позиционный код содержит регистры 1-4 сдвига, сумматоры 5-7, вычитатели 8 и 9, переключатель 10 основани  системы остаточных классов, коммутатор 11, блок 12 синхронизации, схему 13 сравнени  кодов, триггеры 14 и 15, элемент ИСКЛЮЧАЮЩЕЕ ИЛИ 16, элементы И 17- 19, элементы 20 и 21 задержки, группу входов 22 задани  диапазона представлени  чисел, две группы информационных входов 23 и 24 и вход 25 запуска преобразовател . Блок 12 синхронизации (фиг.2) содержит генератор 26 импульсов, генератор 27 одиночных импульсов, делитель 28 частоты, триггер 29, элемент И 30 и выходы 31-34 блока 12 синхронизации, причем пр мой выход генератора 26 импульсов соединен с первым входом элемента И 30, выход которого соединен с входом делител  28 частоты , инверсный выход генератора 26 импульсов соединен с тактовым входом генератора 27 одиночных импульсов, управл ющий вход которого соединен с входом 25 запуска преобразовател , выход генератора 27 одиночных импульсов соединен с входом установки в единицу триггера 29, пр мой выход которого соединен с вторым входом элемента И 30, выход делител  28 частоты соединен с входом установки в О триггера 29, выходы 31, 32,33 и 34  вл ютс  соответственно первым, вторым, третьим и четвертым выходами блока 12 синхронизации и соединены соответственно с выходом генератора 27 одиночных импульсов, с пр мым выходом триггера 29, выходом элемента 1/1 30 и выходом делител  28 частоты.The code converter of the residual classes system to the position code contains shift registers 1-4, adders 5-7, subtractors 8 and 9, switch 10 of the residual classes system base, switch 11, synchronization unit 12, code comparison circuit 13, triggers 14 and 15, element EXCLUSIVE OR 16, elements 17-17, elements 20 and 21 of the delay, a group of inputs 22 specifying the range of representation of numbers, two groups of information inputs 23 and 24 and an input 25 of starting the converter. Synchronization unit 12 (Fig. 2) contains a pulse generator 26, a single pulse generator 27, a frequency divider 28, a trigger 29, an AND element 30 and outputs 31-34 of the synchronization unit 12, the direct output of the pulse generator 26 connected to the first input of the And element 30, the output of which is connected to the input of the frequency divider 28, the inverse output of the pulse generator 26 is connected to the clock input of the single pulse generator 27, the control input of which is connected to the converter start input 25, the output of the single pulse generator 27 is connected to the input Trigger unit 29, the direct output of which is connected to the second input of the element 30, the output of the frequency divider 28 is connected to the installation input of the on the trigger 29, the outputs 31, 32.33 and 34 are the first, second, third and fourth outputs synchronization unit 12 and connected respectively to the output of the generator 27 single pulses, with the direct output of the trigger 29, the output of the element 1/1 30 and the output of the frequency divider 28.

Схема 13 сравнени  кодов (фиг.З) содержит поразр дные узлы сравнени , каждый из которых содержит элемент И-ИЛИ-НЕ 35 .и элемент НЕ 36, причем первые входы первой и второй групп входов элемента И-ИЛИ- НЕ 35 в нечетных разр дах соединены непосредственно, а в четных разр дах - через элемент НЕ 36 с информационными входами 24, второй вход второй группы входов и первый вход третьей группы входов элемента И-ИЛИ-НЕ 35 в нечетных разр дах соединены чэрез элемент НЕ 36, а в четныхThe code comparison circuit 13 (FIG. 3) contains bitwise comparison nodes, each of which contains an AND-OR-NO 35 element and an NOT 36 element, with the first inputs of the first and second input groups of the AND-OR 35 element in odd bits. dahs are connected directly, and in even bits, via the NOT 36 element with information inputs 24, the second input of the second group of inputs and the first input of the third group of inputs of the AND-OR-NOT 35 element at odd bits are connected through the NOT 36 element, and in even numbers

разр дах - непосредственно с информационными входами 23, вторые входы первой и третьей групп входов элемента И-ИЛИ-НЕ 35 всех разр дов, кроме первого, соединены с выходами элементов И-ИЛИ-НЕ 35bits - directly with information inputs 23, the second inputs of the first and third groups of inputs of the AND-OR-NOT element 35 of all bits, except the first, are connected to the outputs of the AND-OR-NOT 35 elements

предыдущих разр дов, вторые входы первой и третьей групп входов элемента И- ИЛИ-НЕ 35 первого разр да соединены с входом логического нул  преобразовател , выход элемента И-ИЛИ-НЕ 35 старшего разр да соединен с выходом 37 схемы 13 сравнени  кодов. Временна  диаграмма на выходах блока 12 синхронизации (фиг.4), составлена дл  импульсов положительной пол рности, при коэффициенте делени  делител  28 частоты 2п 8, т.е при п 4of the previous bits, the second inputs of the first and third groups of inputs of the first-bit AND-OR-NO element 35 are connected to the input of the logic zero of the converter, the output of the higher-order AND-OR-NO element 35 is connected to the output 37 of the code comparison circuit 13. The timing diagram at the outputs of synchronization unit 12 (FIG. 4) is composed for positive polarity pulses, with a divider 28 dividing ratio of 2 p 8, i.e. with n 4

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

В исходном состо нии триггеры 14, 15 иIn the initial state, the triggers are 14, 15 and

триггер 29 блока 12 синхронизации наход тс  в нулевом состо нии, в которые они устанавливаютс  в результате предыдущего цикла преобразовани .the trigger 29 of the synchronization unit 12 is in the zero state in which they are set as a result of the previous conversion cycle.

На группу входов 22 подаетс  двоичныйBinary input is applied to group 22.

код диапазона представлени  чисел, равный Pi Р2, где основани  системы остаточных классов Pi 6N-1 и Ра 6N+1; N 21, 1 0, 1, 2, 3, .... - натуральный р д чисел. С помощью переключател  10 задают основание системы остаточных классов.the code of the number representation is Pi P2, where the bases of the system of residual classes Pi 6N-1 and Pa 6N + 1; N 21, 1 0, 1, 2, 3, .... - natural number of numbers. Using switch 10, the base of the residual class system is defined.

Регистр 1 сдвига содержит 2п разр дов, а регистры 2 и 3 сдвига - n-разр дов, где п - количество разр дов представлени  остатков а 1 и «2 по основани м Pi и Р2Shift register 1 contains 2p bits, while shift registers 2 and 3 contain n-bits, where n is the number of bits to represent residues a 1 and 2 2 at the bases of Pi and P2

системы остаточных классов. Регистр 4 сдвига содержит m разр дов, где гл п-3. Параллельные n-разр дные коды остатков а и О.1 подаютс  соответственно на группы 23 и 24 информационных входовresidual class systems. Shift register 4 contains m bits, where ch n-3. Parallel n-bit codes of residues a and O.1 are respectively supplied to groups 23 and 24 of information inputs.

преобразовател .converter

Запуск преобразовател  осуществл етс  путем подачи сигнала 1 на вход 25 запуска преобразовател , который запускает генератор 27 одиночных импульсов блока 12The converter is started by supplying a signal 1 to the converter start input 25, which starts the generator 27 of single pulses of block 12

синхронизации. По сигналу запуска генератор 27 одиночных импульсов вырабатывает одиночный импульс в паузе между тактовыми импульсами, формируемыми генератором 26 импульсов. Выходной импульсsync. The start signal generator 27 single pulses produces a single pulse in the pause between the clock pulses generated by the generator 26 pulses. Output pulse

5 генератора 27 одиночных импульсов уста- . навливает триггер 29 в единичное состо ние и поступает с выхода 31 блока 12 синхронизации на входы разрешени  записи регистров 1, 2, 3 и 4 сдвига, а также на5 generator 27 single pulses set. fills the trigger 29 into one state and goes from the output 31 of the synchronization unit 12 to the write enable inputs of registers 1, 2, 3 and 4, as well as

входы элементов И 18 и 19. По этому сигналу в-регистры 1, 2 и 3 сдвига вводитс  исходна  информаци  в виде параллельных двоичных кодов, регистр 4 сдвига устанавливаетс  в нулевое состо ние, так как его входы ввода данных соединены со входом О, а триггеры 14 и 15 устанавливаютс  в состо ни , определ ющие режим работы преобразовател .inputs of elements 18 and 19. By this signal, the initial information in the form of parallel binary codes is entered into the shift registers 1, 2 and 3, the shift register 4 is set to the zero state, since its data input inputs are connected to the input O, and the flip-flops 14 and 15 are set to the states defining the mode of operation of the converter.

Параллельные n-разр дные двоичные коды остатков a-i и а-i считываютс  соответственно с информационных входов 23 и 24 преобразовател  и по импульсу генератора 27 одиночных импульсов блока 12 синхронизации записываютс  соответственно в регистры 2 и 3 сдвига. Параллельный 2п- разр дный двоичный код диапазона представлени  чисел считываетс  с группы входов 22 задани  диапазона представлени  чисел и по импульсу генератора 27 одиночных импульсов блока 12 синхронизации записываетс  в регистр 1 сдвига.Parallel n-bit binary codes of residues a-i and a-i are read from the information inputs 23 and 24 of the converter, respectively, and the generator single pulse of the synchronization unit 12 is written to the shift registers 2 and 3, respectively. A parallel 2n-bit binary code of the number representation range is read from a group of inputs 22 specifying the number range representation and is written to the shift register 1 by the pulse of the single-pulse generator 27 of the synchronization unit 12.

Схема 13 сравнени  кодов сравнивает два n-разр дных параллельных двоичных кода остатков, действующих соответственно на информационных входах 23 и 24 преобразовател  и формирует сигнал 1 при .а.1 а 1 В случае на выходе схемы 13 сравнени  кодов действует сигнал О.The code comparison circuit 13 compares two n-bit parallel binary residual codes acting respectively on information inputs 23 and 24 of the converter and generates a signal 1 at .a.1 a 1 In the case of the output of the code comparison circuit 13, the O signal acts.

Если а 2 о. 1, сигнал 1 на выходе схемы 13 сравнени  кодов открывает элемент И 18, через который проходит импульс генератора 27 одиночных импульсов блока 12 синхронизации и устанавливает триггер 14 в единичное состо ние.If a 2 o. 1, the signal 1 at the output of the code comparison circuit 13 opens an element 18, through which the pulse of the generator 27 of single pulses of the synchronization unit 12 passes and sets the trigger 14 to one state.

В случае сс.2 а нулевой сигнал на выходе схемы 13 сравнени  кодов блокирует элемент И 18 и триггер 14 сохран ет нулевое состо ние.In the case of cc.2a, the zero signal at the output of the code comparison circuit 13 blocks the element AND 18 and the trigger 14 saves the zero state.

Элемент ИСКЛЮЧАЮЩЕЕ ИЛИ 16 сравнивает младшие разр ды двоичных кодов остатков сп и а2 , действующих на первых информационных входах 23 и 24 преобразовател . Когда в младших разр дах двоичных кодов остатков действуют различные сигналы (комбинации кодов младших разр дов 01 или 10), то на выходе элемента ИСКЛЮЧАЮЩЕЕ ИЛИ 16 формируетс  сигнал 1, который открывает элемент И 19. Выходной импульс генератора 27 одиночных импульсов блока 12 синхронизации проходит через элемент И 19 и устанавливает триггер 15 в единичное состо ние .The EXCLUSIVE OR 16 element compares the lower bits of the binary codes of residuals cn and a2 acting on the first information inputs 23 and 24 of the converter. When various signals act in the lower bits of the binary residual codes (combinations of the lower bits 01 or 10), the output of the EXCLUSIVE OR 16 element produces a signal 1, which opens the element AND 19. The output pulse of the single-pulse generator 27 of the synchronization unit 12 passes through element And 19 and sets the trigger 15 in one state.

В случае комбинации кодов младших разр дов остатков ai и аг 00 и 11 на выходе элемента ИСКЛЮЧАЮЩЕЕ ИЛИ 16 формируетс  сигнал О, который блокирует элемент И 19 и триггер 15 сохран ет нулевое состо ние. In the case of the combination of the lower-order codes of the residues ai and ag 00 and 11, at the output of the EXCLUSIVE OR 16 element, a signal O is generated, which blocks AND 19 and the trigger 15 retains the zero state.

После установки триггера 29 блока 12 синхронизации в единичное состо ние тактовые импульсы, формируемые генератором 26 импульсов, поступает через элемент 5 И 30 на выход 33 блока 12 синхронизации и далее на входы разрешени  сдвига регистров 1, 2, 3 и 4 сдвига.After the trigger 29 of the synchronization unit 12 is set to one, the clock pulses generated by the pulse generator 26 are fed through element 5 and 30 to the output 33 of the synchronization unit 12 and then to the shift enable inputs of the registers 1, 2, 3 and 4 of the shift.

Под действием тактовых импульсов генератора 26 импульсов блока 12 синхрони10 зации двоичные коды остатков а и ai сдвигаютс , начина  с младших разр дов, с выходов регистров 2 и 3 сдвига соответственно . На выходе сумматора 7 формируетс  последовательный двоичный кодUnder the action of the clock pulses of the generator 26 of the pulses of the synchronization unit 12, the binary codes of the residuals a and ai shift, starting with the least significant bits, with the outputs of the shift registers 2 and 3, respectively. A serial binary code is generated at the output of the adder 7.

5 суммы остатков а 1 Л-ai , а на выходе вы- читател  8 - разности остатков ai - а . Отрицательна  разность формируетс  на выходе вычитател  8 в дополнительном коде. Двоичный код разности остатков с5 sums of residues а 1 Л-ai, and at the output of the reader 8 - differences of residues ai - а. A negative difference is generated at the output of the subtractor 8 in the additional code. Binary code residual with

0 выхода вычитагел  8 поступав1 на информационный вход регистра 4 сдвига и под действием тактовых импульсов генерато- , ра 26 импульсов блока 12 синхронизации спуст  один, два m тактов начинает0 output subtraction 8 received on the information input of the register 4 shift and under the action of the clock pulses of the generator, 26 pulses of the synchronization unit 12 after one, two m cycles begins

5 сдвигатьс  соответственно с выходов первого , второго, ..., т-го разр дов регистра 4 сдвига. Поскольку задержка последовательного кода на один такт эквивалентна умножению на два, то на выходах перво0 го, второго, ..., т-го разр дов регистра 4 сдвига формируютс  соответственно после- довательные двоичные коды величин5 shift accordingly from the outputs of the first, second, ..., t-th bits of the register 4 shift. 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, ..., m-th bits of the shift register 4, respectively, sequential binary codes of values are formed

2 («2-сп) ,2 2 (0:2-a i)2m(«2-ai)2 ("2-cn), 2 2 (0: 2-a i) 2m (" 2-ai)

j- Выбор одной из этих величин осуществл етс  с помощью переключател  10 основани  системы остаточных классов. Предположим , что основание системы остаточных классов Р2 6N+1, где N - 2К. к т, то выход к+1-го разр да регистра 4 сдвига через переключатель 10 соедин ют с входами элемента 21 задержки и сумматора 6. Следовательно, на выходе переключател  10 формируетс  последовательныйj- One of these values is selected using the switch 10 of the base of the system of residual classes. Suppose that the base of the system of residual classes Р2 is 6N + 1, where N is 2K. t, then the output to the + 1 th digit of the shift register 4 through the switch 10 is connected to the inputs of the delay element 21 and the adder 6. Consequently, the output of the switch 10 is formed in series

5 двоичный код величины 2ст (), который задерживаетс  на такт элементом 21 задержки, что эквивалентно умножению этой величины на два. Таким образом, на выходе элемента 21 задержки5, the binary code of the value of 2st (), which is delayed by a cycle by the delay element 21, which is equivalent to multiplying this value by two. Thus, at the output of the element 21 delay

0 действует последовательный двоичный код0 serial binary code valid

величины 2 (#2 - о. i), который суммируетс , начина  с младших разр дов, в сумматоре 6 с последовательным двоич02 (# 2 - O. i), which is summed, starting with the least significant bits, in adder 6 with consecutive binary

ным кодом величины 2 + ( ai - а ) , формируемым на выходе переключател  10 основани  системы остаточных классов. На выходе сумматора -6 действует последовательный двоичный код величиныby a code of 2 + (ai - a), formed at the output of the switch 10 of the base of the system of residual classes. The output of the adder -6 is a serial binary value code

&-2k(a2 О. т) , который вычитаетс  вы ч итателем 9 из последовательного двоичного кода суммы остатков а- +«2 , действующего на выходе сумматора 7. На выходе вычитател  9 последовательно во времени , начина  с младшего разр да, формируетс  последовательный двоичный код& -2k (a2 O. t), which is subtracted by the reader 9 from the sequential binary code of the sum of residues a- + 2, acting at the output of the adder 7. At the output of the subtractor 9 successively in time, starting with the least significant bit, a sequential binary code

величины («1 Ч- а2) - 6-2k(a2-o:i), который поступает на один из входов сумматора 5, поступление информации на другой вход которого зависит от состо ни  коммутатора 11. Если триггер 15 находитс  в единичном состо ние, то коммутатор 11 подключает выход регистра 1 сдвига к входу сумматора 5. Если триггер 15 сохран ет нулевое состо ние, то к входу сумматора 5 подключаетс  выход элемента 20 задержки на такт. Элемент И 17 блокирует вход элемента 20 задержки, если триггер 14 находитс  в нулевом состо нии, либо подключает выход регистра 1 сдвига к входу элемента 20 задержки, когда триггер 14 находитс  в единичном состо нии.the values ("1 H-a2) - 6-2k (a2-o: i), which goes to one of the inputs of the adder 5, the flow of information to another input of which depends on the state of the switch 11. If the trigger 15 is in one state , the switch 11 connects the output of the shift register 1 to the input of the adder 5. If the trigger 15 maintains the zero state, then the output of the delay element 20 is connected to the input of the adder 5. Element And 17 blocks the input of delay element 20 if trigger 14 is in the zero state, or connects the output of shift register 1 to the input of delay element 20 when trigger 14 is in the unit state.

После запуска преобразовател , двоичный код величины PV Р2 сдвигаетс  под действием тактовых импульсов генератора 26 импульсов блока 12 синхронизации из регистра 1 сдвига, и, начина  с младшего разр да, поступает через коммутатор 11 на вход сумматора 5 в случае единичного состо ни  триггера 15. В этом случае на выходе сумматора 5 формируетс  последовательный двоичный код величиныAfter starting the converter, the binary code of the PV P2 value is shifted under the action of the clock pulses of the generator 26 of the pulses of the synchronization unit 12 from the shift register 1, and, starting with the lower bit, is fed through the switch 11 to the input of the adder 5 in the case of a single trigger state 15. In In this case, the output of the adder 5 generates a serial binary code of the value

Pr P2+ (ai + a2)-6-2k(a2-ai), который равен удвоенному значению преобразованного числа.Pr P2 + (ai + a2) -6-2k (a2-ai), which is equal to twice the value of the converted number.

Когда триггер 15 находитс  в нулевом состо нии, а триггер 14 - в единичном состо нии , то двоичный код Pi Р2 сдвигаетс  из регистра 1 сдвига через элемент И 17, элемент 20 задержки на такт и коммутатор 11 на вход сумматора 5. Элемент 20 задержки на такт реализует операцию умножени  на два последовательного двоичного кода величины РгРа. В этом случае на выходе сумматора 5 формируетс  последовательный двоичный код величиныWhen the trigger 15 is in the zero state, and the trigger 14 is in the single state, the binary code Pi P2 is shifted from the shift register 1 through the And 17 element, the delay element 20 per clock and the switch 11 to the input of the adder 5. The delay element 20 the tact implements the operation of multiplying the PrgPa value by two consecutive binary codes. In this case, the output of the adder 5 generates a serial binary code of the value

2Pr P2+ (ai + a2)-6-2k(a2-ai)3, который равен удвоенному значению преобразованного числа.2Pr P2 + (ai + a2) -6-2k (a2-ai) 3, which is equal to twice the value of the converted number.

В том случае, когда триггеры 14 и 15 сохран ют нулевые состо ни , элемент И 17 закрыт сигналом пр мого выхода триггера 14 и на выходе коммутатора 11 действует нулевой двоичный код. В этом случае двоичный код величиныIn the case when the triggers 14 and 15 retain zero states, the AND element 17 is closed by the direct output signal of the trigger 14 and the output of the switch 11 is the zero binary code. In this case, the binary value code

(ai-ct2)-6-2k(a2-ai)(ai-ct2) -6-2k (a2-ai)

формируемый на выходе вычитател  9 и равный удвоенному значению преобразованного числа, проходит через сумматор 5 без изменени . Последовательный двоичныйformed at the output of the subtractor 9 and equal to twice the value of the converted number, passes through the adder 5 without change. Serial binary

код удвоенного значени  преобразованного числа с выхода сумматора 5 за 2п тактов записываетс  в регистр 1 сдвига под действием тактовых импульсов, поступающих с выхода элемента И 30 блока 12 синхронизации .The double value code of the converted number from the output of the adder 5 in 2p clock cycles is written to the shift register 1 under the action of clock pulses from the output of the And 30 element of the synchronization unit 12.

Спуст  2п тактов после запуска преобразовател  на выходе делител  28 частоты формируетс  импульс, который устанавливает триггер 29 блока 12 синхронизацииAfter 2p clocks after starting the converter, a pulse is generated at the output of the frequency divider 28, which sets the trigger 29 of the synchronization unit 12

(фиг.2) в нулевое состо ние. Импульс, формируемый на выходе делител  28 частоты, поступает на выход 34 блока 12 синхронизации и устанавливает триггеры 14 и 15 в нулевые состо ни , Триггер 29 блока 12(Fig. 2) to the zero state. The pulse generated at the output of the frequency divider 28 arrives at the output 34 of the synchronization unit 12 and sets the triggers 14 and 15 to zero states, the trigger 29 of the unit 12

синхронизации в нулевом состо нии формирует на пр мом выходе сигнал О, который поступает на выход 32 блока 12 синхронизации и прекращает вычислени  в вычитател х 8 и 9. Нулевой сигнал пр могоsynchronization in the zero state generates a signal O on the direct output, which is output to the output 32 of the synchronization unit 12 and stops the computation in the subtractors 8 and 9. The zero signal is direct

выхода триггера 29 блокирует также элемент И 30 и на выходе 33 блока 12 синхронизации формируетс  нулевой сигнал, который прекращает процесс сдвига информации в регистрах 1, 2, 3 и 4 сдвига.the output of the trigger 29 also blocks the element AND 30 and at the output 33 of the synchronization unit 12 a zero signal is generated, which terminates the process of shifting information in the registers 1, 2, 3 and 4 of the shift.

Таким образом, спуст  2п тактов после запуска преобразовател  в разр дах регистра 1 сдвига со второго разр да по 2п-й сформировалс  двоичный код преобразованного числа, имеющего остатки и a 2 поThus, after 2p clocks, after starting the converter, the binary code of the transformed number having residues and a 2 through

основани м PI 6- 2К - 1 и Р2 6- 2К + 1 соответственно. Двоичный код преобразованного числа может быть считан с выходов разр дов регистра 1 сдвига со второго разр да по 2п-й в виде параллельного двоичного кода.bases PI 6-2K-1 and P2 6-2K + 1, respectively. The binary code of the converted number can be read from the outputs of the bits of the shift register 1 from the second bit to 2 n-th in the form of a parallel binary code.

Схема 13 сравнени  кодов (фиг.З) работает следующим образом. На входы 23 и 24 поступают соответственно параллельные n-разр дные коды остатков а 1 и a.i,The code comparison circuit 13 (FIG. 3) works as follows. The inputs 23 and 24 are received, respectively, parallel n-bit codes of residues a 1 and a.i,

5 Перва , начина  со старшего разр да , комбинаци  кодов в i-м разр де а 11 0 , а 2 1 формирует на выходе элемента И-ИЛИ-НЕ 35 четного разр да сигнал 1, а на выходе элемента И-ИЛИ-НЕ 355 First, starting from the most significant bit, the combination of codes in the i-th bit is 11 0, and 2 1 forms at the output of the AND-OR-NOT 35 element of even-digit signal 1, and at the output of the AND-OR-NOT element 35

0 нечетного разр да - сигнал О. Этот сигнал при любой другой комбинации кодов в старших разр дах последовательно проходит через элементы И-ИЛИ-НЕ 35 на выход 37 схемы 13 сравнени  кодов в0 odd bit - signal O. This signal with any other combination of codes in the higher bits sequentially passes through the elements AND-OR-NOT 35 to the output 37 of the circuit 13 of the code comparison in

5 виде сигнала 1. Например, допустим в п-1-м разр де действует перва , начина  со старшего разр да -комбинаци  кодов a i(n -1) 0 ,«2 (п -1 ) 1 . В этом случае на выходе элемента И-ИЛИ-НЕ 35 (п-1)-го5 as a signal 1. For example, let's say in n-1 bit, the first acts, starting with the highest bit, combining the codes a i (n -1) 0, "2 (n -1) 1. In this case, at the output of the element AND-OR-NOT 35 (p-1) -th

разр да (нечетного) формируетс  сигнал О, который блокирует первую и третью группу входов элемента И-ИЛИ-НЕ 35 п-го разр да, втора  группа входов которого блокируетс  в случае любой комбинации кодов в n-м разр де, кроме комбинации й2(п ) 0 ,а 1 (п ) 1 . Следовательно, на выходе элемента И-ИЛИ-НЕ 35 n-го разр да (четного) формируетс  сигнал 1, который поступает на выход 37 схемы 13 сравнени  кодов как сигнал результата сравнени  дл  случа  a z сс 1 .a bit (odd), a signal O is generated, which blocks the first and third groups of inputs of an AND-OR-NOT element 35 of the nth digit, the second group of inputs of which is blocked in the case of any combination of codes in the nth bit, except for a combination of d2 ( p) 0, and 1 (p) 1. Consequently, at the output of the n-th bit (even) element AND-OR-NO 35, a signal 1 is generated, which is output to the output 37 of the code comparison circuit 13 as a signal of the comparison result for the case a z cc 1.

Если во всех разр дах остатков а. и а.2 отсутствует комбинаци  кодов а 1 () 0, а2 (i) 1, то в четных разр дах на выходах элементов И-ИЛИ-НЕ 35 действует сигнал О, а в нечетных разр дах - 1. На выходе n-го (четного) разр да элемента И- ИЛИ-НЕ 35 действует сигнал О, который поступает на выход 37 схемы 13 сравнени  кодов.If in all categories of residues a. and a.2 there is no combination of codes а 1 () 0, а2 (i) 1, then in even bits at the outputs of the AND-OR-HE elements 35, the signal O acts, and in odd bits - 1. At the output of the n-th the (even) bit of the AND-OR-NOT 35 element, the signal O, which arrives at the output 37 of the code comparison circuit 13, acts.

Claims (1)

Формула изобретени  Преобразователь кода системы остаточных классов в позиционный код, содержа- щий четыре регистра сдвига, три сумматора, два вычитател , переключатель основани  системы остаточных классов коммутатор, блок синхронизации, схему сравнени  кодов , два триггера, элемент ИСКЛЮЧАЮ- ЩЕЕ ИЛИ, три элемента И и два элемента задержки, причем входы разрешени  записи первого - четвертого регистров сдвига соединены с первым выходом блока синхронизации, второй выход которого со- единен с входом разрешени  первого вычитател , третий выход блока синхронизации соединен с входами разрешени  сдвига первого - четвертого регистров сдвига, группа входов задани  диапазона представ- лени  чисел преобразовател  соединена со- ответственно с группой входов ввода данных первого регистра сдвига, информационный вход которого соединен с выходом первого сумматора, выход первого регистра сдвига соединен с первым входом первого элемента И и с первым информационным входом коммутатора, второй информационный вход которого соединен с выходом элемента задержки, группа входов ввода данных второго регистра сдвига объединена с первой группой информационных входов схемы сравнени  кодов и  вл етс  первой группой информационных входовClaim code converter of a system of residual classes into a position code containing four shift registers, three adders, two subtractors, a switch, a switch of a base of a system of residual classes, a synchronization unit, a code comparison circuit, two triggers, an element EXCLUSIVE OR, three elements AND and two delay elements, the recording resolution inputs of the first to fourth shift registers are connected to the first output of the synchronization unit, the second output of which is connected to the resolution input of the first subtractor, the third in the synchronization unit's stroke is connected to the shift resolution inputs of the first to fourth shift registers, the group of inputs for specifying the representation range of the converter numbers is connected respectively to the input data input group of the first shift register, whose information input is connected to the output of the first adder, the output of the first shift register is connected a group of input inputs is given with the first input of the first element I and with the first information input of the switch, the second information input of which is connected to the output of the delay element s of the second shift register is combined with the first group of information inputs code comparing circuit and is a first group of information inputs преобразовател , группа входов ввода данных третьего регистра сдвига обьединена с второй группой информационных входов схемы сравнени  кодов и  вл етс  второй группой информационных входов преобразовател , выходы второго и третьего регистров сдвига соединены соответственно с входами вычитаемого и уменьшаемого первого вычитател , выходы разр дов четвертого регистра сдвига соединены соответственно с входами переключател  основани  системы остаточных классов, выход которого соединен с входом первого слагаемого второго сумматора и входом второго элемента задержки,выход которого соединен с входом второго слагаемого второго сумматора , пр мой выход первого триггера соединен с вторым входом первого элемента И, выход которого соединен с входом первого элемента задержки, пр мой выход второго триггера соединен с управл ющим входом коммутатора, выход которого соединен с входом первого слагаемого первого сумматора , входы установки в 1 переого и второго триггеров соединены соответственно с выходами второго и третьего элементов И, первые входы которых соединены с первым выходом блока синхронизации, вход запуска которрго соединен с входом запуска преобразовател , четвертый выход блок.а синхронизации соединен с входами установки в О первого и второго триггеров выход схемы сравнени  кодов соединен с вторым входом второго элемента И второй вход третьего элемента И соединен с выходом элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, пер вый и второй входы которого соединены соответственно с первыми входами первой и второй групп информационных входов преобразовател , отличающийс  тем, что, с целью упрощени  преобразовател , входы вычитаемого и уменьшаемого второго вычитател  соединены соответственно с выходами второго и третьего сумматоров, информационный вход четвертого регистра сдвига соединен с выходом первого вычитател , вход второго слагаемого первого сумматора соединен с выходом второго вычитател , вход разрешени  которого соединен с вторым выходом блока синхронизации , входы первого и второго слагаемых третьего сумматора соединены соответственно с выходами второго и третьего регистров сдвига.the converter, the input data input group of the third shift register is combined with the second group of information inputs of the code comparison circuit and is the second group of information inputs of the converter; the outputs of the second and third shift registers are connected respectively to the inputs of the read and decrement first subtractor; the outputs of the bits of the fourth shift register are connected in accordance with the inputs of the switch of the base system of the residual classes, the output of which is connected to the input of the first term of the second adder and the input of the second delay element, the output of which is connected to the input of the second term of the second adder, the direct output of the first trigger is connected to the second input of the first element I, the output of which is connected to the input of the first delay element, the direct output of the second trigger is connected to the control input of the switch, the output of which is connected to the input of the first term of the first adder, the installation inputs in 1 of the first and second triggers are connected respectively to the outputs of the second and third elements And, the first inputs of which are connected to the first the output output of the synchronization unit, the start input is connected to the start input of the converter, the fourth output of the synchronization unit and is connected to the installation inputs of the first and second triggers the output of the code comparison circuit is connected to the second input of the second element And the second input of the third element is And is connected to the output of the element EXCLUSIVE OR, 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, characterized in that, in order to simplify the converter, the inputs of the subtracted and decremented second subtractor are connected respectively to the outputs of the second and third adders, the information input of the fourth shift register is connected to the output of the first subtractor, the input of the second term of the first adder is connected to the output of the second subtractor, the resolution input of which is connected to the second output of the synchronization unit, the inputs of the first and the second term of the third adder is connected respectively to the outputs of the second and third shift registers. 23(f)23 (f) Фиг.ЗFig.Z ги2б gi2b 7m 7m ГОЙЯ ПGOYA P тгд -Itkd -I изо „JlJlJTJTJTJnfrom „JlJlJTJTJTJn Фиг АFIG A
SU884610360A 1988-11-28 1988-11-28 Residue system code to positional code converter SU1624699A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU884610360A SU1624699A1 (en) 1988-11-28 1988-11-28 Residue system code to positional code converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU884610360A SU1624699A1 (en) 1988-11-28 1988-11-28 Residue system code to positional code converter

Publications (1)

Publication Number Publication Date
SU1624699A1 true SU1624699A1 (en) 1991-01-30

Family

ID=21411563

Family Applications (1)

Application Number Title Priority Date Filing Date
SU884610360A SU1624699A1 (en) 1988-11-28 1988-11-28 Residue system code to positional code converter

Country Status (1)

Country Link
SU (1) SU1624699A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1228290,кл. Н 03 М 7/18, 1984. Авторское свидетельство СССР № 1388997, кл. Н 03 М 7/18, 1986. *

Similar Documents

Publication Publication Date Title
CA1267731A (en) Serial digital signal processing circuitry
SU1624699A1 (en) Residue system code to positional code converter
US5761100A (en) Period generator for semiconductor testing apparatus
SU1388997A1 (en) Residual class system code-to-position code converter
RU2022332C1 (en) Orthogonal digital signal generator
SU1228276A1 (en) Counter for subtraction
US3764787A (en) Method and apparatus for pulse distribution with variable time interval for pulse train generation
SU1697071A1 (en) Orthogonal signal generator
RU2047939C1 (en) Driven pulse shaper
SU911508A1 (en) Device for comparing two numbers
SU798902A1 (en) Integro-differential computer
RU2205500C1 (en) Analog-to-digital converter
SU1336249A1 (en) Device for forming multiposition encoded sequences
SU955051A1 (en) Integral differential calculator digital differential device
SU1233172A1 (en) Number-to-probability converter
SU1256162A1 (en) M-sequence generator
SU1177910A1 (en) Device for generating quaternary-coded sequences
SU1051537A1 (en) Device for implementing square dependence
SU1179335A1 (en) Quasi-stochastic converter
SU1462282A1 (en) Device for generating clocking pulses
SU1275761A2 (en) Pulse repetition frequency divider
SU1070545A1 (en) Computing device
SU1234968A1 (en) Sine shift signal-to-digital converter
SU1543401A1 (en) Digital function generator
RU1777131C (en) Stochastic generator of walsh functions