SU1152042A1 - Storage with error correction - Google Patents

Storage with error correction Download PDF

Info

Publication number
SU1152042A1
SU1152042A1 SU833659434A SU3659434A SU1152042A1 SU 1152042 A1 SU1152042 A1 SU 1152042A1 SU 833659434 A SU833659434 A SU 833659434A SU 3659434 A SU3659434 A SU 3659434A SU 1152042 A1 SU1152042 A1 SU 1152042A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
block
input
inputs
elements
Prior art date
Application number
SU833659434A
Other languages
Russian (ru)
Inventor
Иван Андреевич Дичка
Виктор Иванович Корнейчук
Юрий Борисович Рычагов
Владимир Владимирович Садовский
Александр Алексеевич Юрасов
Original Assignee
Предприятие П/Я А-3361
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 Предприятие П/Я А-3361 filed Critical Предприятие П/Я А-3361
Priority to SU833659434A priority Critical patent/SU1152042A1/en
Application granted granted Critical
Publication of SU1152042A1 publication Critical patent/SU1152042A1/en

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Error Detection And Correction (AREA)

Abstract

ЗАПОМИНАВДЕЕ УСТРОЙСТВО С КОРРЕШЩЕЙ ШИБОК, содержащее накопитель , блок декодировани , блок коррекции, первый дешифратор, первый элемент ИЛИ, второй дешифратор, первый блок элементов. И, регистр пр мого кода, блок управлени , причем первый выход блока декодировани  соединен с входами первого элемента ИЛИ и первого дешифратора,выход которого подключен к одному входу блока коррекции, выход которого соединен с одним входом первого блока элементов И, второй выход блока декодировани  и выход первого элемента .ИЛИ подключены к входам второго дешифратора , одни выходы которого соединены с первым и вторым входами блока управлени , третий вход котороГо  вл етс  управл ющим входом устройства , отличающеес  тем, что, с целью повышени  надежности устройства, в него введены второй блок элементов И, блок инверторов , второй элемент ИЛИ, первый и второй блоки элементов ИЛИ, регистр инверсного кода, причем выход накопител  соединен с одними входами второго блока элементов И и блока инверторов, выходы которых подключены к входам первого блока элементов ИЛИ, выход которого соединен с входом блока декодировани , другим входом блока коррекции и одним входом регистра инверсного кода, выход которого подключен к входу накопител , выход блока коррекции соединен с одним входом регистра пр мого Л кода, выход которого и выход первого С блока элементов И подключены к входам второго блока элементов ИЛИ, выход которого  вл етс  информационным выходом устройства, другие выходы второго дешифратора соединены с входами второго элемента ИЛИ, выход которого подключен к четвертому входу блока управлени , первый и шестой выходы которого соединены с другими входами регистра инверсного кода, другие входы регистра пр мого кода подключены к третьему и шестому выходам блока управлени , первый, четвертый и седьмой выходы которого соединены соответственно с другими входами второго блока элментов И, первого блока элементов И и блока инверторов, второй и п тый выходы блока управлени   вл ютс  индикаторными выходами устройства.STORAGE DEVICE WITH A CORRECT SHIBOK, containing a drive, a decoding unit, a correction unit, the first decoder, the first element OR, the second decoder, the first block of elements. And, a direct code register, a control unit, the first output of the decoding unit is connected to the inputs of the first OR element and the first decoder, the output of which is connected to one input of the correction unit, the output of which is connected to one input of the first AND block, and the second output of the decoding unit and the output of the first element .OR is connected to the inputs of the second decoder, one output of which is connected to the first and second inputs of the control unit, the third input of which is the control input of the device, characterized in that To increase the reliability of the device, the second block of AND elements, the inverter block, the second OR element, the first and second OR block, the inverse code register are entered into it, and the drive output is connected to one input of the second AND block and inverter block whose outputs are connected to the inputs of the first block of OR elements, the output of which is connected to the input of the decoding unit, another input of the correction unit and one input of the register of the inverse code, the output of which is connected to the drive input, the output of the correction unit is connected with one input of the forward L code register, the output of which and the output of the first C block of elements AND are connected to the inputs of the second block of elements OR whose output is the information output of the device, the other outputs of the second decoder are connected to the inputs of the second OR element whose output is connected to the fourth the input of the control unit, the first and sixth outputs of which are connected to other inputs of the inverse code register, the other inputs of the direct code register are connected to the third and sixth outputs of the control unit, the first, fourth and the seventh outputs of which are connected respectively to the other inputs of the second power supply unit I, the first power supply unit And, and the inverter power unit, the second and fifth outputs of the control unit are indicator outputs of the device.

Description

