SU756401A1 - Device for conversion of numbers of residual class system code into binary code and vice versa - Google Patents

Device for conversion of numbers of residual class system code into binary code and vice versa Download PDF

Info

Publication number
SU756401A1
SU756401A1 SU762361370A SU2361370A SU756401A1 SU 756401 A1 SU756401 A1 SU 756401A1 SU 762361370 A SU762361370 A SU 762361370A SU 2361370 A SU2361370 A SU 2361370A SU 756401 A1 SU756401 A1 SU 756401A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
trigger
output
zero
inputs
Prior art date
Application number
SU762361370A
Other languages
Russian (ru)
Inventor
Levan V Tsibadze
Amiran R Chachanashvili
Vilyam Kh Khatskevich
Genrikh U Tavadze
Original Assignee
Levan V Tsibadze
Amiran R Chachanashvili
Vilyam Kh Khatskevich
Genrikh U Tavadze
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 Levan V Tsibadze, Amiran R Chachanashvili, Vilyam Kh Khatskevich, Genrikh U Tavadze filed Critical Levan V Tsibadze
Priority to SU762361370A priority Critical patent/SU756401A1/en
Application granted granted Critical
Publication of SU756401A1 publication Critical patent/SU756401A1/en

Links

Landscapes

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

Description

Изобретение относится к области вычислительной техники и может быть применено в устройствах обработки и передачи цифровой информации.The invention relates to the field of computing and can be applied in devices for processing and transmitting digital information.

Известно устройство для преобразования чисел из кода системы остаточ— 5 ных классов в двоичный код недостатком которого является невозможность обратного преобразования.A device is known for converting numbers from the code of a system of residual 5 classes into a binary code whose disadvantage is the impossibility of an inverse transformation.

Наиболее близким к данному изобретению является устройство для прямого и обратного преобразования чисел из кода системы остаточных классов в двоичный код и,- содержащее (П + 1) счетчиков (П - число оснований системы остаточ— ных классов), выходы которых соединены с первыми входами (П + 1) схем сравнения, другие входы которых подключены к выходам (п+1) регистров, выход первой схемы сравнения подключен к одному вхо— ду переключателя, другой вход которого подключен к выходу многовходового элемента И, входы которого подключены к выходам других схем сравнения, входыThe closest to this invention is a device for direct and inverse conversion of numbers from the code of the system of residual classes to binary code and, - containing (P + 1) counters (P is the number of bases of the system of residual classes), the outputs of which are connected to the first inputs P + 1) comparison circuits, the other inputs of which are connected to the outputs (n + 1) of registers, the output of the first comparison circuit is connected to one input of the switch, the other input of which is connected to the output of the multi-input element I, whose inputs are connected to the outputs of other circuits By comparison, the inputs

22

счетчиков подключены к выходу другого элемента, входы которого соединены с тактовой шиной и выходом триггера, входы которого подключены к шине пуска и выходу переключателя.The counters are connected to the output of another element, the inputs of which are connected to the clock bus and the trigger output, the inputs of which are connected to the start bus and the output of the switch.

Недостатком этого устройства является наличие большого количества оборудования.A disadvantage of this device is the presence of a large amount of equipment.

Целью изобретения является упрощение устройства.The aim of the invention is to simplify the device.

Для достижения поставленной цели устройство для прямого и обратного преобразования чисел из кода системы остаточных классов в двоичный код, содержащее (п+1) счетчик, два элемента И, первый триггер и переключатель, причем ··> единичный выход первого триггера подключен к первому входу первого элемента И, второй вход которого соединен с тактовой шиной устройства, а1 выход подключен ко входам счетчиков, выход второго элемента И подключен к первому входу переключателя, выход которого соедннён с нулевым входом первого тригге—To achieve this goal, a device for direct and inverse conversion of numbers from the code of the system of residual classes to a binary code that contains (n + 1) a counter, two elements AND, the first trigger and a switch, with ··> the single output of the first trigger connected to the first input of the first element I, the second input of which is connected to the clock bus of the device, and 1 output is connected to the inputs of counters, the output of the second element I is connected to the first input of the switch, the output of which is connected to zero input of the first trigger—

