SU1501030A1 - Series to parallel code converter - Google Patents

Series to parallel code converter Download PDF

Info

Publication number
SU1501030A1
SU1501030A1 SU884405066A SU4405066A SU1501030A1 SU 1501030 A1 SU1501030 A1 SU 1501030A1 SU 884405066 A SU884405066 A SU 884405066A SU 4405066 A SU4405066 A SU 4405066A SU 1501030 A1 SU1501030 A1 SU 1501030A1
Authority
SU
USSR - Soviet Union
Prior art keywords
inputs
outputs
register
clock
information
Prior art date
Application number
SU884405066A
Other languages
Russian (ru)
Inventor
Юрий Николаевич Леурдо
Александр Павлович Царев
Тамара Николаевна Черная
Original Assignee
Предприятие П/Я А-3239
Житомирский Филиал Киевского Политехнического Института Им.50-Летия Великой Октябрьской Социалистической Революции
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 Предприятие П/Я А-3239, Житомирский Филиал Киевского Политехнического Института Им.50-Летия Великой Октябрьской Социалистической Революции filed Critical Предприятие П/Я А-3239
Priority to SU884405066A priority Critical patent/SU1501030A1/en
Application granted granted Critical
Publication of SU1501030A1 publication Critical patent/SU1501030A1/en

Links

Landscapes

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

Abstract

Изобретение относитс  к вычислительной технике и может использоватьс  дл  преобразовани  последовательного двоичного знакоразр дного кода в параллельной двоичный дополнительный код. Цель изобретени  - упрощение устройства. Устройство содержит элемент И 1, преобразователь 2 кода, арифметический блок 3, регистры 4, 5 пам ти, информационные входы 6, 7, тактовые входы 8, 9 и выходы 10. 2 ил., 2 табл.The invention relates to computing and can be used to convert a serial binary sign bit code into a parallel binary additional code. The purpose of the invention is to simplify the device. The device contains an element 1, a converter 2 codes, an arithmetic unit 3, registers 4, 5 memory, information inputs 6, 7, clock inputs 8, 9 and outputs 10. 2 Il, 2 tab.

Description

ffffff

CADCAD

150150

Изобретение спчктситс  к нычисли- телыю технике и может исгю.чь.човать- с  при nocTpoeiniH арифметических устройств дл  преобрачсш ни  пос. гедсша- тел1,ного двоичного зплкоратр джмч) хода в параллельный двспичный дополнительный код.The invention corresponds to the numerical technique and can be transformed into an arithmetic device for converting an item. hessha-tel1, a binary binary zlkoratrar jmch) move to a parallel double additional code.

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

На фиг. 1 представлена функщю- нальна  схема устройства ; на фиг.2- временные диаграммы посн ющие его работу.FIG. 1 shows a functional diagram of the device; FIG. 2 shows timing diagrams of his work.

Устройство содержит элемент I 1 , преобразователь 2 кода, (п+1)-разр д- ный арифметически блок 3, первый и второй регистры 4 и 5 пам ти, первый и второй информационные входы 6 иThe device contains element I 1, code converter 2, (n + 1) -arithmetically block 3, first and second registers 4 and 5 of memory, first and second information inputs 6 and

7,первый н второй тактовые входы7, first n second clock inputs

8,9., и (п+1)разр дные выходы 10 устройства.8.9., And (n + 1) bit outputs 10 of the device.

В двоичном знакоразр дном коде п-разр дное число С представл етс  в виде:In binary binary code, an n-bit number C is represented as:

С WITH

