The present invention relates to a semiconductor memory chip and to a method of protecting a memory core thereof against incorrect information.
In future semiconductor memory systems data will be transmitted at very high frequencies. Transfer channel and system degenerates the transmitted signals and can lead to a loss of information. Loss of information means that a certain number of bits represented by BER (bit error rate for example 10−12) within the transmitted signal frame are wrong, for example since a certain bit has changed due to degeneration from logic “1” to “0”. Therefore, in future memory systems such errors are required to be detected and a system has to be protected from action enabled by such incorrect information. For this purpose additional CRC bits (Code Redundancy Check bits) are inserted at predetermined positions in the actual signal frame by which data, command and address signals are transmitted on the basis of a defined transmission protocol, or the CRC bits are transmitted on a separate link and aligned to the actual data stream to be checked. The more the number BER has to be reduced (for example to 10−20) the more CRC bits are necessary and the more calculation has to be performed and the more latency increases.
Up to now data command address signals are transferred between a memory controller and memory chips of a memory system through separate data-command and address signal busses and not in form of signal frames on the basis of a defined transmission protocol. In prior art memory systems it has been assumed that BER is zero, because it is neglectable. However, with higher transmission frequencies this is no longer valid. In case that a bit error has occurred, wrong commands, data or addresses have been transmitted directly to the memory core. As a result non-deterministic errors can occur.
One embodiment of the present invention provides a semiconductor memory chip having means to protect the memory core from wrong commands, caused by bit errors due to transfer channel signal degeneration as well as a method of protecting a memory core of a semiconductor memory chip against incorrect information included in transmitted signal frames.
One embodiment of the present invention provides a semiconductor memory chip including a memory core and an interface circuit. The interface circuit is arranged for transferring synchronously with a clock signal data, command and address signals in form of signal frames on the basis of a defined transmission protocol from external of the memory chip to the memory core and from the memory core to the extern of the memory chip. The interface circuit includes decoding, selecting and scheduling circuit means respectively arranged for decoding from the signal frame a respective type of data signals, command signals and address signals, selection of actions which are required in the memory chip according to the respective signal type, and scheduling the memory core and sections of the interface circuit, respectively for the decoded signal. The interface circuit also includes a protection circuit arranged for protecting the memory core and for enabling/disabling signal transfer from the interface circuit to the memory core depending on information decoded and checked as being correct or incorrect on the basis of CRC-bits either included in the signal frame according to the transmission protocol or separately delivered through a separate CRC bit link and associated to the actual signal frame.
The accompanying drawings are included to provide a further understanding of the present invention and are incorporated in and constitute a part of this specification. The drawings illustrate the embodiments of the present invention and together with the description serve to explain the principles of the invention. Other embodiments of the present invention and many of the intended advantages of the present invention will be readily appreciated as they become better understood by reference to the following detailed description. The elements of the drawings are not necessarily to scale relative to each other. Like reference numerals designate corresponding similar parts.
In the following Detailed Description, reference is made to the accompanying drawings, which form a part hereof, and in which is shown by way of illustration specific embodiments in which the invention may be practiced. In this regard, directional terminology, such as “top,” “bottom,” “front,” “back,” “leading,” “trailing,” etc., is used with reference to the orientation of the Figure(s) being described. Because components of embodiments of the present invention can be positioned in a number of different orientations, the directional terminology is used for purposes of illustration and is in no way limiting. It is to be understood that other embodiments may be utilized and structural or logical changes may be made without departing from the scope of the present invention. The following detailed description, therefore, is not to be taken in a limiting sense, and the scope of the present invention is defined by the appended claims.
One embodiment of the present semiconductor memory chip includes the protection circuit such that it is possible to protect the memory core against a transfer of for example wrong command signals from the interface circuit on the basis of the CRC bits included in the signal frame.
In one embodiment of the present invention, the interface circuit of the semiconductor memory chip further includes a CRC-bit decoding and check unit arranged for decoding the CRC bits and associating it to information in the signal frame, checking said information as being correct or incorrect in dependence of said associated CRC bits and thereupon generating and outputting a correct/incorrect signal according to the result of checking said information, wherein said correct/incorrect signal is supplied to said protection circuit for enabling/disabling switching through of a signal transfer to the memory core.
According to one embodiment said CRC bit decoding and check unit includes a first circuit section arranged for decoding only special CRC bits and performing their association to predetermined special command signals being critical for system functions and/or memory functions for checking correctness/incorrectness the information of only these special command signals depending on the decoding operation, and a second circuit section arranged for decoding other CRC bits and performing their association to data, address and command signals not being critical for system functions and/or memory functions and for checking correctness/incorrectness of information of these non-critical data, address and command signals.
According to one embodiment a division of the CRC bit decoding and check unit in a first circuit section and a second circuit section is based on the fact that all commands in the signal frame which are critical to memory functions and/or system functions can be represented by a rather small number of frame bits. For this small number of frame bits it is much easier to perform a thorough CRC check in order to protect the DRAM core and a system to be accessed by bit error induced wrong commands. For all other data, address and command signals delivered in the signal frame CRC check can be carried out afterwards in the second circuit section because these other data, address and command bits cannot be harmful for the system function.
According to one embodiment of the present semiconductor memory chip said interface circuit is partitioned in a high frequency circuit part being synchronized with a high frequency clock signal and a low frequency circuit part being synchronized with a low frequency clock signal which is derived by frequency dividing said high frequency clock signal, wherein said decoding/selecting and scheduling circuit means and said protection circuit are arranged within said low frequency circuit part and synchronized with said low frequency clock signal, and said CRC bit decoding and check unit is arranged within said high frequency circuit part and synchronized with said high frequency clock signal.
In one embodiment of the present semiconductor memory chip said interface circuit is also partioned in a high frequency circuit part being synchronized with a high frequency clock signal and a low frequency circuit part being synchronized with a low frequency clock signal which is derived by frequency dividing said high frequency clock signal, wherein said decoding, selecting and scheduling circuit means, said protection circuit and said CRC bit decoding and check unit are arranged within said low frequency circuit part and synchronized by said low frequency clock signal.
In one embodiment, the present semiconductor memory chip is a DRAM memory core.
According to one embodiment, the present invention provides a method of protecting a memory core of a semiconductor memory chip against incorrect information included in a signal frame which is based on a defined transmission protocol and which is transferable from the extern of the memory chip through an interface circuit to the memory core. The method includes preliminarily generating and inserting CRC bits in predefined positions within the signal frame based on the transmission protocol or delivering separate CRC bits not embedded in the frame but aligned to the frame stream on a separate line to the memory chip so that data, command address signals included in the signal frame are at least partly checkable as to correct/incorrect information. The method also includes decoding said data, command and address signals in the signal frame, selecting actions required according to the type of said data, command and address signals and scheduling the decoded signals to said memory core and said interface circuit respectively. The method also includes decoding the CRC bits and comparing the same to CRC information derived and generated from the data, command and address signals and checking correctness/incorrectness of the data, command and address signals by means of the comparison. The method also includes enabling/disabling transfer of the decoded signals to said memory core depending on the correctness/incorrectness result of the CRC signal check.
With a smart protocol definition all commands in the signal frame which are critical for the system function or the memory function can be represented by a rather small number of frame bits. Therefore a small number of CRC check bits is sufficient to protect the memory core and the system against erroneous information. In one case, the present method includes separate decoding of special CRC bits as associated to predetermined command signals which are critical for system functions and/or memory functions, checking correctness/incorrectness of these critical command signals on the basis of these special CRC bits and enabling/disabling transfer of only these critical command signals to the memory core, depending on the check result.
In one embodiment, the present semiconductor memory chip is a DRAM memory core and the enabling/disabling of signal transfer is carried out using the special command signals: “activate”, “self-refresh” and “precharge.” “Activate” commands activation of a memory bank, “self-refresh” commands to carry out a charge refresh and “precharge” commands to carry out closing of a memory bank of a DRAM-semiconductor memory.
As has been mentioned before, data, command and address signals are transferred within the present semiconductor memory chip as well as between these semiconductor memory chips and a memory controller in a memory system synchronously with a clock signal in the form of signal frames on the basis of a defined transmission protocol.
Although the example of the command signal frame illustrated in
According to the illustration in
Until now, if a bit error has occurred, wrong commands, data or addresses have been transmitted directly to the memory core. As a result non-deterministic errors could occur.
Therefore, one embodiment of the present invention provides a structure of the interface circuit of a semiconductor memory chip that can check incoming frames for bit errors before decoded commands are switched through to the memory core.
The following description describes structural and functional features of embodiments of the present interface circuit with reference to FIGS. 1 to 3, wherein like circuit blocks and functional blocks are referenced by the same reference signs.
The functional block diagram schematically depicted in
One embodiment includes in the low frequency interface circuit section illustrated in
While in the interface circuit according to the embodiment illustrated in
The interface circuit according to the embodiment schematically depicted in
Upon checking said relevant memory/system commands that can harm the system significantly by means of the associated CRC bits, only CRC-DEC 110 will generate the correct/incorrect signal which, is supplied to PROT 12. For all other data bits delivered within the frame the second CRC-DEC 211 will check correctness/incorrectness of the related information afterwards because harmful system access is not possible for them.
The embodiment illustrated in
Different from the embodiments of the present semiconductor memory chip illustrated in
With the embodiment illustrated in
With the embodiment illustrated in
With the embodiment illustrated in
Bearing in mind the above, one skilled in the art will easily recognize that one embodiment of a semiconductor memory chip of the present invention may include a DRAM memory core. However, the embodiments of the present invention discussed above are not restricted to DRAM memories but relate to a method of protecting a memory core of a semiconductor memory chip against incorrect information included in a signal frame that is based on a defined transmission protocol and that is transferable from the extern of the memory chip through an interface circuit to the memory core. One embodiment of the method includes the following steps:
Obviously many modifications and variations of the present invention are possible in light of the above description. It is therefore to be understood, that within the scope of appended claims the invention may be practiced otherwise than as specifically deviced.
Although specific embodiments have been illustrated and described herein, it will be appreciated by those of ordinary skill in the art that a variety of alternate and/or equivalent implementations may be substituted for the specific embodiments shown and described without departing from the scope of the present invention. This application is intended to cover any adaptations or variations of the specific embodiments discussed herein. Therefore, it is intended that this invention be limited only by the claims and the equivalents thereof.