SU1226670A1 - Reversible converter of position code to residual class system code - Google Patents
Reversible converter of position code to residual class system code Download PDFInfo
- 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
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)
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) |
-
1984
- 1984-09-03 SU SU843787868A patent/SU1226670A1/en active
Non-Patent Citations (1)
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 |