3 7564013 756401

ра, единичный вход которого соединен с шиной пуска устройства, содержит второй триггер и (п+1) дешифраторов нуля, входы которых соединены с выходами соответствующих счетчиков, выходы п дешифраторов нуля подключены ко входам второго элемента И, а выход (п+1)—го дешифратора нуля соединен со вторым входом переключателя, нулевой и единичный входы второго триггера подключены к первой и второй управляющим шинам устройства соответственно, нулевой выход второго триггера подключен к входу управления сложением и первых счетчиков и входу управления вычитанием (п+1)—го счетчика, единичный выход второго триггера подключен ко входу управления вычитанием и первых счетчиков и входу управления сложением (п+1)-го счетчика.Pa, the unit input of which is connected to the device start bus, contains the second trigger and (n + 1) zero decoders, the inputs of which are connected to the outputs of the respective counters, the outputs n of the zero decoders connected to the inputs of the second element I the zero decoder is connected to the second input of the switch, the zero and single inputs of the second trigger are connected to the first and second control buses of the device, respectively, the zero output of the second trigger is connected to the input of the addition control and the first counters and the control input by subtracting (n + 1) —th counter, the single output of the second trigger is connected to the input of the subtraction control and the first counters and the input of the addition of the (n + 1) -th counter.

На чертеже представлена блок-схема предлагаемого устройства.The drawing shows a block diagram of the proposed device.

Устройство содержит триггер 1, реверсивные счетчики 2, 3, 3^, . . . , Зп,The device contains a trigger 1, reversible counters 2, 3 , 3 ^,. . . , Sn,

дешифраторы нуля 44, 4д, . . . , 4П14, переключатель 5, триггер 6, элементы И 7 к 8. 'zero decoders 4 4 , 4d,. . . , 4 П14 , switch 5, trigger 6, elements AND 7 to 8. '

Каждый из счетчиков 3^, 3,Each of the counters 3 ^, 3,

Зп производит счет по модулю соответствующего основания в коде системы остаточных классов.S p produces an account modulo the corresponding base in the code of the system of residual classes.

Первая управляющая шина, сигнал на которую подается при работе устройства при преобразовании числа из двоичного кода в код системы остаточных классов, подключена к единичному входу триггераThe first control bus, the signal to which is supplied when the device operates when converting a number from a binary code to a system code of residual classes, is connected to a single trigger input

1. При работе устройства в этом режиме сигнал, пришедший по первой управляю. щей шине, переключает триггер 1 в единичное состояние, и сигнал с его единичного выхода подготавливает счетчик 2 к работе в режиме "вычитание', а счетчики 3 — к работе в режиме "сложение'. Преобразуемое число в двоичном коде записано в счетчике 2, счетчики 3 обнулены. По сигналу, приходящему по шине пуска на единичный вход триггера 6, он устанавливается в единичное состояние и сигналом· со своего единичного выхода открывает элемент И 7 по одному из входов, на другой вход элемента И 7 по тактовой шине поступают тактовые импульсы частотой ί , которые, пройдя через элемент И 7, производят постепенное вычитание в счетчике 2 и одновременно производят заполнение счетчиков 3. В момент обнуления счетчика 2 срабатывает дешифратор нуля 4η + ^ , сигнал с выхода которого,пройдя через переключатель 5, переводит триггер б в нулевое состояние. При этом прекращается поступление тактовых импульсов через элемент И 7. В счетчиках 3 зарегистрирован код системы остаточных классов, соответствующий двоичному коду, первоначально записанному в счетчике 2.1. When the device is operating in this mode, the signal that arrives at the first control. bus, switches trigger 1 to one state, and the signal from its single output prepares counter 2 for operation in the “subtraction” mode, and counters 3 for operation in the “addition” mode. The binary number to be converted is written in counter 2, counters 3 are reset. The signal arriving at the start bus to the single input of the trigger 6, is set to one state and opens the element I 7 through one of the inputs with a signal · from its single output, to the other input of the element 7 and the clock frequency after passing through the element And 7, produce a gradual subtraction in the counter 2 and simultaneously fill the counter 3. At the moment the counter 2 is reset, the zero decoder 4η + ^ works, the signal from the output of which, passing through switch 5, translates trigger b Nya Ullevi state. This stops the flow of clock pulses through the element And 7. In the counters 3, the code of the system of residual classes corresponding to the binary code originally recorded in the counter 2 is registered.

