SU1226670A1 - Reversible converter of position code to residual class system code - Google Patents

Reversible converter of position code to residual class system code Download PDF

Info

Publication number
SU1226670A1
SU1226670A1 SU843787868A SU3787868A SU1226670A1 SU 1226670 A1 SU1226670 A1 SU 1226670A1 SU 843787868 A SU843787868 A SU 843787868A SU 3787868 A SU3787868 A SU 3787868A SU 1226670 A1 SU1226670 A1 SU 1226670A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
inputs
output
converter
code
Prior art date
Application number
SU843787868A
Other languages
Russian (ru)
Inventor
Валерий Иванович Глушков
Анатолий Иванович Сахно
Владимир Игнатьевич Ключко
Виктор Анатольевич Краснобаев
Николай Иванович Швецов
Original Assignee
Предприятие П/Я М-5156
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 Предприятие П/Я М-5156 filed Critical Предприятие П/Я М-5156
Priority to SU843787868A priority Critical patent/SU1226670A1/en
Application granted granted Critical
Publication of SU1226670A1 publication Critical patent/SU1226670A1/en

Links

Abstract

Изобретение относитс  к вычислительной технике. Цель изобретени  - расширение области применени  преобразовател  за счет обеспечени  работы по произвольным основани м. Это достигаетс  тем, что преобразователь, содержащий (п+1) счетчиков, (n-t-I) схему сравнени , два элемента И, элемент ИЛИ, триггер дополнительно содержит вычитатель с соответствуклцими св з ми. 1 ил..The invention relates to computing. The purpose of the invention is to expand the scope of the converter by providing work on arbitrary bases. This is achieved by the fact that the converter containing (n + 1) counters, (ntI) comparison circuit, two AND elements, OR element, trigger additionally contains a subtractor with corresponding links. 1 il ..

Description

Изобретение относитс  к области вычислительной техники и может быть использовано дл  сопр жени  с устройствами , функционирующими в системе остаточных классов (СОК).The invention relates to the field of computer technology and can be used to interface with devices operating in the residual class system (SOC).

Цель изобретени  - расширение области применени  за счет обеспечени  работы по произвольным основани м .The purpose of the invention is to expand the scope of application by providing work on arbitrary grounds.

На чертеже представлена схема обратимого преобразовател  позиционного кода в код системы остаточных классов.The drawing shows a diagram of the reversible converter of the positional code into the code of the system of residual classes.

