DE2655653C2 - Arrangement for determining the correct assignment of address and memory word in a word-organized data memory - Google Patents

Arrangement for determining the correct assignment of address and memory word in a word-organized data memory

Info

Publication number
DE2655653C2
DE2655653C2 DE19762655653 DE2655653A DE2655653C2 DE 2655653 C2 DE2655653 C2 DE 2655653C2 DE 19762655653 DE19762655653 DE 19762655653 DE 2655653 A DE2655653 A DE 2655653A DE 2655653 C2 DE2655653 C2 DE 2655653C2
Authority
DE
Germany
Prior art keywords
address
memory
error
bit
check bits
Prior art date
Legal status (The legal status 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 status listed.)
Expired
Application number
DE19762655653
Other languages
German (de)
Other versions
DE2655653A1 (en
Inventor
Hans Dipl.-Ing. 8000 München Häusele
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Siemens AG
Original Assignee
Siemens AG
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 Siemens AG filed Critical Siemens AG
Priority to DE19762655653 priority Critical patent/DE2655653C2/en
Publication of DE2655653A1 publication Critical patent/DE2655653A1/en
Application granted granted Critical
Publication of DE2655653C2 publication Critical patent/DE2655653C2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
    • G06F11/1012Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices using codes or arrangements adapted for a specific type of error
    • G06F11/1016Error in accessing a memory location, i.e. addressing error

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Detection And Correction Of Errors (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Description

Die Erfindung bezieht sich auf eine Anordnung nach dem Oberbegriff des Patentanspruchs 1.The invention relates to an arrangement according to the preamble of claim 1.

In Verbindung mit sogenannten linear adressierten Speichern dient bekanntlich die Adresse zur Festlegung eines bestimmten Speicherorts. Je nach der Organisation des Speichers kann der adressierte Speicherort eine ganze Speicherzelle zur Aufnahme eines aus einer Vielzahl von Bits bestehenden, im allgemeinen als Speicherwort bezeichneten Information, ein Speicherelement zur Aufnahme eines einzelnen Bits oder ein zwischen diesen Extremwerten liegenden Speicherabschnitt sein. Im folgenden werden wortorganisierte Speicher vorausgesetztIn connection with so-called linearly addressed memories, the address is known to be used for definition a specific location. Depending on the organization of the storage, the addressed storage location can be a whole memory cell for receiving one consisting of a plurality of bits, generally as Memory word denotes information, a memory element for receiving a single bit or a be memory section lying between these extreme values. The following are word-organized Memory required

■> Die Funktion der Adresse zur Festlegung eines Speicherorts hat zur Folge, daß jeder Adresse mindestens vorübergehend eine bestimmte, zur Eingabe in diesen Speicherort vorgesehene oder sich in diesem Speicherort befindliche Information, ein Datum, zugeordnet ist. In der Regel interessiert allein diese Zuordnung. Daran ändert sich im Prinzip nichts, wenn die Zuordnung von Zeit zu Zeit absichtlich, etwa durch Löschen oder Überschreiben des bisherigen Speicherinhalts, verändert oder die ursprünglich vorgegebene Adresse modifiziert wird (z. B. Bildung realer Speicheradressen). Bei einer Verfälschung der Adresse durch Fehler in den Adreßwegen einschließlich des Adressendecoders geht die Zuordnung verloren.■> The function of the address to define a Storage location has the consequence that each address at least temporarily has a specific one for input Information provided in this storage location or located in this storage location, a date, is assigned is. Usually only this assignment is of interest. In principle, nothing changes about that if the assignment from time to time intentionally, for example by deleting or overwriting the previous memory contents, changed or the originally specified address is modified (e.g. creation of real memory addresses). If the address is corrupted due to errors in the address paths including the address decoder the assignment is lost.

Es ist bereits bekannt, Speicherinhalte gegen eine Verfälschung (z. B. durch fehlerhafte Speicherelemente oder Datenwege im Speicher) zu sichern, indem sowohl von den einzugebenden als auch von den gelesenen Daten nach bestimmten gleichbleibenden Vorschriften Prüfbits abgeleitet und die beim Schreiben gebildeten und ebenfalls gespeicherten Prüfbits mit den beim Lesen gebildeten Prüfbits verglichen werden. Werden beim Vergleich einander entsprechender Prüfbits Unterschiede festgestellt, dann deutet das auf Datenfehler hin. Gebräuchlich ist zu diesem Zweck eine auf Hamming (The Bell System Technical Journal, Vol. 26, April 1950, Seiten 147 bis 160) zurückgehende Klasse von Korrekturcodes, mit deren Hilfe es möglich ist, innerhalb einer parallel und gleichzeitig behandelte Datenmenge (die im weiteren als Speicherwort bezeichnet wird und beispielsweise 64 Datenbits und 8 Korrekturbits umfaßt) entstandene Einfachfehlcr zu korrigieren und Doppelfehler zu erkennen. Derartige Codes werden als SEC-DED-Codes (Single Error Correcting-Double Error Detecting) bezeichnet. Ab-Wandlungen der Hamming-Codes, die einen geringeren Aufwand zu ihrer Handhabung benötigen sind durch die Literaturstelle »IBM Journal of Research and Development«, JuHl 970, Seiten 395 - 400 bekannt.
Häufig werden auch die Speicheradressen selbst durch ein Paritätsbit, das am Anfang des Adreßweges gebildet, mitübertragen und mit einem am Ende des Adreßweges in gleicher Weise erzeugten Paritätsbit verglichen wird, gegen Fehler gesichert.
It is already known to protect memory contents against corruption (e.g. by faulty memory elements or data paths in the memory) by deriving check bits from both the data to be entered and from the read data according to certain constant rules and the ones formed during writing and also stored Check bits are compared with the check bits formed during reading. If differences are found when comparing corresponding check bits, this indicates data errors. For this purpose, a class of correction codes going back to Hamming (The Bell System Technical Journal, Vol. 26, April 1950, pages 147 to 160) is used, with the help of which it is possible within a data set treated in parallel and simultaneously (which is referred to below is referred to as a memory word and comprises, for example, 64 data bits and 8 correction bits) to correct single errors and to recognize double errors. Such codes are known as SEC-DED codes (Single Error Correcting-Double Error Detecting). Modifications of the Hamming codes which require less effort to handle them are known from the reference "IBM Journal of Research and Development", JuHl 970, pages 395-400.
Frequently, the memory addresses themselves are also protected against errors by a parity bit which is formed at the beginning of the address path, which is also transmitted and which is compared with a parity bit generated in the same way at the end of the address path.

Abgesehen von der grundsätzlich begrenzten Leistungsfähigkeit solcher Fehlersicherungsverfahren im allgemeinen ergibt sich bei dieser Fehlersicherung von Adressen noch der schwerwiegende Nachteil, daß die Adressendecodierung nicht mehr davon umfaßt wird. Nicht erkannte Verfälschungen der Adresse stören die richtige Zuordnung von Adresse und Speicherwort. Fehler, die auf den Adressenwegen und im Decoder entstehen können, lassen sich in einige charakteristische Gruppen einteilen. Die nachstehende Tabelle stellt für verschiedene Fehlertypen die Ursachen und deren unmittelbare Wirkungen gegenüber.Apart from the fundamentally limited performance of such error protection procedures in In general, this error protection of addresses has the serious disadvantage that the Address decoding is no longer included. Unrecognized falsifications of the address are annoying correct assignment of address and memory word. Errors on the address paths and in the decoder can be divided into some characteristic groups. The table below represents for different types of errors compared to the causes and their immediate effects.

TypType

Ursacheroot cause

ErgebnisResult

A Unterbrechung oder Kurzschluß einer Adreß-A Interruption or short circuit of an address

leitung; bestimmte Fehler im Decoderteilmanagement; certain errors in the decoder part

B Unterbrechung oder Kurzschluß im Decoder-B Interruption or short circuit in the decoder

Eingang oder AusgangEntrance or exit

Auswahl des falschen
Speicherworts
Choosing the wrong one
Memory word

Auswahl von 2 Speicherworten gleichzeitigSelection of 2 memory words at the same time

Fortsetzungcontinuation Ursacheroot cause ErgebnisResult TypType Unterbrechung oder Kurzschluß im Decoder-
Eingang oder Ausgang
Interruption or short circuit in the decoder
Entrance or exit
Kein Speicherwoit wird
ausgewählt
No memory woit will
selected
CC. Adreßfehler auf einer SpeicherbaugruppeAddress error on a memory module Verfälschung eines Teils
des Speicherworts
Falsification of a part
of the memory word
DD. Adreßfehler in einem (bitorgaaisierten)
Speicherbaustein
Address error in a (bit-gated)
Memory chip
Verfälschung eines ein
zigen Speicherbits
Falsification of a one
umpteen memory bits
EE.

Die einzelnen Fehlertypen haben verschiedene Folgen.The individual types of errors have different consequences.

Typ A: Die Daten sind falsch. Da aber die Prüfbits dazu passen, merkt die Fehlerkorrektureinrichtung nichts davon. Entweder entsteht eine Programmstörrung, oder es wird rüt falschen Daten weitergearbeitet. Letzteres ist besonders gefährlich, da keine der sonst im Rechner vothandenen Schutzeinrichtungen einen solchen Fehler erkennen kann.Type A: The data is incorrect. However, since the check bits match, the error correction device notices none of it. Either there is a program glitch or it is wrong Data continued. The latter is particularly dangerous as none of the others are in the computer existing protective devices can detect such a fault.

Typ B: Viele Bits des Speicherworts sind fehlerhaft, die Daten und die Prüfbits passen nicht zueinander. Die Fehlerkorrektur, die höchstens Doppelfehler noch sicher erkennen kann, ist überfordert. Sie reagiert aber in etwa 45% aller Fälle richtig und meldet dann einen nicht korrigierbaren Speicherfehler. In den restlichen Fällen reagiert sie falsch, sie erkennt auf korrigierbare Einzelfehler. Wenn die verfälschten Daten Programmbefehle sind, wird zumeist eine Programmstörung angezeigt. Sind jedoch zu verarbeitende Daten gefälscht, wird zunächst mit diesen falschen Daten weitergearbeitet. Da sich aber im allgemeinen ein Adreßfehler über viele Speicherwörter erstreckt, ist die Wahrscheinlichkeit für die schließliche Erkennung eines Fehlers hoch, weil bei jedem neuen Zugriff in den gestörten Bereich die Fehlerkorrektur mit einer Wahrscheinlichkeit von 45% einen nicht korrigierbaren Fehler meldet.Type B: Many bits of the memory word are incorrect, the data and the check bits do not match to each other. The error correction, which at most can reliably detect double errors, is overwhelmed. However, it reacts correctly in around 45% of all cases and then does not report you correctable memory error. In the remaining cases it reacts wrongly, it recognizes correctable individual errors. If the corrupted data are program instructions, will mostly a program fault is displayed. However, if the data to be processed is falsified, will initially continue to work with this incorrect data. But in general an address error spanning many memory words is the probability for the Eventual detection of a high error, because with each new access in the disturbed The error correction area has a 45% probability of being uncorrectable Reports error.

Typ C: Bei geeigneter Auslegung der Fehlerkorrektur, z. B. durch Invertierung eines jeden zweiten Prüfbits vor der Einspeicherung, reagiert die Fehlerkorrektur richtig; sie meldet einen nicht korrigierbaren Speicherfehler.Type C: With a suitable design of the error correction, e.g. B. by inverting each one second check bits before storage, the error correction reacts correctly; she reports an uncorrectable memory error.

Typ D: Die Fehlerkorrektur und die Zentraleinheit der Datenverarbeitungsanlage reagieren wie bei Typ B.Type D: The error correction and the central unit of the data processing system react like for type B.

Typ E: Da nur ein Bit des Speicherworts vorfälscht wird, kann die Fehlerkorrektur dies erkennen und das gefälschte Bit korrigieren.Type E: Since only one bit of the memory word is forged, the error correction can detect this and correct the fake bit.

Der Fehlertyp A ist der am schwersten erkennbare Adreßfehler. Aufgrund der Zahl der Bauelemente, die ihn hervorrufen können, ist die Wahrscheinlichkeit für sein Auftreten, zusammen mit dem Fehlertyp D, am größten. Durch die DE-AS 12 50163 ist bereits eine Einrichtung zur Erkennung bzw. Korrektur von fehlerhaften Speicherwörtern bekannt, die darüber hinaus noch falsche Zuordnungen von Adressen u.id Speicherwörtern erkennen läßt. Hierzu wird beim Schreiben in den Speicher und beim Lesen aus dem Speicher die Adresse und das Srjeicherwort zu einer übergeordneten Information zusammengefaßt, die insgesamt den Maßnahmen zur Fehlersicherung unterworfen wird. Bei einem erkannten Adressierfehler erfolgt eine Wiederadressierung des Speichers.Error type A is the most difficult to identify address error. Due to the number of components that can cause it, the probability of its occurrence, together with the error type D, is am biggest. DE-AS 12 50163 already provides a device for the detection or correction of Incorrect memory words known, which also have incorrect assignments of addresses and ID Can recognize memory words. This is done when writing to the memory and when reading from the Save the address and the password to one Superordinate information summarized, which are subject to the measures for error protection will. If an addressing error is detected, the memory is readdressed.

Eine im Hinblick auf die Feststellung der richtigen Zuordnung von Adresse und Speicherwort identische Einrichtung ist der FR-PS 22 82 676 zu entnehmen.An identical one in terms of determining the correct assignment of address and memory word Device can be found in FR-PS 22 82 676.

Die bekannte Einrichtung erfordert vor allem bei längeren Datenwörtern und umfangreichen Adressen, die bei großen Datenspeichern benötigt werden, einen sehr erheblichen Schaltungsaufwand für die zweimaligeThe known device requires a very considerable amount of circuitry for the duplicate, especially in the case of longer data words and extensive addresses which are required in large data memories

Ableitung des Prüfbits. Der Erfindung liegt daher die Aufgabe zugrunde, eine Einrichtung zur Feststellung der richtigen Zuordnung von Adresse und Speicherwort anzugeben, die einen wesentlich geringeren Schaltungsaufwand als die bekannte Einrichtung erfordert. Diese Aufgabe wird durch die Merkmale im kennzeichnenden Teil des Patentanspruchs 1 gelöst. Die Erfindung weist zudem den Vorteil auf, daß in vielen Fällen, abhängig von dem benutzten Sicherungscode und abhängig von dem Format der Adressen und Speicherwörter, die Zahl der für die Fehler-Korrektur und -Erkennung benötigten Prüfbits reduziert werden kann, was zu weiteren Einsparungen führt.Derivation of the check bit. The invention is therefore based on the object of providing a device for determining the specify correct assignment of address and memory word, which requires a significantly lower circuit complexity than the known device. These The object is achieved by the features in the characterizing part of claim 1. The invention has also has the advantage that in many cases, depending on the security code used and depending on the format of the addresses and memory words, the number of those required for error correction and detection Check bits can be reduced, which leads to further savings.

Im folgenden wird die Erfindung anhand eines in der Zeichnung dargestellten Ausführungsbeispieis näher erläutert.In the following, the invention will be described in greater detail using an exemplary embodiment shown in the drawing explained.

Die Zeichnung zeigt einen Datenweg, auf dem das zur Eingabe in den Speicher 2 vorgesehene Speicherwort 3 übertragen wird, analog dazu ist ein Adreßweg zur Übertragung der Adresse 5 vorgesehen. Das Speicherwort 3 wird einem Prüfbitgenerator 17 (CB-Generator) zugeführt. Hier werden aus dem Speicherwort Prüfbits abgeleitet, deren Anzahl sich nach der Breite des Speicherworts richtet. Die einzelnen Prüfbits werden durch modulo-2-Addition bestimmter Datenbits erzeugt, wobei sich die Regeln, nach denen die einzelnen Datenbits berücksichtigt werden, sich von Prüfbit zu Prüfbit unterscheiden. Es ist zu erwähnen, daß die von Hamming angegebene Klasse von Korrektur-Codes eine Vielzahl von Möglichkeiten umfaßt, die hinsichtlich ihrer Leistung zur Fehler-Korrektur bzw. -Erkennung gleichwertig sind. Spezielle Korrekturcodes, die einen einfachen Aufbau der zu ihrer Bildung und Auswertung benötigten Schaltungsanordnungen zulassen, sind z. B. durch die schon genannte Literaturstelle »IBM Journal of Research and Development«, Vol. 14, Juli 1970, Seiten 395 bis 400 und durch die DE-OS 23 44 019 bekannt geworden.The drawing shows a data path on which the memory word 3 provided for input into the memory 2 is transmitted, analogous to this, an address path for transmitting the address 5 is provided. The memory word 3 is fed to a check bit generator 17 (CB generator). Here the memory word becomes check bits derived, the number of which depends on the width of the memory word. The individual check bits are generated by modulo-2 addition of certain data bits, whereby the rules according to which the individual Data bits are taken into account, differ from check bit to check bit. It should be mentioned that those of Hamming specified class of correction codes encompasses a multitude of possibilities regarding are equivalent to their performance in correcting or detecting errors. Special correction codes that make a allow simple construction of the circuit arrangements required for their formation and evaluation, are z. B. by the already mentioned reference "IBM Journal of Research and Development", Vol. 14, July 1970, pages 395 to 400 and become known from DE-OS 23 44 019.

Der Prüfbit-Generator 17 kann technisch auf verschiedene Weise ausgeführt sein. Beispielsweise können hierzu EXKLUSIV-ODER-Glieder oder Verknüpfungsglieder von der durch die DE-PS 19 29 144 bekannten Art verwendet werden.The check bit generator 17 can technically be implemented in various ways. For example can do this using EXCLUSIVE-OR elements or logic elements of the type known from DE-PS 19 29 144 are used.

Von den im Prüfbit-Generator 17 erzeugten PriifbitsFrom the check bits generated in the check bit generator 17

CO bis Cl werden bei einem Schreibvorgang zusammen mit dem Speicherwort 3 nur die Prüfbits C2 — C7 unmittelbar in den Speicher 2 übernommen. Selbstverständlich ist hierbei die Mitwirkung der Adresse erforderlich. Um anzudeuten, daß die Adresse selbst nicht in den Speicher 2 eingeschrieben wird, ist die entsprechende Wirkverbindung 5' in der Zeichnung mit gestrichelten Linien dargestellt.CO to C1 , only the check bits C2-C7 are directly transferred to the memory 2 together with the memory word 3 during a write operation. It goes without saying that the address must also be involved in this process. In order to indicate that the address itself is not written into the memory 2, the corresponding operative connection 5 'is shown in the drawing with dashed lines.

Die Prüfbits CO und C t werden den einen Eingängen von zwei EXCLUSIV-ODER-Gliedern 19 und 20 zugeführt. An den anderen Eingängen der EXCLUSIV-ODER-Glieder 19 und 20 liegt ein Adreß-Paritätsbil 18, das im Paritätsbit-Generator 16 aus der Adresse 5 abgeleitet wird. Es wurde schon darauf hingewiesen, daß den Adressen zur Feststellung möglicher Verfälschungen auf dem Adreßweg häufig ein Paritätsbit beigefügt wird.The check bits CO and C t become one of the inputs of two EXCLUSIVE-OR gates 19 and 20 fed. At the other inputs of the EXCLUSIVE-OR gates 19 and 20 there is an address parity block 18, which is derived from the address 5 in the parity bit generator 16. It has already been pointed out that A parity bit is often added to the addresses to determine possible corruptions on the address path will.

Der in der Zeichnung dargestellte Paritätsbit-Generator 16 befindet sich im allgemeinen am Anfang des Adreßweges. Ein zweiter Paritätsbit-Generator am Ende des Adreßweges und die zugehörige Vergleichsund Auswerteeinrichtung sind (ebenso wie der Adreßdecoder) in der Zeichnung nicht dargestellt, weil sie für den vorliegenden Fall nicht weiter von Interesse sind. Beim Lesen des Speichers 2 wird das Speicherwort 3 zusammen mit den Prüfbits CO*, Cl und C2 ausgegeben. Gleichzeitig werden in einem zweiten Prüfbit-Generator 21 aus dem gelesenen Speicherwort erneut Prüfbits CO' bis CT abgeleitet, die mit den Prüfbits CO bis Cl identisch sind, wenn das Speicherwort 3 nicht gefälscht wurde. Von dem bitweisen Vergleich der aus dem Speicher 2 gelesenen Prüfbits CO*, Cl* und C2 bis Cl mit den neuerdings auf dem gelesenen Speicherwort 3 abgeleiteten Prüfbits CO' bis CT in einem Vergleicher 8 wird analog zu dem Vorgehen beim Einschreiben das Adreß-Paritätsbit 18 zu den Prüfbits CO' und CY modulo — 1 addiert. Hierzu dienen die EXCLUSIV-ODER-Glieder 22 und 23.The parity bit generator 16 shown in the drawing is generally located at the beginning of the address path. A second parity bit generator at the end of the address path and the associated comparison and evaluation device (as well as the address decoder) are not shown in the drawing because they are of no further interest for the present case. When the memory 2 is read, the memory word 3 is output together with the check bits CO *, Cl and C2. At the same time, in a second check bit generator 21, check bits CO 'to CT are again derived from the read memory word, which are identical to check bits CO to Cl if memory word 3 was not forged. From the bit-by-bit comparison of the check bits CO *, Cl * and C2 to Cl read from the memory 2 with the check bits CO 'to CT recently derived from the read memory word 3 in a comparator 8, the address parity bit 18 becomes analogous to the procedure for writing added modulo - 1 to the check bits CO 'and CY. The EXCLUSIVE-OR gates 22 and 23 are used for this purpose.

Das Ergebnis des bitweisen Vergleichs der Prüfbits im Vergleicher 8 bildet ein als Syndrom bezeichnetes Fehlerkennzeichen mit den Syndrombits 50 bis 57, das Rückanschlüsse über das ,Auftreten eines Fehlers des Speicherworts 3 oder des Adreß-Paritätsbits 18 oder über den Ort des Fehlers zuläßt, sofern es sich um einen Einfachfehier handelt. Ein Fehler ist nicht aufgetreten, wenn das Syndrom den binären Wert Null hat, d. h. wenn alle Syndrombits 50 bis 57 gleich Null sind. Hat dagegen mindestens eines der Syndrombits den Wert 1, dann bedeutet das, daß ein Fehler aufgetreten ist.The result of the bit-by-bit comparison of the check bits in the comparator 8 forms what is known as a syndrome Error code with the syndrome bits 50 to 57, the back connections about the occurrence of an error of the Memory word 3 or the address parity bit 18 or the location of the error, if it is a Simply act wrong here. An error has not occurred if the syndrome has a binary value of zero, i.e. H. when all syndrome bits 50 to 57 are zero. If, on the other hand, at least one of the syndrome bits has the value 1, then it means that an error has occurred.

Die Syndrombits 50 bis 57 werden einem Fehlerortdecoder 9 zugeführt, der den Informationsgehalt des Syndroms auswertet. Über die Leitungen 10 bzw. 11 gibt der Fehlerortdecoder 9 Alarmsignale ab, wenn Einfachoder Doppelfehler erkannt wurden. Wird ein Einfachfehler festgestellt, dann gibt der Fehlerortdecoder gleichzeitig über eine der Leitungen des Leitungsbündels 12 ein Signal an die Korrekturschaltung 13 ab. Jede dieser Leitungen ist einem Bit des Speicherwortes 3 zugeordnet. Die Korrekturschaltung 13 besteht beispielsweise aus EXCLUSIV-ODER-Gliedern, an deren Eingängen jeweils ein Bit des Speicherworts und ein von dem Fehlerortdecoder 9 geliefertes Steuersignal anliegen. Wenn eines der vom Fehlerortdecoder 9 abgegebenen Steuersignale den binären Wert 1 besitzt und damit das zugeordnete Bit im Speicherwert als gefälscht kennzeichnet, wird dieses Bit umgepolt. Es wäre jedoch nicht zweckmäßig, ein gefälschtes Bit im Bereich der Adresse des gespeicherten Datenblocks zu korrigieren, da in den meisten Fällen nicht erkannt werden kann, ob ein Adreßfehler während des Schreibens oder während des Lesens aufgetreten ist. Beim Auftreten eines Einfachfehlers im Bereich der Adresse wird daher ebenfalls ein Fehlersignal ausgelöst. Die Ausgabe dieses Fehlersignals kann über die Leitung 11 zur Anzeige von Doppelfehlern oder über eine weitere Leitung 14 geschehen.Syndrome bits 50 through 57 become a fault location decoder 9, which evaluates the information content of the syndrome. About the lines 10 and 11 there the fault location decoder emits 9 alarm signals when single or double faults are detected. Becomes a simple mistake detected, then the fault location decoder outputs simultaneously over one of the lines of the line bundle 12 from a signal to the correction circuit 13. Each of these lines is a bit of memory word 3 assigned. The correction circuit 13 consists, for example, of EXCLUSIVE-OR gates, on whose Inputs each have a bit of the memory word and a control signal supplied by the error location decoder 9. If one of the control signals emitted by the fault location decoder 9 has the binary value 1 and so that the assigned bit in the memory value is identified as falsified, the polarity of this bit is reversed. It however, it would not be advisable to add a forged bit in the area of the address of the stored data block correct, since in most cases it cannot be recognized whether an address error occurred during the Writing or while reading. If a single error occurs in the area of the Address, an error signal is therefore also triggered. This error signal can be output via the line 11 to display double errors or via a further line 14.

Die Modifikation der Prüfbits durch das Adreß-Paritätsbit ist nicht auf zwei Prüfbits beschränkt. Allgemein muß immer eine gerade Anzahl von Prüfbits durch das Adreß-Paritätsbit beeinflußt werden. Im vorliegenden Fall können daher auch alle Prüfbits CO bis C7 bzw. CO' bis CT durch das Adreß-Paritätsbit 18 modifiziert werden.The modification of the check bits by the address parity bit is not limited to two check bits. In general, an even number of check bits must always be influenced by the address parity bit. In the present case, all check bits CO to C7 or CO 'to CT can therefore also be modified by the address parity bit 18.

Bei einem weiteren Ausführungsbeispiel einer Einrichtung zur Erkennung der richtigen Zuordnung von Adresse und Speicherwort erfolgt die zweite EXCLUSIV-ODER-Verknüpfung des Adreß-Paritätsbits mit den Prüfbits CO und C1 (bzw. mit einer geraden Anzahl von Prüfbits) unmittelbar am Ausgang des Speichers 2. Die EXCLUSIV-ODER-Verknüpfung am Ausgang des zweiten Prüfbit-Generators entfällt dann. Durch die zweimalige Modifikation der Prüfbits CO und Cl erhalten diese wieder ihren ursprünglichen Wert, wenn kein Fehler aufgetreten ist. Sie sind dann auch identisch mit dem vom zweiten Prüfbit-Generator 21 ausgegebenen Prüfbits CO' und CY. In a further exemplary embodiment of a device for recognizing the correct assignment of address and memory word, the second EXCLUSIVE-OR operation of the address parity bit with check bits CO and C1 (or with an even number of check bits) takes place directly at the output of memory 2. The EXCLUSIVE-OR link at the output of the second check bit generator is then omitted. By modifying the check bits CO and Cl twice, they are given their original value again if no error has occurred. They are then also identical to the check bits CO 'and CY output by the second check bit generator 21.

Hierzu 1 Blatt Zeichnungen1 sheet of drawings

Claims (3)

Patentanspruch:Claim: 1. Anordnung zur Feststellung der richtigen Zuordnung von Adresse und Speicherwort in einem wortorganisierten Datenspeicher mit wahlfreiem Zugriff, mit einer an einen Fehlerkorrekturcode zur Korrektur aller Einfachfehler und zur Erkennung mindestens aller Doppelfehler angepaßten Fehlerkorrektureinrichtung, durch die gemeinsame Berücksichtigung des Speicherworts und der Adresse bei der Ableitung von Prüfbits entsprechend den Regeln des zur Datensicherung verwendeten Korrekturcodes mit einem ersten und zweiten Prüfbit-Generator zur Bildung von Prüfbits nach einem SEC-DED-Korrekturverfahren, mit einer Einrichtung zur Bildung eines binär codierten Fehlerkennzeichens (Syndrom) durch bitweisen Vergleich der durch den ersten und zweiten Prüfbit-Geyerator gebildeten Prüfbits, mit einem Fehlerortdecoder zur Erzeugung von Fehlersignalen und von Korrektursignalen, die einer Korrektureinrichtung zur Korrektur einzelner gefälschter Bits des aus dem Speicher gelesenen Speicherworts zugeführt werden, dadurch gekennzeichnet, daß ein Paritätsbit-Generator (16) zur Ableitung eines Adreß-Paritätsbits (18) aus der Adresse vorgesehen ist, sowie eine erste Gruppe mit einer geraden Zahl von EXKLUSIV-ODER-Gliedern (19, 20) zur Verknüpfung des Adreß-Paritätsbits mit einer geraden Anzahl der von dem ersten Prüfbit-Generator (17) gelieferten Prüfbits und eine zweite Gruppe mit einer gleichen Anzahl von EXCLUSIV-ODER-Gliedern (22, 23) zur Verknüpfung des Adreß-Paritätsbits mit der gleichen Zahl von auf der Speicherausgangsseite zur Verfügung stehenden Prüfbits, und ein gegebenenfalls festgestellter, das Adreß-Paritätsbit betreffender Fehler ein Fehlersignal auslöst, jedoch nicht korrigiert wird.1. Arrangement for determining the correct assignment of address and memory word in one word-organized data storage device with random access, with one to an error correction code for Correction of all single errors and error correction device adapted to detect at least all double errors, due to the joint consideration of the memory word and the address when deriving check bits according to the Rules of the correction code used for data backup with a first and second check bit generator for the formation of check bits according to a SEC-DED correction process, with one device for the formation of a binary coded error code (syndrome) by bit-by-bit comparison of the Check bits formed by the first and second check bit Geyerator, with an error location decoder for Generation of error signals and of correction signals, which a correction device for correction individual forged bits of the memory word read from the memory are supplied, characterized in that a parity bit generator (16) is provided for deriving an address parity bit (18) from the address is, as well as a first group with an even number of EXCLUSIVE-OR gates (19, 20) for Combination of the address parity bit with an even number of the first check bit generator (17) supplied check bits and a second group with an equal number of EXCLUSIVE-OR gates (22, 23) to link the address parity bit with the same number from on the Memory output side available check bits, and a possibly determined, the Address parity bit related error triggers an error signal, but is not corrected. 2. Anordnung nach Anspruch 1, dadurch gekennzeichnet, daß an den einen Eingängen der EXCLU-SIV-ODER-Glieder (22,23) der zweiten Gruppe die von dem zweiten Prüfbit-Generator (21) gelieferten entsprechenden Prüfbits anliegen.2. Arrangement according to claim 1, characterized in that at one of the inputs of the EXCLU-SIV-OR gates (22,23) of the second group are those supplied by the second check bit generator (21) corresponding check bits are present. 3. Anordnung nach Anspruch 1, dadurch gekennzeichnet, daß an den einen Eingängen der EXCLU-SIV-ODER-Glieder (22,23) der zweiten Gruppe die aus dem Speicher gelesenen entsprechenden Prüfbitsanliegen. 3. Arrangement according to claim 1, characterized in that at one of the inputs of the EXCLU-SIV-OR gates (22,23) of the second group the corresponding check bits read from the memory.
DE19762655653 1976-12-08 1976-12-08 Arrangement for determining the correct assignment of address and memory word in a word-organized data memory Expired DE2655653C2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE19762655653 DE2655653C2 (en) 1976-12-08 1976-12-08 Arrangement for determining the correct assignment of address and memory word in a word-organized data memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE19762655653 DE2655653C2 (en) 1976-12-08 1976-12-08 Arrangement for determining the correct assignment of address and memory word in a word-organized data memory

Publications (2)

Publication Number Publication Date
DE2655653A1 DE2655653A1 (en) 1978-06-22
DE2655653C2 true DE2655653C2 (en) 1982-12-16

Family

ID=5995006

Family Applications (1)

Application Number Title Priority Date Filing Date
DE19762655653 Expired DE2655653C2 (en) 1976-12-08 1976-12-08 Arrangement for determining the correct assignment of address and memory word in a word-organized data memory

Country Status (1)

Country Link
DE (1) DE2655653C2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0127118B1 (en) * 1983-05-31 1988-05-11 Siemens Aktiengesellschaft Memory control device, in particular for fault tolerant telephone exchange systems
DE102017114054B4 (en) 2016-11-29 2022-08-18 Taiwan Semiconductor Manufacturing Co. Ltd. Memory address protection circuit and method

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3012159C2 (en) * 1980-03-26 1982-09-02 Licentia Patent-Verwaltungs-Gmbh, 6000 Frankfurt Arrangement for secure data output
IL67664A (en) * 1982-01-19 1987-01-30 Tandem Computers Inc Computer memory system with data,address and operation error detection
WO1996042053A1 (en) * 1995-06-09 1996-12-27 Hal Computer Systems, Inc. Method and apparatus for detecting memory addressing errors
DE59701778D1 (en) * 1996-08-30 2000-06-29 Siemens Ag ERROR DETECTION IN A STORAGE SYSTEM
JPH10105426A (en) * 1996-09-25 1998-04-24 Nec Ic Microcomput Syst Ltd Semiconductor integrated circuit
WO2003043022A2 (en) * 2001-11-12 2003-05-22 Siemens Aktiengesellschaft Memory unit test
DE102019113970B4 (en) * 2019-05-24 2022-11-24 Infineon Technologies Ag DETECTION OF ADDRESSING ERRORS

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE1250163B (en) * 1961-11-22 1967-09-14 Western Electric Company, Incorporated, New York, NY (V St A) Device for the parity check of memory words
US3920976A (en) * 1974-08-19 1975-11-18 Sperry Rand Corp Information storage security system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0127118B1 (en) * 1983-05-31 1988-05-11 Siemens Aktiengesellschaft Memory control device, in particular for fault tolerant telephone exchange systems
DE102017114054B4 (en) 2016-11-29 2022-08-18 Taiwan Semiconductor Manufacturing Co. Ltd. Memory address protection circuit and method

Also Published As

Publication number Publication date
DE2655653A1 (en) 1978-06-22

Similar Documents

Publication Publication Date Title
DE2260850C2 (en) Circuit arrangement for the detection of single and multiple errors and for the correction of single and certain multiple errors
DE2942998C2 (en) Error correction and detection arrangement
DE60006031T2 (en) Memory error correction with a redundant cut memory and standard ECC mechanism
DE3111447C2 (en)
EP0922254B1 (en) Error recognition in a storage system
DE2430464A1 (en) DEVICE FOR ERROR-PROOF DATA TRANSMISSION
DE2421112A1 (en) MEMORY ARRANGEMENT
DE69814465T2 (en) METHOD AND DEVICE FOR STORING DATA ON MAGNETIC MEDIA CONTAINING ERROR CORRECTION CODES
DE2157829C2 (en) Arrangement for recognizing and correcting errors in binary data patterns
DE2655653C2 (en) Arrangement for determining the correct assignment of address and memory word in a word-organized data memory
DE60215687T2 (en) ERROR CORRECTION OF MULTIBIT MODULES WITH UNRESTRICTED DETECTION OF DOUBLE ERRORS
DE1250163B (en) Device for the parity check of memory words
DE69924012T2 (en) PROCESS AND DEVICE FOR MEMORY DATA ERROR DETECTION AND MEMORY MODULE ERROR DETECTION
EP1222545B1 (en) Method and circuit configuration for storing data words in a ram module
EP0127118B1 (en) Memory control device, in particular for fault tolerant telephone exchange systems
EP0922253B1 (en) Error recognition in a storage system
DE2908373C2 (en)
DE102005016051B4 (en) Memory checking device and method for checking a memory
DE3716594C2 (en) Circuit arrangement for telecommunications systems, in particular telephone switching systems, with memory devices in which stored portions of information are checked for correctness
EP0922251B1 (en) Storage system
DE3433679C2 (en)
EP0491073B1 (en) Method and apparatus for protection of data in memory units
DE2742881C2 (en)
EP0922252B1 (en) Error recognition in a storage system
DE2532915C2 (en) Circuit arrangement for error protection of byte-structured data characters to be transmitted between a data transmitter and a data receiver

Legal Events

Date Code Title Description
OAP Request for examination filed
OD Request for examination
D2 Grant after examination
8339 Ceased/non-payment of the annual fee