SU840879A1 - Direct- to-supplementary code converter - Google Patents
Direct- to-supplementary code converter Download PDFInfo
- Publication number
- SU840879A1 SU840879A1 SU782572994A SU2572994A SU840879A1 SU 840879 A1 SU840879 A1 SU 840879A1 SU 782572994 A SU782572994 A SU 782572994A SU 2572994 A SU2572994 A SU 2572994A SU 840879 A1 SU840879 A1 SU 840879A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- code
- bit
- adder
- direct
- Prior art date
Links
Description
1one
Изобретение относитс к вычислительной технике, служит дл преобразрвани пр мого кода в дополнитЪльный и может быть использовано в арифметических устройствах и других устройствах обработки цифровой информации.The invention relates to computing, serves to convert direct code to additional code and can be used in arithmetic and other digital information processing devices.
Известны преобразователи пр мого кода в дополнительный, построенные на триггерных регистрах t11.Known converters direct code to the additional, built on the trigger registers t11.
Однако известные преобразователи обладают недостаточной надежностью работы.However, the known converters have insufficient reliability of operation.
Наиболее близким к пpeдлг гaeмoмy вл етс преобразователь пр мого кода в дополнительный, построенный на логических элементах и сумматоре 2.The closest to the header is a direct code to additional converter, built on logic elements and adder 2.
Однако схема такого преобразовател достаточнр сложна.However, the design of such a converter is complex enough.
Цель изобретени - упрощение устройства .The purpose of the invention is to simplify the device.
Цель достигаетс тем, что в преобразователе пр мого кода в дополнительный , содержащем при преобразовании (п+1)- разр дного коДа п элементов И-НЕ и п-разр дный сумматор, ишна каждого i-ro разр да входного кода (.) соединена со входом (1-1)-го элемента И-НЕ и со входомThe goal is achieved by the fact that in the direct code to additional converter, which contains (n + 1) - bit code and N – N elements and a n-bit adder when converting, each i-ro bit of the input code (.) Is connected with input (1-1) -th element AND-NOT and with input
i-ro разр да сумматора, с другим, входом которого соединен выход i-ro элемента И-НЕ, вход п-го элемента И-НЕ подключен к шине управл ющей константы, выход первого элемента И-НЕ и шина первого разр да входного кода подключены ко входам первого разр да сумматора, шина знака входного кода подключена ко входам всех элементов И-НЕ.The i-ro bit of the adder, with another input of which is connected to the output of the i-ro element AND-NOT, the input of the n-th element AND-NOT is connected to the control constant bus, the output of the first element AND-NOT and the bus of the first bit of the input code connected to the inputs of the first digit of the adder, the tire of the sign of the input code is connected to the inputs of all the elements AND NOT.
. На чертеже представлена функциональна блок-схема преобразовател пр мого кода в дополнительный.. The drawing shows a functional block diagram of a direct to additional converter.
Устройство содержит п элементов 1-1 г 1-п И-НЕ и п-разр дный сумматор 2 (2-1 7 2-п). Перва шина знак Ад входного кода соединена со входами всех элементов 1-1 т 1-п ИНЕ . Втора шина первого разр да А входного кода подключена ко входу первого разр да сумматора 2-1, i-а .шина каждого -последующего разр да входного кода Ai(2«i) подключена ко входу ( элемента И-НЕ и ко входу 1-го разр да сумматора 2. Один вход п-го элемента И-НЕ подключен к (п-И)-ой шине управл ющей кона выход п-го элементаThe device contains n elements 1-1 g 1-n AND-NOT and p-bit adder 2 (2-1 7 2-p). The first bus sign Ad input code is connected to the inputs of all elements 1-1 t 1-p INE. The second bus of the first bit A of the input code is connected to the input of the first bit of the adder 2-1, ia. The bus of each is the next bit of the input code Ai (2 «i) is connected to the input (AND-NOT element and to input 1- the second bit of the adder 2. One input of the n-th element AND-NOT connected to the (p-And) bus control con output of the n-th element
стантыstanta
И-НБ подключен дополнительно ко входу переноса п-го разр да сумматора.I-NB is connected additionally to the transfer input of the n-th bit of the adder.
Преобразователь работает следующим обраэом.The converter works as follows.
Входной разр дный код , в пр мом коде поступает на пернме входы соответствующих разр дов сумматора 2 и со сдвигом влево на один разр ДнНа первые входы элементов И-НЕ. Пви поступлении положительного числа esro знаковый разр д ) блокирует элементы И-НЕ, что при подключении выхода п-го элемента и-ПЕ ко входу переноса п-го разр да сумматора эквивалентно подаче на вторые входы всех разр дов сумматра 2 сигналов 0, при этом иа выходах сумматора выдаетс входной разр дный код без преобразовани т,е . The input bit code, in the forward code, enters the corresponding inputs of the corresponding bits of the adder 2 and shifts it to the left by one bit of the day and the first inputs of the AND-NOT elements. The receipt of a positive number esro (the digit bit) blocks the NAND elements, which, when the output of the nth element i-PE is connected to the transfer input of the nth digit of the adder, is equivalent to applying 2 signals 0 to the second inputs of all digits, In the outputs of the adder, an input bit code is output without conversion, e.
При поступлении отрицательного числа знаковый разр д его кода () разрешает работу всем элементам И-НЕ, и на входы сумматора поступают входное число в пр мом коде и удвоенное (за счет сдвига влево на один разр д) Число в инверсном коде с выходов элементов И-НЕ, причем с выхода младшего (п-го) элемента И-НЕ сигнал i подаетс на второй вход и на вход переноса младшего (п-го) разр да сумматора 2, Сумматор 2 в этом случае выдает выходное число в дополнительном коде, так какWhen a negative number is received, the digit bit of its code () permits operation of all AND-NES elements, and the input number in the forward code and doubled (due to a left shift by one bit) are received at the inputs of the adder. The number in the inverse code from the outputs of the AND elements -NO, and from the output of the lower (nth) element of AND-NOT signal i is fed to the second input and to the transfer input of the lower (nth) bit of adder 2, Adder 2 in this case gives the output number in the additional code, as
D А-2А -Д.D A-2A-E.
При необходимости преобразовани информации, представленной в обратном коде, на вход п-го элемента И-НЕ посто нно подаетсСсигнал Ч (вмеО ) .If necessary, the conversion of information presented in the reverse code to the input of the nth element of the AND-NOT is constantly fed to the signal H (vmeO).
сто сигналаone hundred signal
Предлагаема схема проооразовател проста и позвол ет ум«; ьшить объем оборудовани и потребл емую им мощность .The proposed designator is simple and allows the mind to "; Capacity of equipment and power consumed by it.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU782572994A SU840879A1 (en) | 1978-01-25 | 1978-01-25 | Direct- to-supplementary code converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU782572994A SU840879A1 (en) | 1978-01-25 | 1978-01-25 | Direct- to-supplementary code converter |
Publications (1)
Publication Number | Publication Date |
---|---|
SU840879A1 true SU840879A1 (en) | 1981-06-23 |
Family
ID=20745936
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU782572994A SU840879A1 (en) | 1978-01-25 | 1978-01-25 | Direct- to-supplementary code converter |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU840879A1 (en) |
-
1978
- 1978-01-25 SU SU782572994A patent/SU840879A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU840879A1 (en) | Direct- to-supplementary code converter | |
US3449555A (en) | Parallel binary to binary coded decimal and binary coded decimal to binary converter utilizing cascaded logic blocks | |
US3786490A (en) | Reversible 2{40 s complement to sign-magnitude converter | |
SU1137461A1 (en) | Tertiary adder | |
SU951300A2 (en) | Device for squaring n-bit binary numbers | |
SU631918A1 (en) | N-digit number squaring arrangement | |
SU1003074A1 (en) | Device for parallel algebraic adding in sign-digit number system | |
SU822174A1 (en) | Converter of direct binary-decimal code into complementary binary-decimal one | |
SU411449A1 (en) | ||
SU1383339A1 (en) | Device for modulo m equals two raised to power "n" minus one multiplication | |
SU363119A1 (en) | REGISTER OF SHIFT | |
SU572781A1 (en) | Radix converter of binary-decimal numbers into binary numbers | |
SU1283979A1 (en) | Binary-coded decimal code-to-binary code converter | |
SU1095168A1 (en) | Translator from sign-and-magnitude representation to sign-and-magnitude,radix complement and diminished radix complement representaiion | |
SU922724A1 (en) | Converter of n-digit parallel code into serial code and vice versa | |
SU1670684A1 (en) | Device for comparison of two binary numbers | |
SU634275A1 (en) | N-digit binary number adding arrangement | |
SU1097994A1 (en) | Device for transforming binary code to code of number system with negative radix | |
RU2040115C1 (en) | Converter of four-bit binary code to binary-decimal code | |
SU1020834A1 (en) | Walsh spectrum digital analyzer | |
SU658556A1 (en) | Gray code-to -binary code converter | |
SU1238056A1 (en) | Device for comparing n-bit binary numbers | |
SU409217A1 (en) | BAD CODE CONVERTER 1, O, 1 TO BINARY CODE | |
SU911510A1 (en) | Device for determining maximum number | |
SU851394A1 (en) | Converter of binary to binary decimal code |