SU974410A1 - Device for recording and reproducing data from on-line memory units with error correction - Google Patents

Device for recording and reproducing data from on-line memory units with error correction Download PDF

Info

Publication number
SU974410A1
SU974410A1 SU772546739A SU2546739A SU974410A1 SU 974410 A1 SU974410 A1 SU 974410A1 SU 772546739 A SU772546739 A SU 772546739A SU 2546739 A SU2546739 A SU 2546739A SU 974410 A1 SU974410 A1 SU 974410A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
information
register
output
control
Prior art date
Application number
SU772546739A
Other languages
Russian (ru)
Inventor
Эдуард Иванович Поваляев
Владимир Аркадьевич Хуринов
Original Assignee
Предприятие П/Я М-5769
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 Предприятие П/Я М-5769 filed Critical Предприятие П/Я М-5769
Priority to SU772546739A priority Critical patent/SU974410A1/en
Application granted granted Critical
Publication of SU974410A1 publication Critical patent/SU974410A1/en

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Detection And Correction Of Errors (AREA)

Description

(54) УСТРОЙСТВО ДЛЯ ЗАПИСИ И ВОСПРОИЗВЕДЕНИЯ(54) DEVICE FOR RECORDING AND PLAYBACK

ИНФОРМАЦИИ ИЗ БЛОКОВ ОПЕРАТИВНОЙ ПАМЯТИ С КОРРЕКЦИЕЙ ОШИБКИINFORMATION FROM OPERATIONAL MEMORY BLOCKS WITH CORRECTION OF ERROR

1one

Изобретение относитс  к запоминающим устройствам.This invention relates to memory devices.

Известно устройство дл  записи и воспроизведени  информации из блоков оперативной пам ти с коррекцией ошибки построенное на специально разработанных морфйческих элементах, выходы которых имеют три логических состо ни , причем область применени  этих специальных элементов ограничена. В случае обнаружени  одиночной ошибки выполн етс  ее коррекци  Cl 1A device is known for recording and reproducing information from memory blocks with error correction built on specially designed morphic elements, the outputs of which have three logical states, and the scope of application of these special elements is limited. If a single error is found, it is corrected with Cl 1.

Недостатком этого устройства  вл етс  невысока  скорость работы.The disadvantage of this device is low speed.

Наиболее близким к предлагаемому  вл етс  устройство содержащее селек- . тор входной информации, вход которого подключен к первому информационному входу устройства, а выход - к первому входу генератора синдромов, выход которого соединен со входом регистра паритета , выход которого подключен к nepBivмувходу блока коррекции паритета, дешифратор ошибки, первой вход которогоClosest to the present invention is a device comprising selec-. the input information torus, whose input is connected to the first information input of the device, and the output to the first generator of syndromes, the output of which is connected to the input of the parity register, the output of which is connected to the nepBiv input of the parity correction unit, the error decoder, the first input of which

соединен со входом маркеров записи устройства , а выход - с первым входом блока коррекции входной информации, вторым входом блока коррекции паритета, регистр адреса, первый информационныйconnected to the input of the device record markers, and the output to the first input of the input information correction block, the second input of the parity correction block, the address register, the first information

5 и контрольный входы которого подключены к адресному входу устройства, второй информационный вход регистра адреса подключен ко входу маркеров записи устройства , а информационный выход - к первому входу cxeivibi сравнени  контрольного кода Хэмминга, выход которой. соединен с первым входом блока коррекции конт- рольцого кода Хэмминга, второй вход блока коррекции входной информации подключен ко второму информационному входу устройства, а выход - к третьемуинформационному входу регистра адреса, второй контрольный вход которого соеjg динен с выходом блока коррекции паритета , генератор паритета и схему сравнени  паритета 2.5 and the control inputs of which are connected to the address input of the device, the second information input of the address register is connected to the input of the device record markers, and the information output to the first input cxeivibi of the Hamming control code, the output of which. connected to the first input of the Hamming code control correction block, the second input of the input information correction block is connected to the second information input of the device, and the output to the third information input of the address register, the second control input of which is connected to the parity correction block, parity generator and circuit comparing parity 2.

Claims (2)