(t (t

С;, С еC ;, C e

Т. о, 1,T. o, 1,

где I означает - 1.where I means - 1.

На первый, второй информационные входы устройства число С поступает старшими разр дами вперед, причем на первый информационный вход 6 устройства поступает положительна  част числа С, а на второй информационный вход 7 - отрицательна  часть -числа С, как показано в табл. 1.The number C comes to the first, second information inputs of the device with the most significant bits ahead, and the first information input 6 of the device receives the positive part of the number C, and the second information input 7 receives the negative portion of the number C, as shown in Table. one.

Принцип работь устройства заключаетс  в следующем.The principle of operation of the device is as follows.

При поступлении на информационные входы 6 и 7 устройства признака начала числа в первый и второй (младшие) разр ды регистра 4 производитс  запись нулей. При поступлении цифры 1 блок 3 выполн ет операцию суммировани  чисел, поступающих на его входы. Та к как на оба его входа поступает одно число, то это эквивалентно сдвигу этого числа на один разр д в сторону старших разр дов. Затем производитс  вычитание единицы из полученного числа. При поступлении цифры 1 аналогично производитс  сдвиг числа и прибавление единицы к нему, а при поступлении цифры О производитс  только сдвиг. При поступлении признака начала следующего числа ре- зультат преобразовани  записываетс When entering the information inputs 6 and 7 of the device for the sign of the beginning of a number in the first and second (lower) bits of register 4, zeros are written. When the digit 1 arrives, block 3 performs the operation of summing the numbers arriving at its inputs. If both of its inputs have a single number, this is equivalent to shifting this number by one bit toward the higher bits. Then, the unit is subtracted from the resulting number. When the number 1 arrives, the number is shifted and the unit is added to it in the same way; Upon receipt of the sign of the beginning of the next number, the result of the transformation is written

30 thirty

в регистр 5 и начинаетс  преобразование с.пе-дующего числа.to register 5 and the conversion of the number in the next number begins.

Рлссмотрим работу устройства дл  преобразовани  из последовательного двоичного знакоразр дного кода в параллельный двоичньш дополнительный код при преобразовании числа С 1 О 1 (п 3). .Consider the operation of the device for converting from a serial binary sign-digit code into a parallel binary additional code when converting the number C 1 O 1 (p 3). .

0 Преобразователь 2 кода формирует код режима работы блока 3 в соответствии с табл. 2.0 Converter code 2 generates the code of the operation mode of the unit 3 in accordance with the table. 2

Пусть в исходном состо нии все разр ды регистра 4 наход тс  в еди5 ничном состо нии.Suppose that in the initial state all bits of register 4 are in the single state.

По спаду первого тактового импульса , поступающего на тактовый, вход 9 устройства, на информационные входы 6 и 7 устройства одновременно посту-On the decline of the first clock pulse arriving at the clock input device 9, to the information inputs 6 and 7 of the device simultaneously

0 пают единицы - признак начала числа. При этом преобразователь 2 устанавливает режим (А + Б) блока 3, что фактически означает сдвиг содержимого регистра 4 в сторону старших разр 5 дов, причем на первом разр де выхода блока 3 будет нуль. По фронту первого тактового импульса, поступающего с тактового входа 8 устройства, производитс  запись сдвинутого чис0 ла. Затем на тактовом входе 9 устройства устанавливаетс  единица, блок 3 вновь находитс  в режиме (А + В) и по фронту второго тактового импульса , поступающего с тактового входа0 units are the sign of the beginning of a number. In this case, the converter 2 sets the mode (A + B) of block 3, which actually means a shift of the contents of register 4 to the direction of the higher bits, and the output of block 3 will be zero at the first discharge of block 3. On the front of the first clock pulse coming from the clock input 8 of the device, a shifted number is recorded. Then, a unit is set at the clock input 9 of the device, block 3 is again in the mode (A + B) and on the front of the second clock pulse coming from the clock input

5 устройства, вновь производитс  сдвиг содержимого регистра 4 в сторону старших разр дов, причем в первый его разр д записываетс  нуль.5 of the device, the contents of register 4 are again shifted towards the higher bits, with zero being written to its first bit.

По спаду второго тактового импульд са, поступающего на тактовый вход 9 устройства, на информационные входы 6 и 7 устройства поступают соответственно нуль и единица - первый (старший) разр д входного числа С, равный i. По фронту третьего тактового импульса, поступающего с тактового входа 8 устройства, вновь производитс  сдвиг числа в регистре 4,, как описано. При поступлении единицы на тактовый вход 9 устройства преобра0 зователь 2 переводит блок 4 в режим (А-1),. а по фронту четвертого тактового импульса, поступающего с тактового входа 8 устройства, полученньш результат записываетс  в регистр 4.From the decay of the second clock pulse arriving at the device clock input 9, the information inputs 6 and 7 of the device receive, respectively, zero and one — the first (senior) bit of the input number C, equal to i. On the front of the third clock pulse coming from the clock input 8 of the device, the number in register 4 is again shifted as described. When a unit arrives at the device clock input 9, the converter 2 switches the block 4 to the mode (A-1) ,. and on the front of the fourth clock pulse coming from the clock input 8 of the device, the result is written to register 4.

5five

По спаду третьего тактового импульса , поступающего на тактовый вход 9 устройства, на информационные входы 6 и 7 устройства поступаютThe decline of the third clock pulse arriving at the clock input 9 of the device, the information inputs 6 and 7 of the device arrive

5five

нули - второй ра:зр д и.ходног о числа С, равный 0. Вновь производитс  сдвиг числа.в регистре 4, как описано . Затем при поступлении единиц на тактовый вход 9 устройства преобразователь 2 переводит блок 3 в режи А, т.е. число в регистры 4 не измен етс . .the zeros are the second ra: sp and the current of the number C, equal to 0. The number is shifted again. in register 4, as described. Then, when units are received at the device clock input 9, the converter 2 converts the block 3 to mode A, i.e. the number in registers 4 does not change. .

По спаду четвертого тактового импульЬа, поступающего на тактовый вход 9 устройства, на информационные входы 6 и 7 устройства поступают соответственно единица и нуль - третий разр д входного числа С. равный 1. Вновь производитс  сдвиг- числа в регистре 4, затем из его содержимого вычитаетс  единица.As the fourth clock pulse arrives at the device clock input 9, the information inputs 6 and 7 of the device receive one and zero, respectively — the third bit of the input number C. equal to 1. The number in register 4 is shifted again, then its content is subtracted unit.

По спаду, п того тактового импуЛь- са, поступающего на тактовый вход 9 устройства, на информационные входы 6 и 7 устройства вновь поступают единицы - признак начала следующего числа. При этом сигнал на выходе элемента И 1 соответствует TaKTOBONty входу 9 устройства и по его фронту происходит запись результата преобразовани  из регистра 4 в регистр 5 и начинаетс  преобразование следующего числа.After the decline, of the fifth clock pulse that arrives at the clock input 9 of the device, the information inputs 6 and 7 of the device again receive units — a sign of the beginning of the next number. In this case, the signal at the output of the And 1 element corresponds to the TaKTOBONty input 9 of the device, and on its front, the result of the conversion from register 4 to register 5 is recorded and the next number is converted.

Старший разр д выходов 10 устройства  вл етс  знаковым. РезультатThe most significant bit of the device outputs 10 is significant. Result

м m

1 lit) 10301 lit) 1030

