DE3938153C2 - - Google Patents
Info
- Publication number
- DE3938153C2 DE3938153C2 DE19893938153 DE3938153A DE3938153C2 DE 3938153 C2 DE3938153 C2 DE 3938153C2 DE 19893938153 DE19893938153 DE 19893938153 DE 3938153 A DE3938153 A DE 3938153A DE 3938153 C2 DE3938153 C2 DE 3938153C2
- Authority
- DE
- Germany
- Prior art keywords
- test data
- memory
- circuit arrangement
- arrangement according
- cpu
- 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 - Lifetime
Links
- 238000012360 testing method Methods 0.000 claims description 54
- 230000015654 memory Effects 0.000 claims description 45
- 230000006870 function Effects 0.000 claims description 7
- 239000000872 buffer Substances 0.000 claims 1
- 238000012937 correction Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 101150087426 Gnal gene Proteins 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005755 formation reaction Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1008—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1076—Parity data used in redundant arrays of independent storages, e.g. in RAID systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/2236—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors
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)
- Test And Diagnosis Of Digital Computers (AREA)
- For Increasing The Reliability Of Semiconductor Memories (AREA)
Description
Die Erfindung betrifft eine Schaltungsanordnung zur Prüfung von Speicherbereichen in einem Mikroprozessor, insbesondere eine Fehlerbitprüfung für einen Speicher, der einen Bereich aufweist, in dem ein ECC-Code (Fehlerprüf- und -korrekturcode) zur Korrektur eines Datenfehlers gespeichert ist.The invention relates to a circuit arrangement for testing of memory areas in a microprocessor, in particular an error bit check for a memory that has an area in which an ECC code (error checking and correction code) stored to correct a data error.
Fig. 1 zeigt schematisch den Aufbau eines konventionellen Speichers mit Fehlerbitprüffunktion, wie er z. B. in der JP-OS 62-1 20 699 beschrieben ist. Ein zwischen einem Daten eingabeteil 1 und einem Datenausgabeteil 2 liegender Spei cherteil umfaßt einen Informationsspeicherbereich 3a und einen ECC-Codespeicherbereich 3b, in dem der ECC-Code für die bisher eingeschriebene Information gespeichert ist. Wenn Information eingeschrieben wird, wird sie im Informa tionsspeicherbereich 3a gespeichert, und außerdem wird ein ECC-Code von einem Codierer 4 auf der Basis der einge schriebenen Information verarbeitet, wobei dieser ECC-Code dann im ECC-Codespeicherbereich 3b gespeichert wird. Wenn Information ausgelesen wird, stellt ein Decodierer 5 fest, ob in der Information ein Fehler vorliegt, und zwar auf der Basis dieser Information und des ECC-Codes, die jeweils aus dem Informationsspeicherbereich 3a und dem ECC-Codespei cherbereich 3b ausgelesen werden, und der Decodierer 5 erzeugt im Fall eines Fehlers einen Korrekturcode. Ein Feh lerkorrekturglied 6 kehrt ein fehlerhaftes Bit dieser In formation entsprechend dem Korrekturcode um, wenn in der Information ein Fehler vorliegt, und gibt die so umgekehrte Information aus. Schalter S 1-S 7 sind jeweils zwischen den oben genannten Einheiten angeordnet, so daß die folgenden Einzelbetriebsarten beim Betätigen dieser Schalter erhalten werden: Fig. 1 shows schematically the structure of a conventional memory with error bit check function, as z. B. is described in JP-OS 62-1 20 699. A between a data input part 1 and a data output part 2 storage part comprises an information storage area 3 a and an ECC code storage area 3 b, in which the ECC code for the information previously written is stored. When information is written, it is stored in the information storage area 3 a, and also an ECC code is processed by an encoder 4 on the basis of the information registered, this ECC code then being stored in the ECC code storage area 3 b. When information is read out, a decoder 5 determines whether there is an error in the information, on the basis of this information and the ECC code, which are respectively read out from the information storage area 3 a and the ECC code storage area 3 b, and the decoder 5 generates a correction code in the event of an error. An error correction element 6 reverses an incorrect bit of this information in accordance with the correction code if there is an error in the information and outputs the information so reversed. Switches S 1- S 7 are each arranged between the above-mentioned units, so that the following individual operating modes are obtained when these switches are actuated:
-
1) Im Normalbetriebsfall, in dem
S 1 = EIN, S 2 = EIN, S 3 = 1, S 4 = EIN, S 5 = EIN, S 6 = EIN und S 7 = 1,
arbeitet das Fehlerkorrekturglied normal, so daß die korri gierte Information ausgegeben wird.1) In normal operation, in which
S 1 = ON, S 2 = ON, S 3 = 1, S 4 = ON, S 5 = ON, S 6 = ON and S 7 = 1,
the error correction member operates normally so that the corrected information is output. -
2) Wenn nur der Informationsspeicherbereich verwendet
wird, wobei
S 1 = AUS, S 2 = EIN, S 3 = 1, S 4 = AUS, S 5 = AUS, S 6 = AUS und S 7 = 1,
kann, da keine Fehlerkorrektur durchgeführt wird, eine Bit prüfung (Hardwarefunktionsprüfung) des Informationsspei cherbereichs durchgeführt werden.2) When only the information storage area is used, where
S 1 = OFF, S 2 = ON, S 3 = 1, S 4 = OFF, S 5 = OFF, S 6 = OFF and S 7 = 1,
Since no error correction is carried out, a bit check (hardware function check) of the information storage area can be carried out. -
3) Wenn nur der ECC-Codespeicherbereich verwendet wird,
wobei
S 1 = AUS, S 2 = AUS, S 3 = 2, S 4 = AUS, S 5 = AUS, S 6 = AUS und S 7 = 2,
kann, da keine Fehlerkorrektur durchgeführt wird, eine Bit prüfung des ECC-Codespeicherbereichs durchgeführt werden.3) When only the ECC code storage area is used, where
S 1 = OFF, S 2 = OFF, S 3 = 2, S 4 = OFF, S 5 = OFF, S 6 = OFF and S 7 = 2,
a bit check of the ECC code memory area can be carried out since no error correction is carried out.
Bevorzugt werden die Zustände der vorgenannten Schalter dadurch bestimmt, daß bereits vorher in einem Element vor gesehene Information in ein Register (nicht gezeigt) ein geschrieben wird. Um einen üblichen Betrieb durchführen zu können, muß die Auslegung so sein, daß der in 1) gezeigte Zustand realisiert ist.The states of the aforementioned switches are preferred determined by being in an element before viewed information in a register (not shown) is written. To perform a normal operation too , the design must be such that the one shown in 1) Condition is realized.
Aus der Druckschrift DE-PS 36 03 926 ist eine ECC-Code-Korrektur eines Halbleiter-Speicherelements bekannt. Die Besonderheit dieses Systems liegt darin, daß es möglich ist, Funktionstests der Datenbit-Speicherzellenmatrix und der Kontrollbit-Speicherzellenmatrix unter Anwendung einer Fehlerkorrekturfunktion durchzuführen. Für diese Fehlerkorrektur ist es allerdings notwendig, daß die zentrale Prozesssoreinheit (CPU) das Prüfdatenbitmuster selbst erzeugt, was eine zeitliche Belastung für die Durchführung peripherer Funktionen des Mikrocomputers darstellt.From the publication DE-PS 36 03 926 is an ECC code correction a semiconductor memory element known. The peculiarity of this system is that it is possible Function tests of the data bit memory cell matrix and the Control bit memory cell matrix using a Perform error correction function. For this error correction however, it is necessary that the central processor unit (CPU) generates the test data bit pattern itself, what a time burden for performing peripheral Functions of the microcomputer represents.
Wenn bisher eine Fehlerbitprüfung für jeden Speicherbereich im so aufgebauten konventionellen Mikroprozessor mit Feh lerbitprüffunktion durchgeführt wird, werden Prüfdaten von einer CPU (nicht gezeigt) nach Verknüpfung verschiedener Daten verarbeitet. Daher muß während der Fehlerbitprüfung die CPU bei dieser Prüfung ausschließlich eingesetzt werden. Ferner muß die Fehlerbitprüfung für den ECC-Codespei cherbereich zusätzlich zu der als Normalprüfungen durchge führten Fehlerbitprüfung für den Informationsspeicherbe reich und der Fehlerbitprüfung für die frei gestaltete Logik durchgeführt werden, so daß die Gesamtprüfzeit zu lang wird, und die CPU muß für diese Prüfungen eine übermäßig lange Zeit ausschließlich benützt werden. Da ferner Prüfdaten wiederholt in den Speicher einzuschreiben sind, wird die Einschreib-Lebensdauer des Speichers verkürzt, was insbesondere für Speicher mit begrenzter Lebensdauer, wie etwa nichtflüchtige Speicher, gilt. If so far an error bit check for each memory area in the conventional microprocessor constructed in this way with error lerbit check function is performed, check data from a CPU (not shown) after linking different Data processed. Therefore, during the error bit check the CPU is used exclusively for this test. Furthermore, the error bit check for the ECC code must be saved range in addition to the normal tests performed error bit checking for the information store heritage rich and the error bit check for the freely designed Logic can be performed so that the total test time increases gets long, and the CPU must be overly heavy for these checks be used exclusively for a long time. Since further Test data must be repeatedly written to the memory, the storage life of the memory is shortened, what especially for memories with limited lifespan, such as such as non-volatile memory.
In einem Artikel aus der Zeitschrift IEEE Transactions on Computers, 10/86, S. 862-870 wird das Problem zum Testen eines RAM beschrieben und theoretisch durchleuchtet. Auch hier wird von einem ECC-Code-Prüfungsschema gesprochen, zu dessen Durchführung ein Prüfbitmuster-Generator mit Speicher benötigt wird.In an article from IEEE Transactions on Computers, 10/86, pp. 862-870 addresses the problem of testing a RAM described and theoretically examined. Here too is spoken of an ECC code checking scheme, to whose Carrying out a check bit pattern generator with memory needed becomes.
In der Druckschrift DE 36 34 352 A1 wird ein Verfahren zum Testen von Speicherbausteinen mit beliebigen Testmustern vorgestellt, das die Testzeit innerhalb einer bestimmten Zellengruppe von einem beliebigen Bitmuster verkürzt. Ein weiterer Aspekt dieser Druckschrift ist die Umwandlung von seriellen Dateninformationen in parallele Dateninformationen und der Vergleich dieser so gewonnenen parallelen Dateninformationen mit der im Speicher befindlichen Dateninformation.In the document DE 36 34 352 A1 a method for Testing memory modules with any test pattern presented that the test time within a certain Cell group shortened by any bit pattern. A Another aspect of this document is the conversion of serial data information into parallel data information and the comparison of the parallel data information thus obtained with the data information in the memory.
In Weiterbildung des oben genannten Standes der Technik liegt der Erfindung die Aufgabe zugrunde, eine Schaltungsanordnung in einem Mikrocomputer bereitzustellen, die die zentrale Prozessoreinheit (CPU) entlastet, wenn eine Fehlerbitprüfung für einen Speicher durchgeführt wird.In further training of the above-mentioned state of the art the invention has for its object a circuit arrangement to provide in a microcomputer which is the central Processor unit (CPU) relieved when an error bit check for a store is performed.
Diese Aufgabe wird erfindungsgemäß durch eine Schaltungsanordnung zur Prüfung eines eine Steuereinheit (CPU) enthaltenden Mikrocomputers mit einer ersten Einrichtung, welche, gesteuert durch von der CPU gelieferte Signale, eine Mehrzahl von vorbestimmten Arten von Prüfdatenmustern, die sämtliche im Speicherbereich auftretenden Bitkonfigurationen umfassen, erzeugt und zwischenspeichert, und einer zweiten Einrichtung zum Feststellen, ob die zwischengespeicherten Prüfdatenmuster mit den nach dem Einschreiben in den Speicherbereich wieder ausgelesenen Prüfdatenmustern übereinstimmen und zur Erfassung eines Fehlerbits bei Nichtübereinstimmung.This object is achieved by a circuit arrangement to test a control unit Microcomputer containing (CPU) with a first device, which, controlled by signals supplied by the CPU, a plurality of predetermined types of test data patterns, the all bit configurations occurring in the memory area include, generated and cached, and a second device for determining whether the cached Test data samples with those after registered mail test data samples read out again in the memory area match and to detect an error bit at Mismatch.
Der erfindungsgemäße Mikrocomputer hat eine Fehlerbitprüfeinheit, die aufgrund eines Takt- und eines Prüfsignals vier Arten von Prüfdatenmustern erzeugt, die sämtliche Bitkonfigurationen umfassen, die im Speicherbereich vorkommen und in der Fehlerbitprüfung verwendet werden können.The microcomputer according to the invention has an error bit check unit, the four due to a clock and a test signal Generates types of test data patterns that cover all bit configurations include that occur in the storage area and in the error bit check can be used.
Mit der erfindungsgemäßen Schaltungsanordnung kann der Wirkungsgrad der Fehlerbitprüfung des Speichers wesentlich verbessert werden, die zur vollständigen Durchführung der Prüfung benötigte Zeit wird verkürzt, und die Belastung der CPU zum Zeitpunkt der Fehlerbitprüfung wird erheblich verringert. Außerdem kann die Einschreiblebensdauer, insbesondere bei einem Mikrocomputer mit nichtflüchtigem Speicher verlängert werden.With the circuit arrangement according to the invention, the efficiency improved the error bit check of the memory be required to complete the test the time required is reduced and the CPU load at the time of the error bit check is significantly reduced. In addition, the registered life, in particular extended to a microcomputer with non-volatile memory will.
Weitere vorteilhafte Ausgestaltungen der vorliegenden Erfindung werden in den Unteransprüchen angegeben.Further advantageous refinements of the present invention are specified in the subclaims.
Anhand der Zeichnung wird die Erfindung beispielsweise näher erläutert. Es zeigen:Using the drawing, the invention is for example explained in more detail. Show it:
Fig. 1 ein Blockschema, das den Aufbau eines konventionellen Speichers mit Fehlerbitprüffunktion zeigt; Fig. 1 is a block diagram showing the structure of a conventional memory with Fehlerbitprüffunktion;
Fig. 2 ein Blockschaltbild, das eine Fehlerbitprüfschaltung für einen ECC-Codespeicherbereich eines Mikroprozessors gemäß einem Ausführungsbeispiel der Erfindung zeigt; Fig. 2 is a block diagram showing a Fehlerbitprüfschaltung for an ECC code storage area showing a microprocessor according to an embodiment of the invention;
Fig. 3A bis 3D Prüfmuster, die in der Fehlerbitprüfschaltung von Fig. 2 erzeugt werden. FIGS. 3A-3D test pattern that are generated in the Fehlerbitprüfschaltung of FIG. 2.
Das Blockschaltbild von Fig. 2 zeigt eine Fehler bitprüfschaltung zum Prüfen von Bits in einem ECC-Code speicherbereich, der in einem Mikroprozessor vorgesehen ist. Die Beschreibung nimmt zwar speziell auf die Fehler bitprüfung für den ECC-Codespeicherbereich des Speichers Bezug, aber eine ähnliche Prüfung kann für sämtliche Berei che im Speicher einschließlich des Informationsspeicherbe reichs vorgesehen werden. Nach Fig. 2 wird aufgrund eines Schreib/Lese-Steuersignals (R/W) 11 in einem Parallelin formations-Halteglied 10 vorübergehend Prüfinformation ge speichert, die in einem ECC-Codespeicherbereich 3b einge schrieben oder daraus ausgelesen wird. Synchron mit einem zweiten Taktsignal (CK 2) 13 liefert ein Binärzähler 12 eine Adresse für einen im ECC-Codespeicherbereich 3b zu spei chernden ECC-Code. Flipflops 15a-15n sind für die entspre chenden mit dem ECC-Codespeicherbereich 3b verbundenen Datensignalleitungen vorgesehen, und diese Flipflops 15a-15n arbeiten synchron mit einem ersten Taktsignal (CK 1) 14. Die -Ausgänge dieser Flipflops 15a-15n werden sequen tiell mit den D-Eingängen der jeweils folgenden Flipflops verbunden. Der Ausgang eines Prüfdatensteuerkreises 16 ist mit dem D-Eingang des Flipflops 15a verbunden. In diesem Prüfdatensteuerkreis 16 wird ein erstes Prüfsignal (ST 1) 160, das normalerweise auf einem L- oder H-Pegel fixiert ist, umgekehrt infolge der durch das erste und das zweite Verknüpfungsglied 162 und 163 durchgeführten Steuerung und aufgrund eines zweiten Prüfsignals (ST 2) 161. Koinzidenz bestimmungsglieder 17a-17n, die Exklusiv-ODER-Glieder und jeweils für die Signalleitungen vorgesehen sind, bestimmen, ob die von den jeweiligen Flipflops übermittelten Ausgangs signale mit dem aus dem ECC-Codespeicherbereich 3b ausge lesenen Signal übereinstimmen. Ein Fehlerbiterfassungskreis 18, der die ODER-Stufe bildet, bestimmt, ob sämtliche von den Koinzidenzbestimmungsgliedern 17a-17n übermittelten Ausgangssignale "0" sind, und bringt ein Fehlerbiterfas sungssignal 18a in einen bestimmten Zustand, wenn ein Feh ler erfaßt wird. Die Anzahl der Flipflops 15a-15n sowie der Koinzidenzbestimmungsglieder 17a-17n muß natürlich entspre chend der Anzahl Bits pro Zeile des Speicherbereichs vor gesehen sein. Die Steuerung des ersten und des zweiten Prüfsignals 160 und 161 sowie des Schreib/Lese-Steuersi gnals 11 erfolgt durch eine CPU (nicht gezeigt), die als Steuereinheit dient. In diesem Zustand erzeugt die CPU kein Prüfdatenmuster für die Fehlerbitprüfung. D. h., die CPU führt nur die Initialisierung der Prüfbedingungen durch.The block diagram of Fig. 2 shows an error bit check circuit for checking bits in an ECC code memory area which is provided in a microprocessor. Although the description specifically refers to the error bit check for the ECC code memory area of the memory, a similar check can be provided for all areas in the memory including the information memory area. According to FIG. 2 (/ W R) temporarily stores check information 11 in a parallel in formations holding member 10 Ge b in an ECC code memory area 3 is written or read out therefrom due to a write / read control signal. In synchronism with a second clock signal (CK 2 ) 13 , a binary counter 12 supplies an address for an ECC code to be stored in the ECC code memory area 3 b. Flip-flops 15 a- 15 n are provided for the corresponding data signal lines connected to the ECC code memory area 3 b, and these flip-flops 15 a- 15 n operate synchronously with a first clock signal (CK 1 ) 14 . The outputs of these flip-flops 15 a- 15 n are sequentially connected to the D inputs of the following flip-flops. The output of a test data control circuit 16 is connected to the D input of the flip-flop 15 a. In this test data control circuit 16 , a first test signal (ST 1 ) 160 , which is normally fixed at an L or H level, is reversed as a result of the control performed by the first and second logic elements 162 and 163 and on the basis of a second test signal (ST 2 ) 161 . Coincidence determination elements 17 a- 17 n, the exclusive-OR elements and each provided for the signal lines, determine whether the output signals transmitted by the respective flip-flops match the signal read from the ECC code memory area 3 b. An error bit detection circuit 18 , which forms the OR stage, determines whether all of the output signals transmitted by the coincidence determination elements 17 a- 17 n are "0", and brings an error bit detection signal 18 a into a specific state when an error is detected. The number of flip-flops 15 a- 15 n and the coincidence determination elements 17 a- 17 n must of course be seen in accordance with the number of bits per line of the memory area. The control of the first and second test signals 160 and 161 and the write / read control signal 11 is carried out by a CPU (not shown), which serves as a control unit. In this state, the CPU does not generate a test data pattern for the error bit test. That is, the CPU only initializes the test conditions.
Die Speicherbitprüfung ist eine Funktionsprüfung des Spei chers als Hardware, wobei geprüft wird, ob jedes Bit rich tig arbeitet und ob eingegebene Daten richtig abgespeichert sind. Der Bitzustand kann sich durch Einfluß der umgebenden Bits ändern. Es ist daher notwendig, daß die Bitprüfung so durchgeführt wird, daß sämtliche möglichen Bitkonfigura tionen geprüft werden. Es werden Prüfdaten gemäß vier Mustertypen entsprechend den Fig. 3A-3D einge geben, wenn die jeweilige Fehlerbitprüfung durchgeführt wird. Die vier Arten von Prüfdatenmustern berücksichtigen sämtliche Bitkonfigurationen, die auftreten können. Das Muster nach Fig. 3A ist so ausgelegt, daß "1" und "0" abwechselnd aufeinanderfolgend in Zeilenrichtung angeordnet sind; bei dem Muster nach Fig. 3B sind "1" und "0" abwech selnd aufeinanderfolgend in Zeilenrichtung angeordnet, und die Reihenfolge von "1" und "0" ist für jeden Schritt ver setzt; bei dem Muster von Fig. 3C sind sämtliche Bits "0"; und bei dem Muster von Fig. 3D sind sämtliche Bits "1".The memory bit check is a functional check of the memory as hardware, whereby it is checked whether each bit works correctly and whether the data entered is correctly saved. The bit status can change due to the influence of the surrounding bits. It is therefore necessary that the bit check be carried out in such a way that all possible bit configurations are checked. Test data according to four sample types corresponding to FIGS . 3A-3D are entered when the respective error bit test is carried out. The four types of test data patterns take into account all bit configurations that can occur. . The pattern of Figure 3A is designed such that arranged "1" and "0" alternately in succession in the row direction; in the pattern of Fig. 3B, "1" and "0" are alternately arranged in sequence in the row direction, and the order of "1" and "0" is set for each step; in the pattern of Fig. 3C, all bits are "0"; and in the pattern of Fig. 3D, all bits are "1".
Wenn gemäß Fig. 2 das erste Taktsignal 14 zugeführt wird und die Pegel des ersten und des zweiten Prüfsignals 160 und 161 auf "H" fixiert sind, werden dem Paralleldaten- Halteglied 10 von den Flipflops 15a-15n, die sequentiell miteinander verbunden werden, Prüfdaten "1010101..." oder "0101010" zugeführt. Das Paralleldaten-Halteglied 10 spei chert das Eingangssignal der Flipflops 15a-15n vorüberge hend. Der Binärzähler 12 liefert eine Adresse für Schreib prüfdaten, so daß im Paralleldaten-Halteglied 10 gespei cherte Prüfdaten nacheinander in den ECC-Codespeicherbe reich 3b entsprechend dem zweiten Taktsignal 13 einge schrieben werden. Wenn z. B. die Beziehung zwischen dem ersten Taktsignal 14 und dem zweiten Taktsignal 13 so vor gesehen ist, daß das zweite Taktsignal 13 um einen Schritt weitergeht, wenn das erste Taktsignal 14 von 15a zu 15n geht, wird die Konfiguration des Musters der eingeschrie benen Prüfinformation so, wie dies in Fig. 3A gezeigt ist. In diesem Zustand hat das Schreib/Lese-Steuersignal 11 des Paralleldaten-Halteglieds 10 einen Schreibmodus .If according to FIG. 2, the first clock signal is supplied to 14 and the levels of the first and second test signal 160 and 161 are fixed to "H", the Paralleldaten- holding member 10 are a- of the flip-flops 15 15 n, which are sequentially connected to each other , Test data "1010101 ..." or "0101010" supplied. The parallel data latch 10 stores the input signal of the flip-flops 15 a- 15 n temporarily. The binary counter 12 provides an address for write test data, so that test data stored in the parallel data holding element 10 are successively written into the ECC code memory area 3 b corresponding to the second clock signal 13 . If e.g. B. the relationship between the first clock signal 14 and the second clock signal 13 is seen before that the second clock signal 13 goes one step further when the first clock signal 14 goes from 15 a to 15 n, the configuration of the pattern is inscribed Check information as shown in Fig. 3A. In this state, the write / read control signal 11 of the parallel data latch 10 has a write mode.
Wenn das Steuersignal 11 für das Paralleldaten-Halteglied 10 nach dem Einschreiben der Prüfdaten in sämtliche Berei che im ECC-Codespeicherbereich 3b in den Lesemodus R ge schaltet und dann das zweite Taktsignal 13 vom Binärzähler 12 gezählt wird, werden in den ECC-Codespeicherbereich 3b eingeschriebene Prüfdaten nacheinander ausgelesen, und zwar beginnend mit der anfänglichen Schreibprüfinformation über das Paralleldaten-Halteglied 10. Die Koinzidenzbestimmungs glieder 17a-17n bestimmen, ob die von den Flipflops, die miteinander verbunden sind, kommenden Ausgangssignale und das Lesesignal vom ECC-Codespeicherbereich 3b übereinstim men. Wenn die beiden Signale nicht koinzident sind, nimmt das Ausgangssignal des entsprechenden Koinzidenzbestim mungsglieds den "1"-Pegel an. Der eine ODER-Schaltung bil dende Fehlerbiterfassungskreis 18 erfaßt die Anwesenheit eines anomalen Bits auf der Basis des Vorhandenseins des Eingangssignals "1" und bringt das Fehlerbiterfassungssi gnal 18a in einen bestimmten Zustand, wenn ein Fehlerbit erfaßt wird.If the control signal 11 for the parallel data holding element 10 after writing the test data in all areas in the ECC code memory area 3 b in the read mode R ge and then the second clock signal 13 is counted by the binary counter 12 , are in the ECC code memory area 3 b read out the written test data one after the other, starting with the initial write test information via the parallel data holding element 10 . The coincidence determination elements 17 a- 17 n determine whether the output signals coming from the flip-flops which are connected to one another and the read signal from the ECC code memory area 3 b match. If the two signals are not coincident, the output signal of the corresponding coincidence determiner takes the "1" level. Of an OR circuit bil Dende Fehlerbiterfassungskreis 18 detects the presence of abnormal bits on the basis of the presence of the input signal "1" and brings the Fehlerbiterfassungssi gnal 18 a in a certain state, if an error is detected.
Wenn die Anordnung so getroffen wird, daß das zweite Takt signal weitergeht, nachdem das erste Taktsignal 14 von 15a zu 15n+1 gegangen ist, kann eine Bitprüfung für das Prüf datenmuster nach Fig. 3B durchgeführt werden. Wenn das zweite Taktsignal 13 nach der Änderung "H"/"L" des ersten Taktsignals 14 weitergehen darf und das zweite Prüfsignal 161 synchronisiert und eingegeben worden ist, kann eine Bitprüfung für das Prüfdatenmuster aus nur "0" oder "1" entsprechend den Fig. 3C oder 3D durchgeführt werden. If the arrangement is made so that the second clock signal continues after the first clock signal 14 has gone from 15 a to 15 n + 1, a bit check for the test data pattern according to FIG. 3B can be carried out. If the second clock signal 13 is allowed to continue after the change "H" / "L" of the first clock signal 14 and the second test signal 161 has been synchronized and entered, a bit test for the test data pattern can only consist of "0" or "1" according to FIGS . be performed 3C or 3D.
Die vorstehende Beschreibung erfolgte zwar speziell unter Bezugnahme auf die Fehlerbitprüfung des ECC-Codespeicher bereichs im Speicher der beiden Ausführungsbeispiele; aber eine gleichartige Fehlerbitprüfung kann für einen Informa tionsspeicherbereich oder den Gesamtbereich des Speichers einschließlich der beiden genannten Speicherbereichsarten durchgeführt werden.The above description was made specifically at Reference to the error bit check of the ECC code memory area in the memory of the two exemplary embodiments; but a similar error bit check for an informa tion memory area or the total area of the memory including the two types of storage area mentioned be performed.
Der Mikroprozessor gemäß der Erfindung wird auf einem Ge häuse oder einem Chip vorgesehen und z. B. als IC-Karte od. dgl. verwendet.The microprocessor according to the invention is on a Ge provided housing or a chip and z. B. as an IC card or the like.
Selbst wenn also eine gesonderte Prüfdatenleitung für eine Fehlerbitprüfung vorgesehen ist, kann eine zu große Erweiterung des Datenbusses vermieden werden, indem nur eine serielle Prüfdatenleitung vorgesehen ist.So even if a separate test data line for a Error bit checking is provided, an extension that is too large of the data bus can be avoided by only one serial test data line is provided.
Claims (6)
- - einer ersten Einrichtung (16, 15), welche, gesteuert durch von der CPU gelieferte Signale (CK1, ST1, ST2), eine Mehrzahl von vorbestimmten Arten von Prüfdatenmustern, die sämtliche im Speicherbereich auftretenden Bitkonfigurationen umfassen, erzeugt und zwischenspeichert; und
- - einer zweiten Einrichtung (17, 18) zum Feststellen, ob die zwischengespeicherten Prüfdatenmuster mit den nach dem Einschreiben in den Speicherbereich wieder ausgelesenen Prüfdatenmustern übereinstimmen und zur Erfassung eines Fehlerbits bei Nichtübereinstimmung.
- - a first device ( 16 , 15 ) which, controlled by signals supplied by the CPU (CK 1 , ST 1 , ST 2 ), generates and buffers a plurality of predetermined types of test data patterns which include all the bit configurations occurring in the memory area; and
- - A second device ( 17 , 18 ) for determining whether the temporarily stored test data patterns match the test data patterns read out again after being written into the memory area and for detecting an error bit if they do not match.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1096220A JPH02276099A (en) | 1989-04-18 | 1989-04-18 | Microprocessor |
Publications (2)
Publication Number | Publication Date |
---|---|
DE3938153A1 DE3938153A1 (en) | 1990-10-25 |
DE3938153C2 true DE3938153C2 (en) | 1991-11-21 |
Family
ID=14159155
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE19893938153 Granted DE3938153A1 (en) | 1989-04-18 | 1989-11-16 | Microprocessor with memory error bit correction using ECC codes - has error bit checker generating, storing and checking test data patterns |
Country Status (3)
Country | Link |
---|---|
JP (1) | JPH02276099A (en) |
DE (1) | DE3938153A1 (en) |
FR (1) | FR2646003B1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006040900A1 (en) | 2004-10-14 | 2006-04-20 | Advantest Corporation | Testing device and testing method for testing object memory storing data raw with error correcting codes added |
CN102968354A (en) * | 2012-11-13 | 2013-03-13 | 浪潮电子信息产业股份有限公司 | Intel Brickland-EX platform-based same-frequency lock-step mode automatic switching method |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58205993A (en) * | 1982-05-25 | 1983-12-01 | Fujitsu Ltd | Scan test method for lsi built-in memory |
CA1203631A (en) * | 1982-11-26 | 1986-04-22 | John L. Judge | Detecting improper operation of a digital data processing apparatus |
US4730320A (en) * | 1985-02-07 | 1988-03-08 | Mitsubishi Denki Kabushiki Kaisha | Semiconductor memory device |
JPS61196341A (en) * | 1985-02-27 | 1986-08-30 | Fuji Electric Co Ltd | Memory error correction method |
JPS62120699A (en) * | 1985-11-20 | 1987-06-01 | Fujitsu Ltd | semiconductor storage device |
DE3634352A1 (en) * | 1986-10-08 | 1988-04-21 | Siemens Ag | METHOD AND ARRANGEMENT FOR TESTING MEGA-BIT MEMORY COMPONENTS WITH ANY TEST PATTERN IN MULTI-BIT TEST MODE |
-
1989
- 1989-04-18 JP JP1096220A patent/JPH02276099A/en active Pending
- 1989-08-08 FR FR8910672A patent/FR2646003B1/en not_active Expired - Fee Related
- 1989-11-16 DE DE19893938153 patent/DE3938153A1/en active Granted
Also Published As
Publication number | Publication date |
---|---|
FR2646003B1 (en) | 1994-09-16 |
DE3938153A1 (en) | 1990-10-25 |
FR2646003A1 (en) | 1990-10-19 |
JPH02276099A (en) | 1990-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE69114881T2 (en) | Analysis device for saving semiconductor memory errors. | |
DE69124170T2 (en) | Automatic test equipment system using a stylus architecture | |
DE3423090C2 (en) | ||
DE4402796C2 (en) | Improved redundancy analyzer for an automatic memory tester | |
DE3111447C2 (en) | ||
DE3013523C2 (en) | Test circuitry for memory | |
DE69426733T2 (en) | Semiconductor memory device with register for holding a test result signal | |
DE69126057T2 (en) | An information processing device with an error checking and correction circuit | |
DE2225841C3 (en) | Method and arrangement for systematic error checking of a monolithic semiconductor memory | |
DE3876459T2 (en) | STORAGE AND THEIR CHECK. | |
EP1113362B1 (en) | Integrated semiconductor memory with a memory unit for storing addresses of faulty memory cells | |
DE3784181T2 (en) | ERROR DETECTION USING PARITY CHECK WITH VARIABLE FIELD. | |
EP0263470B1 (en) | Method and arrangements for testing megabit memory modules with arbitrary test patterns in a multiple bit test mode | |
DE3832440A1 (en) | TEST CIRCUIT DEVICE | |
DE3782020T2 (en) | ELECTRONIC COUNTER. | |
DE2554502C3 (en) | Method and arrangement for addressing a memory | |
DE4416171C2 (en) | EEPROM device | |
DE3837893A1 (en) | MEMORY BLOCK | |
DE3938153C2 (en) | ||
DE2549392B2 (en) | PROCESS TO INCREASE THE RELIABILITY OF INTEGRATED MEMORY COMPONENTS AND TO IMPROVE THE YIELD OF OUTSIDE MEMORY COMPONENTS APPEARING TO BE ERROR-FREE IN THEIR PRODUCTION | |
DE19959779A1 (en) | Faulty cell identification information delivery device for semiconductor memory uses faulty cell specification memory, faulty cell block information memory and sub-block information memory | |
EP0127118A1 (en) | Memory control device, in particular for fault tolerant telephone exchange systems | |
DE19650291A1 (en) | Scanning test device | |
DE19963611A1 (en) | Memory test device in which information indicating that error location is present in memory device is written into compact memory | |
DE4429633C2 (en) | Method and device for monitoring memory cells of a memory |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
OP8 | Request for examination as to paragraph 44 patent law | ||
8125 | Change of the main classification |
Ipc: G11C 29/00 |
|
D2 | Grant after examination | ||
8364 | No opposition during term of opposition | ||
8320 | Willingness to grant licenses declared (paragraph 23) | ||
8339 | Ceased/non-payment of the annual fee |