Недостатком этого устройстгмл  вл етс  OTcyrcTBife BO3N oxHOCTH опновр моиной трансл ции информации иэ двух модулей пам ти, имеющих автономное управление . Это устройство позвехпнет лишь последовательно отрабатывать операции сначала с одним модулем пам ти, а потом с другим и проводить лишь частичный контроль при операции селективной байтовой записи. Цель изобретени  - повышение быстродействи  и надежности работы устройства . Поставленна  цель достигаетс  тем, что в устройство введены элементы И, регистр синдромов, схема сравнени  синд ромов, блок коррекции псевдоэталонного кода, селектор паритета, буферный регист селектор псевдоэталонного кода, вход которого соединен с первым контрольным входом устройства, а выход - со вторым входом генератора синдромов, выход кото рого подключен к первому входу схемы сравнени  синдромов и ко входу регистра синдромов, выход КОТОРОГО подключен ко второму входу схемы сравнени  синцромов , ко второму входу дешифратора ошиб ки и к первому входу первого элемента И, второй вход которого подключен к выЗГОДУ дешифратора ошибки, а выход - ко второму входу блока коррекции контрольного кода Хэммингй, выход которого подключен к первому контрольному входу буферного регистра, первый вход блока коррекции псевдоэталонного кода соединен с выходом дешифратора ошибки, второй - с контрольным входом устройства, а выход с первым входом второго элемента И, второй вход которого подключен ко входу Чтение устройства, а выход - ко второму входу схемы сравнени  контрольного кода Хэмминга, третий вход которой подключен к выходу селектора паритета, первый вход которого подключен к выходу блока коррекции паритета,второй вход-к . выходу генератора паритета, вход KOTopo |го соединен с информационным выходом буферного регистра, первый вход .схемы сравнени  паритета подключен к выходу селектора паритета, второй вход ее подключен к контрольному выходу регистра адреса, информационный выход которого «хюдинен с первым информационным входом буферного регистра, второй информаци онный вход которого соединен с выходом блока, коррекции входной информации, вто рой контрольный вход буферного регистра подключен к выходу схемы сравнени  контрольного кода Хэмминга, а третий вход - к выходу дешифратора ошибки. , На чертеже представлена блок-схема устройства дл  записи и воспроизведени  информации из блоков оперативной пам ти с коррекцией ошибки. Устройство содержит регистр входной информации 1, селектор псевдоэталонного кода Хэмминга 2, селектор входной информаци 3, блок коррекции входной информации 4, генератор синдромов 5, блок коррекции псевдоэталонного кода (Хэмминга ) 6, регистр паритета 7, регистр синдромов 8, генератор паритета 9, второй элемент И 10, блок коррекции паритета 11, дешифратор ошибки 12, схему сравнений синдромов 13, элемент И 14, селектор паритета 15, схему сравнени  контрольного кода Хэмминга 1G, схему сравнени  паритетов 17, блок коррекции контрольного кода Хэмминга 18, регистр адреса (скорректированной информации) 19, буферный регистр (записываемой информации ) 20. Устройство имеет вход прочитанной из оперативной пам ти информации 21, вход записываемой информации в пам ть 22, вход маркеров записи 23 устройства, вход команды Чтение 24 устройства, выход скорректированной информации 25 устройства, выход записываемой информации 26 устройства. В соответствии с хранимой информацией регистр входной информации раздел етс  на блоки d (информационный) и С (контрольный хранит код Хэмминга), регистр скорректированной информации раздел етс  на блоки а и Р (контрольный, хранит код паритета), регистр записываемой информации раздел етс  на блоки d и С. Генератор кода Хэмминга состоит из элементов, реализующих функцию сложени  по модулю 2. Дл  64 информационных битов генератор вырабатывает 8 сумм по модулю The disadvantage of this device is OTcyrcTBife BO3N oxHOCTH, which is the basic translation of information from two memory modules having autonomous control. This device will allow only sequentially work out the operations first with one memory module, and then with the other, and carry out only partial control during a selective byte-recording operation. The purpose of the invention is to increase the speed and reliability of the device. The goal is achieved by introducing the AND elements, the syndromes register, the syndrom comparison circuit, the pseudo-reference code correction block, the parity selector, the buffer register, the pseudo-reference code selector, whose input is connected to the first control input of the device, and the output to the second generator input. syndromes, the output of which is connected to the first input of the comparison circuit of the syndromes and to the input of the register of syndromes, the output of which is connected to the second input of the comparison circuit of synchromes, to the second input of the error decoder to the first input of the first element I, the second input of which is connected to the EVERYTHING of the error decoder, and the output to the second input of the Hemming control code correction block, whose output is connected to the first control input of the buffer register, the first input of the pseudo-reference code correction block, connected to the output of the error decoder, the second is with the control input of the device, and the output with the first input of the second element I, the second input of which is connected to the input Read device, and the output to the second input of the comparison circuit of the control code He Ming, the third input of which is connected to the output of parity selector having a first input connected to the output parity correction unit, the second input-k. the output of the parity generator, the KOTopo input is connected to the information output of the buffer register, the first input of the parity comparison circuit is connected to the output of the parity selector, its second input is connected to the control output of the address register, whose information output is hyudinen with the first information input of the buffer register, the second the information input of which is connected to the output of the block, correcting the input information, the second control input of the buffer register is connected to the output of the comparison circuit of the Hamming control code, and the third input d - to the output of the error decoder. The drawing shows a block diagram of a device for recording and reproducing information from random-access memory blocks with error correction. The device contains the input information register 1, the pseudo-reference Hamming code 2 selector, the input information selector 3, the input information correction block 4, the generator of syndromes 5, the pseudo-reference code correction block (Hamming) 6, the parity register 7, the register of syndromes 8, the parity generator 9, the second element 10, parity correction block 11, error decoder 12, comparison circuit of syndromes 13, element 14, parity selector 15, comparison scheme of the Hamming control code 1G, comparison circuit of parities 17, the correction block of the Hamming control code 18, p address (corrected information) 19 register, buffer register (recorded information) 20. The device has information read from the RAM 21, the record information input in memory 22, the input of record markers 23 of the device, the command input Read 24 of the device, the output of corrected information 25 devices, the output of the recorded information 26 device. In accordance with the stored information, the input information register is divided into blocks d (informational) and C (the control stores the Hamming code), the corrected information register is divided into blocks a and P (control, stores the parity code), the register of recorded information is divided into blocks d and C. The Hamming code generator consists of elements that implement the function of addition modulo 2. For 64 information bits, the generator generates 8 sums modulo 2. Генератор синдромов предсТгав- л ет собой К (К - число символов кода Хэмминга) двухвходовых элементов, реализуюших функцию сложени  по модулю 2 символов кода Хэмминга, прочитанных из пам ти с соответствующими символами кода Хэмминга, выработанными генератором кода Хэмминга. На чертеже генератор кода Хэмминга и генератор синдромов показаны одним функциональным блоком, названным генератором синдромов 5. Блок коррекции входной информации представл ет собой т двухвходовь1Х элементов , реализующих функцию сложени  по модулю 2 (где m - число информационных битов сообщени ). Каждый элемент складывает информационный бит с соот59 ветствук)Щ11М сигналом, выработанным де шифратором ошибки, указывающим на ошибку в этом бите. Устройство работает следуюшим образом . В оперативной пам ти хранитс  информаци  совместно с контрольным кодом Хэмминга. Во врем  операции Чтение из пам ти информаци  с сопровождающим ее кодом Хэмминга поступает через вход 21 и записываетс  в регистр входной ин формации 1 соответственно в блоки «3 и С регистра. Записанна  в регистр 1 ин ,формаци  поступает через селектор 3 на .вход генератора синдромов 5, туда же через селектор 2 поступает прочитанный ,иа пам ти код Хэмминга. В генераторе синдромов вырабатываетс  код Хэмминга прочитанной из пам ти информации и результат сравнейи  этого кода с кодом Хэмминга, прочитанного из пам ти. Результат сравнени , называемый син дром, записываетс  в регистр синдромов 8. Ненулевое значение синдрома характеризует наличие ошибки в сообщении. Кроме того, генератор синдромов вырабатывает паритеты байтов прочитанной из пам ти информации, котора  запоминаетс  на регистре паритетов 7. Синдромные би ты декодируютс  дешифратором ошибок 12, Сигнал ошибки определ ет действительный ошибочный бит и инвертирует ег посредством блока коррекции входной информации 4, св занного с каждым битом. Обнаружение дешифратором 12 четного числа активизированных синдромных битов указывает на некорректируемую ошиб ку. При исправлении однобитной ошибки исправл етс  также и паритет байта посредством блока коррекции паритета 11. Скорректированные паритеты и информаци записываютс  соответственно в блоки Р и с1 регистра скорректированной информа ции 19. Параллельно с вышеописанной процедурой исправлени  одиночной ошибки выполн ютс  следующие контрольные действи . После записи синдромов в регистр 8 селектор 3 подключает на вход генератора 5 информационный блок d регистра 1 с кольцевым сдвигом на г /2 байтов (где г - общее число информационных байтов, прочитанных из оперативной пам ти ). Аналогично селектор 2 подключает на вход генератора 5 блок С регистра 1 с кольцевым сдвигом на К/2 битов (где К - число разр дов кода Хэмминга, прочитанных из оперативной пам ти). 0« Кодирование матрицы кода Хэмминга | осуществл етс  таким образом, что при подаче на вход генератора 5 одной и той же информации и разр дов кода Хэмминга пр мо и с кольцевым сдвигом, синдрюмы получаютс  различным путем. Оборудование генератора, задействованное дл  генерации битов SO, 51, 52, 53, S4, S5, SG, 57 при пр мой подаче информации и кода Хэмминга на вход генератора , генерирует cooiветственно биты 54, 55, 56, S7, SO, 51 S2, 53. при подаче той же информации и кода Хэмминга с кольцевым сдвигом. Результаты обеих генераций должны совпадать, если соответствующее оборудование функционирует правильно. Сравнение результата генераций осуществл етс  в блоке сравнени  синдромов 13. Скорректированна  информаци , записанна  в регистр 19, поступает на первый вход контрольной схемы сравнени  16. На третий вход через селектор 15 поступает скорректированный побайтный паритет сообщени . На второй вход через второй элемент И Ю из регистра 1 под управлением команды Чтениепоступает псевдоэталонный код Хэмминга, который в случае ошибки в С - бите подвергаетс  коррекци  в блоке коррекции 6. Псевдоэталонный код Хэмминга, прочитанный из пам ти, мы называем потому , что в нем возможны ошибки. Несравнение псевдоэталонного кода Хам минга, поступающего из блока коррекции 6 и кода Хэмминга, образованного в контрольной схеме сравнени  16, указывает на логическую ошибку в аппаратуре Таким образом, во врем  операции чтени  контрольный блок сравнени  выполн ет функцию генератора синдромов. В схеме сравнени  паритетов 17 провер етс  правильность записи скорректированных паритетов в блок Р регистра ,19 и правильность поступлени  их на |ВХо.д контрольного блока сравнени  через «селектор 15. При операции полной записи информаци  и сопровождающие ее паритеты поступают на вход 22 и записываютс  соответственно в блоки с1 и Р регистра 19. С выхода регистра 19 содержимое блока 61 перезаписываетс  в блок cJ регистра 20. Записанна  в блок «3 регистра 2О информаци  поступает на генератор паригетов 9. Выработанные генератором 9 паритеты через селектор 15 подаютс  на третий вход контрольной схемы сравнени  16. На первый вход блока поступа7 97 ют необходимые дл  образовани  кода Хэмминга информационные биты с регистра 19, на второй вход информаци  не поступает , так как на врем  операции записи второй элемент И 10 блокируетс . Таким об.разом, во врем  операции полной запи/зй контрольна  схема сравнени  выступает в роли генератора кода Хэмминга. Образованный в контрольной схейе сравнени  16 код Хэмминга, мину  блок коррекции 18 записываетс  в блок С регистра 20. Образованные генератором 9 паритеты сравниваютс  в схеме сравнени  17 с содержимым блока Р регистра 19. В устройстве операцииЧтение и Запись.могут выполн тьс  одновремено дл  различных модулей оперативной пам ти , имеющих автономное управление, т, е. с одним модулем пам ти, инициируетс  операци  Чтение и информаци  с сопровождающим ее кодом Хэмминга записьтаетс  в регистр входной информации одновременно с другим модулем оперативной пам ти инициируетс  Jэпepaци  Запись 1и записываема  информаци  в сопровожде- НИИ битов паритета записываетс  в регист . скорректированной информации 19. Далее обе операции выполн ютс  устройством параллельно согласно вышеизложенному пор дку. Операци  селективной байтовой записи в оператнвйую пам ть начинаетс  с функции чтени  информации из пам ти по входу 21 и записи поступающей из процессора информации по входу 22. Считанна  из оперативной пам ти информаци  записываетс  под управлением маркеров записи совместно с информацией поступающей по входу 22 в блок «3 регист ра 19. В блок Р регистра также под управлением маркеров записи записываютс  паритеты, поступающие по входу 22, и паритеты , образованные генератором 5 из прочитанной информации. Как считанна  из оперативной пам ти информаци , так и образрванные из нее паритет поступают на регистр 19, не подверга сь коррекции, так как в ©тот момент, ошибка еще не обнаружена . Содержимое блока d регистра 19 перезаписываетс  в блок 61 регистра 20 Генератор паритетов 9 вырабатывает паритеты записанной в регистр 20 информа-. ции. В схеме сравнени  17 производитс  сравнение паритетоЬ, записанных в блок Р регистра 19, и паритетов, образованных генераторов9 из информации, подлежащей записи. Образованные паритеты через селектор 15 поступают на третий вход конт рольной схемы сравнени  16. На первый 10 вход поступают необходимые дл  образовани  кода Хэмминга информационные биты, записанные в регистр 19. Прочитанный из пам ти код Хэмминга не пропускаетс  через второй элемент И 1О. Таким образом , контрольна  схема сравнени  выполн ет функцию генератора кода Хэмминга. Одновременно с этим, в случае обнаружени  ошибки в информации, прочитанной из пам ти, дешифратор 12 вырабатывает сигналы ошибки информационного бита и паритета . Производитс  операци  коррекции информации и, если ошибка происходит в байте, который должен быть перезаписан в оперативную пам ть, блок коррекции 18 производит инвертирование соответствующих С битов путем подачи на блок коррекции 18 синдромов с регистра 8 через К элементов И 14, на вторые входы которых подаетс  команда с дешифратора ошибок гГ:ОШР - М УОШР -М V...VOUJP™ .м . где ОШР, - ошибка паритета; М - маркер записи. Скорректированные С-биты записывают с  в блок С регистра 20, а исправленный в блоке коррекции 4 байт замен ет ранее записанный байт с ошибкой в регистре .20 под управлением сигнала ошибки в байте, поступающего с дешифратора ошибок 12. Если ошибки не обнаружено или произошла ошибка в байте, который не будет перезаписан в пам ть, коррекци  С-битов не происходит. Затем производитс  подключение на второй вход контрольной схемы сравнени  через второй элемент И 10 содержимого блока С регистра записываемой информации 20, и контрольный блок соавнени  провер ет правильность присвоенно о кода Хэмминга дл  скомпанованной и скорректированной информации. Активизированный выход блока сравнени  свидетельствует о логической ошибке, Предлагаемое устройство позвол ет одновременно транслировать обращение по чтению и записи к различным по модул м пам ти и автономным управлением, таким образом, вдвое увеличива  быстродействие по сравнению с прототипом. При этом обеспечиваетс  полный сквозной контроль оборудовани  адаптера Окак при чтении, так и при записи, чем повышаетс  ноложькхть рабцты как самого устройс7вп, так и к- трольной аппаратуры. 997 Формула изобретени  Устройство дл  записи и воспроизведени  информации из блоков оперативной пам ти с коррекцией ошибки, содержащее селектор входной информации, вход которого подключён к первому информационному входу устройства, а выход - к первому входу генератора синдромов, выход которого соединен со входом регистра паритета , выход которого подключен к первому входу блока коррекции паритета, дешифратор ошибки, первый вход которого соединен со входом маркеров записи устройства а Ьыход - с первым входом блока коррекции входной информации; вторым входом блока коррекции паритета, регистр адреса, первый информационный и контррльнь1й входы которого подключены к адресному входу устройства, второй информационный вход регистра адреса подключен ко входу маркеров записи устройства, а информационный выход - к первому входу, схемы сравнени  контрольного кода Хамминга, Выход которой соединен с первым входом блока,коррекции контрольного.кода Хэммин га, второй вход блока коррекции входной информации подключен ко второму информационному входу устройства, а выход -к третьему информационному входу регистра адреса, второй контрольный вход которого соединен с выходом блока коррекции паритета , генератор паритета и схему сравнени  паритета, отличающеес  тем, что, с целью повьпиени  быстродействи  и надежности устройства, оно содержит элементы И, регистр синдромов, схем сравнени  синдромов,- блок коррекции псев- доэталонного кода, селектор па{зитета, буферныйрегистр , селектор псевдоэталонного кода, вход которого соединен с первым контрольным входом устройства, а выход - со вторым входом генератора синдромов, .выход которого подключен к первому вхо10 ду схемы сравнени  синдромов и ко входу регистра синдромов, выход которого подключен ко второму входу схемы сравнени  синдромов, ко второму входу дешифратор ошибки и к первому входу первого элемента И, второй вход которого подключен к выходу дешифратора ошибки, а выход - ко второму входу блока коррекции контрольного кода Хэмминга, выход которого подключен к первому контрольному входу буферного регистра, первый вход блока кор рекции псевдоэталонного кода соединен с выходом дешифратора ошибки, второй - с контрольным входом устройства, а выход - с первым входом второго элемента И, второй вход которого подключен ко входу . Чтение устройства, а выход - ко второму входу схемы сравнени  контрольного (КОда Хэмминга, третий вход которой под- рслючен к выходу селектора паритета, пер1вый вход которого подключен к выходу блока коррекции паритета, второй вход JC выходу генератора паритета, вход- которого соединен с информационным выходом буферного регистра, первый вход схемы рравнени  паритета подключен к выходу селектора паритета, второй вход ее подключен к контрольному выходу регистра адреса, информационный выход которого .соединен с первым информационным входом буферного регистра, второй иш{)0рмационный: вход которого соединен с выходом блока .коррекции входной информации, второй контрольный вход буферного регистра подключен к выходу схемы сравнени  коит- рольного кода Хэмминга, а третий вход - к выходу дешифратора ошибки. Источники информации, прин тые во внимание при экспертизу 1.3ЕЕЕ Trcinsaction on соториters . Voe С-25, № 6, 1976. йТ7Й5торское свидетельство СССР ПО за вке N 252037.4/18-24, кл. G 11 С 7/ОО, 15.О9.77 (прототип).2. The syndrome generator represents K (K is the number of characters of the Hamming code) of two-input elements that implement the addition function modulo 2 characters of the Hamming code read from the memory with the corresponding characters of the Hamming code produced by the Hamming code generator. In the drawing, the Hamming code generator and the syndrome generator are shown by one functional unit called Syndrome Generator 5. The input information correction block is the two-input 1X elements that implement the modulo addition function 2 (where m is the number of message information bits). Each element adds an information bit with the corresponding signal of the 11M signal produced by the error decoder, indicating an error in this bit. The device works as follows. Information is stored in the RAM along with the Hamming control code. During the operation, the reading from the memory, the information with the accompanying Hamming code goes through input 21 and is written to the input information register 1, respectively, in the 3 and C register blocks. Recorded in register 1 in, the formation enters through the selector 3 on the input of the generator of syndromes 5, there also through the selector 2 enters the Hamming code read and the memory. In the generator of syndromes, the Hamming code of the information read from the memory and the result of the comparison of this code with the Hamming code read from the memory is generated. The result of the comparison, called a syndrome, is recorded in the register of syndromes 8. The non-zero value of the syndrome characterizes the presence of an error in the message. In addition, the syndrome generator generates byte parities of information read from the memory, which is stored in parity register 7. Syndrome bits are decoded by error decoder 12, the error signal determines the actual error bit and inverts it by correcting the input information block 4 associated with each by bit. Detection by the decoder 12 of an even number of activated syndrome bits indicates an uncorrectable error. When correcting a one-bit error, the parity of the byte is also corrected by the parity correction block 11. The corrected parities and information are written to the corrected information register blocks P and c1, respectively. In parallel with the single error correction procedure described above, the following check actions are performed. After recording the syndromes in register 8, the selector 3 connects to the input of the generator 5 an information block d of register 1 with an annular shift of g / 2 bytes (where g is the total number of information bytes read from the main memory). Similarly, the selector 2 connects to the input of the generator 5 a block C of the register 1 with an annular shift of K / 2 bits (where K is the number of bits of the Hamming code read from the RAM). 0 «Coding Hamming Code Matrix | is carried out in such a way that when the same information and bits of the Hamming code are fed directly and with a ring shift to the input of the generator 5, the syringes are obtained in a different way. The generator equipment involved in the generation of bits SO, 51, 52, 53, S4, S5, SG, 57 when directly supplying information and the Hamming code to the input of the generator, generates, respectively, bits 54, 55, 56, S7, SO, 51 S2, 53. when submitting the same information and the Hamming code with a ring shift. The results of both generations must match if the corresponding equipment functions correctly. The result of the generations is compared in the comparison unit of syndromes 13. The corrected information recorded in register 19 is fed to the first input of the control comparison circuit 16. The third input through the selector 15 receives the adjusted byte parity of the message. The pseudo-reference Hamming code, which, in case of an error in the C-bit, undergoes correction in correction block 6, arrives at the second input through the second element E and Yu from register 1 under the control of the Read command. We call the Pseudo-model Hamming code read from the memory because errors are possible. The incomparability of the pseudo-reference Ham code of the Minga coming from the correction block 6 and the Hamming code formed in the control circuit of comparison 16 indicates a logical error in the equipment. Thus, during the read operation, the control control block performs the function of the generator of syndromes. In the parity comparison circuit 17, the correctness of the entry of the corrected parities in the register register block P, 19 and their correctness on the control input block through the selector 15 is checked. During the operation of the complete recording, the information and the accompanying parities are fed to the input 22 and recorded accordingly into blocks c1 and P of register 19. From the output of register 19, the contents of block 61 are overwritten into block cJ of register 20. The information recorded in block 3 of register 2O goes to pariette generator 9. Parities developed by generator 9 are set through Lecturer 15 is fed to the third input of the control comparison circuit 16. The first bits of the information input from register 19 arrive at the first input of the block7 97, while the second input And 10 does not receive information for the second input. Thus, during the complete recording operation, the control comparison scheme acts as a generator of the Hamming code. The Hamming code formed in the control scheme of comparison 16, the correction block 18 is written to the block C of the register 20. The parities formed by the generator 9 are compared in the comparison circuit 17 with the contents of the block P of the register 19. In the device, reading and writing can be performed simultaneously for different operational modules. a memory having autonomous control, i.e., with one memory module, a Read operation is initiated and information with the Hamming code accompanying it is written into the input information register simultaneously with another op module proliferative memory 1 and initiated Jepepatsi recording information in the recordable soprovozhde- SRI bits recorded in the registers of parity. the corrected information 19. Next, both operations are performed by the device in parallel according to the foregoing order. The selective byte-write operation in the operational memory begins with the function of reading information from the memory at input 21 and recording information received from the processor at input 22. The information read from the main memory is recorded under the control of the recording markers together with the information received at input 22 in the block 3 registers 19. In the P register register, under the control of the record markers, parities are entered at input 22, and parities formed by generator 5 from the read information. Both the information read from the RAM and the parity generated from it go to register 19 without being corrected, since at that moment the error was not yet detected. The contents of block d of register 19 are overwritten into block 61 of register 20. The parity generator 9 generates the parities of the information recorded in register 20. of In comparison circuit 17, a comparison is made between the parities recorded in the block P of the register 19 and the parities formed by the generators9 from the information to be written. The formed parities through the selector 15 arrive at the third input of the control comparison circuit 16. The first 10 input receives the information bits written to the register 19 necessary for the formation of the Hamming code. The Hamming code read from the memory is not passed through the second AND element 1O. Thus, the comparison control circuit performs the function of the Hamming code generator. At the same time, if an error is detected in the information read from the memory, the decoder 12 generates error signals of the information bit and parity. An information correction operation is performed and, if an error occurs in a byte that needs to be overwritten into the operative memory, the correction block 18 inverts the corresponding C bits by feeding the 18 syndromes to the correction block 18 from register 8 via K elements 14, to the second inputs of which is fed command from the error decoder GG: OSHR - M UOSHR -M V ... VOUJP ™. m. where CSR is a parity error; M - record marker. The corrected C-bits are written with in the C block of the register 20, and the 4 bytes corrected in the correction block replaces the previously recorded byte with an error in the register .20 under the control of the error signal in the byte received from the error decoder 12. If no error was detected or an error occurred in a byte that will not be overwritten in memory, the C-bits are not corrected. Then, a connection is made to the second input of the control comparison circuit through the second element And 10 of the contents C of the register of the recorded information 20, and the control block of the comparison checks the correctness of the Hamming code for the compiled and corrected information. The activated output of the comparator unit indicates a logical error. The proposed device allows you to simultaneously transmit read and write readings to various memory modules and autonomous control, thus doubling the speed compared to the prototype. At the same time, full end-to-end control of the Okak adapter equipment is provided during reading and writing, which increases the performance of both the device itself and the control equipment. 997 The invention A device for recording and reproducing information from RAM blocks with error correction, containing an input information selector, the input of which is connected to the first information input of the device, and the output - to the first input of the syndrome generator, the output of which is connected to the input of the parity register, output which is connected to the first input of the parity correction block, an error decoder, the first input of which is connected to the input of the device record markers and the output to the first input of the input correction block and formation; the second input of the parity correction block, the address register, the first information and control inputs of which are connected to the address input of the device, the second information input of the address register connected to the input of device recording markers, and the information output - to the first input of the Hamming control code comparison circuit whose output is connected with the first input of the block, the correction of the control code, Hamming, the second input of the correction block of the input information is connected to the second information input of the device, and the output is to the third information Ion input of the address register, the second control input of which is connected to the output of the parity correction unit, parity generator and parity comparison circuit, characterized in that, in order to increase the speed and reliability of the device, it contains the elements AND, the register of syndromes, syndromes comparison circuits, correction of the pseudo-reference code, the password selector, the buffer register, the selector of the pseudo-reference code, the input of which is connected to the first control input of the device, and the output to the second input of the generator of syndromes, the output of which It is connected to the first input of the syndromes comparison circuit and to the input of the syndromes register, the output of which is connected to the second input of the syndromes comparison scheme, to the second input the error decoder and to the first input of the first element And, the second input of which is connected to the output of the error decoder, and the output is to the second input of the Hamming control code correction block, the output of which is connected to the first control input of the buffer register, the first input of the pseudo-reference code correction block is connected to the output of the error decoder, the second - from the end control input of the device, and the output with the first input of the second element I, the second input of which is connected to the input. The device is read, and the output is to the second input of the control comparison circuit (Hamming code, the third input of which is connected to the output of the parity selector, the first input of which is connected to the output of the parity correction unit, the second input JC of the output of the parity generator, the input connected to the informational the output of the buffer register, the first input of the parity comparison circuit is connected to the output of the parity selector, its second input is connected to the control output of the address register, whose information output is connected to the first information input m of the buffer register, the second ish () is the input of which is connected to the output of the input information correction unit, the second control input of the buffer register is connected to the output of the co-check Hamming code comparison circuit, and the third input is connected to the output of the error decoder. Sources of information taken into account in the examination of 1.3EEU Trcinsaction on sociters. Voe S-25, No. 6, 1976. ITNI certificate of the USSR for the application N 252037.4 / 18-24, cl. G 11 C 7 / OO, 15.O9.77 (prototype). tt . itf. itf r iTr iT
SU772546739A 1977-11-25 1977-11-25 Device for recording and reproducing data from on-line memory units with error correction SU974410A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU772546739A SU974410A1 (en) 1977-11-25 1977-11-25 Device for recording and reproducing data from on-line memory units with error correction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU772546739A SU974410A1 (en) 1977-11-25 1977-11-25 Device for recording and reproducing data from on-line memory units with error correction

Publications (1)

Publication Number Publication Date
SU974410A1 true SU974410A1 (en) 1982-11-15

Family

ID=20734423

Family Applications (1)

Application Number Title Priority Date Filing Date
SU772546739A SU974410A1 (en) 1977-11-25 1977-11-25 Device for recording and reproducing data from on-line memory units with error correction

Country Status (1)

Country Link
SU (1) SU974410A1 (en)

Similar Documents

Publication Publication Date Title
KR920002575B1 (en) Byte write error code method and apparatus
US4716566A (en) Error correcting system
KR19990028535A (en) Method and device for protecting data in disk drive buffer
US4926426A (en) Error correction check during write cycles
JPH0260013B2 (en)
EP0037705A1 (en) Error correcting memory system
US5751745A (en) Memory implemented error detection and correction code with address parity bits
US5761221A (en) Memory implemented error detection and correction code using memory modules
US3144635A (en) Error correcting system for binary erasure channel transmission
SU974410A1 (en) Device for recording and reproducing data from on-line memory units with error correction
JP2806856B2 (en) Diagnostic device for error detection and correction circuit
SU701354A1 (en) Dynamic memory
SU951407A1 (en) Device for checking memory error correcting units
SU752502A1 (en) Device for monitoring rapid-access storage
SU940242A1 (en) Device for testing rapid-access storage units
SU1483494A2 (en) Memory with error detection
SU868844A1 (en) Self-checking storage device
SU842976A1 (en) Device for correcting errors in storage unit
JPH06103469B2 (en) Memory control circuit
SU1029230A2 (en) Device for checking memory error correcting units
SU1065888A1 (en) Buffer storage
SU840912A1 (en) Device for detecting and correcting errors in computer units
SU809403A1 (en) Self-checking storage
SU982099A1 (en) Storage with testing error correcting circuits
SU903989A1 (en) Device for checking and correcting address signals for serial-action storage