RU1810909C - Error corrector - Google Patents

Error corrector

Info

Publication number
RU1810909C
RU1810909C SU894761070A SU4761070A RU1810909C RU 1810909 C RU1810909 C RU 1810909C SU 894761070 A SU894761070 A SU 894761070A SU 4761070 A SU4761070 A SU 4761070A RU 1810909 C RU1810909 C RU 1810909C
Authority
RU
Russia
Prior art keywords
output
error
unit
control
information
Prior art date
Application number
SU894761070A
Other languages
Russian (ru)
Inventor
Валерий Васильевич Звягинцев
Original Assignee
Институт кибернетики им.В.М.Глушкова
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 Институт кибернетики им.В.М.Глушкова filed Critical Институт кибернетики им.В.М.Глушкова
Priority to SU894761070A priority Critical patent/RU1810909C/en
Application granted granted Critical
Publication of RU1810909C publication Critical patent/RU1810909C/en

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

Изобретение относитс  к вычислительной технике, в частности к устройствам обнаружени  и исправлени  ошибок, возникающих при хранении или передаче цифровой информации. Целью изобретени   вл етс  повышение быстродействи  устройства . Указанна  цель достигаетс  путем устранени  избыточной коррекции, контрольных символов за счет введени  в корректор блока селекции ошибок контрольных символов с информацией, указывающей, в каком месте кодового слова - в поле информационных или в поле контрольных символов произошла ошибка. Корректор ошибок содержит синдромный регистр, блок обратной св зи, детектор ошибки, блок фиксации местоположени  ошибки, буфер данных, блок коррекции ошибки, блок управлени  и блок селекции ошибок контрольных символов . 2 ил. С/)The invention relates to computer technology, in particular to devices for detecting and correcting errors that occur during the storage or transmission of digital information. The aim of the invention is to increase the speed of the device. This goal is achieved by eliminating excessive correction of control characters by introducing into the corrector of the error selection block control characters with information indicating where in the codeword an error occurred in the information field or in the control character field. The error corrector comprises a syndrome register, a feedback unit, an error detector, an error location fixation unit, a data buffer, an error correction unit, a control unit, and check symbol error selection unit. 2 ill. WITH/)

Description

Насто щее изобретение относитс  к области вычислительной техники, в частности, к устройствам обнаружени  и исправлени  ошибок, возникающих при хранении или передаче цифровой информации.The present invention relates to the field of computer technology, in particular, to devices for detecting and correcting errors that occur during the storage or transmission of digital information.

В насто щее врем  в вычислительной технике при кодировании информации широкое применение получили циклические коды - коды Хэмминга, Файра и др. Помехоустойчивость указанных кодов обеспечиваетс  за смет, введени  избыточности, достигаемой посредством добавлени  так называемых проверочных или контрольных символов к информационным символам кодируемого сообщени . В процессе кодировани  исходное сообщение разбиваетс  на информационные слова уИкф с фиксированным числом символов и дл  каждого информационного слова по определенному алгоритму формируютс  контрольные символы .VKOHTP- После присоединени  контрольных символов к информационному слову получаетс  кодовое слово VKOR циклического блокового систематического (п, к) - кода; где п - общее количество символов в кодовом слове , k - количество информационных символов; m п - к - количество контрольных символов. При этом часто пользуютс  пол- иномикальным представлением кодовых векторов, что позвол ет задавать циклический код математически с помощью так называемых порождающих многочленов . Например, порождающий многочлен над полем символов алфавита GF2 задает (31.26)-код Хэмминга, исправл ющий одну случайную ошибку.Currently, in computer technology, information encoding has gained widespread use of cyclic codes — Hamming, Fire, and other codes. The noise immunity of these codes is ensured by the introduction of redundancy achieved by adding so-called verification or control characters to the information symbols of the encoded message. In the encoding process, the original message is divided into information words UIFF with a fixed number of characters and for each information word, control characters are generated. VKOHTP - After the control characters are attached to the information word, the code word VKOR of the cyclic block systematic (n, k) code is obtained; where n is the total number of characters in the codeword, k is the number of information characters; m p - k - the number of control characters. In this case, they often use the full-nomic representation of code vectors, which allows one to define a cyclic code mathematically using the so-called generating polynomials. For example, the generating polynomial over the symbol field of the alphabet GF2 defines a (31.26) Hamming code that corrects one random error.

0000

о о оLtd

4545

Формирование контрольных символов в процессе кодировани  осуществл етс  путем вычислени  остаточного многочлена VKOHTP Уинф. xmmodY с использованием арифметики полей Галуа. При приеме сообщени  осуществл ют его декодирование с целью обнаружени  и исправлени  ошибок, возникающих при хранении или передаче, Прин тое слово может быть представлено в виде суммы передаваемого кодового слова VKOA и вектора ошибки УОШ. Вычисление при декодировании остаточного многочлена VKOHTP (VKOA + УОШ) -xm mod Y позвол ет получить контрольные символы вектора ошибки , называемые синдромом. Располага  известным значением синдрома, можно, использу  специальные устройства, называемые декодерами или корректорами ошибок, сформировать вектор ошибки и воссоздать в первоначальном виде переданное кодовое слово.The generation of control characters during the encoding is carried out by calculating the residual polynomial VKOHTP Winf. xmmodY using arithmetic of Galois fields. When a message is received, it is decoded to detect and correct errors that occur during storage or transmission. The received word can be represented as the sum of the transmitted VKOA codeword and the VLO error vector. When decoding the residual polynomial VKOHTP (VKOA + VLS) -xm mod Y, the control symbols of the error vector, called the syndrome, are obtained. Having the known meaning of the syndrome, it is possible, using special devices called decoders or error correctors, to form an error vector and recreate the transmitted code word in its original form.

Известно устройство дл  коррекции независимых ошибок (см.Питерсон У., Уэлдон Э. Коды, исправл ющие ошибки, - М.: Мир, 1976, с. 191). Дл  этого корректора характерно недостаточное быстродействие, что обусловлено потер ми времени на коррекцию кодовых слов, у которых искажены контрольные символы.A device for correcting independent errors is known (see Peterson W., Weldon E. Codes for Correcting Errors, Moscow: Mir, 1976, p. 191). This corrector is characterized by a lack of speed due to loss of time for the correction of code words for which control characters are distorted.

Этот же недостаток присущ и корректору пачек ошибок (см.Портной С.А., Анкуди- нов Д. Р. .Ко дек и корректирующих блочных кодов. - Зарубежна  радиоэлектроника,The same drawback is also inherent in the error corrector (see Portnoy S.A., Ankudinov D.R. Code and corrective block codes. - Foreign Radio Electronics,

1985. №7, с. 3-27).1985. No7, p. 3-27).

Известен корректор ошибок с неалгеб- раичёским последовательным декодированием символовциклического систематического кода, в частности кода Хэмминга (см.Блейхут Р.. Теори  и практика кодов, контролирующих ошибки. - М.: Мир,A well-known error corrector with non-algebraic sequential decoding of a symbol of a cyclic systematic code, in particular a Hamming code (see Bleikhut R .. Theories and practice of error control codes. - M.: Mir,

1986. стр. 174). Это устройство выбрано в качестве прототипа.1986. p. 174). This device is selected as a prototype.

Схема прототипа приведена на фиг. 1. Она содержит синдромный регистр 1, блок обратной св зи 2, детектор ошибки 3, блок фиксации местоположени  ошибки 4, буфер данных 5, блок коррекции ошибки 6 и блок управлени  7; выход блока обратной св зи 2 соединен с информационным входом син- дромного регистра 1. выходы которого соединеныс соответствующими информационными входами детектора ошибки 3 и блока фиксации местоположени  ошибки 4, выход которого соединен со входами коррекции блока обратной св зи 2 и блока коррекции ошибки 6, выход которого подключен к выходу 17 устройства и  вл етс  информационным выходомThe prototype diagram is shown in FIG. 1. It contains a syndrome register 1, a feedback unit 2, an error detector 3, an error location fixation unit 4, a data buffer 5, an error correction unit 6, and a control unit 7; the output of the feedback block 2 is connected to the information input of the register register 1. the outputs of which are connected to the corresponding information inputs of the error detector 3 and the block for fixing the location of the error 4, the output of which is connected to the correction inputs of the feedback block 2 and the error correction block 6, the output which is connected to the output 17 of the device and is an information output

00

55

00

55

00

55

00

55

00

55

