SU383050A1 - DEVICE FOR DECODING HAMMING CODE - Google Patents

DEVICE FOR DECODING HAMMING CODE

Info

Publication number
SU383050A1
SU383050A1 SU1486619A SU1486619A SU383050A1 SU 383050 A1 SU383050 A1 SU 383050A1 SU 1486619 A SU1486619 A SU 1486619A SU 1486619 A SU1486619 A SU 1486619A SU 383050 A1 SU383050 A1 SU 383050A1
Authority
SU
USSR - Soviet Union
Prior art keywords
convolution
bits
register
output
decoding
Prior art date
Application number
SU1486619A
Other languages
Russian (ru)
Inventor
В. И. Смирнов А. А. Соколов В. Ф. Жиров
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 filed Critical
Priority to SU1486619A priority Critical patent/SU383050A1/en
Application granted granted Critical
Publication of SU383050A1 publication Critical patent/SU383050A1/en

Links

Landscapes

  • Error Detection And Correction (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Description

1one

Изобретение относитс  к области иьмислительнои техники и может быть использовано в цифровых вычислительных машинах, обрабатывающих информацию, поступающую по лини м св зи.The invention relates to the field of immersive technology and can be used in digital computers processing information arriving via communication lines.

Известное устройство дл  декодировани  кода Хэмминга, содержащее приемный регистр , схемы свертки, схему коррекции ошибки и цепи св зи, имеет р д существенных ограничений . Например, дл  длинных сообщений использование данного устройства приводит почти к непреодолимым трудност м изза больших нагрузок па элементы.A known device for decoding a Hamming code, comprising a receiving register, convolution schemes, an error correction scheme, and communication circuits, has a number of significant limitations. For example, for long messages, the use of this device leads to almost insurmountable difficulties due to large loads on the elements.

Цель изобретени  состоит в построении быстродействующего устройства дл  декодировани  кода Хэмминга, выполн ющего операцию декодировани  дл  доков произвольной длины, при экономном использовании оборудовани .The purpose of the invention is to build a high-speed device for decoding a Hamming code that performs a decoding operation for docks of arbitrary length, while economically using the equipment.

Дл  этого предлагаемое устройство декодирует со скоростью несколько разр дов (одна группа) за один такт двухфазного тактировани , при этом экономно используетс  оборудование по сравнению с устройством параллельного комбинационного декодировани .For this, the proposed device decodes with a speed of several bits (one group) in one clock of two-phase clocking, while the equipment is economically used in comparison with the device of parallel combinational decoding.

Предлагаемое устройство использует принцип совмещени  этапов обработки информации при котором одновременно обрабатываетс  несколько последовательных групп разр дов . Чтобы реализовать алгоритм декодировани  в виде поэтапной сов.мещепной обработки, правило декодировапи  кода Хэммипга сфор .мулировапо следующи.м образом; результатом декодировани  (набором контрольных разр дов ) сообщени  произвольной длины  вл етс  сумма по mod 2 (свертка) номеров тех разр дов сообщени , которые равны единице.The proposed device uses the principle of combining information processing steps in which several consecutive groups of bits are simultaneously processed. In order to implement the decoding algorithm in the form of step-by-step combination processing, the rule of decoding the Hammipg code is configured in the following ways; The result of decoding (a set of check bits) of a message of arbitrary length is the sum modulo 2 (convolution) of the number of message bits that are equal to one.

Следствием такой формулировки  вл етс  следующее: дл  декодировани  группы Из нескольких разр дов необходимо свернуть (суммировать по mod 2) соответствующие номера разр дов в группе. При этом кажда  группа разр дов начинаетс  с разр да, номер которого в двоичном виде записываетс  как уп The consequence of such a formulation is the following: to decode a group Of several bits, it is necessary to collapse (sum modulo 2) the corresponding bit numbers in the group. In this case, each group of bits starts with a bit, the number of which in binary form is written as

... 00, где число нулей определ етс  как , где число разр дов в группе, а г/г - произвольные значени : либо О, либо 1, тогда номера разр дов в группе будут записыватьс  следующим образом:... 00, where the number of zeros is defined as, where the number of bits in the group and g / g are arbitrary values: either O or 1, then the numbers of the bits in the group will be written as follows:

у„у„ 1r/j 00О,y „y„ 1r / j 00O,

001, 001,

г/„У«-1г/, 11 ,... 1,g / "U" -1g /, 11, ... 1,

или другими словами, старшие части номеров разр дов одни и те же дл  всех разр дов группы.or in other words, the upper parts of the bit numbers are the same for all bits of the group.

Будем рассматривать вместо общ.ей свертки номеров разр дов свертку старшей части номеров разр дов и свертку младшей части ноГ3 - , Instead of a general convolution of numbers, we will consider discharges of a higher part of numbers of discharges and a convolution of the younger part of GG3,

меров разр дов, учитыва  значени  разр дов в группе. Если число единиц в группе нечетное , то результат свертки старших частейmeasures of bits, taking into account the values of bits in the group. If the number of units in the group is odd, then the result of convolving the highest parts

У„У,г-1i/,U „U, g-1i /,

Если число единиц в группе четное, то результат свертки старших частейIf the number of units in the group is even, then the result of convolution of the higher parts

00.... 0000 .... 00

Дл  получени  свертки младших частей номеров разр дов обозначим значение разр дов в группе, какTo obtain the convolution of the lower parts of the bit numbers, we denote the value of the bits in the group as

, а2«-2, . . . «и «01 перепишем номера разр дов в двоичном виде, a2 "-2,. . . “And“ 01 rewrite the bit numbers in binary form

;«П. . .. П , 1110 , . . .«00.. ..01 , «00. .. .00.;"P. . .. P, 1110,. . . "00 .. ..01," 00. ..00.

Обозначим результат свертки младшей части номеров разр дов Vj, где / номер разр да результата.Denote the result of the convolution of the younger part of the numbers of bits Vj, where / is the number of the bits of the result.

ТогдаThen

00 ... 00 - / (.00 . . . 00, СОО . . . 01, «00 ... И,00 ... 00 - / (.00... 00, COO... 01, "00 ... And,

-ОО ... 101 .. ) СО . . . 01 / ( ... 01, «00 ... 10, У-йО ... и,-Oo ... 101 ..) SB. . . 01 / (... 01, "00 ... 10, W-YO ... and

«00... но...),"00 ... but ...)

00 ... 10 / (XQQ ... 10. «00. . . 100, ЯОО. . . 101,00 ... 10 / (XQQ ... 10. "00... 100, JAOO.. 101,

«00 ... по),"00 ... at)

где I - функци  свертки, Xi есть разр д результата свертки младшей части дл  предыдупдих групп.where I is the convolution function, Xi is the discharge of the result of the convolution of the minor part for the preceding groups.

па ф-иг. 1 приведена блок-схема устройства дл  декодировани  кода Хэмминга; на фиг. 2 представлена временна  диаграмма работы устройства.na f-ig. 1 is a block diagram of a device for decoding a Hamming code; in fig. 2 is a time diagram of the operation of the device.

-строиство декодировани  состоит из приемного регистра 1, принимаюш,его из Od через вход 2 слова, составл ющие сообщение, и расширенного иа один нулевой разр д, значение которого равно нулю дл  того, чтобы в первой выбранной из сообщени  группе получить разр ды с по.Мерами The decoding structure consists of receiving register 1, accepting it from Od via input 2 words that make up the message, and an extended one zero bit, the value of which is zero so that in the first group selected from the message to get bits from to By measures

, 00.... 00, 00. ...01, 00... .10 и т. д., , 00 .... 00, 00. ... 01, 00 ... .10, etc.,

..где к первому коитрольному разр ду отно ситс  разр д с номером 00 ... 01; устройство содержит также счетчик 3, содержащий старшую часть разр дов номера разр да в сообщеник , т. е. представл ющий номер группы, выбираемый из сообщени  через дешифратор 4 на регистр,5; первую схе.му светрки 6, реализующую свертку старшей части номеров разр да, с первым входом которой через регистр 7,  вл ющийс  промежуточным буфером дл  счетчика, соединен счетчик 3. Со вторым входом схемы соединен выход второй схемы свертки 8. Последн   указывает четное или нечетное число единиц в выбраной на ре-гистр -5 группе -разр дов, с третьим входом которой через регистр Я  вл ющийс  проме4.. where the first coitrol bit is the bit number 00 ... 01; the device also contains a counter 3 containing the most significant bit of the bit number in the message, i.e., representing the group number selected from the message through the decoder 4 to the register, 5; the first circuit of light 6, which implements the convolution of the higher part of the bit numbers, with the first input through register 7, which is an intermediate buffer for the counter, is connected to the counter 3. The output of the second convolution circuit 8 is connected to the second input of the circuit. the number of units in the group of bits chosen for the register -5, with the third input of which through the register I is 4

жуточным буфер.о.м дл  результата свергни старшей части номера разр да сообщени , соединен выход первой схе.мы свертки; значение разр дов на выходе первой схемы свертки 6 либо представл ет старое з ачение регистра Я если выход второй схе.мы сзертки 8 говорит о том, что в выбранной группе разр дов четное число единиц, либо свертку (сумму по mod 2) нового значени  счетчика иthe daily buffer m for the result of overthrowing the higher part of the message bit number, the output of the first convolution circuit is connected; the value of the bits at the output of the first convolution scheme 6 either represents the old register I if the output of the second convolution scheme. We conclude that the selected group of bits has an even number of units, or a new value (mod 2) of the counter and

старого значени  регистра Я представл ющего предыдущий результат свертки; третью схему свертки 10, реализующую свертку младщих частей номеров разр дов, с первым входом которой, соединен выход регистра 5,the old value of the register I representing the previous result of convolution; the third convolution scheme 10, which implements the convolution of the younger parts of the bit numbers, with the first input of which is connected to the output of the register 5,

на последнем находитс  выбранна  дешифратором группа разр дов, со вторым входом которой соединен регистр 11,-  вл ющийс  промежуточным буфером дл  результата свертки младшей части номера разр да; значениеon the latter there is a group of bits selected by the decoder, with the second input of which register 11 is connected, which is an intermediate buffer for the result of convolution of the lower part of the digit number; value

разр дов выхода третьей схемы свертки представл ет описанную функцию Uj выход третьей схемы свертки 10 и первой схемы свертки 6 соединен с выходом 12 устройства декодировани .the output bits of the third convolution scheme represents the described function Uj of the output of the third convolution scheme 10 and the first convolution scheme 6 connected to the output 12 of the decoding device.

Динамика работы схемы показана на вре .менной диаграмме работы устройства декодировани  кода Хэмминга (см. фиг. 2), где номера графиков соответствуют но.мерам блоков на ф:иг. 1, приведены двухфазные тактирующие сигналы и отмечены моменты времени ti, tz-.-tis- Дл  конкретности применены следующие параметры устройства: длина сообщени  не более 100 разр дов, число контрольных разр дов не.более 7, скорость декодировани  составл ет 4 разр да за один такт. В таком случае сче/чик 3, регистры 7, 9 имеют длину по п ть разр дов. Регистр 5 имеет соответственно длину четыре разр да. Регистр 11 имеет длину два разр да. В начальный момент / счетчик 3 выберет на регистр 5 первые 4 разр да, соответственно содержимое счетчика 00000, в момент ta содержимое счетчика 3 передаетс  на регистр 7 и в то же врем  становитс  равным 00001. В момент /з выход схемы свертки 8 равен единице, если свертка (сумма по mod 2) разр дов регистра 5 равна единице, в этот же момент на выходе схемы свертки JO установитс  результат по следующему правилу:The dynamics of the operation of the circuit is shown in the time diagram of the operation of the decoding device of the Hamming code (see Fig. 2), where the numbers of the graphs correspond to the numbers of the blocks on f: ig. 1, two-phase clocking signals are shown and time points ti, tz -.- tis- are noted. For specificity, the following device parameters are used: message length not more than 100 bits, number of check bits not more than 7, decoding rate is 4 bits per one measure. In this case, the cash register 3, registers 7, 9 are five bits long. Register 5 has a corresponding length of four bits. Register 11 is two bits long. At the initial time / counter 3 selects the first 4 bits for register 5, respectively, the contents of counter 00000, at time ta the contents of counter 3 are transferred to register 7 and at the same time become equal to 00001. At time / s, the output of the convolution scheme 8 is equal to one if the convolution (mod 2 sum) of register bits 5 is equal to one, at the same time the output at the output of the convolution scheme will be determined by the following rule:

U, f(x,,j.,,a,},U, f (x ,, j. ,, a,},

и 3 -- I 2 -з)and 3 - I 2 -z)

где L/i, f/2 - разр ды выхода схемы 10;where L / i, f / 2 are the output bits of the circuit 10;

Ко, ссь az, аз-разр ды регистра 5;K o, az, register bit 5;

f - функци  свертки.f - convolution function.

В момент 4 на регистре 5 установитс  втора  четверка разр дов из сообщени , т. е. с 5 по 8-й разр ды, и выход схемы свертки 6At time 4, the second four digits from the message will be set on register 5, i.e. bits 5 through 8, and the output of the convolution scheme will be 6

есть свертка (сумма по mod 2) 7 и 5 регистров , если состо ние выхода схемы свертки 8 есть «1, если же состо ние выхода схемы 8 есть «О, то выход схе.л1Ы свертки 6 равен содержимому регистра 9. В момент /4 состо ние счетчика 3 равно 00010, состо ние регистpa 7 равно 00001, a состо ние регистра 9 равно состо нию выхода схемы свертки 6 в предыдущий момент. Таким образом в момент 5 на регистрах 9 10 хранитс  результат обработки первой четверки разр дов и на выходе схемы свертки 8 устанавливаетс  свертка (сумма по niod 2) .второй четверки и на регистре 7 номер этой четверки. Далее все повтор етс  аналогично до тех пор, пока последн   четверка разр дов сообщени  не пройдет через схему сварки 6 и результат декадировани  сообщени  в этот момент оказываетс , на регистрах 9 и //.there is a convolution (sum mod 2) 7 and 5 registers, if the output state of the convolution scheme 8 is "1, if the output state of scheme 8 is" O, then the output of the convolution circuit. 6 is equal to the contents of register 9. At the time / 4, the state of counter 3 is equal to 00010, the state of register 7 is equal to 00001, and the state of register 9 is equal to the state of output of convolution circuit 6 at the previous moment. Thus, at time 5, the result of processing the first four bits is stored in registers 9 and 10 and the output of the convolution scheme 8 is set to convolution (sum over niod 2) of the second four and at register 7 the number of these fours. Then everything repeats in the same way until the last four digits of the message pass through welding circuit 6 and the result of decoding the message at this moment is on registers 9 and //.

Предмет изобретени Subject invention

Устройство дл  декодировани  кода Хэмминга , содержащее приемный регистр, схемыA device for decoding a Hamming code, containing a receive register, circuits

свертки, буферные регистры и дещифратор, отличающийс  тем, что, с целью повышени  быстродействи  устройства, в него введен счетчик, выход которого соединен с первым входом дешифратора и через первый буферный регистр - с первым входом первой схемы свертки, со вторым входом которой соединен выход второй схемы свертки, а с третьим входом через второй буферный регистр - выход первой схемы свертки, выход приемного регистра соединен со вторым входом дешифратора , выход которого через третий буферный регистр соединен с входом второй схемы свертки и с первым входом третьей схемы свертки, второй вход которой через четвертый буферный регистр соединен с ее выходом, выходы первой и третьей схем сверток соединены с выходом устройства.convolutions, buffer registers and a descrambler, characterized in that, in order to increase the speed of the device, a counter is entered in it, the output of which is connected to the first input of the decoder and through the first buffer register to the first input of the first convolution scheme, the second input of which is connected to the second convolution circuit, and with the third input through the second buffer register - the output of the first convolution scheme, the output of the receiving register is connected to the second input of the decoder, the output of which through the third buffer register is connected to the input of the second circuit ki and the first input of the third convolution circuit, wherein the second input via a fourth buffer register connected to its output, the outputs of the first and third convolution circuits connected to the output device.

B/offB / off

( Г -J (R-j

/  /

iLiL

уat

МM

Фиг /Fig /

7-7-

5858

(5 (five

99

WW

П --P --

t1 t2 tJ tfy tS t6 t7 t8 t9 tlO tn tJ2 tIJt1 t2 tJ tfy tS t6 t7 t8 t9 tlO tn tJ2 tIJ

Фи,.2Phi .2

SU1486619A 1970-10-27 1970-10-27 DEVICE FOR DECODING HAMMING CODE SU383050A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU1486619A SU383050A1 (en) 1970-10-27 1970-10-27 DEVICE FOR DECODING HAMMING CODE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU1486619A SU383050A1 (en) 1970-10-27 1970-10-27 DEVICE FOR DECODING HAMMING CODE

Publications (1)

Publication Number Publication Date
SU383050A1 true SU383050A1 (en) 1973-05-25

Family

ID=20458953

Family Applications (1)

Application Number Title Priority Date Filing Date
SU1486619A SU383050A1 (en) 1970-10-27 1970-10-27 DEVICE FOR DECODING HAMMING CODE

Country Status (1)

Country Link
SU (1) SU383050A1 (en)

Similar Documents

Publication Publication Date Title
US3811108A (en) Reverse cyclic code error correction
SU383050A1 (en) DEVICE FOR DECODING HAMMING CODE
US3170062A (en) Computer
US3519941A (en) Threshold gate counters
RU157943U1 (en) PARALLEL RECONFIGURABLE BCH CODES CODER
RU2248033C1 (en) Converter of grey code to parallel binary code
US6704901B1 (en) Runtime programmable Reed-Solomon decoder
TWI523437B (en) Encoding and syndrome computing co-design circuit for bch code and method for deciding the same
RU29816U1 (en) Error-correcting code encoder
SU1024909A1 (en) Multiplication device
JP2622957B2 (en) Coding and decoding method of BCH code
SU771720A1 (en) Logic storage
SU363119A1 (en) REGISTER OF SHIFT
RU1833890C (en) Matrix device for computations
Neumann Encoding and decoding for cyclic permutation codes
SU148965A1 (en) Arithmetic device of a digital differential analyzer
SU1441487A1 (en) Device for decoding correcting codes
SU481042A1 (en) Device for solving systems of linear algebraic equations
RU2132082C1 (en) Transputer unit
SU1388995A1 (en) Device for converting binary numbers to binary decimal numbers and backwards
SU1488789A1 (en) Sequence adder
SU525088A1 (en) Device for adding
SU412679A3 (en)
SU450153A1 (en) Code rate converter
JPS61278215A (en) Coding-decoding system