Обратимый преобразователь позиционного кода в код системы остаточных классов содержит счетчики 1(-1п+( схем 2,-2,,ц сравнени , элемент ИЗ, элемент ИЛИ 4, элемент И 5, триггер 6, вычитатель 7, вход 8 Пуск, тактовый вход 9, входы 10-1 On оснований , вход 11 числа в позиционном коде, вход 12 диапазона, выход 13 числа в позиционном коде, входы 14(-14 и выходы 15,-15„ числа в коде системы остаточных знаков.A reversible converter of the positional code into the code of the system of residual classes contains counters 1 (-1p + (circuits 2, -2,, comparison, element OF, element OR 4, element 5, trigger 6, subtractor 7, input 8 Start, clock input 9, inputs 10-1 On of the bases, input 11 numbers in the position code, input 12 of the range, output 13 numbers in the position code, inputs 14 (-14 and outputs 15, -15 ”numbers in the code of the residual characters system.

Обратимый преобразователь позиционного кода в код системы остаточных классов работает следующим образом. В режиме преобразовани  позиционного кода в код СОК счетчики 1 обнулены , на входах 10 выставлены коды оснований р. выбранной СОК, на входе 11 - код преобразуемого числа А . Триггер 6 находитс  в нулевом состо нии . С приходом импульса по входу 8 Пуск триггер 6 переводитс  в единичное состо ние и потенциал с ег пр мого выхода разрешает поступление тактовых импульсов с входа 9 через элемент И 5 на тактовые входы счетчиков 1. Каждый из счетчиков Ij-lo работает по своему модулю р , т.е. как только содержимое счетчика сравниваетс  с р , сигнал с выхода схемы 2 сравнени  обнул ет счетчик 1 Как только содержимое счетчика 1, станет равным преобразуемому числу А, сигнал с выхода схемы 2 сравнени  пройдет через элемент ИЛИ 4, переведет триггер 6 в нулевое состо ние , что приведет к закрытию элемента И 5 и исключит дальнейшее поступление тактовых импульсов в преобразователь. В счетчиках будет находитьс  результат преобразовани  позиционного числа А в СОК.The reversible converter of the positional code into the code of the system of residual classes works as follows. In the mode of converting the positional code into the RN code, the counters 1 are reset to zero, the grounds codes p are set at inputs 10. selected SOK, input 11 is the code of the number A to be converted. Trigger 6 is in the zero state. With the arrival of a pulse at input 8, trigger 6 is transferred to a single state and the potential from its direct output allows receipt of clock pulses from input 9 through an AND 5 element to the clock inputs of counters 1. Each of the Ij-lo counters operates modulo p, those. as soon as the contents of the counter are compared with p, the signal from the output of the comparison circuit 2 zeroes the counter 1 As soon as the contents of the counter 1 becomes equal to the number A being converted, the signal from the output of the comparison circuit 2 passes through the element OR 4, sets trigger 6 to the zero state, which will lead to the closure of the element And 5 and will exclude further receipt of clock pulses in the converter. The counters will contain the result of converting the position number A to a SOC.

В режиме преобразовани  чисел из СОК в позиционную форму представIn the mode of converting numbers from SOC to positional form,

в счетчикиin counters

L записаны коL recorded to

ды остатков N,-« , счетчик . и триггер 6 обнулены, на входах 10 выставлены коды оснований выбранной СОК, на входе 12 выставлен код чисИd residues N, - “, counter. and the trigger 6 is reset, at the inputs 10 the codes of the bases of the selected RCC are set, at the input 12 the number code is set

лового диапазона Р .П Р. выбранной СОК. С приходом импульса по входу 8,Пуск содержимое счетчиков Ij-lf, начинает измен тьс  поselected range of ROS. With the arrival of the pulse at the input 8, the Start the contents of the counters Ij-lf, begin to change along

00

5five

модул м с начального состо ни  « ,-с(, а содержимое счетчика 1 п, - монотонно расти. Как только содержимое счетчиков ( в непозиционном представлении будет равно диапа- 5 зону выбранной СОК, все схемы 2,-2 сравнени  сработают, и на выходе многовходового элемента И 3 по витс  сигнал, который пройдет через элемент ИЛИ 4, переведет триггер 6 в нулевое состо ние и прекратит тем самым поступление тактовых импульсов в схему. Так как в счетчиках Ij-lf, ведетс  пересчет, начина  с числа А до диапазона Р, то в счетчике 1|,+1 находитс  код разности А Р - А . Следовательно, в момент по влени  сигнала с выхода многовходового элемента И 3 на выходе вычита- тел  7 присутствует код преобразованного числаmodules with the initial state ", -c (, and the contents of the counter 1 n, - monotonously grow. As soon as the contents of the counters (in the non-positional representation will be equal to the range of the selected SOC, all circuits 2, -2 comparisons will work, and the output of the multi-input element And 3 wits the signal that passes through the element OR 4, will transfer the trigger 6 to the zero state and thereby stop the flow of clock pulses into the circuit. Since in the counters Ij-lf, the counting is performed, starting from the number A to the range P, then in the counter 1 |, + 1 there is the difference code А Р - A. Sledova Of course, at the moment of the appearance of the signal from the output of the multi-input element And 3, the output of the subtractor 7 contains the code of the transformed number

А Р -АA P -A

3535

Claims (1)

Формула изобретен иFormula invented and Обратимый преобразователь позиционного кода в код системы остаточных классов, содержащий (п+) счетчиков , п - количество оснований, (п+1) схему сравнени , два элемента И, элемент ИЛИ, триггер, причем входы числа в системе остаточных классов преобразовател  соединены с информационными . входами первых п счетчиков , выходы которых соединены с первыми входами соответствующих схем сравнени , выходы которых соединены с соответствующими входами первого A reversible converter of a positional code into a code of a system of residual classes containing (n +) counters, n is the number of bases, (n + 1) a comparison circuit, two AND elements, an OR element, a trigger, and the number inputs in the system of residual classes of the converter are connected to information . the inputs of the first n counters, the outputs of which are connected to the first inputs of the respective comparison circuits, the outputs of which are connected to the corresponding inputs of the first элемента И, выход которого и выход (п+1)-й схемы сравнени  соединены соответственно с первым и вторым входами элемента ИЛИ, выход которого соединен с нулевым входом триггера,an element AND whose output and output (n + 1) -th comparison circuit are connected respectively to the first and second inputs of the OR element, the output of which is connected to the zero input of the trigger, единичный вход и выход которого соединены соответственно с входом пуска преобразовател  и с первым входом второго элемента И, второй вход которого  вл етс  тактовым входом преобразовател , выход второго элемента И соединен со счетными входами счетчиков с первого по (п+1)-й, выход (п-И)-го счетчика соединен с пе вым входом (п+1)-й схемы сравнени , второй вход которой  вл етс  входом числа в позиционном коде преобразовател , вторые входы схем сравнени  с первой по п-ю  вл ютс  входами оснований преобразовател , выходы счетчиков с первого по п-й  вл ютс  выходами числа в коде системы остаточных классов преобразовател  , отличающийс the single input and output of which are connected respectively to the start input of the converter and to the first input of the second element AND, the second input of which is the clock input of the converter, the output of the second element AND is connected to the counting inputs of the counters from the first to (n + 1), output ( The n-and-i-th counter is connected to the first input of the (n + 1) -th comparison circuit, the second input of which is the number input in the position code of the converter, the second inputs of the comparison circuit with the first through the n-th are the inputs of the converter base, meter outputs from first to The nth are outputs of the number in the code of the system of residual classes of the converter, differing Редактор А.СабоEditor A. Sabo Составитель А.Клюев Техред В.КадарCompiled by A. Klyuev Tehred V. Kadar Заказ 2147/5 Тираж 816ПодписноеOrder 2147/5 Circulation 816 Subscription ВНИИПИ Государственного комитета СССРVNIIPI USSR State Committee по делам изобретений и открытий 113035, Москва, Ж-35, Раушска  наб., д. 4/5 for inventions and discoveries 113035, Moscow, Zh-35, Raushsk nab., 4/5 Производственно-полиграфическое предпри тие, г.Ужгород, ул.Проектна , 4.Production and printing company, Uzhgorod, Projecto st., 4. 2667026670 тем, что, с целью расширени  области применени  за счет обеспечени  работы по произвольным основани м, он содержит вычитатель, причем выходы 5 схем сравнени  с первой по п-ю соединены с входами сброса соответствук - щих счетчиков, выход (п+1)-го счетчика , выход первого элемента И и вход диапазона чисел преобразова- 10 тел  соединены соответственно с входом вычитаемого тактовым входом и входом уменьшаемого вычитател , выход которого  вл етс  выходом числа в йозиционном коде преобразовател .the fact that, in order to expand the scope of application by providing work on arbitrary grounds, it contains a subtractor, with the outputs 5 of the comparison circuits with the first through the n-th being connected to the reset inputs of the corresponding counters, the output of the (n + 1) -th the counter, the output of the first element, AND, and the input of the range of numbers of the transformer; Т,,T ,, У/ЗU / S Корректор И.ЭрдейиProof-reader I.Erdeyi
SU843787868A 1984-09-03 1984-09-03 Reversible converter of position code to residual class system code SU1226670A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU843787868A SU1226670A1 (en) 1984-09-03 1984-09-03 Reversible converter of position code to residual class system code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU843787868A SU1226670A1 (en) 1984-09-03 1984-09-03 Reversible converter of position code to residual class system code

Publications (1)

Publication Number Publication Date
SU1226670A1 true SU1226670A1 (en) 1986-04-23

Family

ID=21137449

Family Applications (1)

Application Number Title Priority Date Filing Date
SU843787868A SU1226670A1 (en) 1984-09-03 1984-09-03 Reversible converter of position code to residual class system code

Country Status (1)

Country Link
SU (1) SU1226670A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 756401, кл. G 06 F 5/02, 1976. Авторское свидетельство СССР № 574714, кл. G 06 F 5/02, 1975. *

Similar Documents

Publication Publication Date Title
SU1226670A1 (en) Reversible converter of position code to residual class system code
US4016558A (en) Apparatus for converting a plurality of signals representative of digital bits of information to an analog signal
SU1496004A1 (en) Unit for conversion of compementary binary code to sign-aftering code
SU1665395A1 (en) Device for object image recognition
SU1049966A1 (en) Device for writing data in working storage
SU1525710A1 (en) Device of modeling current supply source
SU1297227A1 (en) Shaft angle-to-digital converter
SU941926A1 (en) Digital servo drive
SU1488968A1 (en) Residue-class-system-code-to-positional-code converter with error detection
SU1383336A1 (en) Device for ordering array of numbers
SU1363460A1 (en) A-d conversion device
SU1635175A1 (en) Device for computing algebraic equations
SU1325700A1 (en) Displacement-to-code converter
SU1260949A1 (en) Device for calculating values of arctangent function
SU1312618A1 (en) Device for extracting square root of sum of two squared voltages
SU1248066A1 (en) Shift-to-digital converter
SU1315997A1 (en) Device for generating coordinates of net area
SU1058047A1 (en) Code translator
SU807492A1 (en) Terniary reversible n-digit pulse counter
SU1488753A1 (en) Device for acceleration and braking of mechanisms
SU1667050A1 (en) Module for boolean function logic transformation
SU1633529A1 (en) Device for majority sampling of asynchronous signals
SU1256014A1 (en) Device for sorting data
SU1293844A1 (en) Device for transforming programs
SU960792A1 (en) Converter of binary code to mixed base position code