|реоГ)1))ии  гн- ччппспт| rheG) 1)) and ghchppspt

НОГО состо ни  )1Г Г-ПСТ). iHis status) 1G G-PST). i

ФF

о р мabout r m

ч т п Г) рh t f) p

т о и и чt o and h

Устр(111стгю дл  прробр.повлии  последон тсл -Л пго кота п гтаралпол n l код, содержащей гтерньи регистр, т.-м;-- товый вход которого  вл етс  псрпь м тактовым входом устройстоп, ныхолы соединены с oлнoимeнн 1 и информационными входами второго регистра, эле- м ент И, первый, второй и третий входы которого  вл ютс  соответственно первым, вторым информационным м вторым тактовым входами устройства, выход элемента И соединен с тактовым входом второго регистра, выходы которого  вл ютс  выходами устройства, отличающеес  тем, что, с целью упрощени  устройства, в негр введены арифметический блок и преобразователь кода, первый, второй и третий входы и выходы которого подключены соответственно к первому, второму информационным и второму тактовому входам устройства и одноименным управл ю1и;им входам арифметического блока, информационные входы и выходы которого подключены соответственно к одноименным выходам и одноименным информационным входам парно- . го регистра.Ustr (111stguyu for the probable. Consequences of the last tl-l pto cat p tralpol nl code containing the third register, th-m; - this input is the third clock input of the device, nyhol are connected to the alternate 1 and the second inputs The element I, the first, second and third inputs of which are respectively the first, second information and second clock inputs of the device, the output of the AND element is connected to the clock input of the second register, the outputs of which are the outputs of the device, characterized in that to simplify the arithmetic unit and the code converter, the first, second and third inputs and outputs of which are connected respectively to the first, second information and second clock inputs of the device and the control of the same name, and the inputs of the arithmetic unit, information inputs and outputs of which are connected to the same-name outputs and the same-name information inputs of the pair-register.

Таблица 1Table 1

Примечание. АиВ- числа, поступаюпщеNote. A & B-numbers do

соответственно на первые и вторые входы блока 3, X - произвольное состо ние.respectively, the first and second inputs of block 3, X is an arbitrary state.

Фиг. 2.FIG. 2

Claims (1)

Форм у. л а не чзвисит <>т hi ро гнстр.ч и з о б р е т е и и яForm y. I don’t need to read <> t hi ro gn.st. and i take Устройство для преобразования последовательного кота в параллельный код, содержащее первый регистр, тактовый вход которого является первым тактовым входом устройства, выходы соединены с одноименными информационными входами второго регистра, элемент И, первый, второй и третий входы которого являются соответственно первым, вторым информационным и вторым тактовым входами устройства, выход элемента И соединен с тактовым входом второго регистра, выходы которого являются выходами устройства, отличающееся тем, что, с целью упрощения устройства, в него введены арифметический блок и преобразователь кода, первый, второй и третий входы и выходы которого подключены соответственно к первому, второму информационным и второму тактовому входам устройства и одноименным управляющим входам арифметического блока, информационные входы и выходы которого подключены соответстСтарший разряд выходов 10 устройства является знаковым. Результат венно к одноименным выходами одноименным информационным входам первого регистра.A device for converting a serial cat into a parallel code containing a first register, the clock input of which is the first clock input of the device, the outputs are connected to the same information inputs of the second register, the element And, the first, second and third inputs of which are the first, second information and second clock, respectively the inputs of the device, the output of the And element is connected to the clock input of the second register, the outputs of which are the outputs of the device, characterized in that, in order to simplify the device two, the arithmetic unit and the code converter are entered into it, the first, second and third inputs and outputs of which are connected respectively to the first, second information and second clock inputs of the device and the control inputs of the same name of the arithmetic unit, the information inputs and outputs of which are connected respectively is iconic. The result is the same as the outputs of the same name with the information inputs of the first register.
SU884405066A 1988-02-23 1988-02-23 Series to parallel code converter SU1501030A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU884405066A SU1501030A1 (en) 1988-02-23 1988-02-23 Series to parallel code converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU884405066A SU1501030A1 (en) 1988-02-23 1988-02-23 Series to parallel code converter

Publications (1)

Publication Number Publication Date
SU1501030A1 true SU1501030A1 (en) 1989-08-15

Family

ID=21366587

Family Applications (1)

Application Number Title Priority Date Filing Date
SU884405066A SU1501030A1 (en) 1988-02-23 1988-02-23 Series to parallel code converter

Country Status (1)

Country Link
SU (1) SU1501030A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 744556, кл. G 06 F 7/38, 1976. Авторское свидетельство СССР № 842785, кл. С 06 F 5/04, 1979. *

Similar Documents

Publication Publication Date Title
SU1501030A1 (en) Series to parallel code converter
SU1425848A1 (en) Parallel to series code converter
SU1522412A1 (en) Converter of series character-digit code into parallel code of addition
SU734669A1 (en) Converter of proper binary fraction into binary-decimal fraction and integer binary-decimal numbers into binary numbers
SU1149243A1 (en) Reversible binary code-to-binary coded decimal code translator
SU813408A1 (en) Converter of residual class system codes into binary position code
SU1032448A1 (en) Direct code-to-reverse one converter
SU1388995A1 (en) Device for converting binary numbers to binary decimal numbers and backwards
SU694867A1 (en) Device for the digital averaging of binary -coded signals
SU1741271A2 (en) Code converter
SU1383321A1 (en) Smooth periodic function generator
SU993245A1 (en) Series binary code-to-unit counting code converter
SU1667259A1 (en) Binary-to-binary-coded-decimal converter
SU1667258A1 (en) Natural-redundant-to-binary code translator
SU1305702A1 (en) Device for generating all possible combinations
SU572781A1 (en) Radix converter of binary-decimal numbers into binary numbers
SU780002A1 (en) Parallel-to-series code converter
SU809150A1 (en) Binary-to-bcd converter
SU1043636A1 (en) Device for number rounding
SU1129732A1 (en) Delta modulator
SU1267624A1 (en) Binary code-to-modular code converter
SU1302320A1 (en) Shift register
SU368598A1 (en) CONVERTER BINARY DECIMAL CODE &#34;12222&#34; TO UNITARY CODE
SU1280612A1 (en) Device for dividing numbers in redundant code
SU911510A1 (en) Device for determining maximum number