SU1751762A1 - Device for detecting and correcting errors - Google Patents
Device for detecting and correcting errors Download PDFInfo
- Publication number
- SU1751762A1 SU1751762A1 SU904866991A SU4866991A SU1751762A1 SU 1751762 A1 SU1751762 A1 SU 1751762A1 SU 904866991 A SU904866991 A SU 904866991A SU 4866991 A SU4866991 A SU 4866991A SU 1751762 A1 SU1751762 A1 SU 1751762A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- block
- error
- information
- Prior art date
Links
Landscapes
- Detection And Correction Of Errors (AREA)
Abstract
Изобретение относитс к области выделительной техники. Цель изобретени ;стоит в повышении достоверности контрол путем исправлени наиболее веро тных двойных ошибок. Устройство содержит формирователь 1 синдрома, уел 2 свертки по модулю два, первый элемент ИЛИ 3, первый элемент И 4, блок 5 коррекции информации , блок 7 коммутации, триггер 8 двойных ошибок, второй элемент И 9, счетчик 10 циклов, счетчик 11 адреса, регистр 12 (данных ОЗУ), третий элемент И 13, второй Ш элемент ИЛИ 14, мультиплексор 15, третий элемент ИЛИ 16 и блок 17 оперативной пам ти . После установки триггера 8 двойной ошибки в состо ние 1 блок 7 коммутации . инвертирует код микрокоманды с двойной ошибкой и выдает его на вход 36 мультиплексора 15 дл повторной записи в переднюю чейку ОЗУ. Изменение адреса ОЗУ блокируетс сигналом на инверсном входе элемента И 13. Сигнал повторной записи/чтени позвол етс на выходе 13 элемента ИЛИ 14 после прихода синхросигнала на вход 22 устройства. По сигналу обращени к ОЗУ на входе элемента 16 инверсный код микрокоманды записываетс в прежнюю чейку ОЗУ. После повторного считывани из ОЗУ и повторного инвертировани в блоке 7 посто нные ошибки в микрокоманде исправл ютс , а оставшуюс одиночную кратковременную ошибку исправл ет блок 5 по синдрому ошибки, поступающему с выхода формировател 1 синдрома. После этого триггер 8 сбрасываетс в О, и с выхода 23 устройства выдаетс скорректированный управл ющий код. 5 ил. (Л С а ч о ю ФигThe invention relates to the field of excretory technology. The purpose of the invention is to increase the reliability of the control by correcting the most likely double errors. The device contains the syndrome shaper 1, 2 modular convolutions, the first element OR 3, the first element AND 4, the information correction block 5, the switching block 7, the double error trigger 8, the second element AND 9, the counter 10 cycles, the address counter 11, register 12 (RAM data), the third element AND 13, the second W element OR 14, the multiplexer 15, the third element OR 16 and the block 17 of the RAM. After installing the trigger 8 double error in the state 1 block 7 switching. inverts the micro-command code with a double error and outputs it to the input 36 of the multiplexer 15 for rewriting into the front cell of the RAM. Changing the address of the RAM is blocked by the signal at the inverse of the input element AND 13. The signal is re-write / read is enabled at the output 13 of the element OR 14 after the arrival of the clock signal to the input 22 of the device. At the RAM input signal of the element 16, the inverse code of the micro-command is recorded in the previous RAM cell. After re-reading from RAM and re-inverting in block 7, the persistent errors in the microcommand are corrected, and the remaining single short-term error is corrected by block 5 according to the error syndrome, coming from the output of the formant 1 syndrome. After that, the trigger 8 is reset to O, and a corrected control code is output from the device output 23. 5 il. (Л С а ч о ю Fig
Description
Изобретение относитс к вычислительной технике и может быть использовано дл обнаружени и исправлени ошибок при считывании микрокоманд из оперативной пам ти в процессор.The invention relates to computing and can be used to detect and correct errors when reading micro-instructions from main memory to a processor.
Целью изобретени вл етс повышение достоверности контрол путем исправлени наиболее веро тных двойных ошибок.The aim of the invention is to increase the reliability of control by correcting the most likely double faults.
На фиг. 1 представлена структурна схема устройства дл обнаружени и исправлени ошибок; на фиг. 2 - схема формировател синдрома ошибки дл на фиг. 3 - функциональна схема блока коррекции информации дл на фиг. 4 - схема блока коммутации дл на фиг. 5 - временные диаграммы работы устройства.FIG. 1 is a block diagram of an apparatus for detecting and correcting errors; in fig. 2 is a diagram of the formative error syndrome for FIG. 3 is a functional block diagram of the information correction for FIG. 4 is a circuit diagram of a switching unit for FIG. 5 - timing charts of the device.
Устройство дл обнаружени и исправлени ошибок (фиг. 1) содержит формирователь 1 синдрома ошибки, узел 2 свертки по модулю два, первый элемент ИЛИ 3, первый элемент И 4, блок 5 коррекции информации, элемент НЕ 6, блок 7 коммутации, триггер 8 ошибок, второй элемент И 9, счетчик 1, циклов , счетчик 11 адреса, регистр 12, третий элемент И 13, второй элемент ИЛИ 14, мультиплексор 15, третий элемент ИЛИ 16, блок 17 оперативной пам ти, вход 18 счета устройства , вход 19 записи устройства, вход 20 информации устройства, вход 21 обращени устройства, вход 22 синхронизации устройства , группу 23 выходов скорректированной информации устройства , выход 24 признака неисправл емых ошибок устройства, первую группу 25 информационных входов блока 7, вторую группу 26 информационных входов блока 7, группу 27 информационных выходов блока 7, группу 28 выходов контрольных разр дов блока 7, группу 29 информационных выходов формировател синдрома ошибки, выход 30 триггера ошибок, выход 31 элемента ИЛИ 14, информационный вход 32 регистра 12, вход 33 выборки блока 17 оперативной пам ти, сход 34 адреса блока 17 оперативной пам ти, информэционнпй вход 35 блока 17, первую информационную группу 36 входов мультиплексора.A device for detecting and correcting errors (Fig. 1) contains an error syndrome generator 1, a module two convolution node 2, the first element OR 3, the first element AND 4, the information correction unit 5, the element 6, the switching unit 7, the error trigger 8 , second element AND 9, counter 1, cycles, address counter 11, register 12, third element AND 13, second element OR 14, multiplexer 15, third element OR 16, operative memory block 17, device account input 18, recording input 19 devices, device information input 20, device access input 21, sync input 22 Parameters of the device, group 23 of the outputs of the corrected information of the device, output 24 of the indication of faulty device errors, first group 25 information inputs of block 7, second group 26 information inputs of block 7, group 27 information outputs of block 7, group 28 outputs of control bits of block 7, group 29 information outputs of the fault syndrome driver, output 30 of the error trigger, output 31 of the element OR 14, information input 32 of the register 12, input 33 of the sampling of the RAM block 17, descent 34 of the address of the RAM block 17, information The input input 35 of block 17, the first information group of 36 inputs of the multiplexer.
Формирователь 1 синдрома ошибки (фиг. 2) содержит группу схем 37 сверток по модулю два.Shaper 1 syndrome errors (Fig. 2) contains a group of circuits 37 convolutions modulo two.
Блок 5 коррекции информации (фиг. 3) содержит группу из 2т мультиплексоров 38, где - число информационных разр дов.Information correction block 5 (Fig. 3) contains a group of 2m multiplexers 38, where is the number of information bits.
Блок 7 коммутации (фиг. 4) содержит группу 39 из m+Iogam-H элементов 2И- ИЛИ. Число элементов 2И-ИЛИ блока 7 равно числу разр дов чейки блока оперативной пам ти, которое равно сумме информационных и (Iog2m+1) контрольных разр довSwitching unit 7 (FIG. 4) contains a group 39 of m + Iogam-H elements 2I-OR. The number of elements 2I-OR of block 7 is equal to the number of bits of the cell of the RAM block, which is equal to the sum of the information and (Iog2m + 1) check bits
Формирователь 1 синдрома ошибки предназначен дл выработки синдромаShaper 1 error syndrome is designed to produce the syndrome
ошибки, причем по вление 1 в каком-либо оазр де означает ошибку в соответствующем входном информационном разр де. Синдром ошибки содержит позиционный номер искаженного разр да микроквманды . Узел 2 свертки по модулю два предназначен дл свертки синдрома по модулю два и выработки сигнала двойной ошибки. Элемент ИЛИ 3 вырабатывает признак наличи хот бы одной 1 в разр дах синдрома.errors, and occurrence 1 in any oazr de means an error in the corresponding input information bit. The error syndrome contains the positional number of the distorted microquammand bit. Modulo two convolution node 2 is intended for modulo two syndrome convolution and generating a double error signal. The element OR 3 produces a sign of the presence of at least one 1 in the discharges of the syndrome.
Элемент И 4 осуществл ет выработку признака двойной ошибки. Блок 5 коррекции информации производит исправление одиночной ошибки в микрокоманде, поступающей на выход 27, по значению синдромаElement I 4 generates a sign of double error. Block 5 correction information produces the correction of a single error in the micro-command received at the output 27, according to the value of the syndrome
ошибки, приход щего на выход 29. Блок 7 коммутации осуществл ет исправление двойных ошибок путем инвертировани микрокоманды при наличии признака двойной ошибки на выходе 30 триггера 8 Триггер 8 ошибок предназначен дл индикации признака двойной ошибки.errors coming to the output 29. The switching unit 7 performs the correction of double errors by inverting the microcommand in the presence of a double error sign at the output 30 of the trigger 8 Error trigger 8 is designed to indicate a double error sign.
Элемент И 9 осуществл ет блокировку подачи на счетный вход счетчика 10 циклов синхросигналов с входа 22 устройства. Счетчик 10 циклов предназначен дл выдачи через два цикла записи/считывани сигнала о неисправлении ошибок на выход 24 устройства и на вход сбрбса триггера 8. Счетчик 11 адреса (оперативной пам ти) предназначенElement And 9 blocks the supply of 10 cycles of sync signals from the input 22 of the device to the counting input of the counter. The counter of 10 cycles is intended to output, through two cycles of writing / reading, a signal about the failure of errors to the output 24 of the device and to the input of the sbrbs of the trigger 8. The counter 11 of the address (operational memory) is intended
дл адресации блока 17 оперативной пам ти по сигналам счета, поступающим на вход 18 счета устройства Регистр 12 осуществл ет хранение данных, считываемых из блока 17 Элемент И 13 предназначен дл блокировки сигналов счета при единичном состо нии триггера 8.for addressing block 17 of memory by counting signals arriving at input 18 of the device’s account. Register 12 stores data read from block 17. Element I 13 is designed to block counting signals in the single state of trigger 8.
Элемент ИЛИ 14 передает сигналы записи/считывани в блок 17 оперативной пам ти и на тактовый вход регистра 12,The OR 14 element transmits read / write signals to the RAM block 17 and to the clock input of the register 12,
Мультиплексор 15 предназначен дл передачи на информационный вход 35 блока 17 пр мой информации с входами 20 устройства или инвертированной информации с групп выхс дов 27, 28 блока 7 в зависимостиThe multiplexer 15 is designed to transmit to the information input 35 of the block 17 direct information with the inputs 20 of the device or inverted information from the output groups 27, 28 of the block 7 depending
от состо ни триггера 8. Элемент ИЛИ 16 осуществл ет передачу сигналов обращени к блоку 17 оперативной пам ти.from the state of the trigger 8. The element OR 16 transmits signals to the memory block 17.
Блок 17 оперативной пам ти осуществл ет хранение информации, ее перезаписьThe memory block 17 stores the information, overwrites it
и выдачу по сигналу обращени из входе 33 блока 17 на вход 32 регистра 12.and outputting a signal from the input 33 of the block 17 to the input 32 of the register 12.
Устройство работает следующим образом .The device works as follows.
Исправление двойных ошибокDouble bug fix
Наиболее веро тными на практике вл ютс двойные ошибки, когда одна из них посто нна и одна кратковременна . Случаи по влени двух посто нных или двух кратковременных ошибок в одном слове микрокоманды имеют настолько низкую веро тность , что их из рассмотрени можно исключить. Под посто нной понимаетс ошибка, которую нельз исправить путем перезаписи в ошибочный разр д блока 17 бита противоположного значени . И, наоборот , кратковременную ошибку можно исправить путем перезаписи бита противоположного значени в ошибочный разр д блока 17.The most likely in practice are double errors, when one of them is constant and one short-term. The occurrences of two constant or two short-term errors in one word microcommands have such a low probability that they can be excluded from consideration. Permanently means an error that cannot be corrected by overwriting a 17-bit bit of the opposite value into the erroneous bit of a block. Conversely, a short-term error can be corrected by overwriting the bit of the opposite value to the erroneous bit of block 17.
Рассмотрим случай исправлени двойной ошибки, когда одна из ошибок посто нна и одна кратковременна , на примере трехразр дного кода микрокоманды АаСИ. После возникновени двойной ошибки код микрокоманды примет значение А210, прием в нулевом разр де произошла кратковременна , а в первом - посто нна ошибка.Consider the case of double error correction, when one of the errors is constant and one short-term, using the example of the three-digit code of the microcommand AaSI. After the occurrence of a double error, the micro-command code will take the value A210, reception at the zero position was short-lived, and in the first one a permanent error occurred.
В исходном состо нии триггер 8 обнулен (фиг. 5, диагр. 1), код А2Ю поступает на вход 32 регистра 12 и по сигналу записи на входе 19 устройства (фиг 5, диагр. 4) записываетс в него (фиг. 5, диагр. 5).In the initial state, the trigger 8 is reset (Fig. 5, Fig. 1), the A2U code is fed to the input 32 of the register 12, and the recording signal at the input 19 of the device (Fig. 5, Fig. 4) is written into it (Fig. 5, . five).
Так как на управл ющем входе блока 7 находитс сигнал О, то код А2Ю проходит без изменени на выход 27 блока 7 (фиг. 5, диагр. 6) одновременно с модифицированным кодом Хемминга, поступающим с входа 26 блока 7 на выход 28 блока 7, На выходе 29 формировател 1 синдрома (фиг. 5, диагр. 7) по вл етс синдром двойной ошибки, устанавливающий триггер 8 в состо ние 1 (фиг. 5, диагр. 1) по заднему фронту первого синхросигнала на входе 22 устройства (фиг. 5, диагр. 8). Сигнал 1 с выхода триггера 8 поступает на вход элемента 13, блокиру изменение адреса чейки блока 17 на счетчике 11 адреса (фиг. 5, диагр. 2), приходит на вход элемента ИЛИ 16, разреша обращение к блоку 17 (фиг. 5, диагр. 3), поступает на управл ющий вход блока 7, разреша инвертирование кода микрокоманды на А201 (фиг. 5, диагр. 6), и на вход элемента И 9 (фиг. 5, диагр. 8), разреша выработку сигнала повторной записи/считывани и запуска счетчик 10 циклов.Since the control input of the block 7 contains the signal O, the A2U code passes without change to the output 27 of the block 7 (Fig. 5, diagram 6) simultaneously with the modified Hamming code received from the input 26 of the block 7 to the output 28 of the block 7, At exit 29 of the syndrome former 1 (Fig. 5, Fig. 7), a double error syndrome appears, setting trigger 8 to state 1 (Fig. 5, Fig. 1) on the falling edge of the first sync signal at device input 22 (Fig. 5, figure 8). The signal 1 from the output of the trigger 8 is fed to the input of the element 13, blocking the change of the cell address of the block 17 at the address counter 11 (Fig. 5, diagram 2), arrives at the input of the element OR 16, allowing access to block 17 (figure 5, diagram 3), goes to the control input of block 7, allowing the inversion of the micro-command code to A201 (Fig. 5, diag. 6), and to the input of the And 9 element (Fig. 5, diag. 8), allowing the generation of the re-write signal / reading and starting the counter 10 cycles.
После первого инвертировани код микрокоманды А201 приходит на вход 36 мультиплексора 15 и по отрицательному сигналу повторной записи на выходе 31 элемента 14 заноситс в чейку блока 17 по прежнему адресу (фиг. 5, диагр. 2, 3, 4). По- слэ записи в чейку код примет значениеAfter the first inversion, the micro-command code A201 arrives at the input 36 of the multiplexer 15 and, by a negative signal of re-recording at the output 31 of the element 14, is entered into the cell of the block 17 at the same address (Fig. 5, Fig. 2, 3, 4). After entry into the cell, the code will take the value
А211, т.е. р д с посто нной ошибкой изменил свое значение на противоположное.A211, i.e. a series with a constant error has changed its meaning to the opposite.
После прихода на вход 22 устройства второго синхросигнала (фиг. 5, диагр 8) код 5 А211 из чейки блока 17 поступает на вход 32 регистра 12 и записываетс в него (фиг. 5, диагр. 4, 5). Код 1 выдаетс на группу 25 входов блока 7 и второй раз инвертируетс в нем, принима значение А200, т.е.After the second sync signal arrives at the input 22 of the device (Fig. 5, Fig. 8), the code 5 A211 from the cell of the block 17 enters the input 32 of the register 12 and is written into it (Fig. 5, Fig. 4, 5). Code 1 is issued to a group of 25 inputs of block 7 and is inverted therein a second time, taking the value A200, i.e.
0 посто нна ошибка исправилась (фиг, 5, диагр . б). Код микрокоманды А200, содержащий одиночную кратковременную ошибку в нулевом разр де поступает в формирователь 1 синдрома (фиг. 5, диагр. 7), в чейку0 constant error corrected (FIG. 5, figure b). The micro-command code A200, containing a single short-term error in the zero discharge, enters the shaper 1 of the syndrome (Fig. 5, Fig. 7), into the cell
5 блока 17 и на группу информационных входов блока 5 коррекции информации. Блок 5 исправл ет одиночную кратковременную ошибку и выдает на группу 23 информационных выходов устройства правильный уп0 равл ющий код (фиг. 5, диагр, 9). Триггер 8 ошибки обнул етс , снима блокировку счетчика 11 адреса и сигнала обращени к оперативной пам ти на входе 3.3 блока 17 (фиг. 5, диагр. 1, 2, 3).5 block 17 and a group of information inputs of block 5 correction information. Unit 5 corrects a single short-term error and outputs the correct control code to the group 23 of the information outputs of the device (Fig. 5, Diagram 9). Error trigger 8 is zeroed, removing the blocking of the address counter 11 and the memory access signal at input 3.3 of block 17 (Fig. 5, FIG. 1, 2, 3).
5 Аналогичным образом происходит исправление двух посто нных ошибок, только в этом случае код микрокоманды принимает правильное значение сразу после второго инвертировани и работа блока 5 не требу0 етс ,5 Similarly, two permanent errors are corrected, only in this case the micro-command code takes the correct value immediately after the second inversion and the operation of block 5 is not required,
В случае, когда обе ошибки окажутс кратковременными, т.е. неисправл емыми, счетчик 10 циклов через два цикла записи/считывани в чейку блока 17 сбрасыва5 етс в О, что приводит к обнулению триггера 8 ошибок и к выдаче на выход 24 устройства признака неисправл емых ошибок .In the case when both errors are short-lived, i.e. uncorrectable, the counter of 10 cycles through two cycles of writing / reading into the cell of the block 17 is reset to 0, which leads to zeroing of the trigger 8 errors and to the output of the device 24 sign of faulty errors.
Таким образом, в предлагаемом устрой0 стве используетс одновременное исправление одиночных и наиболее веро тных двойных ошибок, что повышает достоверность контрол ,Thus, in the proposed device, the simultaneous correction of single and most probable double errors is used, which increases the reliability of the control,
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU904866991A SU1751762A1 (en) | 1990-08-02 | 1990-08-02 | Device for detecting and correcting errors |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU904866991A SU1751762A1 (en) | 1990-08-02 | 1990-08-02 | Device for detecting and correcting errors |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1751762A1 true SU1751762A1 (en) | 1992-07-30 |
Family
ID=21536465
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU904866991A SU1751762A1 (en) | 1990-08-02 | 1990-08-02 | Device for detecting and correcting errors |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1751762A1 (en) |
-
1990
- 1990-08-02 SU SU904866991A patent/SU1751762A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР Ns 1149263,кл. G 06 F 11/08,1982. Авторское свидетельство СССР № 1295398, кл. G 06 F 11 /08, 1987. ,(54) УСТРОЙСТВО ДЛЯ ОБНАРУЖЕНИЯ И ИСПРАВЛЕНИЯ ОШИБОК * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0037705A1 (en) | Error correcting memory system | |
GB1417771A (en) | Data processing system | |
SU1751762A1 (en) | Device for detecting and correcting errors | |
SU1661840A1 (en) | Memory with self-testing | |
SU1624535A1 (en) | Memory unit with monitoring | |
SU903989A1 (en) | Device for checking and correcting address signals for serial-action storage | |
SU470867A1 (en) | Device to control the drive | |
SU1424060A1 (en) | Storage with self-check | |
SU1023399A1 (en) | Device for correcting address signals in serial storage | |
SU1705876A1 (en) | Device for checking read/write memory units | |
SU1667156A1 (en) | Error correcting memory | |
SU970481A1 (en) | Device for checking memory units | |
SU1287137A1 (en) | Device for delaying information | |
SU631994A1 (en) | Storage | |
SU769641A1 (en) | Device for checking storage | |
SU1427576A1 (en) | Device for checking hamming codes | |
SU1287240A1 (en) | Storage with self-check | |
SU940160A1 (en) | Device for checking and correcting information | |
SU1374284A1 (en) | Self-check storage | |
SU1509902A2 (en) | Device for detecting errors in code transmission | |
SU452860A1 (en) | Autonomous control storage device | |
SU1367046A1 (en) | Memory device with monitoring of error detection circuits | |
SU684620A1 (en) | Self-checking storage | |
SU1302321A1 (en) | Sequential buffer storage with self-checking | |
SU1439685A1 (en) | Self-check storage |