SU1372366A1 - Device for detecting and correcting errors - Google Patents
Device for detecting and correcting errors Download PDFInfo
- Publication number
- SU1372366A1 SU1372366A1 SU864119574A SU4119574A SU1372366A1 SU 1372366 A1 SU1372366 A1 SU 1372366A1 SU 864119574 A SU864119574 A SU 864119574A SU 4119574 A SU4119574 A SU 4119574A SU 1372366 A1 SU1372366 A1 SU 1372366A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- block
- input
- inputs
- address
- error
- Prior art date
Links
Abstract
Изобретение относитс к вычислительной технике, а именно к устройствам обнаружени и коррекции ошибок в запоминагашзск устройствах, и может быть применено в запоминаюш ос устройствах с последовательным доступом и высоким быстродействием. Целью изобретени вл етс повьш ение точности обнаружени и коррекции ошибок путем использовани кода Файра. Устройство содержит блок 1 обнаружени ошибок, блок 2 пам ти кода ошибки, блок 3 пам ти адресов ошибок, буферный блок 4 пам ти, блок 5 коррекции, коммутатор 6, преобразователь 7 последовательного кода в параллельный, блок 8 ФThe invention relates to computing technology, in particular, to devices for detecting and correcting errors in memory and computer devices, and can be applied to memory devices with sequential access and high speed. The aim of the invention is to improve the accuracy of error detection and correction by using a Fire code. The device contains an error detection block 1, an error code memory block 2, an error address memory block 3, a buffer memory block 4, a correction block 5, a switch 6, a serial code to parallel converter 7, an 8 F block
Description
С/)WITH/)
коммутации адресов, счетчик 9 синхроимпульсов , блок 10 коммутации сигналов обращени , элемент ИЛИ 11 и блок 12 сравнени . Цель достигаетс за счет того, что устройство обеспечивает обнаружение ошибок разр дностью до двенадцати бит и коррекцию ошибок разр дностью до шести бит в информации , считанной иэ внешнего накопител и поступаювдей на вход 13 в последовательном коде. В блоке 4 информаци записьгааетс параллельным кодом. Блок 1 реализует декодирование с применением кода Файра и формирует наaddress switching, a counter 9 clock pulses, a switching signal switching unit 10, an OR element 11 and a comparison block 12. The goal is achieved due to the fact that the device provides error detection of up to twelve bits and error correction of up to six bits in the information read by the external drive and received at input 13 in the sequential code. In block 4, the information is recorded by a parallel code. Block 1 implements decoding using the Fire code and generates on
своих выходах сигнал наличи или отсутстви ошибки, сигнал корректируемой или некорректируемой ошибки, передает в блок 2 код пакета ошибки и в блок 3 данные дл определени номера первого ошибочного байта и первого ошибочного бита в этом байте. Блок 12 осуществл ет сравнение номеров ошибочных байтов с текущим адресом чтени из блока А три их совпадении формирует сигнал, включающий коррекцию считанной информации в блоке 5. 1 табл.,6 ил.on its outputs, the signal of the presence or absence of an error, a signal of a corrected or uncorrectable error, transmits to block 2 an error packet code and to block 3 data for determining the number of the first error byte and the first error bit in this byte. Block 12 compares the numbers of erroneous bytes with the current reading address from block A and their three coincidences generates a signal that includes correction of the read information in block 5. Table 1, 6 Il.
1one
Изобретение относитс к вычислительной технике, а именно к устройствам обнаружени и коррекции оши- бок в запоминаю1цих устройствах, и может быть использовано в запоминающих устройствах с последовательным доступом повышенного быстродействи .The invention relates to computing, in particular, to devices for detecting and correcting errors in memory devices, and can be used in memory devices with sequential access and improved speed.
Целью изобретени вл етс повышение точности обнаружени и коррекции ошибок путем использовани кода Файра.The aim of the invention is to improve the accuracy of error detection and correction by using a Fire code.
На фиг. 1 представлена структурна схема предлагаемого устройства; на фиг. 2 - 6 - функциональные схемы наиболее предпочтительных вариантов реализации соответственно блока обнаружени опшбок, блока выбора адреса , блока коммутации сигналов обращени , блока пам ти адресов ошибок и коммутатора.FIG. 1 shows a block diagram of the proposed device; in fig. 2 through 6 are functional diagrams of the most preferred embodiments, respectively, of the detection unit opshbok, address selection unit, access signal switching unit, error address memory unit and switch.
Устройство содержит (фиг.1) блок 2 пам ти кода ошибки,.блок 1 обнаружени ошибок, блок 3 пам ти адресов ошибок , буферныйблок 4 пам ти,блок 5 кор реюдии, коммутатор 6, преобразователь 7 последовательного кода в параллельный блок 8 выбора адреса, счетчик 9, формирователь 10 сигналов обращени , элемент ИЛИ 11, блок 12 сравнени . На фиг. 1 обозначены информационный вход 13, выход 14 признка наличи ошибки, выход 15 признака некорректируемой ошибки, информационные выходы 16, вход 17 управлени режимом работы, вход 18 обращени , адресные входы 19. первый 20 и второThe device contains (Fig. 1) an error code memory block 2, an error detection block 1, an error address memory block 3, a buffer memory block 4, a correlation block 5, a switch 6, a serial code converter 7 into a parallel address select block 8 counter 9, inverter shaper 10, element OR 11, block 12 comparison. FIG. 1 denotes information input 13, output 14 recognizes the presence of an error, output 15 indicates an uncorrectable error, information outputs 16, mode control input 17, access input 18, address inputs 19. first 20 and second
21 синхровходы, вход 22 начальной установки устройства. Устройство также содержит формирователь 23 синхросигналов , содержащий элемент НЕ 24, генератор 25 импульсов, триггер 26 и элемент И 27.21 synchronous inputs, input 22 of the initial installation of the device. The device also contains a synchronization driver 23 comprising an element NOT 24, a generator of 25 pulses, a trigger 26 and element 27.
Блок 1 обнаружени ошибок содержит (фиг.2) регистры 28-32, вьтол- ненные каладый из D-триггеров 33 и формировател 34 четности, счетчики 35-38, блоки 39 и 40 сравнени , элементы И 41-47 и ИЛИ-НЕ 48-50, элементы 51 и 52, элемент ИЛИ 53 и триггеры 54 и 55.The error detection unit 1 contains (FIG. 2) the registers 28-32, the overhead signals from the D-flip-flops 33 and the parity generator 34, the counters 35-38, the blocks 39 and 40 of the comparison, the elements AND 41-47 and OR-48 -50, elements 51 and 52, element OR 53 and triggers 54 and 55.
Блок 8 выбора адреса содержит (фиг.З) счетчик 56, коммутатор 57 и элемент И 58.Unit 8 address selection contains (fig.Z) counter 56, the switch 57 and the element And 58.
Блок 10 коммутации сигналов обращени содержит (фиг.4) элемент И 59, коммутатор 60, элемент 61 задержки и формирователь 62 сигналов обращени . На фиг. 5 и 6 показаны элементы 63-67.The switching signal switching unit 10 comprises (FIG. 4) an AND element 59, a switch 60, a delay element 61 and a call signal generator 62. FIG. 5 and 6 shows elements 63-67.
В качестве блока 2 пам ти кода ошибки и блока 3 пам ти адресов ошибок могут быть применены, например, блоки посто нной пам ти. В таблице представлен фрагмент таблицы истинности работы блока 3.As block 2 of the error code memory and block 3 of the error address memory, for example, blocks of permanent memory can be used. The table shows a fragment of the truth table of the work of block 3.
Устройство работает следующим образом .The device works as follows.
Перед приемом информации от внешнего накопител (не показан) по вхо-, ду 22 производитс обнуление блока 8 (фиг.1), счетчика и блока 1. Информаци в устройство поступает отBefore receiving information from an external storage device (not shown) at input 22, the block 8 (Fig. 1), the counter and the block 1 are zeroed out. The information to the device comes from
внешнего накопител по входу 13 в последовательном коде на преобразователь 7 и одновременно в блок 1. Прием информации осуществл етс по синхросерии СС1, поступающей по входу 20. Частота поступлени СС1 определ етс частотой работы внешнего накопител .external accumulator at input 13 in the serial code to converter 7 and simultaneously into block 1. Information is received via synchronization CC1 inputted at input 20. The frequency of receipt of CC1 is determined by the frequency of operation of the external storage device.
Преобразователь 7 формирует парал лельные слова (например, байты), информаци о которых поступает на входы блока 4. При этом по входу 17 на блок А поступает сигнал лог.О (запись), блок 10 формирует иьшульс обращени дл каждого байта информации . Блок 8 в соответствии с информацией , поступающей от счетчиков 9, осуществл ет последовательньп перебор адресов блока 4.Converter 7 generates parallel words (for example, bytes), information about which is fed to the inputs of block 4. At the same time, input 17 to block A receives a log signal. O (write), block 10 generates a reference pulse for each byte of information. Unit 8, in accordance with the information received from the counters 9, sequentially searches the addresses of unit 4.
Блок 1 п данном конкретном случа реализует процедуру декодировашт с пр1-1мененпем кода Oai ipa с поро щаю щим полиномом Р/Х/ (Х + 1)(Х + + X + 1) (Х + X + i). Этот код позвол ет корректировггть о1Ш1Ски разр дностью до шести бит и обпар ки- вать ощибки разр дностью до двенадцати бит. Дли кода п 1155 бит при восемьнадцати проперочньк разр дах.Block 1 of this particular case implements the procedure of a decoder with the example of the Oai ipa code with the evolving polynomial P / X / (X + 1) (X + + X + 1) (X + X + i). This code allows you to adjust the size of a bit up to six bits and match errors up to twelve bits. The code length is 1155 bits with eighteen bits per bit.
Блок 1 осутиествлиет декол.иропапи прин той информации, результатом чего вл ютс следующие сипь-ипл: на выходе 14 сигналы лог. 1 1ши лог. О соответствуют наличию или отсутствию ошиик в прин той информации на выходе 15 сиглалм лог. 1 или лог. О соответствуют корректируемой или некор;5С) :тирусмой о 1иб1;с; на блок 2 поступает код пакета опптбки, представл ю11и й собой чередование единиц и нулей в соответствии с тем как искажена информаци (разр дност этого кода определ етс порождающимUnit 1 is responsible for the decal of the received information, resulting in the following sip-ipl: output 14 signals log. 1 1 log O correspond to the presence or absence of an error in the received information at the output of 15 signal log. 1 or log. O correspond to a corrected or necor; 5C): tirismma 1ib1; s; Block 2 receives the package code of the package, which is an alternation of ones and zeros in accordance with how the information is distorted (the size of this code is determined by the generator
ПОBY
Номер первого ошибочного разр да в 18-м байтеNumber of the first erroneous bit in the 18th byte
На основе этой последовательности п тый от блок 2 размещает пакет опшбок, при- разом:On the basis of this sequence, the fifth from block 2 places the packet opshbok, incidentally:
12345 0000012345 00000
6 7 8 9 10 12 13 14 15 16 + + + + + О 0.0 006 7 8 9 10 12 13 14 15 16 + + + + + About 0.0 00
00
5five
00
SS
00
полиномом кода Файра и з данном примере равна шести; сигнал о том, что обнаруженна ошибка локализована, поступаюи1Ий на блоки 3 и 6; данные необходимые дл определени номеров ощибочных байтов, передаваемые на блок 3.Fire's polynomial code and in this example is six; the signal that the detected error is localized is received by blocks 3 and 6; the data needed to determine the numbers of the byte bytes transmitted to block 3.
Таким образом, к моменту окончани приема информации, вс она размещена в блоке 4, а через определенное количество тактов (дл данного порождающего полинома через 26 тактов ) имеетс необходима информаци дл коррекции ошибки.Thus, by the time the information is received, it is all placed in block 4, and after a certain number of ticks (for a given polynomial after 26 ticks) there is the necessary information to correct the error.
Передача информации на выходы 16 с одновременной коррекцией может в случае необходимости производитьс с большей частотой, поэтому в устройстве предусмотрена возможность подачи второй синхросерии на вход 21 при наличии сигнала корректируемой ошибки , дл чего используетс формирователь 23.Information transfer to the outputs 16 with simultaneous correction can, if necessary, be performed with a higher frequency, therefore the device provides the possibility of applying a second synchronization series to the input 21 in the presence of a signal of corrected error, for which the former 23 is used.
Па ог-ноне информации о месте ошибки сформирова)1ньпЧ в блоке 1 блок 3 формирует: номер ошибочного байта, номер первого ошибочного бита в байте и номер следующего 6aviTa, поскольку пакет ошибок может захватить два байта. Помер первого ошибочного бита и HONiep первого ошибочного байта от блока 3 вместе с пакетом ошибки от блокл 1 поступает на блок 2. В соот- иетствии с этой, ииформа1у1ей на выходы блока 2 вьюод тс два байта, в которьк иакст оив1бок распределен не- обходим1ч1 образом. Папример, если разр дность пакета ошибок равна шести , а номер первого опшбочного бита в кодовой информационной последовательности равен 142, то блок 3 выра- батьшает следующую последовательность;Pa og nonone information about the location of the error is formed) 1nPCH in block 1, block 3 generates: the number of the erroneous byte, the number of the first erroneous bit in the byte and the number of the next 6aviTa, since the error packet can capture two bytes. Pomer of the first error bit and HONiep of the first erroneous byte from block 3 together with the error packet from block 1 goes to block 2. In accordance with this, and on the outputs of block 2, I see two bytes on the outputs of block 2, which is distributed in a required manner . For example, if the error packet size is six, and the number of the first bit of the bit in the code information sequence is 142, then block 3 generates the following sequence;
1001110011
Двоичньм код номера второго ошибочного байта (например, 19-го)Binary code number of the second erroneous byte (for example, the 19th)
блока 1block 1
следуюшиг- обгде + - разр д кода ошибки, соответствующий ошибочному биту в кодовой информационной последовательности.The following is CGD + + - the error code bit corresponding to the error bit in the code information sequence.
В блоке 3 содержитс информаци Block 3 contains information
об адресах ошибок в соответствии с таблицей, в каждой чейке которой указан номер ошибочного байта и соответствующий номер первого ошибочно го бита (разр да) в этом байте в зависимости от содержимого К,, и К, соответственно счетчиков 35-37 (фиг.2).about the error addresses in accordance with the table, in each cell of which the erroneous byte number and the corresponding first erroneous bit (bit) in this byte are indicated, depending on the contents of K ,, and K, respectively, counters 35-37 (figure 2) .
Заполнение пам ти блока 3 в соответствии с таблицей происходит следующим образом.The filling of the memory of block 3 in accordance with the table is as follows.
Пример. Пусть содержимое К, Kj, К,, счетчиков 35-37 равно соответственно 8,6,1. Дл получени ноExample. Let the contents of K, Kj, K ,, counters 35-37 be equal, respectively, 8,6,1. To obtain
Процедура коррекции ошибок начинаетс подачей сигнала считывани (лог. Ч), по входу 17. Наличие сигналов обращени на выходе блока 10 и адреса на выходе 19 через блок 8 обеспечивают выборку из блока 4 данных , поступающих на блок 5 дл коррекции .The error correction procedure is started by sending a read signal (log. H) to input 17. The presence of inversion signals at the output of block 10 and addresses at output 19 through block 8 provide sampling from block 4 of data received at block 5 for correction.
мера ошибочного бита необходимо составить систему:measure of the wrong bit you need to create a system:
ix,- 8 по модулю 11;ix, - 8 modulo 11;
6 по модулю 15; 6 modulo 15;
1 по модулю 7. 1 modulo 7.
Использу исходные модули, получаем: 11x15x7 1155 107x11x15 165x7, причемUsing the original modules, we get: 11x15x7 1155 107x11x15 165x7, and
105х2хК, 1 по модулю 11;105x2xK, 1 modulo 11;
77х8хК, 1б5х2хК Тогда ix77x8xK, 1b5x2xK Then ix
1 по модулю 15; 1 по модулю 71 modulo 15; 1 modulo 7
210хК +616xKj+330xKj по модулю 1155. Подставл , получаем:210xK + 616xKj + 330xKj modulo 1155. Substituted, we get:
ix 210-8+616.-6+330 1 в 1086 по модулю 1155.ix 210-8 + 616.-6 + 330 1 in 1086 modulo 1155.
По номеру первого ошибочного байта 1086:8 135, находим номер первого ошибочного разр да в байте: 8x0,76 6.According to the number of the first erroneous byte 1086: 8 135, we find the number of the first erroneous bit in the byte: 8x0,76 6.
Кроме того, в каждом такте адрес очередного байта поступает на блок 12, на другие входы которого поступают адреса первого и второго ошибочных байтов от блока 3.In addition, in each cycle, the address of the next byte arrives at block 12, the other inputs of which receive the addresses of the first and second erroneous bytes from block 3.
До тех пор, пока адрес считываемого байта не совпадает с номерами ошибочных байтов, информаци от блока 4 без изменени передаетс на выходы 16. При совпадении адреса очередного считанного байта с номером ошибочного байта, например, с восем- надцатым, блок 12 вырабатывает сигнал совпадени , и данные с выхода коммутатора 6 поступают на блок 5, в котором искаженньй байт из блока 4 складываетс по модулю два с посту- пившим из коммутатора 6 байтом, в котором три последних разр да вл ютс дополнением к искажени м. На выходе блока 5 получаетс скорректированна информаци . При чтении из блока 4 следующего байта срабатьгоает блок 12, ив блок 5 поступает через коммутатор 6 второй дополн юирш байт Все последующие байты из блока 4 передаютс на выходы 16 без изменени . As long as the address of the read byte does not coincide with the numbers of erroneous bytes, information from block 4 is transmitted without change to outputs 16. If the address of the next byte reads out with the number of the erroneous byte, for example, on the eighteenth, block 12 generates a coincidence signal, and the data from the output of switch 6 is fed to block 5, in which the corrupted byte from block 4 is modulo-2 added to the 6 byte from the switch, in which the last three bits are an addition to the distortions. recited information. When reading from block 4, the next byte triggers block 12, and in block 5 comes through switch 6 a second additional bytes. All subsequent bytes from block 4 are transmitted to outputs 16 without change.
Таким образом, обеспечиваетс коррекци информации при использовании кода Файра, что позвол ет обнар,оки- вать ошибки разр дностью до двенадцати бит и корректировать ошибки до шести бит.Thus, the information is corrected using the Fire code, which allows detecting errors of up to twelve bits and correcting errors up to six bits.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864119574A SU1372366A1 (en) | 1986-06-30 | 1986-06-30 | Device for detecting and correcting errors |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864119574A SU1372366A1 (en) | 1986-06-30 | 1986-06-30 | Device for detecting and correcting errors |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1372366A1 true SU1372366A1 (en) | 1988-02-07 |
Family
ID=21257346
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU864119574A SU1372366A1 (en) | 1986-06-30 | 1986-06-30 | Device for detecting and correcting errors |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1372366A1 (en) |
-
1986
- 1986-06-30 SU SU864119574A patent/SU1372366A1/en active
Non-Patent Citations (1)
Title |
---|
Хетагуров Я.А., Руднев Ю.П. Повышение надежности запоминающих устройств методами избыточного кодировани . М.: Энерги , 1974, с.16. Зарубежна радиоэлектро1шка, 1985,. № 7, С.11, рис. 4. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US3958220A (en) | Enhanced error correction | |
SU1372366A1 (en) | Device for detecting and correcting errors | |
SU1662010A1 (en) | Device for correcting double errors with the reed-solomon code | |
SU1501173A1 (en) | Device for correcting external storage errors | |
SU1383325A1 (en) | Device for delaying digital information | |
SU1372367A1 (en) | Device for detecting and correcting errors | |
SU1571683A1 (en) | Permanent memory with self-diagnosis | |
SU1485245A1 (en) | Error detector | |
SU1372365A1 (en) | Device for correcting errors in information | |
SU1249593A1 (en) | Device for detecting errors in memory blocks | |
RU2019044C1 (en) | Device for transmission and reception of discrete information with selective interrogation for errors | |
SU1083387A1 (en) | Decoder of cyclic code with correction of errors and erasures | |
RU1783583C (en) | Device for detecting and correcting errors | |
SU1005059A1 (en) | Majority decoding device | |
SU1345263A1 (en) | Device for checking rom | |
SU1705876A1 (en) | Device for checking read/write memory units | |
SU1277166A1 (en) | Device for transmission-reception of information with error checking | |
SU1547080A1 (en) | Device for decoding iterative code | |
SU556494A1 (en) | Memory device | |
RU1810909C (en) | Error corrector | |
SU1427576A1 (en) | Device for checking hamming codes | |
RU1837363C (en) | Self-testing memory device | |
SU1541607A1 (en) | Device for revealing batch errors | |
SU1661840A1 (en) | Memory with self-testing | |
SU1241492A1 (en) | Device for checking information transmission |