SU860052A1 - L-bit word encoder - Google Patents

L-bit word encoder Download PDF

Info

Publication number
SU860052A1
SU860052A1 SU792814536A SU2814536A SU860052A1 SU 860052 A1 SU860052 A1 SU 860052A1 SU 792814536 A SU792814536 A SU 792814536A SU 2814536 A SU2814536 A SU 2814536A SU 860052 A1 SU860052 A1 SU 860052A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
encoder
stage
outputs
code
Prior art date
Application number
SU792814536A
Other languages
Russian (ru)
Inventor
Виктор Иванович Корнейчук
Владимир Петрович Тарасенко
Ярослав Иванович Торошанко
Иван Доситеев Цветанов
Original Assignee
Киевский Ордена Ленина Политехнический Институт Им. 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 Киевский Ордена Ленина Политехнический Институт Им. 50-Летия Великой Октябрьской Социалистической Революции filed Critical Киевский Ордена Ленина Политехнический Институт Им. 50-Летия Великой Октябрьской Социалистической Революции
Priority to SU792814536A priority Critical patent/SU860052A1/en
Application granted granted Critical
Publication of SU860052A1 publication Critical patent/SU860052A1/en

Links

Landscapes

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

Description

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано дл  преобразовани  пространственного унитарного кода в двоичный код. Известен шифратор, содержащий многовходовые элементы ИЛИ, входы которых соединены со входами шифрато ра 1 . Недостаток такого преобразовател  состоит в большом количестве аппара туры и нерегул рности св зей. Наиболее близким к предлагаемому по технической сущности и схемному решению  вл етс  шифратор, содержащи последовательно соединенные ступени шифрации, состо щие из элементов ИЛИ, причем вход первой ступени шифрации  вл етс  входом шифратора, а выход последней ступени шифрации и группа выходов каждой ступени шифрации  вл ютс  выходами шифратора И Недостаток указанного шифратора состоит в относительно большем количестве аппаратуры и низком быстродействии . Цель изобретени  - сокращение ап паратуры и повыиение быстродействи  шифратора. Поставленна  цель достигаетс  тем, что в шифраторе 6-разр дных слов, содержащем последовательно соединенные ступени шифрации, состо щие из элементов ИЛИ, причем вход первой ступени шифрации  вл етс  входом шифратора, а выход последней ступени шифрации и группа выходов каходой ступени шифрации  вл ютс  выходами шифратора i-  ступень шифрации Cl - С )/ где И -2, а 6 - число разр дов выходного слова, К-2,, содержит первую группу из - К-входовых элементов ИЛИ, вторую группу из , К-входовых элементов . ИЛИ и К-входовой дополнительный шифратор , входы которого соединены с выходами элементов ИЛИ второй группы , а выходы  вл ютс  выходами i -ой ступени шифрации H((-i-i)( 4(-f--i) разр дами выходов шифратора, а последн   ступень шифрации содержит также И-2 входовой дополнительный шифратор(где w- число ступеней шифpaiyiH ), входы которого соединены с выхсщами элементов ИЛИ первой группы , а выходы  вл ютс  выходами (wp 4 Cogg M) разр дов шифратора, -j-ый вход Ч -ого элемента ИЛИ второй группа t -той ступени шаФоации( ( q,-14K), (h m) соединен с q,-ым входом j-ого элемента ИЛИ первой группы у-той ступени шифрации и с вьдходом ( j -v j ) -ого элемента ИЛИ первой группы ( г-1)-ой ступени шифрации, -) -ый вход q, -го элемента ИЛИ второй группы первой ступени шифрации соединен с cj, -ым входом j-oro элемента ИЛИ первой группы первой ступени шифрации и с Ч((1}п-1/. + J )-ым входом шифраторе. На фиг. 1 изображена функциональна  схема /1-ой ступени шифрации, на фиг. 2 - то же, 1-й ступени шифра ции, на фиг. 3 - то же, последней ступени. Предлагаемый шифратор содержит m ступеней шифрации. Кажда  ,i-  ступень (фиг. 1) включает п/К- входных цепей, разделенных на К групп 1,1(индекс i При номерах, блоков означает принадлежность описываемог-о блока к i-ой ступени), К . n/K -входовых элементов ИЛИ 2,1, элементов ИЛИ 3 К-входовой шифратор 4. Входными цеп ми первой ступени шифрации (фиг. 2)  вл ютс  входы шифратора, которые пронумерованы таким образом, что двоичный код номе ра входной цепи соответствует выход ному коду, вырабатываемому шифратором при по влении единичного сигнала на этой входной цепи. Входные цепи первой ступени разделены на К групп причем отсчет ведетс  от входа, задающего нулевой код на выходе шифра тора. Перва  группа входных цепей содержит цепи с номерами O-fn/K-l, втора  - (п/Кт2п/К-1) и т.д. Таким образом, в состав каждой группы вход т все цепи, коды номеро которых содержат одинаковые наборы в р старших разр дах. Входные цепи каждой группы 1,1 подключены к соот ветствующему п/К - входовому элемен ту ИЛИ 2, 1. Выходы элементов ИЛИ 2 подключены к входам К - входового шифратора 4, выходы которого  вл ют с  выходами 1,2,... .р старших разр дов шифратора (вых. tl)Каждый элемент ИЛИ 3,1 подключен к тем входным цеп м каждой группы, которых двоичные коды номеров отлич ютс  только в р старших разр дах. При этом выход данного элемента ИЛИ 3,1  в-л етс  дл  второй ступени вхо ной цепью, номер которой соответств ет. номерам входных цепей первой ст пени, к которым подключен данный эл мент 3,1, но без учета первых р ста ших разр дов. Следовательно, втора  ступень содержит п/К входных це пей, которые в свою очередь разделе ны на К групп аналогично,, к&к и в первой ступени. Ангшогично построены и остальные ступени. Так,, 1-  с пень (фиг. 1) содержит п/К -входны цепей, разделенных на К групп l,i . первой группе l,-i прина ;лежат входые цепи с номерами Отп/кч-, ко второй группе 1, -( - входные цепи с номерами n/K Kl-l и т.д., т.е. в состав каадой группы 1, i вход т входные цепи 1-ой ступени, двоичные коды номеров которых содержат одинаковые наборы ,в р старших разр дах. Входные цепи каждой группы 1,1. подключены к соответствующему п/К входовому элементу ИЛИ 2, i , выходы которых подключены к К-входовому шифратору 4,1 . Выходы шифратора 4,1  вл ютс  ( -f -Dp -и, ( 1 -Dp -и,...,( -I-Dp+pми разр дами шифратора (вых.ПЗ). Каждый К-входовой элемент ИЛИ 3,i подключен к тем входным цеп м каждой группы, у которых двоичные коды номеров отличаютс  только в р старших разр дах. Заметим, что код номера входной цепи -(-ой ступени содержит Уп - р -- -1 разр дов. Выходы элементов ИЛИ 3, л  вл ютс  входами +1-ОЙ ступени. Нумераци  входных цепей i +1-ой ступени производитс  аналогично как и дл  второй ступени . Последн   т-а  ступень (фиг.З содержит И . 2 /| -К-входовых элементов или 3,т, выходы которых пх)дклю-. чены к входам п 2 входового дополнительного шифратора 5. Выходы последнего ( вых, ) вл ютс  тр+1, mp+2,...log п-ми выходами шифратора. Заметим, что эламенты ИЛИ 3,1 каждой ступени, выходы которых  вл ютс  входными цеп ми последующей ступени, с номерами О, 1-ый п/К - входовой элемент каждой ступени практически не используютс . При построении реальных шифраторов они могут быть опущены. Предлагаемый шифратор работает следующим образом. На входах каждого элемента ИЛИ 2,1 заведены входные цепи, двоичные коды номеров которых равны на р старших разр дах. Таким образом, на выходах элементов ИЛИ 2 ВЕфабатываетс  пространственный унитарный К-разр дный код, которому соответствует позиционный р-разр дный код,  вл юцийс  выходньм кодом (1-1)р+1, ...,((-1) р+р -го разр да шифратора. На выходах элементов ИЛИ 3,i формируетс  унитарный пространственный код, которому соответствует позиционный .1 -разр дный позиционный код. Этот унитарный код  вл етс  входным кодом дл  1+1-ой ступени шифрации. Таким образом, на каждой ступени шифрации получаютс  р разр дов позиционного выходного кода шифратора . Последн   т-  ступень вырабатывает 2 °&i P -разр дный пространственный унитарный код, который поступает на входы шифратора 5, выходами которого  вл ютс  тр+1,,,..The invention relates to automation and computing and can be used to convert a spatial unitary code into a binary code. A coder is known that contains multiple input OR elements whose inputs are connected to the inputs of encoder 1. The disadvantage of such a converter is the large amount of hardware and the irregularity of the connections. The closest to the proposed technical essence and circuit design is an encoder containing sequentially connected encryption stages consisting of OR elements, the input of the first encryption stage being the encoder input, and the output of the last encryption stage and the group of outputs of each encryption stage are outputs Encoder And A disadvantage of this encoder is the relatively large amount of hardware and low speed. The purpose of the invention is to reduce hardware and improve the speed of the encoder. The goal is achieved by the fact that in the encoder 6-bit words containing sequentially connected ciphering stages consisting of OR elements, the input of the first ciphering stage being the input of the cipher, and the output of the last ciphering stage and output group of the ciphering level of coding are outputs the encoder i is the encryption stage Cl - C) / where And -2, and 6 is the number of bits of the output word, K-2, contains the first group of - K-input elements OR, the second group of, K-input elements. OR and K-input additional encoder, the inputs of which are connected to the outputs of the OR elements of the second group, and the outputs are the outputs of the i -th encryption stage H ((- ii) (4 (-f - i) bits of the encoder outputs, and the last the encryption stage also contains an I-2 input additional encoder (where w is the number of stages encryption), whose inputs are connected to the outputs of the OR elements of the first group, and the outputs are outputs (wp 4 Cogg M) of the encoder bits, -jth input H -th element OR the second group of the t-th step of the stem ((q, -14K), (hm) is connected to the q, -th input of the j-th element IL The first group at the encryption stage and with the input of the (j -vj) element OR of the first group (d-1) -th encryption stage, -) -th input q, -th element OR of the second group of the first encryption stage is connected to cj , -th input of the j-or element of the OR of the first group of the first encryption stage and with R ((1} n-1 /. + J) -th input of the encoder. In Fig. 1, a functional diagram of the / 1st encryption stage is shown; FIG. 2 - the same, 1st encryption stage, in FIG. 3 - the same, the last stage. The proposed encoder contains m encryption steps. Each i-stage (Fig. 1) includes p / K-input circuits divided into K groups 1.1 (index i For numbers, blocks means that the described block belongs to the i-th stage), К. The n / K input elements OR 2.1, the elements OR 3 K are input encoder 4. The input circuits of the first encryption stage (Fig. 2) are the encoder inputs, which are numbered in such a way that the binary code of the input circuit number corresponds to the output This code is generated by the encoder when a single signal appears on this input circuit. The input circuits of the first stage are divided into K groups, the counting being taken from the input specifying the zero code at the output of the cipher. The first group of input circuits contains O-fn / K-l circuits, the second - (n / Kt2p / K-1), etc. Thus, each circuit includes all the circuits whose number codes contain the same sets in the higher bits. The input circuits of each group 1.1 are connected to the corresponding p / K - input element OR 2, 1. The outputs of the elements OR 2 are connected to the inputs of K - input encoder 4, the outputs of which are with outputs 1,2, .... Each higher OR bit of the encoder (out. tl) Each element OR 3.1 is connected to the input circuits of each group whose binary codes of numbers differ only in the higher most bits. At the same time, the output of this element OR 3.1 is injected for the second stage by the input circuit, the number of which corresponds. the numbers of the input circuits of the first station to which this element is connected 3.1, but not taking into account the first hundred bits. Consequently, the second stage contains S / C input circuits, which, in turn, are divided into K groups in a similar way to & and in the first stage. Other steps are built angshogichno. So, 1- with the stump (Fig. 1) contains p / K-input circuits divided into K groups l, i. the first group l, -i of the receiver; the input circuits with the numbers Otp / kch- lie, to the second group 1, - (- the input circuits with the numbers n / K Kl-l, etc., i.e. in the composition of the group 1, i includes input circuits of the 1st stage, the binary codes of the numbers of which contain the same sets in the most significant bits.The input circuits of each group 1.1 are connected to the corresponding p / K input element OR 2, i, the outputs of which are connected To the K-input encoder 4.1. The outputs of the encoder 4.1 are (-f -Dp -and, (1 -Dp -and, ..., (-I-Dp + pm bits of the encoder (output.PZ) Each K-input element OR 3, i is connected to those input circuits of each group whose binary codes of numbers differ only in higher-order bits. Note that the code number of the input circuit - (-th stage contains the control code - p - -1 bits. The outputs of the elements OR 3, l are the inputs + 1-OUT steps. The numbering of the input circuits of the i + 1-st stage is performed in the same way as for the second stage. The last stage is (Fig. 3 contains II. #/K-input elements or 3, t, the outputs of which nx) dklyu-. to the inputs n 2 of the input additional encoder 5. The outputs of the last (output,) are tr + 1, mp + 2, ... log the n-th outputs of the encoder. Note that elaments OR 3.1 of each stage, the outputs of which are input circuits of the subsequent stage, with the numbers O, the 1st p / K, the input element of each stage are practically not used. When building real encoders, they can be omitted. The proposed encoder works as follows. At the inputs of each element OR 2.1, input circuits are introduced, the binary codes of which numbers are equal on the highest bits. Thus, at the outputs of the elements OR 2, the spatial unitary K-bit code corresponding to the positional p-bit code corresponds to the output code (1-1) p + 1, ..., ((- -) p + The pth bit of the encoder. At the outputs of the elements OR 3, i, a unitary spatial code is formed that corresponds to a positional .1 -disable positional code. This unitary code is the input code for the 1 + 1 st level of encryption. Each step of encryption yields p bits of the position output code of the encoder. stage produces 2 ° & i P -razr spatial unitary projectile loader code, which is supplied to the inputs of the encoder 5, which outputs are ck + 1 ,,, ..

разр ды выходного позиционного кода шифратора. bits of the output position code of the encoder.

Пример. Пусть разр щность выходного позиционного кода равна 5, р:г2 и , следовательно ,п«32 .Шифратор будет содержать две ступени шифрации. Пусть по вилс  единичный сигнал на входной цепи с номером lOlOl -Sl o. Входные цепи с номером 10101 Входные- цепи будут разделены ка четыре группы, кажда  по 8 цепей, в первую группу попадут входные цепи с номерами 00000.....00111, во вторую Example. Let the bit width of the output position code be 5, p: r2 and, therefore, n "32. The encoder will contain two steps of encryption. Let the wils be a single signal on the input circuit with the number lOlOl-Sl o. Input circuits with number 10101 Input-circuits will be divided into four groups, each with 8 circuits, the first group will be input circuits with numbers 00000 ..... 00111, the second

01000.....01111,в третью - 1000001000 ..... 01111, in the third - 10,000

.10111 и в четвертую - 1100011111..10111 and in the fourth - 1100011111.

Возбужденна  входна  цепь относитс  к третьей группе. На выходе третьего восьмивходового элемента ИЛИ 2,1 по  витс  единичный сигнал .Таким образом, The excited input circuit belongs to the third group. At the output of the third eight-input element OR 2.1, a single signal is applied. Thus,

на выходах элементов ИЛИ 2,1 вырабатываетс  унитарный пространственный код 00100000, которому соответствует позиционный код 10, получаемый на выходах дополнительного шифратора 4,1. На выходе п того элемента ИЛИ 3,1 тоже по витс  единичный сигнал. Таким образом, на выходах элементов ИЛИ 3,1 тоже вырабатываетс  унитарный восьмиразр дный пространственный код, соответствующий позиционному коду 101. Входные депи второй ступени разбиваютс  на четыре группы аналогично первой ступени. Перва  содержит входные цепи с номерами 000,001, втора  010 ,011, треть  - 100,101 и четверта  - 110,111. Позиционный код номера первой ступени принадлежит к третьей группе. Поэтому на выходах элементов ИЛИ 2,2 вырабатываетс  унитарный код 0010, который соответствует позиционному коду 10, получаемому на выходах шифратора 4,2. На выходах элементов ИЛИ 2,3 вырабатываетс  унитарный код 10, который соответствует позиционному коду 1, получаемому на выходе шифратора 5 . Итак, в целом на выходах шифратора получаетс  позиционный код 10101.at the outputs of the elements OR 2.1, a unitary spatial code 00100000 is produced, which corresponds to the position code 10, obtained at the outputs of the additional encoder 4.1. At the output of the fifth element OR 3.1, too, a single signal is shown on a Vits. Thus, at the outputs of the elements OR 3.1, a unitary eight-bit spatial code is also generated, corresponding to position code 101. The second stage input slots are divided into four groups similarly to the first stage. The first contains the input circuits with numbers 000.001, the second 010, 011, the third - 100,101 and the fourth - 110,111. The position code of the number of the first stage belongs to the third group. Therefore, at the outputs of the OR 2.2 elements, a unitary code 0010 is generated, which corresponds to the position code 10 obtained at the outputs of the encoder 4.2. At the outputs of the OR 2.3 elements, a unitary code 10 is generated, which corresponds to the position code 1 obtained at the output of the encoder 5. So, in general, position code 10101 is obtained at the outputs of the encoder.

Сравним количество оборудовани  на построение известного и предлагаемого шифраторов. В качестве меры количества оборудовани  примем цену по Квайну. Дл  построени  известного шифратора требуютс .много- входовые элементы ИЛИ с суммарной ценой , . В предлагаемом шифраторе цена первой ступени + Сз1+ С4 f где п - цена К-п/К входовых элементов ИЛИ, , С 1Кооа.К цена дополнительного шифратора Сберем шифратор, указанный в известных устройствах. Цена первых двух членов каждой ступени в К раз меньше предыдущей.Compare the amount of equipment to build the known and proposed encoders. As a measure of the amount of equipment we take Quine's price. To build a well-known encoder, many-input elements OR with a total price, are required. In the proposed encoder, the price of the first stage is + Sz1 + C4 f where n is the price of K p n / K of the input elements OR, C 1 Kooa. To the price of the additional encoder We will save the encoder specified in the known devices. The price of the first two members of each stage is K times less than the previous one.

Суммарна  цена всех ступеней тсэмен етс  по закону убывающей геометрической прогрессии. Например, длпThe total price of all the stages is according to the law of a decreasing geometric progression. For example, for

и 688 and 688

п 256 , n 256,

-f. Име  заСи 762. данное п и выбира  определенные способом р, можно достичь оптимального варианта (минимальна  цена по Квайну. Регул рность св зей шифратора обеспечиваетс  аналогичностью построени  его ступени и возможностью его наращивани . -f. Having a record of 762. given p and choosing defined by method p, it is possible to achieve the optimal variant (Quina’s price is minimal. The encoder’s communications regularity is ensured by the similarity of its step construction and the possibility of its expansion.

Claims (2)

1.Майоров с.А. и Новиков Г.И.1. Mayor S.A. and Novikov G.I. Принципы организации цифровых машин. Л., Машиностроение, 1974, с. 118,Principles of organization of digital machines. L., Mechanical Engineering, 1974, p. 118, 2.Авторское свидетельство СССР йо за вке 2629656/24,2. USSR author's certificate yo application code 2629656/24, кл. G 06 F 5/02, 1978.cl. G 06 F 5/02, 1978. BbixLiBbixli Вь/х тW / t Bb/xlm-nJBb / xlm-nJ
SU792814536A 1979-09-04 1979-09-04 L-bit word encoder SU860052A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU792814536A SU860052A1 (en) 1979-09-04 1979-09-04 L-bit word encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU792814536A SU860052A1 (en) 1979-09-04 1979-09-04 L-bit word encoder

Publications (1)

Publication Number Publication Date
SU860052A1 true SU860052A1 (en) 1981-08-30

Family

ID=20848377

Family Applications (1)

Application Number Title Priority Date Filing Date
SU792814536A SU860052A1 (en) 1979-09-04 1979-09-04 L-bit word encoder

Country Status (1)

Country Link
SU (1) SU860052A1 (en)

Similar Documents

Publication Publication Date Title
CA1075817A (en) Sequential encoding and decoding of variable word length fixed rate data codes
US5382955A (en) Error tolerant thermometer-to-binary encoder
JP5118234B2 (en) ROM-based finite-length impulse response filter used in mobile phones
ES2097742T3 (en) KEY SERIES GENERATOR.
JPH0534746B2 (en)
GB1517170A (en) Method of producing pseudo-random binary signal sequences
SU860052A1 (en) L-bit word encoder
JP6787237B2 (en) Quantifier
RU2313125C1 (en) Generator of pseudo-random series
US4839841A (en) Programmable digital multiple event generator
US3277462A (en) Parallel-parallel encoding system
US3569956A (en) Minimal logic block encoder
US3603976A (en) Modular encoder
US3519941A (en) Threshold gate counters
US3775747A (en) An error correcting encoder
SU734870A1 (en) Device for shaping pulse codes of pseudorandom trains
SU1529218A1 (en) Pseudorandom number generator
SU1027717A1 (en) Fibonacci code normalizer
SU1191909A1 (en) Pipeline device for taking antilogarithms of binary number arrays
SU1357956A1 (en) Sequential carry digital integrator
SU930689A1 (en) Functional counter
SU1638790A1 (en) Programmable delay line
SU796857A1 (en) Stochastic dividing device
SU412679A3 (en)
SU1444811A1 (en) Device for dividing polynomials