корректора ошибок, выход детектора ошибки 3 подключен к выходу 16 устройства и  вл етс  управл ющим выходом корректора ошибок, информационные входы блока обратной св зи 2, буфера данных 5 и первый информационный вход блока коррекции ошибки 6 объединены и подключены к входу 8 устройства,  вл ющемус  информационным входом корректора ошибок, управл ющие входы блока фиксации местоположени  ошибки 4, детектора ошибки 3, блока коррекции ошибки 6 и блока обратной св зи 2 подключены к управл ющему выходу регистра синдрома 1, входы сброса и сдвига которого соединены соответственно с первым и вторым выходами блока управлени  7, третий выход которого соединен с входом разрешени  работы блока фиксации местоположени  ошибки 4, второй информационный вход блока коррекции ошибки & соединен с выходом буфера данных 5, адресные входы и входы чтени , записи, обращени  которого соединены соответственно с четвертым, п тым, шестым и седьмым выходами блока управлени  7, восьмой, дев тый и дес тый выходы которого подключены к выходам 14, 15, 13 устройства и  вл ютс  соответственно выходом синхронизации источника информации , выходом синхронизации приемника информации и выходом готовности корректора ошибок, входы начальной установку, сброса ошибки, чтени  и коррекции блока управлени  подключены к входам9,10.11, 12 устройства и  вл ютс  с.оответственно входом начальной установки, входом сброса ошибки, входом.чтени  и входом коррекции корректора ошибок.error corrector, the output of the error detector 3 is connected to the output 16 of the device and is the control output of the error corrector, the information inputs of the feedback unit 2, the data buffer 5 and the first information input of the error correction unit 6 are combined and connected to the input 8 of the device, which is information input of the error corrector, the control inputs of the unit for fixing the location of the error 4, the error detector 3, the error correction unit 6 and the feedback unit 2 are connected to the control output of the syndrome 1 register, the reset and shift inputs which is connected respectively to the first and second outputs of the control unit 7, the third output of which is connected to the operation enable input of the error location fixing unit 4, the second information input of the error correction unit & connected to the output of the data buffer 5, address inputs and read inputs, records, the accesses of which are connected respectively to the fourth, fifth, sixth and seventh outputs of the control unit 7, the eighth, ninth and tenth outputs of which are connected to the outputs 14, 15, 13 devices and are respectively the synchronization output of the information source, the synchronization output of the information receiver and the output of the error corrector ready, the inputs of the initial installation, error reset, reading and correction of the control unit are connected to the inputs 9,10.11, 12 of the device and s.ootvetstvenno are input initial setting, the error reset input, and the input of the corrector vhodom.chteni error correction.

Синдромный регистр 1 при приеме сообщений обеспечивает формирование контрольных символов (синдрома) кодового слова, поступающего с входа 8 устройства на информационный вход блока 2 обратной св зи и с выхода последнего - на информационный вход регистра 1. Формирование синдрома осуществл етс  посредством посимвольного делени  кодового слова на по- .рождающий многочлен. Прием и деление кодового слова на порождающий многочлен начинаетс  с его.старших символов. Остатки от делени  отдельных символов накапли- ваютс  в синдромном регистре 1. Окончательный результат получаетс  после приема последнего (младшего) символа кодового слова. При обнаружении ошибки и прин том сообщении (синдром не равен нулю ) регистр 1 и содержащийс  в нем синдром используютс  дл  построени  вектораSyndrome register 1 when receiving messages provides the formation of control characters (syndrome) of the code word coming from the input 8 of the device to the information input of the feedback unit 2 and from the output of the latter to the information input of the register 1. The formation of the syndrome is carried out by symbolically dividing the code word into generating polynomial. Reception and division of a codeword by a generating polynomial begins with its oldest characters. Residues from the division of individual characters are accumulated in syndrome register 1. The final result is obtained after receiving the last (least significant) character of the codeword. When an error is detected and a message is received (the syndrome is not equal to zero), register 1 and the syndrome contained in it are used to construct the vector

ошибки. Это осуществл етс  посредством модульного умножени  синдрома, что обеспечиваетс  сдвигом вправо регистра синдрома 1. Сдвиг и сброс синдромного регистраmistakes. This is accomplished by modularly multiplying the syndrome, which is achieved by shifting the register of syndrome 1 to the right.

1 производитс  сигналами из блока управлени  7, поступающими на входы сдвига и сброса регистра 1.1 is produced by signals from the control unit 7 supplied to the inputs of the shift and reset of register 1.

Блок 2 обратной св зи обеспечивает формирование входных сигналов дл  синдромного регистра 1, использу  дл  этого символы кодового слова, поступающие с входа 8 устройства, а также выходные сигналы (сигналы обратной св зи), освобождающиес  при сдвиге старшего разр да синдромного регистра 1. При этом в зависимости от значени  сигнала на выходе блока фиксации местоположени  ошибки 4, блокThe feedback unit 2 provides the formation of input signals for the syndrome register 1, using for this purpose the codeword symbols coming from the input 8 of the device, as well as the output signals (feedback signals) released when the high order of the syndrome register 1 is shifted. depending on the value of the signal at the output of the block fixing the location of the error 4, block

2 разрешает или запрещает прохождение сигналов обратной св зи на информационный вход регистра 1.2 allows or prohibits the passage of feedback signals to the information input of register 1.

Детектор ошибки 3 вырабатывает сигнал 1, если содержимое синдромного регистра 1 не равно 0. В режиме чтени  это свидетельствует о присутствии обнаруживаемых ошибок, а в режиме коррекции - неисправимых ошибок в прин том сообщений . Блок фиксации местоположени  ошибки 4 в режиме коррекции вырабатывает выходной сигнал в момент завершени  формировани  синдромным регистром 1 вектора ошибки. Сигнал коррекции с выхода блока 4 поступает в блоки 6 и 2 дл  коррекции обнаруженной ошибки и соответствующего ей синдрома. . . .Error detector 3 generates signal 1 if the contents of syndrome register 1 is not 0. In read mode, this indicates the presence of detected errors, and in correction mode, unrecoverable errors in the received messages. The error location fixation unit 4 in the correction mode generates an output signal at the moment of completion of the formation of the error vector by the syndrome register 1. The correction signal from the output of block 4 enters blocks 6 and 2 to correct the detected error and the corresponding syndrome. . . .

Буфер данных 5 предназначен дл  временного хранени  прин того кодового слова на случай если в дальнейшем потребуетс  исправление ошибок.Data buffer 5 is intended to temporarily store the received codeword in case error correction is required in the future.

В блоке коррекции ошибки б происходит непосредственное исправление ошибок прин того кодового слова путем его посимвольного сложени  (в случае двоичных кодов - по модулю два) с вектором ошибки,In the error correction unit b, the errors of the received codeword are directly corrected by adding it symbolically (in the case of binary codes, modulo two) with the error vector,

Блок управлени  7 обеспечивает взаимодействие и синхронизацию работы узлов устройства. Блок 7 формирует сигналы сброса и сдвига синдромного регистра 1, сигнал управлени  блоком фиксации местоположени  ошибки 4, сигналы записи, чтени , обращени , а также адресные сигналы буфера данных 5: сигналы готовности устройства, синхр.онизации источника и приемника информации .The control unit 7 provides interaction and synchronization of the operation of the nodes of the device. Block 7 generates the reset and shift signals of the syndrome register 1, the control signal for the error location block 4, the write, read, access signals, as well as the address signals of the data buffer 5: readiness signals for the device, synchronization of the source and receiver of information.

Устройство-прототип работает следующим образом. Перед чтением в блок управлени  приемника информации через входы 10 корректора ошибок поступают сигналы начальной установки устройства иThe prototype device operates as follows. Before reading the information to the control unit of the receiver through the inputs 10 of the error corrector, the signals of the initial installation of the device and

55

сброса ошибки, осуществл ющее сброс синдромного регистра 1 и подготовку к работе блока управлени . Затем на вход 11 устройства приемник информации подает 5 сигнал чтени  и блок управлени  сбрасывает сигнал готовности на выходе 13 устройства и формирует последовательность сигналов синхронизации,которые с выхода 14 поступают к источнику кодированных со0 общений. За одну команду чтени  обеспечиваетс  прием одного кодового слова. В ответ на каждый синхросигнал источник сообщений передает один символ. Эти символы ест. входа 8 корректора ошибок без изменений через блок коррекции ошибок 6 поступают на информационный выход 17 и далее - к приемнику информации в сопровождении сигналов синхронизации на выхоQ де 15 устройства. Одновременно принимаемые символы записываютс  в буфер данных 5 и поступают в блок обратной св зи 2 дл  делени  на порождающий многочлен . После приема очередного символаerror reset, resetting the syndrome register 1 and preparing the control unit for operation. Then, the information receiver submits a read signal 5 to the input 11 of the device and the control unit resets the ready signal at the output 13 of the device and generates a sequence of synchronization signals, which from the output 14 go to the source of encoded messages. For one read command, one codeword is received. In response to each clock, the message source transmits one character. These characters are eating. input 8 of the error corrector without changes through the error correction unit 6 are fed to the information output 17 and then to the information receiver, accompanied by synchronization signals to the output 15 of the device. Simultaneously received symbols are written to data buffer 5 and fed to feedback block 2 for division by a generating polynomial. After receiving the next character

5 блок управлени  7 сдвигает вправо на.один разр д синдромный регистр 1 и инкремен- тирует на 1 код адреса на адресных входах буфера данных 5. Таким образом в процессе последовательного посимвольного делени 5, the control unit 7 shifts to the right by one. Syndrome Register 1 is incremented and increments by 1 the address code on the address inputs of the data buffer 5. Thus, in the process of sequential character division