Вторая управляющая шина, сигнал на которую поступает при работе устройства при преобразовании числа из кода системы остаточных классов в двоичный код, подключена к нулевому входу триггера 1. При работе устройства в этом режиме сигнал, пришедший по второй управляющей шине, переключает триггер 1 в нулевое состояние, и сигнал с его нулевого выхода подготавливает счетчик 2 к работе в режиме "сложение', а счетчики 3 — к 2θ работе в режиме 'вычитание'. Преобразуемое число в коде системы остаточных классов записано в счетчиках 3^ , 3^ ,The second control bus, the signal to which comes when the device is used when converting a number from the code of the system of residual classes to a binary code, is connected to the zero input of trigger 1. When the device operates in this mode, the signal received via the second control bus switches trigger 1 to the zero state and the signal from its zero output prepares the counter 2 for operation in the "addition" mode, and the counters 3 for the 2 θ operation in the subtraction mode.

. . . Зп , счетчик 2 обнулен. По сигналу, приходящему по шине пуска, триггер 6 25 устанавливается в единичное состояние и разрешает прохождение тактовых импульсов через элемент И 7 на счетные входы счетчиков 2 и 3. В момент обнуления всех счетчиков 3^ , 3^, . , . , 3η ,. . . W n, the counter 2 is cleared. The signal arriving on the start bus trigger 6 25 is set to one state and allows the passage of clock pulses through the element 7 to the counting inputs of counters 2 and 3. At the time of resetting all counters 3 ^, 3 ^,. , , 3η,

3θ работающих в режиме вычитания, срабатывают дешифраторы нуля 4^, 4^, . . ., 3 θ working in subtraction mode, the zero decoders 4 ^, 4 ^, work. . .

4β , сигналы с выходов которых, поступая на входы элемента И 8, вырабатывают на его выходе сигнал, который, пройдя через переключатель, 5 на нулевой вход триггера 6, переводит его в нулевое состояние и прекращает тем самым поступление тактовых импульсов на счетные входы счетчиков 2 и 3 через элемент И 7. В счетчике 2 при этом регистрируется двоичный код преобразованного числа.4β, the signals from the outputs of which, acting on the inputs of the element And 8, produce at its output a signal which, passing through the switch, 5 to the zero input of the trigger 6, translates it into the zero state and thereby stops the flow of clock pulses to the counting inputs of the counters 2 and 3 through the element And 7. In counter 2, the binary code of the converted number is registered.

Предлагаемое устройство обладает меньшим количеством оборудования,. чем прототип, так как в нем не используются приемные регистры, а вместо схем сравнения .используются дешифраторы нуля, представляющие собой многовходовые элементы И.The proposed device has a smaller amount of equipment. than the prototype, since it does not use receiving registers, and instead of comparison circuits. zero decoders are used, which are multi-input elements I.

Claims (1)