11 Изобретение относитс  к пьмислителыюй технике и может быть использовано в качестве основного и вспомогательного запоминаюпщх устройств в вычислительных системах. Известны запоминающие устройства содержащие накопитель, регистр адреса , блоки кодировани  и декодировани , св занные с накопителем, входной и выходной регистры, блок поразр дного сравнени , блоки элементов И и ШШ О и 2. Недостатки этих устройств - избыточность , а также неправильна  коррекци  при по влении ошибок, кратность которых, превышает корректирующую способность примен емого кода. Известно также запоминающее устройство с коррекцией ошибок, содержа щее накопитель, выход которого подключей к входам регистров пр мого и обратного кода, блок обнаружени  отказавших разр дов, входы которого соединены с пр мыми выходами регистров пр мого и обратного кода, корректирующее устройство, вход которог соединен с выходом регистра пр мого кода, схему равенства кодов, к входа которых подключены вьгходы блока обнаружени  отказавших разр дов и корректирующего устройства, блок управлени , входы которого св заны с выходами корректирующего устройства и схемы равенства кодов, а выходы с входами регистров пр мого и обратного кодов и блока элементов И, к вторым входам которого подключен выход корректирующего устройства. Выход регистра пр мого кода соединен с входом накопител  З. Наиболее близким к изобретению  вл етс  запоминающее устройство с коррекцией ошибок, содержащее накопитель , выход которого соединен с одним входом блока коррек1щи и входом блока декодировани , один выход которого соединен с входами первого дешифратора и первого элемента ИЛИ, выход которого и другой выход блока декодировани  соединены с входами второго дешифратора, выходы которого соединены с блоком управлени , выход первого дешифратора - с другим входом блока коррек1дии, выход которого соединен с одним входом элемента И, другой вход которого соединен с выходом блока управлени , первые входы других элементов И - соответственно с входом накопител  и выхо22 дом блока декодировани , вторые входы - с выходами блока управлени , выходы других элементов - с входами регистра пр мого кода С . Недостатком известных устройств  вл етс  ограниченна  корректирующа  способность при по влении ошибок , вызванных сбо ми, а также совместным действием отказов и сбоев. Целью изобретени   вл етс  повьшение надежности устройства. Поставленна  цель достигаетс  тем, что в запоминающее устройство с коррекцией ошибок, содержащее накопитель , блок декодировани , блок коррекции , первый дешифратор, первый элемент ИЛИ, второй дешифратор, первый блок элементов И, регистр пр мого кода, блок управлени , причем первый выход блока декодировани  соединен с входами первого элемента ИЛИ и первого дешифратора, выход которого подключен к одному входу блока коррекции, выход которого соедине-н с одним входом первого блока элементов И, второй выход блока декодировани  и выход первого элемента ИЛИ подключены к входам второго дешифратора, одни выходы которого соединены с первым и вторым входами блока управлени , третий вход которого  вл етс  управл ющим входом устройства , введены второй блок элементов И, блок инверторов, второй элемент ИЛИ, первый и второй блоки элементов ИЛИ, регистр инверсного кода, причем выход накопител  соединен с одними входами второго блока элементов И и блока инверторов, выходы которых подключены к входам первого блока элементов ИЛИ,выход которого соединен с входом блока декодировани , другим входом блока коррекции и одним входом регистра инверсного кода, выход которого подключен к входу накопител , выход блока коррекции соединен с одним входом регистра пр мого кода, вькод которого и выход первого блока элементов И подключены к входам второго блока элементов ИЛИ, выход которого  вл етс  информационным выходом устройства , другие выходы второго дешифратора соединены с входами вторО1о элемента ИЛИ, выход которог-о подключен к четвертому входу блока управлени , первый и шестой выходы которого соединены с друг-ими РХОдами регистра инверсн(лч) кал , пругие входы регистра пр мого кода подключены к третьему и шестому выходам блока управлени , первый четвертый и седьмой выходы которого соединены соответственно с другими входами второго блока элементов И, первого блока элементов И и блока инверторов, второй и п тый выходы блока управлени   вл ютс  индикаторными выходами устройства. На фиг. 1 приведена блок-схема устройства; на фиг. 2 - схема блока управлени ; на фиг.З - один из вари антов блока декодировани . Устройство содержит накопитель 1 вькод которого подключен к первым входам второго блока 2 элементов И и блока 3 инверторов, выходы блоков 2 и 3 соединены е входами первого блока 4 элементов ИЛИ, выход которо подключен к входу блока 5 декодировани  одним входом, блока 6 коррекции и регистра 7 инверсного кода, выход которого соединен с входом на копител  1. Выход блока 6 коррекции св зан с одними входами первого бло ка 8 элементов И и регистра 9 пр мо го кода, выходы которых через второ блок 10 элементов ИЛИ соединены с ч ловой магистралью 1t. Информационные выходы 12 блбка 5 подключены к входам первого элемента ИЛИ 13 и пе вого дешифратора 14, выход которого соединен с другим входом блока 6 коррекции. К первому входу второго дешифратора 15 подключен выход первого элемента ИЛИ 13, к второму управл ющий выход 16 блока 5. Первый и второй выходы блока 15 соединены с входами второго элемента ИЛИ 17, выход 18 которого подключен к одному из входов блока 19 управлени . Третий выход 20 и четвертый выход 21 блока 15 подключены к входам блока 19. На вход 22 блока 1.9 поступает сигнал Чтение с центрального устройства управлени . Выход 23 блока 19 управлени  подклю чен к первому управл к цему входу блока 7 и к управл ющему входу блока 2, с выхода 24 блока 19 вьщаетс  сигнал Ошибка, выходы 25 и 26 блока 19 управлени  подключены соответственно к первому управл ющему входу блока 9 и управл ющему входу блока 8, с выхода 27 блока 19 управлени  снимаетс  сигнал Готовность вькоды 28 и 29 блока 19 управлени  24 соединены соответственно с вторыми управл юп ими входами блоков 7 и 9 и управл ющим входом блока 3. Блок 19 управлени  (фиг. 2) содержит двухвходовые элементы И 30 и 31, первые входы которых св заны с выходом 20 второго дешифратора 15, элементы И 32 и 33, к первым входам которых подключен выход 21 второго . дешифратора 15, первый триггер 34, вход которого св зан с выходом элемента И 30, второй триггер 35, вход которого св зан с выходом элемента И 32, элемент ИЛИ 36, к входам которого подключены выходы элементов И 30 и 32. Вход 22 подключен к элементу 37 задержки, выход которого соединен с вторыми входами элементов И 30 и 32. Выход элемента: ИЛИ 36 соединен с входом элемента 38 задержки , выход 29 которого через элемент 39 задержки подключен к вторым входам элементов И 31 и 33. К первому входу элемента И 40 подключен вы- ход триггера 34, к второму - выход элемента И 31 . К первому входу элемента И 41 подключен выход триггера 35, к второму - выход элемента И 31. Первый вход элемента И 42 соединен с выходом триггера 35, второй - с выходом элемента И 33, первый вход элемента И 42 - с выходом триггера 34, второй - с выходом элемента И 33. К входам трехвходового элемента ИЛИ 44 подключены выход элемента И 42, выход элемента И 43 и выход 18 элемента ИЛИ 17. К первому входу элемента ИЛИ 43 подключен выход элемента И 41, к второму - выход элемента ИЛИ 44. На фиг. 3 приведен один из возможных вариантов построени  блока 5 декодировани  при м 8 разр дов ( г - длина слов, храни «1х в накопителе 1) . Блок 5 состоит из двухвходовьк сумматоров 45 и 46 по модулю два, к входам которых подключены соответствующие разр ды слова с выхода блока 4, удовлетвор ющие правилу образова контрольных разр дов дл  кода Хемминга, исправл ющего одну и обнаруживающего две ошибки. Блок 6 коррекции выполнить на двухвходовых сумматорах по модулю два (элементы ИСКЛКНАКЯЦЕЕ ИЛИ) , , к первым входам которых подключены выходы блока 4, а к вторым - выходы первого дешифратора 14. в накопителе 1 хранитс  информаци , представленна  в коде Хемминга исправл ющем одну и обнаруживающем две ошибки. Такой код имеет основные контрольные разр ды (ОКР), кажд из которых контролирует по четности свою группу разр дов (группы формируютс  так, чтобы опрос ОКР указал место ошибки), и один дополнительны контрольный разрез (ДКР), осуществл ющий проверку на четность всего слова. Блок 5 декодировани  определ ет значение ОКР, поступающее с выхода 12 на элемент ИЛИ 1., и значение ДКР на выходе 16. Сигналы с выхода элемен -а ИЛИ 13 и выхода 16 блока 5 декодировани  поступают на 15. Результат декодировани  и работа дешифратора 15 описываютс  таблицей. Если ДКР О, ОКР О, то это оз начает, что декодированное слово не содержит ошибок. Комбинаци  ДКР 1 ОКР О свидетельствует о наличии однократной ошибки в дополнительном (нулевом) контрольном разр де слова либо ошибки нечетной кратности (3,5.. татсой, что сумма номеров ошибочных разр дов по модулю два равна нулю. Более веро тен первый случай,поэтом , с выхода 18 элемента ИЛИ 17 поступае управл ющий сигнал О, как сигнал отсутстви  ошибок в слове. В предло- SO 11 The invention relates to fifteen technology and can be used as the main and auxiliary storage devices in computing systems. Memory devices are known that contain a drive, an address register, coding and decoding blocks associated with a drive, input and output registers, one-to-one comparison block, blocks of AND and HW O and 2 elements. The disadvantages of these devices are redundancy, as well as incorrect correction when errors, the multiplicity of which exceeds the correction ability of the applied code. It is also known that a memory device with error correction contains a drive, the output of which is connected to the inputs of the forward and reverse code registers, a block for detection of failed bits, the inputs of which are connected to the direct outputs of the forward and reverse code registers, a correction device whose input is connected with the output of the direct code register, the equality scheme of the codes to which input the inputs of the block of detection of the failed bits and the correcting device are connected, the control unit whose inputs are connected with the outputs of the corrector Editin devices and circuits equality codes, and outputs to the inputs of registers forward and reverse codes and block elements and to whose second inputs connected to the output of the correction device. The output of the direct code register is connected to the input of drive Z. The closest to the invention is an error correction memory containing a drive whose output is connected to one input of a correction unit and an input of a decoding unit, one output of which is connected to the inputs of the first decoder and first element OR, the output of which and another output of the decoding unit are connected to the inputs of the second decoder, the outputs of which are connected to the control unit, the output of the first decoder to another input of the correction unit, output which is connected to one input of the element I, the other input of which is connected to the output of the control unit, the first inputs of the other elements AND, respectively, to the input of the accumulator and the output 22 of the decoding unit, the second inputs to the outputs of the control unit, the outputs of the other elements to the inputs of the direct register code c. A disadvantage of the known devices is the limited correction capacity for the occurrence of errors caused by failures, as well as the combined effect of failures and failures. The aim of the invention is to increase the reliability of the device. The goal is achieved in that an error-correcting memory device containing a drive, a decoding unit, a correction unit, a first decoder, a first OR element, a second decoder, a first AND block, a direct code register, a control unit, and the first output of a decoding unit connected to the inputs of the first OR element and the first decoder, the output of which is connected to one input of the correction unit, the output of which is connected to one input of the first block of elements And, the second output of the decoding unit and the output of The second OR element is connected to the inputs of the second decoder, one outputs of which are connected to the first and second inputs of the control unit, the third input of which is the control input of the device, the second block of AND elements, the inverter block, the second OR element, the first and second blocks of the OR elements, are entered the register of the inverse code, the drive output being connected to one input of the second block of elements AND and the inverter block, whose outputs are connected to the inputs of the first block of OR elements whose output is connected to the input of the decoding block, Another input of the correction unit and one input of the inverse code register, the output of which is connected to the accumulator input, the output of the correction unit is connected to one input of the direct code register, whose code and output of the first block of AND elements are connected to the inputs of the second block of OR elements, whose output is the information output of the device, the other outputs of the second decoder are connected to the inputs of the second OR element, the output of which is connected to the fourth input of the control unit, the first and sixth outputs of which are connected to each other and register inverse (LH) cal, the other inputs of the direct code register are connected to the third and sixth outputs of the control unit, the first fourth and seventh outputs of which are connected respectively to the other inputs of the second block of elements And, the first block of elements And and the inverter unit, the second and n These outputs of the control unit are indicator outputs of the device. FIG. 1 shows a block diagram of the device; in fig. 2 is a control block diagram; Fig. 3 is one of the variants of the decoding block. The device contains a drive 1 whose code is connected to the first inputs of the second block 2 elements AND and the block 3 inverters, the outputs of blocks 2 and 3 are connected by the inputs of the first block 4 elements OR, the output of which is connected to the input of block 5 decoding by one input, block 6 correction and register 7 of the inverse code, the output of which is connected to the input to the drive 1. The output of the correction unit 6 is connected to one input of the first block 8 elements AND and the register 9 direct code, the outputs of which through the second block 10 elements OR are connected to the trunk 1t . Information outputs 12 of block 5 are connected to the inputs of the first element OR 13 and the first decoder 14, the output of which is connected to another input of the correction unit 6. The output of the first element OR 13 is connected to the first input of the second decoder 15, the control output 16 of unit 5 is connected to the second. The first and second outputs of block 15 are connected to the inputs of the second element OR 17, the output 18 of which is connected to one of the inputs of control unit 19. The third output 20 and the fourth output 21 of the unit 15 are connected to the inputs of the unit 19. The input 22 of the unit 1.9 receives the signal Read from the central control unit. The output 23 of the control unit 19 is connected to the first control to the whole input of the unit 7 and to the control input of the unit 2, the output Error 24 of the unit 19 of the signal 19 appears, the outputs 25 and 26 of the control unit 19 are connected respectively to the first control input of the unit 9 and control The read input of block 8 and control block 19 of control 24 is connected to the second input of block 7 and 9 and the control input of block 3. Control block 19 (Fig. 2) contains two-input elements And 30 and 31, the first inputs of which They are connected to the output 20 of the second decoder 15, elements And 32 and 33, the first inputs of which are connected to the output 21 of the second. the decoder 15, the first trigger 34, whose input is connected with the output of the element And 30, the second trigger 35, the input of which is connected with the output of the element And 32, the element OR 36, to the inputs of which are connected the outputs of the elements 30 and 32. The input 22 is connected to the delay element 37, the output of which is connected to the second inputs of the AND elements 30 and 32. The output of the element: OR 36 is connected to the input of the delay element 38, whose output 29 through the delay element 39 is connected to the second inputs of the AND elements 31 and 33. To the first input of the AND element 40, trigger output 34 is connected, to the second, output element I 31. The first input of the element 41 is connected to the output of the trigger 35, the second to the output of the element 31. The first input of the element 42 is connected to the output of the trigger 35, the second to the output of the element 33, the first input of the element 42 to the output of the trigger 34, the second - with the output of the element And 33. The inputs of the three-input element OR 44 are connected to the output of the element And 42, the output of the element And 43 and the output 18 of the element OR 17. The output of the element And 41 is connected to the first input of the element OR, and to the second - the output of the element OR 44. FIG. 3 shows one of the possible options for constructing a block of 5 decoding with m 8 bits (g is the length of words, store "1x in drive 1). Block 5 consists of two-input modulators 45 and 46 modulo two, the inputs of which are connected to the corresponding bits of the word from the output of block 4, satisfying the rule of forming the check bits for the Hamming code correcting one and detecting two errors. Correction block 6 should be performed on two-input modulators two (elements EXCEPT OR), the first inputs of which are connected to the outputs of block 4, and the second - the outputs of the first decoder 14. information stored in the Hamming code correcting one and detecting two mistakes. Such a code has the main check bits (OCD), each of which controls its parity of groups of parities (the groups are formed so that the OCR polling indicates the location of the error), and one additional control section (DCR) that performs the parity of the entire word . The decoding unit 5 determines the OCD value coming from the output 12 to the OR element 1., and the DKR value at the output 16. The signals from the output of the OR element 13 and the output 16 of the decoding unit 5 arrive at 15. The decoding result and operation of the decoder 15 are described table. If DKR is O, OCD is O, then this means that the decoded word contains no errors. The combination of DKR 1 OCR O indicates the presence of a one-time error in the additional (zero) test bit of a word or an error of odd multiplicity (3.5 .. tatsoy that the sum of the numbers of erroneous bits modulo two is zero. More likely the first case, therefore , output 18 of the element OR 17 receives a control signal O, as a signal of the absence of errors in the word. In the sentence SO

женном устройстве при комбинации ДКР 1 и ОКР О значение дополнительного контрольного разр да не исправл етс , так как предполагаетс , что он в дальнейших операцй  х участвовать не будет. Если его необходимо использовать, то второй выход блока 15jкроме того, необходимо подетс  в триггере 34.In the case of a combination of DCR 1 and OCD O, the value of the additional control bit is not corrected, since it is assumed that it will not participate in further operations. If it is necessary to use it, then the second output of the block 15j is also necessary to be provided in the trigger 34.

Как в первом так и во втором случае с выхода 28 элемента ИЖ 36 выдаетс  сигнал, по которому содержимое регистра 7 с его инверсного выхода записываетс  в ту же  чейку накопител , по сигналу с рькода 28 информаци  с блока 6 KoppeKij iH зано26 ключить к нулевому разр ду блока 6 коррекции. При ДКР О и ОКР 1 на выходе 20 дешифратора 15 по витс  управл ющий сигнал 2, свидетельствующий о том, что слово содержит не корректируемую, но обнаруживаемую ошибку четной кратности (2,4,6...). Значение ДКР 1 и ОКР 1 означает, что в слове имеетс  ошибка нечетной кратности (1,3...), и на выходе 21 .дешифратора 15 по витс  управл ющий сигнал 1. Операци  чтени  инициируетс  сигналом Чтение, поступающим на вход 22 блока 19 управлени . Информаци  с выхода накопител  1 по сигналу с выхода 23 блока 19 проходит через блоки 2 и 4, поступает в блок 5 декодировани  и блок 6 и по сигналу с выхода 23 блока 19 записываетс  в регистр 7. Значени  основных контрольных разр дов, вычисленные в блоке 5 декодировани  с выхода 12, поступают на дешифратор 14, которьй в соответствии с прин тым кодом инвертирует один из разр дов слова (1 -п) в блоке 6 коррекции, если с выхода 12 поступает ненулевой код. При отсутствии ошибок либо при наличии однократной ошибки в дополнительном контрольном разр д на выходе 18 элемента ИЛИ 17 по вл етс  сигнал О, поступаюпщй на третий вход элемента ИЛИ 44 блока 19 управлени , с выхода 26 которого вьщаетс  сигнал в блок 8 элементов И, разрешаюш;ий прохождение информации с блока 6 коррекции через блок 10 элементов ИЛИ в числовую магистраль 1 1 .С выхода 27 элемента ИЛИ 45 блока 19 вьщаетс  сигнал Готовность. При по влении на выходе 21 дешифратора 15 управл ющего сигнала 1 срабатывает элемент И 32, на второй вход которого в это врем  поступает сигнал с выхода элемента 37 задержки, и сигнал 1 запоминаетс  в триггере 35.Аналогичным образом управл ющий сигнал 2, если имеет место такой исход декодировани ,запоминаситс  в регистр 9 пр мого кода, и, кроме того, он подаетс  на вход эле мента 38 задержки. Затем производит с  повторное чтение информации.Сигнал с выхода 29 элемента 38 задержк разрешает прохождение информации че рез блок 3 инверторов. Вновь считан ное слово через блок 4 поступает на входы блоков 5 и 6. В блоках 5,6,13 t4,15 и 17 производ тс  те же дей1стви , что и при первом чтении.Если считанное слово ошибок не содержит, то сигнал с выхода 26 элемента ИЛИ 44 блока 19 разрешает прохождение информации с блока 6 коррекции через первый блок 8 элементов И, бл 10 элементов HJHi в числовую магистраль 11, ас выхода 27 элемента ШШ 45 блока 19 вьщаетс  сигнал Го товность, свидетельствующий об око чании операции чтени . Если на выход 20 дешифратора 15 по витс  управл ющий сигнал 2, то сработает элемент И 31,, на второй вход которого в этот момент поступает сигнал с выхода элемента 39 задержки. Если в первом цикле чтени  исходом декодировани  был сигнал 2, хранимый в триггере 34, что сработает элемент И 40, и на выходе 24 по витс  сигнал Ошибка, если же в первом цикле результатом декодировани  был сигнал 1, то сработает элемент И 41, с выхода 25 которого информаци  с регистра 9 через второй блок 10 элементов ИЛИ поступает в числовую магистраль 11, а с выхода 27 элемен та Ида45 поступает сигнал Готовность При по влении сигнала 1 на выходе 21 деашфратрра 15 срабатывает элемент И 33 и либо элемент И 42 блока 19 либо элемент И 43 (в зависимости от исхода декодировани  в первом цикле чтени ), и по сигналу с выхода 26 элемента ИЛИ 44 информаци  с выхода блока 6 через первьй блок 8 элементов И, второй блок 10 элементов ИЛИ поступает в числовую магистраль 11, при этом на выходе 27 элемента ИЛИ 45 по вл етс  сигнал Готовность. Пример. Пусть первоначально записьшаема  в некоторую  чейку накопител  1 информаци  имела вид 01011010, 42 Ад - дополнительней контрольный разр д; основные контрольные разр ды . Каждый из контрольных разр дов контролирует по четности свою группу разр дов (эти разр ды подчеркнуты ) . Пусть при обращении к данной  чейки на выходе блока элементов ИЛИ 4 получено слово содержащее две ошибки. Допустим, что в 5-м разр де ошибка вызвана отказом, а в 6-м разр де - сбоем. Считанное слово записываетс  в регистр 7, поступает в блоки 5 и 6. Первое контрольное соотношение не выполн етс  (на выходе 12.1 суммато ра 52 по модулю два (фиг. 3) блока 5 сигнал равен единице), второе контрольное соотношение не выполн етс  (на выходе 12.2 сумматора 53 сигнал равен единице), третье конт- рольное соотношение вьтолн етс  (на выходе 12.3 сигнал равен нулю), т.е. на дешифратор 14 поступает код 011, и в блоке 6 коррекции инвертируетс  третий разр д считанного слова. Дополнительное контрольное соотношение выполн етс  (сигнал на выходе 16 сумматора 56 равен нулю) , на выходе элемента ИЛИ 17 сигнал равен единице, т.е. на дешифратор 15 поступает код 01 (см. таблицу). На выходе 20 дешифратора 15 по вл етс  управл ющий сигнал 2, срабатывает элемент И 30 блока 19 , и триггер 34 устанавливаетс  в единичное состо ние. На выходе элемента ИЛИ 36 по вл етс  единичньй сигнал, в соответствии с которым с выхода 28 вьщаютс  сигналы управлени , содержимое регистра 7 с инверсного выхода записываетс  в ту же  чейку накопител  1 и имеет вид 10100011, а информаци  с блока 6 заноситс  в регистр 9. Затем производитс  повторное читывание слова. Сигнал с выхода 29 лока 19 разрешает прохождение инормации через блок 3 инверторов. читанна  информаци  имеет вид 10100|1 1,а после прохождени  ерез блок 3-01011000. та информаци  поступает в блоки 5Both in the first and in the second case, from the output 28 of the IZH 36 element, a signal is issued, according to which the contents of register 7 from its inverse output are recorded in the same cell of the accumulator, according to a signal from the 28 code, the information from block 6 KoppeKij iH must be turned to zero block 6 correction. With DKR O and OCD 1 at the output 20 of the decoder 15, the control signal 2 is shown in accordance with the Wits, indicating that the word contains an uncorrected but detectable error of even multiplicity (2,4,6 ...). The value of DCR 1 and OCD 1 means that there is an odd multiplicity error (1.3 ...) in the word, and output 21 of the decoder 15 turns on the control signal 1. The read operation is initiated by the Read signal received at input 22 of block 19 management The information from the output of accumulator 1, by the signal from output 23 of block 19, passes through blocks 2 and 4, enters block 5 of decoding and block 6, and by signal from output 23 of block 19 is written to register 7. The values of basic check bits calculated in block 5 decoding from output 12, goes to the decoder 14, which, in accordance with the received code, inverts one of the word bits (1 - n) in correction block 6, if from output 12 a non-zero code arrives. In the absence of errors or in the presence of a one-time error, a signal O arrives at the third input of the OR element 44 of the control unit 19, at the output 18 of the element OR 17, the signal to the block of the 8 elements AND is resolved; The passage of information from the correction block 6 through the block 10 elements OR to the numerical line 1 1. From the output 27 of the element OR 45 of the block 19, the Ready signal is set. When appearing at the output 21 of the decoder 15 of the control signal 1, an element 32 is triggered, the second input of which at this time receives a signal from the output of the delay element 37, and the signal 1 is stored in the trigger 35. In a similar way, the control signal 2, if such a decoding outcome is stored in register 9 of the direct code, and, in addition, it is fed to the input of delay element 38. Then it re-reads the information. The signal from the output 29 of the delay element 38 allows the information to pass through the block 3 inverters. The newly read word through block 4 is fed to the inputs of blocks 5 and 6. In blocks 5,6,13 t4,15 and 17, the same actions are performed as at the first reading. If the read word does not contain errors, then the output signal 26 elements OR 44 of block 19 permits the passage of information from correction block 6 through the first block of 8 elements AND, bl of 10 HJHi elements into the numerical highway 11, and output 27 of the WL 45 unit of block 19 enters the Signalization signal indicating a reading operation. If the output signal 20 of the decoder 15 is tuned to the control signal 2, then the element 31, the second input of which at this moment receives the signal from the output of the delay element 39, will operate. If in the first reading cycle, the outcome of the decoding was signal 2, stored in trigger 34, which triggered element 40, and error signal was output at output 24, but if in the first cycle the result of decoding was signal 1, then element 41 would work, 25 which information from register 9 through the second block 10 elements OR enters numerical line 11, and from output 27 Ida45 element receives a ready signal. When signal 1 appears at output 21 of deashfrathra 15, element 33 is triggered and either element 42 of block 19 or element and 43 (depending on the outcome of coding in the first reading cycle), and the signal from output 26 of the element OR 44 information from the output of block 6 through the first block 8 of the elements AND, the second block 10 of the elements OR enters the numerical highway 11, while the output 27 of the element OR 45 appears Signal Ready. Example. Let initially be written into some cell of accumulator 1 information looked like 01011010, 42 Hell - an additional check bit; main test bits. Each of the check bits controls by parity its group of bits (these bits are underlined). Let, when addressing a given cell, at the output of a block of elements OR 4, a word containing two errors is received. Suppose that in the 5th bit, the error was caused by a failure, and in the 6th bit, the error was caused by a failure. The read word is written to register 7, enters blocks 5 and 6. The first control ratio does not hold (at output 12.1 of the adder 52 modulo two (Fig. 3) of block 5, the signal is one), the second control ratio does not hold (on output 12.2 of adder 53, the signal is equal to one), the third control ratio is satisfied (at output 12.3, the signal is zero), i.e. The decoder 14 receives the code 011, and in the correction block 6, the third digit of the read word is inverted. The additional control ratio is satisfied (the signal at the output 16 of the adder 56 is equal to zero), at the output of the element OR 17 the signal is equal to one, i.e. The decoder 15 receives the code 01 (see table). At the output 20 of the decoder 15, the control signal 2 appears, the element And 30 of the block 19 is triggered, and the trigger 34 is set to one. A single signal appears at the output of the OR 36 element, according to which the control signals are outputted from output 28, the contents of register 7 from the inverse output are written to the same cell of accumulator 1 and look like 10100011, and information from block 6 is entered into register 9. Then the word is re-read. The signal from the output 29 of the lock 19 allows the passage of information through the block 3 inverters. The read information has the form 10100 | 1 1, and after passing through block 3-01011000. This information comes in blocks 5

. 9 i1. 9 i1

и 6. На выходах 12.3 - 12.1 блока 5 по вл етс  код 110, который поступает на дешифратор 14, в блоке 6 инвертируетс  шестой разр д слова. Сигнал на выходе 16 блока 5 равен единице, на вход дешифратора 15- поступает код 11 и с выхода 21 вьщает с  управл ющий сигнал 1. Срабатывает элемент И 33 блока 19, элемент И 43, с выхода 26 элемента ИЛИ 44 поступает управл ющий сигнал, и содержимое блока 6-0101 101 через блоки 8 и 10 поступает в числовую магистраль 11. С выхода 27 элемента ИЛИ 45 блока 19 поступает сигнал Готовность, свидетельствуюand 6. At outputs 12.3-12.1 of block 5, code 110 appears, which goes to decoder 14, in block 6 the sixth bit of the word is inverted. The signal at output 16 of block 5 is equal to one, the code 11 goes to the input of the decoder 15- and outputs control signal 1 from output 21. And block 33 triggers, block 19, element 43, and control pin 26 comes from output 26 of element OR 44 and the contents of block 6-0101 101 through blocks 8 and 10 enters the numerical line 11. From the output 27 of the element OR 45 of block 19, the signal Readiness comes, I testify

210210

щий об окончании операции чтени .about the end of the read operation.

Ошибка кратности два исправлена.Error multiplicity two fixed.

Предлагаемое устройство позвол ет исправл ть ошибки, вызванные отказами, сбо ми и их совместным действием. Если ошибки вызваны только отказами, то устройство исправл ет 1-, 2-й 3-кратные ошибки. Если ошибки вызваны только сбо ми, то устройство исправл ет лишь одно .кратную ошибку и обнаруживает двукратную ошибку. При совместномThe proposed device allows the correction of errors caused by failures, failures and their joint action. If errors are caused only by failures, then the device corrects 1-, 2-nd 3-fold errors. If errors are caused only by failures, then the device corrects only one fold error and detects a double error. When sharing

действии отказов и сбоев устройство всегда исправл ет двукратную ошибку (одна ошибка вызвана отказом, одна сбоем ).In the case of failures and malfunctions, the device always corrects a double error (one error caused by failure, one failure).

( 1 I (1 I

i i

Фиг. гFIG. g

Claims (1)

ЗАПОМИНАЮЩЕЕ УСТРОЙСТВО С КОРРЕКЦИЕЙ ОШИБОК, содержащее накопитель, блок декодирования, блок коррекции, первый дешифратор, первый элемент ИЛИ, второй дешифратор, первый блок элементов И, регистр прямого кода, блок управления, причем первый выход блока декодирования соединен с входами первого элемента ИЛИ и первого дешифратора,выход которого подключен к одному входу блока коррекции, выход которого соединен с одним входом первого блока элементов И, второй выход блока декодирования и выход первого элемента .ИЛИ подключены к входам второго дешифратора, одни выходы которого соединены с первым и вторым входами блока управления, третий вход которого является управляющим входом устройства, отличающееся тем, что, с целью повышения надежности устройства, в него введены второй блок элементов И, блок инверторов, второй элемент ИЛИ, первый и второй блоки элементов ИЛИ, регистр инверсного кода, причем выход накопителя соединен с одними входами второго блока элементов И и блока инверторов, выходы которых подключены к входам первого блока элементов ИЛИ, выход которого соединен с входом блока декодирования, другим входом блока коррекции и одним входом регистра инверсного кода, выход которого подключен к входу накопителя, выход блока коррекции соединен с одним входом регистра прямого кода, выход которого и выход первого блока элементов И подключены к входам второго блока элементов ИЛИ, выход которого является информационным выходом устройства, другие выходы второго дешифратора соединены с входами второго элемента ИЛИ, выход которого подключен к четвертому входу блока управления, первый и шестой выходы которого соединены с други• ми входами регистра инверсного кода, : другие входы регистра прямого кода подключены к третьему и шестому выходам блока управления, первый, четвертый и седьмой выходы которого соединены соответственно с другими входами второго блока элментов И, первого блока элементов И и блока инверторов, второй и пятый выходы блока управления являются индикаторными выходами устройства.A MEMORY CORRECTING DEVICE, comprising a drive, a decoding unit, a correction unit, a first decoder, a first OR element, a second decoder, a first AND block, a direct code register, a control unit, the first output of the decoding unit being connected to the inputs of the first OR element and the first a decoder whose output is connected to one input of the correction unit, the output of which is connected to one input of the first block of AND elements, the second output of the decoding unit and the output of the first element. OR connected to the inputs of the second an encoder, one of whose outputs is connected to the first and second inputs of the control unit, the third input of which is the control input of the device, characterized in that, in order to increase the reliability of the device, a second block of AND elements, a block of inverters, a second OR element, the first and the second block of OR elements, an inverse code register, and the drive output is connected to one of the inputs of the second block of AND elements and the inverter block, the outputs of which are connected to the inputs of the first block of OR elements, the output of which is connected to the input the decoding unit, the other input of the correction unit and one input of the inverse code register, the output of which is connected to the drive input, the output of the correction unit is connected to one input of the direct code register, the output of which and the output of the first block of AND elements are connected to the inputs of the second block of OR elements, the output of which is the information output of the device, the other outputs of the second decoder are connected to the inputs of the second OR element, the output of which is connected to the fourth input of the control unit, the first and sixth outputs of which are connected are with other inputs of the inverse code register :: the other inputs of the direct code register are connected to the third and sixth outputs of the control unit, the first, fourth and seventh outputs of which are connected respectively to other inputs of the second block of elements AND, the first block of elements AND and the block of inverters, the second and fifth outputs of the control unit are indicator outputs of the device. >> 1 1 5204 21 1 5204 2
SU833659434A 1983-11-05 1983-11-05 Storage with error correction SU1152042A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU833659434A SU1152042A1 (en) 1983-11-05 1983-11-05 Storage with error correction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU833659434A SU1152042A1 (en) 1983-11-05 1983-11-05 Storage with error correction

Publications (1)

Publication Number Publication Date
SU1152042A1 true SU1152042A1 (en) 1985-04-23

Family

ID=21087992

Family Applications (1)

Application Number Title Priority Date Filing Date
SU833659434A SU1152042A1 (en) 1983-11-05 1983-11-05 Storage with error correction

Country Status (1)

Country Link
SU (1) SU1152042A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1. Авторское свидетельство-СССР № 433542, кл. G 11 С 29/00, 1974. 2.Авторское свидетельство СССР 443413, кл. G 11 С 29/00, 1974. 3.Авторское свидетельство СССР № 855730, кл. С 11 С 11/00, 1984. 4.Авторское свидетельство СССР по за вке№ 3643564, кл. G 11 С 29/00, 05.11.83 (прототип). *

Similar Documents

Publication Publication Date Title
US4345328A (en) ECC Check bit generation using through checking parity bits
US5751745A (en) Memory implemented error detection and correction code with address parity bits
US4236247A (en) Apparatus for correcting multiple errors in data words read from a memory
US5761221A (en) Memory implemented error detection and correction code using memory modules
SU1152042A1 (en) Storage with error correction
US5128947A (en) Self-checking memory cell array apparatus
SU928421A1 (en) Storage device with error correction
SU1138836A1 (en) Storage with error detectiton and correction
SU436388A1 (en) STORAGE DEVICE: 1 T 5 • ..: '' Woo
SU1149318A1 (en) Storage with self-check
SU1531175A1 (en) Memory
SU1302327A1 (en) Storage with modulo error correction
SU444250A1 (en) Autonomous control storage device
SU1195393A1 (en) Memory
SU855730A1 (en) Self-checking storage device
SU1133624A1 (en) Storage with error correction
SU1547080A1 (en) Device for decoding iterative code
SU1048520A1 (en) Self-chacking memory
SU443413A1 (en) Autonomous control storage device
RU1837364C (en) Self-correcting random access memory
SU875470A1 (en) Self-checking storage
SU1203364A1 (en) On-line storage with data correction
SU452037A1 (en) Autonomous control storage device
SU1010659A2 (en) Memory device having autonomous checking capability
SU439020A1 (en) Autonomous control storage device