0 прин того кодового слова в регистре 1 накапливаютс  частичные остатки от делени  всех символов кодового слова, образующие в конечном итоге умножений ( ( синдром ошибки S (УХОД + УОШ) хт-тойУ.0 of the received codeword in register 1, partial residuals from the division of all the characters of the codeword are accumulated, which ultimately form the multiplications ((error syndrome S (Nursing + WOSH) xm-toyU.

5 После приема всех п символов кодового слова блок управлени  7 останавливаетс  и выдает на выход 13 устройства сигнал готовности. Если содержимое синдромного регистра 1 в этот момент не будет равно О,5 After receiving all n symbols of the codeword, the control unit 7 stops and provides a ready signal to the output 13 of the device. If the contents of syndromic register 1 at this moment is not equal to O,

0 то детектор ошибки 3 сформирует сигнал ошибки, который поступит на выход 16 устройства . Восприн в сигнал готовности корректора ошибок, приемник информации анализирует значение сигнала ошибки на0 then the error detector 3 will generate an error signal, which will be output 16 of the device. Perceived in the error corrector ready signal, the information receiver analyzes the value of the error signal on

5 выходе 16 корректора ошибок. Если сигнал ошибки отсутствует, то чтение кодового слова закончено, и приемник информации выдает вышеописанную последовательность команд дл  чтени  следующего кодового слова. При наличии сигнала ошибки работа устройства по декодированию прин того кодового слова должна быть продолжена с целью осуществлени  коррекции ошибочк ных символов. Дл  этого от приемника информации на входы 9 и 12 устройства подаютс  сигналы начальной установки и5 output 16 error corrector. If there is no error signal, then reading the codeword is completed, and the information receiver provides the above sequence of instructions for reading the next codeword. If there is an error signal, the operation of the device for decoding the received codeword should be continued in order to carry out the correction of erroneous characters. To do this, from the information receiver to the inputs 9 and 12 of the device signals of the initial installation and

коррекции. Блок управлени  7 при этом разрешает работу блока фиксации местоположени  ошибки 4. переводит буфер данных 5correction. The control unit 7 thus enables the operation of the unit for fixing the location of the error 4. translates the data buffer 5

в режим чтени  и сбрасывает сигнал готовности . Затем блок управлени  7 формирует сигналы обращени  к буферу данных 5, сдвига синдромного регистра 1, инкремен- тировани  кода адреса на адресных входах буфера данных. Считываемое из буфера данных 5 искаженное кодовое слово посимвольно поступает в блок коррекции ошибки 6 и при отсутствии сигнала на выходе блока фиксации местоположени  ошибки 4 без изменений передаетс  через блок 6 на выход 17 устройства, Выдаваемые сигналы сопровождаютс  сигналами синхронизации на выходе 15 устройства. Одновременно с выдачей очередного символа сдвигаетс  на один разр д вправо синдромный регистр 1 дл . умножени  на х содержащегос  в нем синдрома. После того, как в процессе последовательного умножени  синдрома в регистре 1 будет сформирован вектор ошибки, блок 4 вырабатывает выходной сигнал, который поступит на вход коррекции блока 2 и разорвет обратную св зь синдромного регистра 1, обеспечива  тем самым сохранность остающихс  в нем при последующих сдвигах символов вектора ошибки. Этот же сигнал поступит на вход коррекции блока 6 и разрешит передачу вектора ошибки с управл ющего выхода синдромного регистра 1 в блок 6. В блоке 6 происходит сложение искаженных символов кодового, слова, поступающих из буфера данных символами вектора ошибки. Исправленные таким образом символы кодового слова с выхода 17 и сопровождающие их сигналы синхронизации с выхода 15 корректора ошибок поступают в приемник информации. После окончани  передачи исправленного сообщени  блок управлени  7 останавливаетс  и выдает на выход 13 устройства сигнал готовности. Если процесс исправлени  ошибок прошел успешно, то на выходе 16 устройства в этот момент будет отсутствовать сигнал ошибки. В противном случае, а это бывает при обнаружении неисправимых ошибок, на выходе 16 устройства будет присутствовать сигнал ошибки, и уже дело приемника информации решать, что делать в этом случае - оперировать и искаженной информацией, осуществить повторное чтение кодового слова или вообще прекратить дальнейшую работу.into read mode and resets the ready signal. Then, the control unit 7 generates signals to access the data buffer 5, shift the syndrome register 1, increment the address code on the address inputs of the data buffer. The distorted code word read from the data buffer 5 enters the error correction block 6 symbolically and, in the absence of a signal at the output of the location block of the error 4, is transmitted without changes through the block 6 to the output 17 of the device. The generated signals are accompanied by synchronization signals at the output 15 of the device. Simultaneously with the issuance of the next character, the syndromic register 1 dl is shifted one bit to the right. multiplying by x the syndrome contained therein. After an error vector is generated in the register 1 during sequential multiplication of the syndrome, block 4 generates an output signal that will be input to the correction input of block 2 and break the feedback of the syndrome register 1, thereby preserving the characters remaining in it during subsequent symbol shifts error vector. The same signal will be sent to the correction input of block 6 and will allow the transmission of the error vector from the control output of the syndrome register 1 to block 6. In block 6, the distorted code symbols and the words coming from the data buffer with the symbols of the error vector are added. The codeword symbols corrected in this way from output 17 and the synchronization signals accompanying them from output 15 of the error corrector are sent to the information receiver. After the transmission of the corrected message is completed, the control unit 7 stops and provides a ready signal to the output 13 of the device. If the error correction process was successful, then the output 16 of the device at this moment will be no error signal. Otherwise, and this happens when fatal errors are detected, the output 16 of the device will contain an error signal, and it is up to the information receiver to decide what to do in this case - to operate with distorted information, re-read the code word or stop further work altogether.

Устройству-прототипу присущ недостаток , заключающийс  в недостаточном быстродействии , что обусловлено затратами времени на коррекцию контрольных символов . В большинстве случаев коррекци  указанных символов не  вл етс  необходимой,The prototype device has a disadvantage of insufficient speed, which is due to the time spent on the correction of control characters. In most cases, correction of these characters is not necessary,

00

55

00

55

00

55

00

55

00

55

так как в дальнейшем при обработке информации в вычислительном устройстве они все равно не используютс .since subsequently, when processing information in a computing device, they are still not used.

Целью насто щего изобретени   вл етс  повышение быстродействи  корректора ошибок за счет устранени  избыточной коррекции контрольных символов. Технически это достигаетс  путем введени  в корректор ошибок блока Селекции ошибок контрольных символов, информационные входы которого соединены с выходами синдромного регистра, а управл ющий вход - с выходом узла управлени ; выход введенного в корректор ошибок блока  вл етс  управл ющим выходом устройства.An object of the present invention is to improve the performance of an error corrector by eliminating redundant check character correction. Technically, this is achieved by introducing into the error corrector the Check symbol error selection block, the information inputs of which are connected to the outputs of the syndrome register, and the control input is connected to the output of the control unit; the output of the block entered in the error corrector is the control output of the device.

В известных корректорах ошибок повышение быстродействи  достигаетс  за счет использовани  более быстродействующей элементной базы, позвол ющей увеличить скорость передани информации при коррекции . Однако в этом случае быстродействие корректора ограничено пропускной способностью линий св зи, а также временем выборки информации из буфера данных.In known error correctors, an increase in speed is achieved through the use of a faster element base, which makes it possible to increase the transmission speed of information during correction. However, in this case, the performance of the corrector is limited by the bandwidth of the communication lines, as well as the time of information retrieval from the data buffer.

В .отличие от известных технических решений в предлагаемом устройстве за счет признаков, указанных в отличительной части формулы, устройству придаетс  качественно новое свойство, а именно: устран етс  избыточна  коррекци  контрольных символов. Следовательно этот признак  вл етс  существенным.ОIn contrast to the known technical solutions in the proposed device, due to the features indicated in the characterizing part of the formula, the device is given a qualitatively new property, namely: excessive correction of control characters is eliminated. Therefore, this feature is significant. O

Предлагаемое устройство изображено на фиг. 2. Оно .содержит синдромный регистр 1, включающий одноразр дные сдвигающие регистры 2, св занные через схемьи 3 сложени  по модулю два, и ключи 4 задани  коэффициентов порождающего многочлена , блок обратной св зи 5, детектор ошибки 9, блок фиксации местоположени  ошибки 10, буфер данных 11, блок коррекции ошибки 12, блок селекции ошибок кон- трольных символов 1библокуправлени  17; выход блока обратной св зи 5 соединен с информационным входом синромного регистра 1. выходы которого соединены с соответствующими информационными входами детектора ошибки 9, блока селекции ошибок контрольных символов 16 и блока фиксации местоположени  ошибки 10, выход которого соединен со входом коррекции блока обратной св зи 5 и блока коррекции ошибки 12, выход которого подключен к выходу 27 устройства и  вл етс  информационным выходом корректора ошибок, выход детектора ошибки 9 соединен с выходом 26 устройства и  вл етс  первым управл ющим выходом корректора ошибок, информационные входы блока обратной св зи 5. буфера данных 11 и первый информационной вход блока коррекции ошибки 12 объединены и подключены к входу 18 устройства,  вл ющемус  информационным входом корректора ошибок, управл ющие входы блока фиксации местоположени  ошибки 10, детектора ошибки 9, блока коррекции ошибки 12 и блока обратной св зи 5 подключены к управл ющему выходу регистра синдрома 1, входы сброса и сдвига которого соединены соответственно с первым и вторым выходами блока управлени  17, третий выход которого соединен с входом разрешени  работы блока фиксации местоположени  ошибки 10, второй информационный вход блока коррекции ошибки 12 соединен с выходом буфера данных 11, адресные входы и входы чтени , записи, обращени  которого соединены соответственно с четвертым, п тым, шестым и седьмым выходами блока управлени  17, восьмой, дев тый и дес тый выходы которого подключены к выходам 24, 25, 23 устройства и  вл ютс  соответственно выходом синхронизации источника информации , выходом синхронизации приемника информации и выходом готовности корректора .ошибок, входы начальной установки, сброса ошибки, чтени  и коррекции блока управлени  17 подключены к входам 19, 20, 21, 22 устройства и  вл ютс  соответственно входом начальной установки, входом сброса ошибки, входом чтени  и входом коррекции корректора ошибок, одиннадцатый выход блока управлени  17 соединен с управл ющим входом бло.ка селекции ошибок контрольных символов 16, выход которого -подключен к выходу 28 устройства и  вл етс  вторым управл ющим выходом корректора ошибок.The proposed device is shown in FIG. 2. It contains a syndrome register 1, including one-bit shift registers 2, coupled via modular two addition circuits 3, and keys 4 for setting coefficients of the generating polynomial, feedback block 5, error detector 9, error location fixation block 10, data buffer 11, error correction block 12, error selection block of check symbols 1 of control block 17; the output of the feedback unit 5 is connected to the information input of the synchronous register 1. the outputs of which are connected to the corresponding information inputs of the error detector 9, the error selection block of the check symbols 16 and the error location fixation unit 10, the output of which is connected to the correction input of the feedback unit 5 and error correction unit 12, the output of which is connected to the output 27 of the device and is the information output of the error corrector, the output of the error detector 9 is connected to the output 26 of the device and is the first control the output of the error corrector, information inputs of the feedback block 5. data buffer 11 and the first information input of the error correction block 12 are combined and connected to the input 18 of the device, which is the information input of the error corrector, the control inputs of the block for fixing the location of the error 10, the error detector 9, the error correction block 12 and the feedback block 5 are connected to the control output of the syndrome 1 register, the reset and shift inputs of which are connected respectively to the first and second outputs of the control block 17, the third output which is connected to the operation enable input of the error location unit 10, the second information input of the error correction unit 12 is connected to the output of the data buffer 11, address inputs and read, write entries, the accesses of which are connected respectively to the fourth, fifth, sixth and seventh outputs of the control unit 17, the eighth, ninth and tenth outputs of which are connected to the outputs 24, 25, 23 of the device and are respectively the synchronization output of the information source, the synchronization output of the information receiver and the availability readiness error corrector, inputs of the initial setting, error reset, reading and correction of the control unit 17 are connected to the inputs 19, 20, 21, 22 of the device and are respectively the initial setting input, error reset input, read input and error correction correction input, eleventh output the control unit 17 is connected to the control input of the check symbol error block 16, the output of which is connected to the output 28 of the device and is the second control output of the error corrector.

Сдвигающие регистры 2, схемы 3 сложени  по модулю два и ключи 4 задани  коэффициентов многочлена, порождающего циклический код, образуют синдромный регистр 1. Этот регистр при приеме сообщений обеспечивает формирование контрольных символов (синдрома) кодового слова, поступающего с выхода блока 5 на информационный вход регистра 1. Формирование синдрома осуществл етс  путем посимвольного деле ни  на порождающий многочлен кодового слова, начина  с его старших символов. Остатки от делени  отдельных символов накапливаютс  в синд- ромном регистре 1. Окончательный результат получаетс  после приема последнего (младшего) символа кодового слова. При обнаружении ошибки в прин том сообщении (синдром не равен нулю) регистр 1 и содержащийс  в нем синдром используютс  дл  построени  вектора ошибки, которое осуществл етс  посредством модульногоShift registers 2, modulation two addition schemes 3, and 4 keys for setting coefficients of the polynomial generating the cyclic code form syndrome register 1. This register, when receiving messages, provides the formation of control characters (syndrome) of the code word coming from the output of block 5 to the register information input 1. Syndrome is formed by character-by-character deletion of the generative polynomial of the codeword, starting with its leading characters. Residues from the division of individual characters are accumulated in the syndrome register 1. The final result is obtained after receiving the last (least significant) character of the codeword. When an error is detected in the received message (the syndrome is not equal to zero), register 1 and the syndrome contained in it are used to construct the error vector, which is implemented by means of a modular

умножени  синдрома при сдвигах вправо регистра синдрома 1. Сдвиг и сброс регистра 1 производитс  сигналами,-поступающими из блока управлени  17. В случае двоичных циклических кодов дл multiplication of the syndrome by shifting to the right of the register of syndrome 1. The shift and reset of register 1 is performed by signals coming from the control unit 17. In the case of binary cyclic codes for

полиномиального представлени  порождающего многочлена и кодового слова в видеpolynomial representation of the generating polynomial and codeword as

2, -$i x используетс  алфавит из двух2, - $ i x uses the alphabet of two

символов - О и 1. Соответственно коэффициенты ai многочлена также могут принимать только два указанных значени . Например, синдромный регистр дл  декодировани  циклического кода, заданного порождающим многочленом Y x + х 1 characters are O and 1. Accordingly, the coefficients ai of the polynomial can also take only two of the indicated values. For example, a syndrome register for decoding a cyclic code defined by a generating polynomial Y x + x 1

Э| X -, 30 , 34 0,E | X -, 30, 34 0,

2525

i 0i 0

содержит5 одноразр дных сдвигающих регистров , причем в замкнутом положении наход тс  только два крайних слева ключа,contains 5 one-bit shift registers, and in the closed position there are only two keys to the leftmost

задающих коэффициенты а0 и ai. Если коэффициенты ai посто нны, то ключи 4 могут быть фиксированными (запа нными) св з ми . Выходами синдррмного регистра 1  вл ютс  выходы вход щих в его составdefining the coefficients a0 and ai. If the coefficients ai are constant, then the keys 4 can be fixed (sealed) links. The outputs of syndrome register 1 are the outputs of its constituent

сдвигающих регистров 2. Сигнэл с выхода старшего - крайнего справа рэзр да (управл ющий выход) через блок 5 участвует в выработке . сигналов обратной св зи синдромного регистра 1.shift registers 2. The signal from the output of the highest - rightmost bit (control output) through block 5 is involved in generation. Syndrome Register Feedback Signals 1.

Блок 5 обратной св зи содержит двух- входовую схему И7, инвертор 6 и двухвходо- вую схему сложени  по модулю два 8. Блок имеет 3 входа и 1 выход. Вход инвертора.6  вл етс  входом коррекции блока 5. Один изThe feedback unit 5 contains a two-input I7 circuit, an inverter 6, and a two-input addition circuit modulo two 8. The unit has 3 inputs and 1 output. The inverter input. 6 is the correction input of block 5. One of

входов схемы И7 соединен с управл ющим выходом синдромного регистра 1 и  вл етс  управл ющим входом блока 5. Информационным входом блока 5  вл етс  вход схемы 8 сложени  по модулю два, соединенный сthe inputs of circuit I7 is connected to the control output of the syndrome register 1 and is the control input of block 5. The information input of block 5 is the input of modulation two addition circuit 8, connected to

информационным входом 18 устройства. Выход схемы 8 сложени  по модулю два - он же выход блока 5 соединен с информационным входом синдромного регистра 1. Блок 5 обеспечивает формирование входных информационных сигналов дл  синдромного регистра 1, использу  дл  этого входные информационные сигналы корректора ошибок, поступающие, на вход 18 от источника сообщений, а также сигналы обратной св зи, поступающие с управл ющего выхода синдромного регистра 1. При этом в зависимости от значени  сигнала на выходе блока 10 блок 5 будет разрешать или запрещать прохождение сигналов обратной св зи на информационный вход синдромного регистра.information input 18 of the device. The output of the addition circuit 8 modulo two - the same output of block 5 is connected to the information input of the syndrome register 1. Block 5 provides the formation of input information signals for the syndrome register 1, using input error signals from the error corrector received at the input 18 from the message source , as well as feedback signals coming from the control output of the syndrome register 1. In this case, depending on the value of the signal at the output of block 10, block 5 will allow or prohibit the passage of signals back communication to an information input of the syndrome register.

Детектор ошибки 9 представл ет собой схему И-НЕ с числом входов, равным количеству разр дов синдромного регистра 1. При наличии ошибок в прин том кодовом слое содержимое регистра синдрома 1 не будет равно 0 и детектор ошибки сформирует 1 на своем выходе, который  вл етс  первым управл ющим выходом устройства. В противном случае содержимое регистра синдрома 1 и выходной сигнал детектора ошибки будут равны 0.The error detector 9 is an NAND circuit with the number of inputs equal to the number of bits of the syndrome register 1. If there are errors in the received code layer, the contents of the syndrome 1 register will not be 0 and the error detector will generate 1 at its output, which is first control output of the device. Otherwise, the contents of the syndrome 1 register and the output of the error detector will be 0.

Блок фиксации местоположени  ошибки 10 представл ет собой схему И с количеством входов, обеспечивающим ее подключение ко всем выходам регистра синдрома 1, а также к выходу блока управлени  17, разрешающему работу блока 10 в режиме коррекции. Блок 10 вырабатывает сигнал в моментзавершени  формировани  синдромным регистром 1 вектора ошибки. Этот сигнал поступает в блоки 5, 12 дл  коррекции обнаруженной ошибки и соответствующего ей синдрома.The error location block 10 is an AND circuit with the number of inputs ensuring its connection to all outputs of the syndrome 1 register, as well as to the output of the control unit 17, which allows the operation of block 10 in the correction mode. Block 10 generates a signal when the generation of the error vector by the syndrome register 1 is completed. This signal is supplied to blocks 5, 12 to correct the detected error and the corresponding syndrome.

Буфер данных 11 предназначен дл  временного хранени  прин того в режиме чтени  кодового слова на случай, если в дальнейшем потребуетс  коррекци  ошибок . В качестве буфера данных удобнее всего использовать последовательный сдвигающий регистр. Однако, ввиду того, что сдвигающие регистры большей разр дности промышленностью не выпускаютс , в качестве буфера данных чаще всего используют од поразр дные ЗУ с пр мой выборкой. Адресные сигналы, сигналы чтени , записи и обращени  к буферу данных формируютс  в блоке управлени  17.Data buffer 11 is designed to temporarily store a received codeword in read mode in case errors are to be corrected in the future. It is most convenient to use a sequential shift register as the data buffer. However, in view of the fact that shifting registers of a higher bit size are not produced by industry, the most common use of one-bit memory with direct sampling is as a data buffer. Address signals, read, write, and data buffer access signals are generated in the control unit 17.

В блоке коррекции ошибки 12 проихсо- дит непосредственное исправление ошибок прин того кодового слова путем его посимвольного сложени  (в случае двоичных кодов - по модулю два) с веткором ошибки. Блок 12 содержит двухходовую схему И 13, двухвхо- довую схему сложени  по модулю два 14 и двухвходовую схему ИЛИ 15. Первый вход схемы И 13 соединен с выходом блока 10 и  вл етс  одновременно входом коррекции блока 12. Второй вход схемы И13, св занный с управл ющим выходом синдромного регистра 1,  вл етс  управл ющим входом блока 12. Первым информационным входом блокаIn the error correction block 12, the errors of the received codeword are directly corrected by adding it symbolically (in the case of binary codes, modulo two) with the error vector. Block 12 contains a two-input circuit And 13, a two-input modulation circuit two 14 and a two-input circuit OR 15. The first input of the circuit And 13 is connected to the output of the block 10 and is at the same time the correction input of the block 12. The second input of the circuit And 13, connected to the control output of the syndrome register 1 is the control input of block 12. The first information input of the block

55

12  вл етс  .вход схемы И.ЛИ 15. соединенный с информационным входом 18 корректора ошибок. Второй информационный вход блока 12 образует вход схемы сложени  по модулю два 14, соединенный с выходом буфера данных 11. Выход схемы ИЛИ 15  вл етс  одновременно выходом блока 12.12 is an input of an AND. Circuit 15. connected to the error correction information input 18. The second information input of block 12 forms the input of the addition circuit modulo two 14 connected to the output of the data buffer 11. The output of the OR circuit 15 is simultaneously the output of the block 12.

Блок селекции ошибок контрольныхControl error selection block

О символов 16,  вл ющийс  отличительным признаком предлагаемого устройства, предназначен дл  выделени  ошибок контрольных символов из всей совокупности ошибок кодового слова. Информационные входы блока 16 соединены с выходами регистра синдрома 1, а управл ющий вход, разрешающий работу блока 16 в режиме чтени , - с выходом блока управлени  17.About Symbols 16, which is a distinguishing feature of the device according to the invention, is intended to isolate control symbol errors from the entire set of codeword errors. The information inputs of block 16 are connected to the outputs of the syndrome 1 register, and the control input, which enables the operation of block 16 in the reading mode, is connected to the output of the control block 17.

Q Выход блока 16  вл етс  одновременно вторым , управл ющим выходом устройства. Сигнал 1 на этом выходе формируетс , если в прин том кодовом слове ошибочными  вл ютс  контрольные символы; в про5 тивном случае формируетс  сигнал О.Q The output of block 16 is simultaneously the second control output of the device. Signal 1 at this output is generated if check digits are erroneous in the received codeword; otherwise, signal O is generated.

Блок селекции ошибок контрольных символов может быть реализован на комбинационных логических схемах, на базе арифметико-логического устройства илиThe block of error control for check symbols can be implemented on combinational logic circuits, on the basis of an arithmetic logic device, or

0 ПЗУ. Ниже рассмотрен пример реализации блока 16 на основе ПЗУ. Дл  представлени  информации об ошибках контрольных символов в ПЗУ достаточно одного бита на ошибку: 1 может быть использована дл  0 ROM. The following is an example implementation of block 16 based on ROM. To present information about the errors of control characters in the ROM, one bit per error is sufficient: 1 can be used to

5 кодировани  ошибок контрольных символов , а О - дл  кодировани  всех других ошибок. В случае например (31. 26)- кода Хэмминга с порождающим многочленом Y х5+х+1 из 25 - 32 возможных значений5 for coding check symbol errors, and O for coding all other errors. In the case of, for example, (31.26), a Hamming code with a generating polynomial Y x5 + x + 1 out of 25 - 32 possible values

0 синдрома только п ть следующих: х+1, х2+Х, х3+х , х4+х3н х4+х+.1 будут  вл тьс  синдромами ошибок контрольных символов, умно женными на х . Им соответствуют 5-разр дные адреса ПЗУ: 00011, 00110,There are only five of the following syndromes: x + 1, x2 + X, x3 + x, x4 + x3n x4 + x + .1 will be control character error syndromes that are smart with x. They correspond to 5-bit ROM addresses: 00011, 00110,

5 01100,11000,10011. По этим адресам в ПЗУ надо записать 1, а по остальным - О. Если при чтении содержимого ПЗУ перед коррекцией в качестве источника адреса использовать синдромный регистр, то можно получить информацию о характере ошибки. Если при чтении будет получена 1. то ошибка принадлежит к-контрольным символам . Чтение информации из ПЗУ инициируетс  сигналом блока управлени , поступающим на управл ющий вход (вход разрешени  обращени ) ПЗУ.5 01100,11000,10011. It is necessary to write 1 to these addresses in the ROM, and to the others - O. If you use the syndrome register when reading the contents of the ROM before correction, you can get information about the nature of the error. If reading is received 1. then the error belongs to the control characters. Reading information from the ROM is triggered by a signal from the control unit, which is fed to the control input (access enable input) of the ROM.

Выпускаемые в насто щее врем  БИС ПЗУ, в частности серии 556 емкостью 1К - 64 К бит в одном корпусе, позвол ют созда0Currently available LSI ROMs, in particular the 556 series with a capacity of 1K - 64 K bits in one package, allow

55

вать корректоры ошибок, оперирующие с кодовыми словами любой длины.to develop error correctors operating with code words of any length.

Блок управлени  17 обеспечивает взаимодействие и синхронизацию работы узлов устройства. Схема блока управлени  приведена на фиг. 3. Она включает RS-триггеры 12,13,29; генератор тактовых импульсов 15: схемы ИЛИ 16, 24.41, 42; схемы И 17,23, 31, 32, 37, 38; инверторы 18, 33, 35; D-триггеры 26,28; схему ИЛИ-НЕ 27, схемы задержки 39, 40; счетчик тактовых импульсов 44, усилители 14, 25, 30. 34, 36, 43; вход усилител  14 соединен с входом 19 начальной установки устройства, а выход - со входами сброса триггеров 12, 13, ,26, 28, счетчика тактовых импульсов 44, а также с первым входом схемы ИЛИ 24; вход усилител  25 соединен с входом 20 сброса ошибки устройства, а выход - с выходом 1 блока управлени . Входы установки в 1 триггеров 12, 13 соединены соответственно со входами 21, 22 чтени  и коррекции устройства, выход триггера 12 соединен с первыми входами схемы ИЛИ 16 и схем И 23, 38-, а также с выходом 6 блока управлени ; выход триггера 13 соединен со вторым входом схемы ИЛИ 16 и с первыми входами схем И 17, 37, а также через усилители 30, 36 - с выходами 5, 3 блока управлени , выход генератора тактовых импульсов 15 соединен с тактовым входом D-триггера 26 и с первыми входами схем И 31, 32, информационный вход D- триггера 26 соединен с выходом схемы ИЛИ 16, а выход - с вторым входом схемы И 31, третий вход которой соединен с выходом схемы ИЛИ-НЕ 27, выход схемы И 17 соединен с входом инвертора 18 и с первым входом схемы ИЛИ-НЕ 27, выход схемы И 23 соединен с информационным входом D- триггера 28, и с вторыми входами схемы ИЛИ-НЕ 27 и схемы И 32, третий вход которой соединен с выходом D-триггера 28, а выход - с тактовыми входом D-триггера 28, входом инвертора 33 и с выходом 11 блока управлени ,, выход схемы И 31 соединен со вторыми входами схем И 37, 38 и с входом инвертора 35; второй и третий входы схемы ИЛИ 24 соединены с выходами инверторов 18, 33; входы сброса и установки триггера 29 соединены с выходами схемы ИЛИ 24 и инвертора 35, а выход - через усилитель 34 подключен к выхоДу 10 блока управлени  и к выходу готовности 23 устройства. Выход схемы И 37 соединен с первым входом схемы ИЛИ 41 и через схему задержки 40 - с первым входом схемы ИЛИ 42; выход схемы И 38 соединен с выходом 8 блока управлени  и с выходомThe control unit 17 provides interaction and synchronization of the operation of the device nodes. The circuit of the control unit is shown in FIG. 3. It includes RS-triggers 12,13,29; clock generator 15: OR circuits 16, 24.41, 42; Schemes I 17.23, 31, 32, 37, 38; inverters 18, 33, 35; D-triggers 26.28; OR-NOT circuit 27, delay circuits 39, 40; clock counter 44, amplifiers 14, 25, 30. 34, 36, 43; the input of the amplifier 14 is connected to the input 19 of the initial installation of the device, and the output is connected to the reset inputs of the triggers 12, 13,, 26, 28, the clock counter 44, as well as the first input of the OR circuit 24; the input of amplifier 25 is connected to input 20 of the device error reset, and the output to output 1 of the control unit. The inputs of the installation of 1 triggers 12, 13 are connected respectively to the inputs 21, 22 of reading and correction of the device, the output of the trigger 12 is connected to the first inputs of the circuit OR 16 and circuits AND 23, 38-, as well as the output 6 of the control unit; the output of the trigger 13 is connected to the second input of the OR circuit 16 and to the first inputs of the circuits AND 17, 37, and also through the amplifiers 30, 36 to the outputs 5, 3 of the control unit, the output of the clock generator 15 is connected to the clock input of the D-trigger 26 and with the first inputs of AND circuits 31, 32, the information input of the D-trigger 26 is connected to the output of the OR circuit 16, and the output is connected to the second input of the And 31 circuit, the third input of which is connected to the output of the OR-NOT 27 circuit, the output of And circuit 17 is connected to the input of the inverter 18 and with the first input of the circuit OR NOT 27, the output of the circuit And 23 is connected to the information input of the D-trigger 28, and with the second inputs of the OR-NOT circuit 27 and the And 32 circuit, the third input of which is connected to the output of the D-flip-flop 28, and the output - to the clock input of the D-flip-flop 28, the input of the inverter 33 and the output 11 of the control unit, the output circuit And 31 is connected to the second inputs of circuits And 37, 38 and with the input of the inverter 35; the second and third inputs of the OR circuit 24 are connected to the outputs of the inverters 18, 33; the reset and reset inputs of the trigger 29 are connected to the outputs of the OR circuit 24 and the inverter 35, and the output through the amplifier 34 is connected to the output 10 of the control unit and to the standby output 23 of the device. The output of AND circuit 37 is connected to the first input of OR circuit 41 and through the delay circuit 40 to the first input of OR circuit 42; the output of AND circuit 38 is connected to the output 8 of the control unit and to the output

55

24 синхронизации источника информации , устройства, а также через схему задержки 39 - со вторым входами схем ИЛИ 41, 42; выход схемы ИЛИ 41 соединен со счетным 5 входом счетчика 44, и с выходом 7 блока управлени ; выход схемы ИЛИ 42 подключен к выходу 2 блока управлени , а также через усилитель 43 - к выходу 9 блока управлени  и к выходу 25 синхронизации прием0 ника информации устройства; / информационные входы счетчика 44 соединены со вторыми входами схем И 17, 23 и с выходом 4 блока управлени .24 synchronization of the information source, device, as well as through the delay circuit 39 - with the second inputs of the circuits OR 41, 42; the output of the OR circuit 41 is connected to the counting 5 input of the counter 44, and to the output 7 of the control unit; the output of the OR circuit 42 is connected to the output 2 of the control unit, and also through an amplifier 43 to the output 9 of the control unit and to the synchronization output 25 of the device information receiver; / information inputs of the counter 44 are connected to the second inputs of the circuits AND 17, 23 and to the output 4 of the control unit.

Блок управлени  работает следующимThe control unit operates as follows

5 образом. Сигналами, поступающими от приемника информации на входы 19, 20, производитс  сброс синдромного регистра 1 устройства, а также триггеров 12,13, 26,28, 29 и счетчика 44 блока управлени . В ре0 зультате этого на выход 10 с выхода триггера 29 через усилитель 34 будет выдаватьс  сигнал готовности устройства к работе, а на выход 4 - начальный (нулевой) адрес буфера данных 11; на всех других выходах блока управлени  сигналы будут отсутствовать. В режиме чтени  сигнал от приемника информации со входа 21 устанавливает в 1 триггер 12, выходной сигнал которого с выхода5 way. The signals from the information receiver at the inputs 19, 20 reset the syndrome register 1 of the device, as well as the triggers 12,13, 26,28, 29 and the counter 44 of the control unit. As a result of this, output 10 from the output of flip-flop 29 through amplifier 34 will give a signal that the device is ready for operation, and output 4 will receive the initial (zero) address of data buffer 11; all other outputs of the control unit will have no signals. In reading mode, the signal from the receiver of information from input 21 sets 1 trigger 12, the output signal of which is output

6 переводит буфер данных 11 устройства в режим записи и через схему ИЛИ 16 поступает на информационный вход D-триггера 26. Отрицательный задний фронт первого положительного тактового импульса гене5 ратора 15, накладывающийс  на выходной сигнал схемы ИЛИ 16, воздейству  на тактовый вход D-триггера 26, устанавливает его в 1 и разрешает прохождение всех последующих положительных тактовых импуль0 сов генератора 15 через вентиль 31 на входы вентилей 37, 38 и инвертора 35. Первый выходной сигнал инвертора 35 устанавливает в 1 триггер 29, в результате на выходе 10 блока управлени  и на выходе 23 устрой5 ства снимаетс  сигнал готовности. Проход  через открытый выходным сигналом триггера 12 вентиль 38, тактовые импульсы поступают на выход 8 синхронизации источника информации и через схему задержки 39, 6 puts the data buffer 11 of the device into recording mode and, through the OR circuit 16, enters the information input of the D-trigger 26. The negative trailing edge of the first positive clock pulse of the generator 15 superimposed on the output signal of the OR circuit 16 affects the clock input of the D-trigger 26 , sets it to 1 and allows all subsequent positive clock pulses of generator 15 to pass through gate 31 to the inputs of gates 37, 38 and inverter 35. The first output signal of inverter 35 sets 1 trigger 29, resulting in an output e 10 of the control unit and at the output 23 of the device, the ready signal is removed. Passage through the valve 38 open by the output of the trigger 12, the clock pulses are fed to the output 8 of the synchronization of the information source and through the delay circuit 39,

0 схемы ИЛИ 41,42 - на выходы 7, 2, 9 разрешени  обращени  к буферу данных, сдвига синдромного регистра и синхронизации приемника информации. Инкрементирова- к ние счетчика 44 происходит по заднему фронту сигнала разрешени  обращени  к буферу данных на выходе 7. После приема кодового слова счетчик 44 будет содержать двоичный код длины п кодового слова. Этот код совместно с выходным сигналом триггеpa 12 обеспечивает срабатывание вентил  23. Выходной сигнал вентил  23 через схему ИЛИ-НЕ 27 закрывает вентиль 31, в результате чего прекращаетс  выдача сигналов с выходов 2, 7, 8, 9. Одновременно сигнал с выхода схемы И 23 открывает вентиль 32 и разрешает установку в 1 триггера 28. N+1 - и тактовый импульс генератора 15. проход  через схему И 32, формирует на выходе 11 блока управлени  сигнал разрешени  работы блока селекции ошибок контрольных символов устройства. Этот сигнал через инвертор 33 и схему ИЛИ 24 сбрасывает триггер 29 и включает тем самым на выходе 10 сигнал готовности. По заднему фронту этого же сигнала устанавливаетс  в 1 триггер 28 и закрывает вентиль 32. На этом заканчиваетс  выполнение режима чтени . В режиме коррекции работа блока управлени  во многом схожа с его работой в режиме чтени . Различие следующее. После начальной установки приемник информации подает сигнал коррекции на вход 22 и устанавливает в 1 триггер 13 блока управлени . Выходной сигнал этого триггера через усилители 30,36 формирует на выходах 5, 3 сигналы чтени  информации из буфера данных и разрешени  работы блока фиксации местоположени  ошибки. Выходные сигналы схемы И 31, проход  через открытый выходным сигналом триггера 13 вентиль 37, схему задержки 40, схемы ИЛИ 41, 42 формируют на выходах 7, 2, 9 сигналы обращени  к буферу данных, сдвига синдромного регистра и синхронизации приемника информации. После передачи всех п символов кодового слова .срабатывает схема И 17, выходной сигнал которой через схему ИЛИ-НЕ 27 закрывает схему И 31, в результате чего прекращаетс  выдача сигналов с выходов 2,7, 9. Одновременно выходной сигнал схемы И 17 через инвертор 18, схему ИЛИ 24 сбрасывает триггер 29 и на выходе 20 устанавливаетс  сигнал готовности.0 circuit OR 41.42 - to outputs 7, 2, 9 of allowing access to the data buffer, shifting the syndrome register and synchronizing the information receiver. The increment of counter 44 occurs along the trailing edge of the enable signal to access the data buffer at output 7. After receiving the code word, counter 44 will contain a binary code of length n codewords. This code, together with the output signal of trigger 12, provides the operation of the valve 23. The output signal of the valve 23 through the OR-NOT circuit 27 closes the valve 31, as a result of which the output from the outputs 2, 7, 8, 9. stops. At the same time, the signal from the output of the circuit And 23 opens the valve 32 and allows the trigger to be set to 1. 28. N + 1 - and the clock pulse of the generator 15. Passing through the And 32 circuit, forms at the output 11 of the control unit an enable signal for the operation of the error selection block of the control symbols of the device. This signal through the inverter 33 and the circuit OR 24 resets the trigger 29 and thereby turns on the output signal 10 ready. On the trailing edge of the same signal, it is set to 1 trigger 28 and closes valve 32. This completes the reading mode. In correction mode, the operation of the control unit is very similar to its operation in read mode. The difference is as follows. After the initial installation, the information receiver supplies a correction signal to input 22 and sets the trigger 13 of the control unit to 1. The output signal of this trigger through amplifiers 30.36 generates at the outputs 5, 3 signals for reading information from the data buffer and for enabling the operation of the error location fixation unit. The output signals of the And 31 circuit, the passage through the valve 37 opened by the trigger 13 output signal, the delay circuit 40, the OR circuits 41, 42 generate at the outputs 7, 2, 9 signals for accessing the data buffer, shifting the syndrome register and synchronizing the information receiver. After transmitting all n characters of the code word., The And 17 circuit works, the output signal of which closes And 31 through the OR-NOT 27 circuit, which stops the output of signals from outputs 2,7, 9. At the same time, the output signal of And 17 circuit through inverter 18 , the OR circuit 24 resets the trigger 29 and a ready signal is set at the output 20.

Предлагаемое устройство работает следующим образом. Приемник информации провер ет наличие на выходе 23 корректора Ошибок сигнала готовности. Если устройство готово дл  работы в комплексе с приемником информации, то последний с помощью сигналов, подаваемых на входы 19, 20 перед чтением кодового слова, сбрасывает синдромный регистр 1 и приводит в начальное состо ние блок управлени  17. Непосредственно чтение кодового слова начинаетс  после поступлени  на вход 21 от приемника информации сигнала чтени . После этого формируетс  последовательностьThe proposed device operates as follows. The information receiver checks for the availability of the Ready signal error corrector at the output 23. If the device is ready to work in conjunction with the information receiver, the latter, using the signals supplied to the inputs 19, 20 before reading the code word, resets the syndrome register 1 and restores the control unit 17. The code word is read directly after it arrives at an input 21 from a read signal information receiver. After this, a sequence is formed

00

55

00

55

00

55

00

55

00

55

сигналов синхронизации, которые с выхода 24 поступают к источнику кодированных сообщений . За одну команду чтени  обеспечиваетс  прием и декодирование одного кодового слова. В ответ на каждый синхросигнал источник сообщений передает один символ. Эти символы со входа 18 корректора ошибок без изменений через блок 12 компенсации ошибок поступают на информационный выход 27 и далее- к приемнику информации в сопровождении сигналов синхронизации на выходе 25 устройства. Одновременно принимаемые символы записываютс  в буфер данных 11 и поступают в блок 5 обратной св зи дл  делени  на порождающий многочлен. После приема очередного символа блок управлени  17 производит сдвиг вправо на один разр д синдромного регистра 1 и инкрементйрует на 1 код на адресных входах буфера данных 11. Таким образом в процессе последовательного посимвольного делени  прин того кодового слова в регистре Т накапливаютс  частичные остатки от делени  всех символов кодового слова, образующие в конечном итоге умножений .на хт синдром ошибки S (УКОД + v0iu). После приема всех символов кодового слова блок управлени  17 формирует сигнал разрешени  работы блока селекции ошибок контрольных символов 16. По завершении режима чтени  устройство выдает на выход 23 сигнал готовности, на выход 26 - сигнал о наличии или отсутствии ошибок в прин том кодовом слове и на выход 28 - сигнал о наличии или отсутствии среди обнаруженных ошибок, ошибок контрольных символов . После анализа вышеперечисленны/ сигналов приемник информации может осуществить чтение следующего кодового слова , если не было обнаружено ошибок 3 приема или если обнаруженные ошибки относ тс  к контрольным символам. Если же искажению подверглись информационные символы, то необходима коррекци  ошибок. Перед началом коррекции приемник информации подает сигнал на вход 19 и при- водит блок управлени  в начальное состо ние; при этом сигна  сброса ошибки на вход 20 не подаётс , с тем, чтобы сохранить синдром ошибки дл  ее исправлени . Непосредственное осуществление коррекции начинаетс  прсле /йШэчи на вход 22 приемником информации, ьёйгнала коррекции При этом блок управлени  17 разрешает работу блока фиксацииместоположени  ошибки 10, формирует сигналы чтени  со- ржимого буфера данных 11. сдвига синдромного регистра 1, инкрементирует код на адресных входах буфера данных 11. Считываемое из буфера данных 11 ранее прин тое кодовое слово посимвольно передаетс  через блок компенсации ошибки 12, на выход 27 устройства и далее к приемнику информации . Выдаваемые символы сопровождаютс  сигналами синхронизации на выходе 25 устройства. Одновременно с выдачей очередного символа сдвигаетс  на один разр д синдромный регистр 1 дл  умножени  на х содержащего в нем синдрома ошибки. После того, как в процессе последовательного умножени  синдрома будет сформирован вектор ошибки, блок 10 вырабатывает сигнал, Который поступит на вход коррекции блока 5 и разорвет обратную св зь синдромного регистра 1. Этот же сигнал поступит на вход коррекции блока компенсации ошибки 12 и разрешит передачу вектора ошибки с управл ющего выхода синдромного регистра 1 в блок 12 компен сации ошибки. Блок 12 исправл ет поступающее в него из буфера данных 11 искаженное кодовое слово и выдает его на выход 27 устройства. Исправленное информационное слово с выхода 27 и сопровождающие его сигналы синхронизации с выхода 25 корректора ошибок поступают к приемнику информации. После окончани  передачи исправленного сообщени  корректор ошибок вырабатывает сигнал готовности и выдает его на выход 23.synchronization signals that are output 24 come to the source of encoded messages. For one read command, one codeword is received and decoded. In response to each clock, the message source transmits one character. These symbols from the input 18 of the error corrector without changes through the block 12 compensation errors are sent to the information output 27 and then to the information receiver, accompanied by synchronization signals at the output 25 of the device. Simultaneously received symbols are written into the data buffer 11 and fed to the feedback unit 5 for division by the generating polynomial. After receiving the next character, the control unit 17 shifts to the right by one bit of the syndrome register 1 and increments by 1 code at the address inputs of the data buffer 11. Thus, during the sequential character-by-symbol division of the received code word, partial residues from the division of all symbols accumulate in the register T codeword, which ultimately form multiplications. on xm error syndrome S (UKOD + v0iu). After receiving all the symbols of the codeword, the control unit 17 generates a signal for enabling the operation of the error selection block of the check symbols 16. Upon completion of the reading mode, the device outputs a ready signal to output 23, to output 26 - a signal indicating the presence or absence of errors in the received codeword and to the output 28 - a signal of the presence or absence of detected errors, errors of control characters. After analyzing the above / signals, the information receiver can read the next codeword if no 3 reception errors have been detected or if the detected errors are related to check symbols. If the information symbols were distorted, then error correction is necessary. Before starting correction, the information receiver supplies a signal to input 19 and brings the control unit to its initial state; however, an error reset signal is not supplied to input 20 in order to save the error syndrome for correcting it. The direct implementation of the correction begins after the input to the input 22 by the information receiver, which was sent to the correction. In this case, the control unit 17 enables the operation of the fixation unit 10, generates read signals for the data buffer 11. shift the syndrome register 1, increments the code at the address inputs of the data buffer 11 The previously received codeword read from the data buffer 11 is transmitted symbolically through the error compensation unit 12, to the output 27 of the device and further to the information receiver. The output symbols are accompanied by synchronization signals at the output 25 of the device. Simultaneously with the generation of the next character, the syndrome register 1 is shifted by one bit to multiply by x the error syndrome it contains. After an error vector is generated in the process of sequential multiplication of the syndrome, block 10 generates a signal that will go to the input of the correction of block 5 and break the feedback of the syndrome register 1. The same signal will go to the correction input of the error compensation block 12 and enable vector transmission errors from the control output of the syndrome register 1 to the error compensation block 12. Block 12 corrects the distorted codeword arriving at it from the data buffer 11 and provides it to the output 27 of the device. The corrected information word from output 27 and the accompanying synchronization signals from output 25 of the error corrector are sent to the information receiver. After completion of the transmission of the corrected message, the error corrector generates a ready signal and outputs it to output 23.

Предлагаемое техническое решение позвол ет устранить затраты времени на коррекцию ошибок контрольных символов и тем самым увеличить быстродействие устройства .The proposed technical solution eliminates the time spent on correcting control symbol errors and thereby increases the speed of the device.

Дл  иллюстрации рассмотрим циклический (n°, k, m).- код, например код Хэммингз (7,4, 3), (15,11,4), (31, 26, 5). Здесь п -длина кодового слова, k - длина информационного пол , m n - k - количество контрольных символов. При равноверо тном распределении веро тность расположени  ошибки в поле контрольных символов дл  трех выше- .указанных кодов Хэмминга составит соответственно 0,43; 0,27; 0,16. Таким образом предлагаемое устройство позволит увеличить быстродействие при коррекции соответственно на 43%, 27%, 16%.To illustrate, consider a cyclic (n °, k, m) .- code, e.g., the Hamming code (7.4, 3), (15.11, 14), (31, 26, 5). Here p is the length of the code word, k is the length of the information field, m n - k is the number of control characters. If the distribution is evenly distributed, the probability of an error in the check symbol field for the three Hamming codes mentioned above will be 0.43, respectively; 0.27; 0.16. Thus, the proposed device will increase the speed during correction, respectively, by 43%, 27%, 16%.

Claims (1)

Формула изобретени The claims Корректор ошибок, содержащий регистр синдрома, блок обратной св зи, детектор ошибки, блок . фиксацииAn error corrector comprising a syndrome register, a feedback block, an error detector, a block. fixation 00 55 00 55 00 55 00 55 00 55 местоположени  ошибки, буфер данных, блок коррекции ошибки и блок управлени , причем выход блока обратной св зи соединен с информационным входом регистра синдрома, выходы которого соединены с соответствующими информационными входами детектора ошибки и блока фиксации местоположени  ошибки, выход которого соединен с входами коррекции блока обратной св зи и блока коррекции ошибки, выход которого  вл етс  информационным выходом устройства, выход детектора ошибки  вл етс  первым управл ющим выходом ус-тройства , информационные входы блока обратной св зи, буфера данных и первый информационный вход блоксЗ коррекции ошибки объединены и  вл ютс  информа- ционным входом устройства, управл ющие входы блока фиксации местоположени  ошибки, детектора ошибки, блока коррекции ошибки и блока обратной св зи объединены и подключены к управл ющему выходу регистра синдрома, входы сброса и сдвига которого соединены соответственно с первым и вторым выходами блока управлени , третий выход которого соединен с входом разрешени  работы блока фиксации местоположени  ошибки, второй информационный вход блока коррекции ошибки соединен с выходом буфера данных, адресные входы и входы чтени , зап-иси, обращени  которого соединены соответственно с четвертым, п тым, шестым и седьмым выходами блока управлени , восьмой, дев тый и дес тый выходы которого  вл ютс  соответственно выходом синхронизации источника информации , выходом синхронизации приемника информации и выходом готовности устройства , входы начальной установки, сброса ошибки, чтени  и коррекции блока управлени   вл ютс  соответственно входами начальной установки, сброса ошибки, чтени  и коррекции устройства, отличающийс  тем, что, с целью повышени  быстродействи  устройства за счет устранени  избыточной коррекции контрольных символов, в него введен блок селекции ошибок контрольных символов, информационные входы которого соединены с выходами регистра синдрома, одиннадцатый выход блока управлени  соединен с управл ющим входом блока селекции ошибок контрольных символов , выход которого  вл етс  вторым управл ющим выходом устройства.an error location, a data buffer, an error correction unit, and a control unit, wherein the output of the feedback unit is connected to the information input of the syndrome register, the outputs of which are connected to the corresponding information inputs of the error detector and the error location fixation unit, the output of which is connected to the inputs of the correction of the feedback unit error correction unit, the output of which is the information output of the device, the output of the error detector is the first control output of the device, information inputs the feedback unit, the data buffer, and the first information input of the error correction block 3Z are combined and are the information input of the device, the control inputs of the error location fixing unit, the error detector, the error correction unit, and the feedback unit are combined and connected to the control output the register of the syndrome, the reset and shift inputs of which are connected respectively to the first and second outputs of the control unit, the third output of which is connected to the enable input of the operation of the error location fixation unit, the second the information input of the error correction block is connected to the output of the data buffer, the address inputs and read inputs, of the access, the accesses of which are connected respectively to the fourth, fifth, sixth and seventh outputs of the control unit, the eighth, ninth and tenth outputs of which are respectively the synchronization output of the information source, the synchronization output of the information receiver and the readiness output of the device, the inputs of the initial installation, error reset, reading and correction of the control unit are respectively the inputs of the initial device device for error checking, reading, and correction of the device, characterized in that, in order to increase the speed of the device by eliminating excessive correction of control characters, a control block for selecting control character errors is introduced into it, the information inputs of which are connected to the outputs of the syndrome register, the eleventh output of the control unit connected to the control input of the check symbol error selection unit, the output of which is the second control output of the device. ИAND мшгwsg
SU894761070A 1989-11-21 1989-11-21 Error corrector RU1810909C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU894761070A RU1810909C (en) 1989-11-21 1989-11-21 Error corrector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU894761070A RU1810909C (en) 1989-11-21 1989-11-21 Error corrector

Publications (1)

Publication Number Publication Date
RU1810909C true RU1810909C (en) 1993-04-23

Family

ID=21480574

Family Applications (1)

Application Number Title Priority Date Filing Date
SU894761070A RU1810909C (en) 1989-11-21 1989-11-21 Error corrector

Country Status (1)

Country Link
RU (1) RU1810909C (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Кларк Дж., Кейн Дж. Кодирование с исправлением ошибок в системах цифровой св зи. - М.: Радио и св зь, 1987, с. 71-85, Блейхут Р. Теори и практика кодов, контролирующих ошибки.-М.: Мир, 1986, с. 174. *

Similar Documents

Publication Publication Date Title
US4566105A (en) Coding, detecting or correcting transmission error system
US4099160A (en) Error location apparatus and methods
US3668631A (en) Error detection and correction system with statistically optimized data recovery
US5440570A (en) Real-time binary BCH decoder
US4504948A (en) Syndrome processing unit for multibyte error correcting systems
US4402045A (en) Multi-processor computer system
US3745526A (en) Shift register error correcting system
US4151510A (en) Method and apparatus for an efficient error detection and correction system
EP0114938A2 (en) On-the-fly multibyte error correction
US5430739A (en) Real-time Reed-Solomon decoder
US5856987A (en) Encoder and decoder for an SEC-DED-S4ED rotational code
US3398400A (en) Method and arrangement for transmitting and receiving data without errors
US4527269A (en) Encoder verifier
JPH10107650A (en) Error detection circuit and error correction circuit
EP0753942A2 (en) Word-wise processing for reed-solomon codes
JPH0728227B2 (en) Decoding device for BCH code
US3588819A (en) Double-character erasure correcting system
US3766521A (en) Multiple b-adjacent group error correction and detection codes and self-checking translators therefor
CA1213673A (en) Burst error correction using cyclic block codes
US3437995A (en) Error control decoding system
RU1810909C (en) Error corrector
US3213426A (en) Error correcting system
JPH0691471B2 (en) Error correction circuit
US3475725A (en) Encoding transmission system
JPH0361210B2 (en)