Формула изобретенияClaim Устройство для прямого и обратного преобразования чисел из кода системы остаточных классов в двоичный код, содержащее (п+1) счетчик (п— число оснований системы остаточных классов), два элемента И, первый триггер и переклю756401A device for direct and inverse conversion of numbers from the code of the system of residual classes to a binary code containing (n + 1) a counter (n is the number of bases of the system of residual classes), two AND elements, the first trigger and switch 756401 чатель, причем единичный выход первого триггера подключен к первому входу первого элемента И, второй вход которого соединен с тактовой шиной устройства, а выход подключен ко входам счетчиков, выход второго элемента И подключен к первому входу переключателя, выход которого соединен с нулевым входом первого триггера,' единичный вход которого соединен с шиной пуска устройства, отличающееся тем, что, с цЙ1ЬЮ упрощения устройства, оно содержит второй триггер и (п + 1) дешифраторов нуля, входы которых соединены с выходами соответствующих счетчиков, вы— ,5 ходы П дешифраторов нуля подключены ко входам второго элемента И, а выход (л + 1)—го дешифратора нуля соединен со вторым входом переключателя, нулевойA reader, the unit output of the first trigger is connected to the first input of the first element I, the second input of which is connected to the clock bus of the device, and the output is connected to the inputs of counters, the output of the second element I is connected to the first input of the switch, the output of which is connected to the zero input of the first trigger, 'a single input of which is connected to the device launch bus, characterized in that, with the simplification of the device, it contains a second trigger and (n + 1) zero decoders, the inputs of which are connected to the outputs of the corresponding counter c, you—, 5 strokes P of the zero decoders are connected to the inputs of the second element I, and the output (l + 1) of the zero decoder is connected to the second input of the switch, zero и единичный входы второго триггераand single inputs of the second trigger подключены к первой и второй управляющим шинам устройства соответственно,connected to the first and second control bus devices, respectively, нулевой выход второго триггера подклю—zero output of the second trigger 5 чен к входу управления сложением и первых счетчиков и входу управления вычитанием (п + 1)-го счетчика, единичный выход второго триггера подключен ко входу управления вычитанием и первых 50 счетчиков и входу управления сложением (п + 1)_го счетчика. 5 to the input of the addition control and the first counters and the input of the subtraction control (n + 1) -th counter, the unit output of the second trigger is connected to the input of the subtraction control and the first 50 counters and the input of the addition control (n + 1) _ of the counter.
SU762361370A 1976-05-18 1976-05-18 Device for conversion of numbers of residual class system code into binary code and vice versa SU756401A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU762361370A SU756401A1 (en) 1976-05-18 1976-05-18 Device for conversion of numbers of residual class system code into binary code and vice versa

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU762361370A SU756401A1 (en) 1976-05-18 1976-05-18 Device for conversion of numbers of residual class system code into binary code and vice versa

Publications (1)

Publication Number Publication Date
SU756401A1 true SU756401A1 (en) 1980-08-15

Family

ID=20661745

Family Applications (1)

Application Number Title Priority Date Filing Date
SU762361370A SU756401A1 (en) 1976-05-18 1976-05-18 Device for conversion of numbers of residual class system code into binary code and vice versa

Country Status (1)

Country Link
SU (1) SU756401A1 (en)

Similar Documents

Publication Publication Date Title
SU756401A1 (en) Device for conversion of numbers of residual class system code into binary code and vice versa
SU367540A1 (en) DIGITAL FUNCTIONAL TRANSFORMER OF A SERIAL TYPE
SU369565A1 (en) DEVICE FOR CALCULATION OF FUNCTION y = e ^
SU1081787A2 (en) Voltage-to-time interval converter
SU560222A1 (en) Device for converting binary code to gray code and vice versa
SU1211801A1 (en) Displaying device
SU575645A2 (en) Device for comparing numbers following one by one
SU1591025A1 (en) Device for gc sampling of memory units
SU1725394A1 (en) Counting device
SU544121A1 (en) Device control pulse sequences
SU466506A1 (en) Apparatus for converting numbers from residual class system code to binary code
SU653613A1 (en) Multichannel pulse train adding device
SU1150624A1 (en) Information input device
SU1045242A1 (en) Device for receiving information
SU921094A1 (en) Decimal counter
SU1229966A1 (en) Reversible converter of binary code to binary-coded decimal code
SU437225A1 (en) Trigger device
SU1633406A2 (en) Prioritizer
SU696441A1 (en) Binary number comparing and converting device
SU1045233A1 (en) Digital correlator
SU1084749A1 (en) Device for tolerance checking of pulse sequences
SU463123A1 (en) Device for controlling the digital printing mechanism
SU436298A1 (en) MOTOR EXTREME SENSOR
SU394772A1 (en) TIME SENSOR
SU395988A1 (en) DECIMAL COUNTER