Memory system
By introducing an error detection mechanism into the memory system, the problem of inappropriate access caused by errors in instruction and address transmission is solved, thereby improving data integrity and access efficiency.
Patent Information
- Application Number
- CN202210120634.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-09
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2042-02-09
AI Technical Summary
In traditional memory systems, errors can easily occur during instruction or address transmission, leading to inappropriate access to semiconductor memory devices and making it difficult to ensure data integrity and access efficiency.
Introducing an error detection mechanism into the memory system involves performing error detection before and after instruction, address, and data transmissions by first and second check data, and retransmitting or waiting for a specified time when an error is detected, thereby ensuring data integrity and access efficiency.
It effectively suppresses erroneous states during data reading or writing, improves access efficiency and processing capabilities, and ensures proper access to semiconductor memory devices.
Smart Images

Figure CN116610471B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a memory system including a memory controller and a semiconductor memory device. Background Technology
[0002] Conventional memory systems include semiconductor memory devices such as Dynamic Random Access Memory (DRAM), and memory controllers that control the reading or writing of the semiconductor memory device (e.g., Patent Document 1: Japanese Patent Application Publication No. 2002-63791). When a semiconductor memory device is configured to receive an instruction packet containing instructions and addresses from a memory controller, it reads or writes data to a storage region (e.g., a memory cell) at the corresponding address based on the content of the instructions (e.g., read instructions, write instructions).
[0003] However, in traditional memory systems, if an error occurs in the instruction or address during the transmission of instruction packets from the memory controller to the semiconductor memory device, the content or address of the instruction may be altered. Therefore, there is a risk that proper access to the semiconductor memory device may become difficult. Summary of the Invention
[0004] The memory system provided by the present invention includes: a memory controller; and a semiconductor memory device; the memory controller is configured to: transmit an instruction and an address, and first check data for error detection of the instruction and the address, to the semiconductor memory device; and when receiving first response information from the semiconductor memory device indicating that no error was detected in the instruction and the address, transmit or receive data read or written to the address according to the instruction between the semiconductor memory device and the semiconductor memory device; the semiconductor memory device is configured to: when receiving the instruction and the address, and the first check data from the memory controller, perform error detection of the instruction and the address using the first check data, and when no error was detected in the instruction and the address, transmit the first response information to the memory controller; and when no error was detected in the instruction and the address, transmit or receive data read or written to the address according to the instruction between the semiconductor memory device and the memory controller.
[0005] According to the memory system of the present invention, semiconductor memory devices can be appropriately accessed. Attached Figure Description
[0006] Figure 1 A block diagram illustrating a configuration example of a memory system according to a first embodiment of the present invention.
[0007] Figure 2A timeline plot showing the timing of signals within a semiconductor memory device when there are no errors in the instructions and addresses.
[0008] Figure 3 A time-plot of the signals within a semiconductor memory device when an error is contained in either the instruction or the address.
[0009] Figure 4 A time-plot of the signals within a semiconductor memory device when errors are present in the data.
[0010] Figure 5 This is a time-map showing the timing of signals within a semiconductor memory device while waiting for a specified amount of time to be transmitted again.
[0011] Figure 6 A flowchart illustrating an example of the operation of a semiconductor memory device.
[0012] Figure 7 (a) and (b) are time diagrams showing the time history of signals within a semiconductor memory device in a memory system relating to a second embodiment of the present invention.
[0013] Figure 8 (a) and (b) are time diagrams showing the time history of signals within a semiconductor memory device.
[0014] Figure 9 A time-map showing the timing of signals within a semiconductor memory device in a memory system relating to a third embodiment of the present invention.
[0015] Figure 10 A time-map to display the time history of signals within a semiconductor memory device.
[0016] Figure 11 This is a diagram illustrating an example of bit allocation for instructions and addresses.
[0017] Figure 12 A time graph to display the time history of the data strobe signal.
[0018] Icon labels:
[0019] 10: Memory controller
[0020] 11: Requirement from the Control Department
[0021] 12: Sequence Control Unit
[0022] 12a: Serializer / deserializer (SerDes)
[0023] 12b: Error Control Department
[0024] 20: Semiconductor memory devices
[0025] 21: Sequence Control Unit
[0026] 21a: Serializer / Deserializer (SerDes)
[0027] 21b: Error Control Department
[0028] 22: Command and Control Unit
[0029] 23: Address Control Department
[0030] 24: Character line control section
[0031] 25: Operations Control Department
[0032] 26: Data Control Department
[0033] 27: Data Bus Control Unit
[0034] 28: Induction Amplifier
[0035] 29: Memory Cell Array
[0036] Address:
[0037] ADQ: Address Data Signal
[0038] BANK, BNK0, BNK1: Repositories
[0039] / CE: Chip Select Signal
[0040] CheckA: First check data
[0041] CheckD: Second check data
[0042] CLK: External clock signal
[0043] Data
[0044] deson, seron: signal transformation
[0045] Operation: Command
[0046] ReplyA: Response Information
[0047] ReplyD: Response message
[0048] retryrd, retrywr: signals
[0049] RWDS: Data strobe signal
[0050] S100~S108: Flowchart Steps
[0051] adr, bl, busy: signals
[0052] ca: Row address signal
[0053] cdb, rdb, wdb: signals
[0054] cl: signal
[0055] clon: Signal for activating bit lines
[0056] di, do: signal
[0057] ope: signal
[0058] ra: Column address signal
[0059] refreq: update request signal
[0060] refwait: signal
[0061] saon: signal
[0062] wl: signal
[0063] wloff: signal
[0064] wlon: signal Detailed Implementation
[0065] (First Embodiment)
[0066] like Figure 1As shown, the memory system includes a memory controller 10 and a semiconductor memory device 20. In this embodiment, the semiconductor memory device 20 is described as a pseudo-static random access memory (pSRAM) as an example. Here, pSRAM is a semiconductor memory device that includes an interface compatible with static random access memory (SRAM). Alternatively, pSRAM can use dynamic random access memory (DRAM) as memory cells to store data, and redesign the DRAM access interface to make it compatible with the SRAM access interface. In this embodiment, the semiconductor memory device 20 is shown as a clock-synchronous pSRAM that receives signals synchronously with a clock signal, and also as an address-data multiplexing interface pSRAM. The address-data multiplexing interface pSRAM has address data terminals configured to input each address signal and data signal. Furthermore, although the case of using Double Data Rate (DDR) as the data transmission method is shown as an example in this embodiment of pSRAM, pSRAM can also use Single Data Rate (SDR).
[0067] The memory controller 10 is configured to: transmit an instruction (shown as Operation in the figure), an address (shown as Address in the figure), and first check data (shown as CheckA in the figure) for error detection of the instruction and address to the semiconductor memory device 20; and when receiving a first response message (shown as ReplyA(OK) in the figure) indicating that no error was detected in the instruction and address from the aforementioned semiconductor memory device 20, transmit or receive data (shown as Data in the figure) for reading or writing to the address according to the instruction with the semiconductor memory device 20. On the other hand, the semiconductor memory device 20 is configured to: when receiving an instruction and address and the first check data from the memory controller 10, perform error detection of the instruction and address using the first check data; when no error was detected in the instruction and address, transmit the first response message (ReplyA(OK)) to the memory controller 10; and transmit or receive data for reading or writing to the address according to the instruction with the memory controller 10.
[0068] Furthermore, the semiconductor memory device 20 is configured to transmit a second response message (shown as ReplyA(NG) in the figure) indicating that an error was detected in either the instruction or the address, to the memory controller 10 when an error is detected in either the instruction or the address. On the other hand, the memory controller 10 is configured to transmit the instruction and address back to the semiconductor memory device 20 upon receiving the second response message (ReplyA(NG)) from the semiconductor memory device 20, allowing the semiconductor memory device 20 to be accessed again from the beginning.
[0069] Furthermore, the memory controller 10 (one of the memory controller 10 and the semiconductor memory device 20) is configured to transmit the written data and second check data (shown as CheckD in the figure) for error detection of that data to the semiconductor memory device 20 (the other of the memory controller 10 and the semiconductor memory device 20). On the other hand, the semiconductor memory device 20 is configured to, upon receiving the data and the second check data (CheckD), perform error detection on the data using the second check data, and if no error is detected in the data, transmit a third response message (shown as ReplyD(OK) in the figure) indicating that no error was detected in the data to the memory controller 10. In this case, since the state in which errors are present in the read or written data can be suppressed, data integrity can be ensured.
[0070] Furthermore, the semiconductor memory device 20 (one of the memory controller 10 and the other semiconductor memory device 20) is configured to: when an error is detected in the data, transmit a fourth response message (shown as ReplyD(NG) in the figure) indicating that an error was detected in the data to the memory controller 10; and wait until a specified time has elapsed before retransmitting the data from the memory controller 10, at which point writing of the data can continue. Therefore, compared to re-accessing and writing the data from the beginning (retransmitting the instruction and address), access efficiency can be improved. On the other hand, the memory controller 10 (one of the memory controller 10 and the semiconductor memory device 20) is configured to: upon receiving the fourth response message (ReplyD(NG)), transmit the data and corresponding second check data to the semiconductor memory device 20. Therefore, when an error is detected in the data, the data can be retransmitted by the memory controller 10, allowing the writing of the data to continue.
[0071] Furthermore, the semiconductor memory device 20 (the memory controller 10 and the other semiconductor memory device 20) is configured to release the waiting period for data retransmission if no data is transmitted from the memory controller 10 (the memory controller 10 and the semiconductor memory device 20) for a specified period of time. Therefore, by releasing the waiting period for data retransmission when no data is being transmitted, the semiconductor memory device 20 can handle other read or write accesses, thereby improving access processing efficiency.
[0072] The memory controller 10 is connected to an external host device (not shown in the figure) and responds to commands from the host device to access the semiconductor memory device 20, such as reading or writing. For example, when the memory controller 10 receives a write request from the host device to write data to the semiconductor memory device 20, or a read request to read data from the semiconductor memory device 20, it activates the chip select signal / CE (low level) and transmits it to the semiconductor memory device 20. Additionally, the memory controller 10 transmits a clock signal received from the host device as an external clock signal CLK to the semiconductor memory device 20.
[0073] The memory controller 10 includes a request control unit 11 and a sequence control unit 12. The request control unit 11 and the sequence control unit 12 may also be constructed by dedicated hardware devices or logic circuits.
[0074] The memory controller 10 may also include: a central processing unit (CPU) (omitted in the figure), a storage device such as random access memory (RAM) (omitted in the figure), a semiconductor storage device 20, and an interface for transmitting and receiving signals between host devices (omitted in the figure). For example, the CPU of the memory controller 10 may also implement the functions of the control unit 11 and the sequence control unit 12 by reading and executing computer programs stored in the storage device.
[0075] When the request control unit 11 is configured to receive a request to write or read from the host device to the semiconductor memory device 20, it generates a conversion signal to change the transmission mode of the address data signal ADQ transmitted or received between the memory controller 10 and the semiconductor memory device 20. Specifically, when the request control unit 11 receives a write request from the host device to write data to the semiconductor memory device 20, it outputs a conversion signal deson to the sequence control unit 12. This conversion signal deson is used to convert (deserialize) the address data signal ADQ transmitted from the memory controller 10 to the semiconductor memory device 20 from a serial transmission mode to a parallel transmission mode of a specific number of bits (e.g., 8 bits).
[0076] In addition, when the control unit 11 receives a read request from the host device to read data from the semiconductor memory device 20, it outputs a conversion signal seron to the sequence control unit 12. This conversion signal seron is used to convert the signal (e.g., read data) transmitted from the semiconductor memory device 20 to the memory controller 10 from parallel transmission mode (serialization) to serial transmission mode.
[0077] The sequence control unit 12 is configured to transmit the address data signal ADQ based on the transformation signal deson. Furthermore, the sequence control unit 12 includes a serializer / deserializer (SerDes) 12a and an error control unit 12b. SerDes 12a enables the switching between serial transmission and parallel transmission modes for signals transmitted or received between the memory controller 10 and the semiconductor memory device 20. Although this embodiment describes the case where SerDes 12a deserializes data for writing and serializes data for reading, SerDes 12a can also be configured to serialize data for writing, for example, from 64 bits to 8 bits, and deserialize data for reading. In this embodiment, the sequence control unit 12 is an example of the "first sequence control unit" of the present invention, and SerDes 12a is an example of the "first serializer / deserializer" of the present invention.
[0078] For example, when the control unit 11 is required to receive a write request or a read request, when the conversion signal 'deson' is input from the control unit 11, SerDes 12a generates a read instruction or write instruction (Operation) and an address, and outputs them to the error control unit 12b. Next, when the first check data (CheckA) for error detection of the instruction and address is input from the error control unit 12b, SerDes 12a converts the instruction, address, and first check data into a parallel transmission mode. Then, SerDes 12a transmits the instruction, address, and first check data as an address data signal ADQ to the semiconductor memory device 20.
[0079] Furthermore, if the SerDes 12a receives the address data signal ADQ from the semiconductor memory device 20 and receives a first response message (ReplyA(OK)) indicating that no error was detected in the write command and address, it outputs the write data (Data) received from the host device to the error control unit 12b. Next, when the second check data for error detection of the write data is input from the error control unit 12b, the SerDes 12a converts the second check data and the write data into a parallel transmission mode. Then, the SerDes 12a transmits the second check data and the write data as the address data signal ADQ to the semiconductor memory device 20.
[0080] Furthermore, when SerDes 12a receives a second response message (ReplyA(NG)) from the semiconductor memory device 20 as an address data signal ADQ, indicating that an error was detected in either the write command or the address, it retransmits the write command, the address, and the first check data as the address data signal ADQ to the semiconductor memory device 20 when the signal retrywr for retransmitting the write command, the address, and the first check data is input from the error control unit 12b.
[0081] Furthermore, when SerDes 12a receives a second response message (ReplyA(NG)) from the semiconductor memory device 20 as an address data signal ADQ, indicating that an error was detected in either the read instruction or the address, the read instruction, the address, and the first check data are retransmitted to the semiconductor memory device 20 as the address data signal ADQ when the retryrd signal for retransmitting the read instruction, the address, and the first check data is input from the error control unit 12b.
[0082] In addition, if SerDes 12a receives a fourth response message (ReplyD(NG)) from the semiconductor memory device 20 as an address data signal ADQ, it will transmit the written data and the corresponding second check data as address data signal ADQ back to the semiconductor memory device 20.
[0083] For example, the second check data and the first check data can be configured as a parity code or a Cyclic Redundancy Check (CRC) code, etc.
[0084] Next, the semiconductor memory device 20 is described, including: a sequence control unit 21; an instruction control unit 22; an address control unit 23; a word line control unit 24; a row control unit 25; a data control unit 26; a data bus control unit 27; a sense amplifier 28; and a memory cell array 29. Each of the units 21 to 29 within the semiconductor memory device 20 may also be constructed by dedicated hardware devices or logic circuits.
[0085] The sequence control unit 21 is configured to change the transmission mode of the address data signal ADQ transmitted and received between the memory controller 10 and the memory controller 10. Furthermore, the sequence control unit 21 includes a SerDes 21a and an error control unit 21b. Similar to the SerDes 12a of the memory controller 10, the SerDes 21a causes the signals transmitted or received between the memory controller 10 and the semiconductor memory device 20 to switch between serial transmission mode and parallel transmission mode. Additionally, the sequence control unit 21 is configured to transmit the data strobe signal RWDS to the sequence control unit 12 of the memory controller 10. Furthermore, in this embodiment, the sequence control unit 21 is an example of the "second sequence control unit" of the present invention, the SerDes 21a is an example of the "second serializer / deserializer" of the present invention, and the error control unit 21b is an example of the "second error control unit" of the present invention.
[0086] When SerDes 21a receives the instruction, address, and first check data as address data signals ADQ from the memory controller 10, it converts the instruction, address, and first check data into serial transmission mode and outputs them to the error control unit 21b. The error control unit 21b uses the first check data to perform error detection on the instruction and address. If no error is detected from the instruction and address, the error control unit 21b outputs a first response message (ReplyA(OK)) indicating that no error was detected in the instruction and address to SerDes 21a.
[0087] When SerDes 21a receives a first response message (ReplyA(OK)) indicating that no error was detected in the instruction and address from the error control unit 21b, it converts the first response message (ReplyA(OK)) into a parallel transmission mode and transmits it as the address data signal ADQ to the memory controller 10. Additionally, in this case, SerDes 21a outputs a signal ope indicating the content of the received instruction (read instruction or write instruction) to the instruction control unit 22, and a signal adr indicating the received address to the address control unit 23.
[0088] On the other hand, when the error control unit 21b detects an error in either the instruction or the address, it outputs a second response message (ReplyA(NG)) showing the detected error in either the instruction or the address to the SerDes 21a. When the second response message (ReplyA(NG)) showing the detected error in the instruction or address is input from the error control unit 21b, the SerDes 21a converts the second response message (ReplyA(NG)) into a parallel transmission mode and transmits the second response message (ReplyA(NG)) as the address data signal ADQ to the memory controller 10.
[0089] Furthermore, when SerDes 21a receives the second check data and write data as address data signals ADQ from the memory controller 10, it converts the second check data and write data into serial transmission mode and outputs them to the error control unit 21b. The error control unit 21b uses the second check data to perform error detection on the write data. If no error is detected from the write data, the error control unit 21b outputs a third response message (ReplyD(OK)) indicating that no error was detected in the write data to SerDes 21a.
[0090] When SerDes 21a receives a third response message (ReplyD(OK)) indicating that no error was detected in the written data from the error control unit 21b, it converts the third response message (ReplyD(OK)) into a parallel transmission mode and transmits it as the address data signal ADQ to the memory controller 10. Additionally, in this case, SerDes 21a outputs the signal di, which displays the received data, to the data control unit 26.
[0091] On the other hand, when the error control unit 21b detects an error in the written data, it outputs a fourth response message (ReplyD(NG)) indicating that an error was detected in the written data to the SerDes 21a. When the fourth response message (ReplyD(NG)) indicating that an error was detected in the written data is input from the error control unit 21b, the SerDes 21a converts the fourth response message (ReplyD(NG)) into a parallel transmission mode and transmits the fourth response message (ReplyD(NG)) as an address data signal ADQ to the memory controller 10.
[0092] Furthermore, when the signal do for displaying read data is input from the data control unit 26, SerDes 21a outputs the read data to the error control unit 21b. Next, when the second check data for error detection of the read data is input from the error control unit 21b, SerDes 21a converts the read data and the second check data into a parallel transmission mode and transmits the read data and the second check data as address data signal ADQ to the memory controller 10.
[0093] Furthermore, when the chip select signal / CE changes from invalid (high level) to valid (low level), the error control unit 21b activates the busy signal (high level) indicating that read or write access is in progress and outputs it to the instruction control unit 22. The instruction control unit 22 is configured to generate internal instructions based on instructions input from the memory controller 10. Specifically, when the valid busy signal is input from the sequence control unit 21, the instruction control unit 22 generates internal instructions in response to the ope signal input from the sequence control unit 21. Here, the generated internal instructions include, for example, read signals, write signals, update signals, etc. In response to the generated internal instructions, the instruction control unit 22 activates the word line activation signal wlon and outputs it to the word line control unit 24, activates the bit line activation signal clon and outputs it to the row control unit 25, and activates the sense amplifier 28 signal saon and outputs it to the sense amplifier 28. In addition, the instruction control unit 22 activates the deactivated word line signal wloff and outputs it to the word line control unit 24.
[0094] The address control unit 23 is configured to control the activation of word lines and bit lines corresponding to the address based on the address input from the memory controller 10. Specifically, when the signal adr is input from the sequence control unit 21, the address control unit 23 generates a column address signal ra indicating the activated word lines and a row address signal ca indicating the activated bit lines. Then, the address control unit 23 outputs the generated column address signal ra to the word line control unit 24 and the generated row address signal ca to the row control unit 25.
[0095] When the word line control unit 24 receives input from the instruction control unit 22 with the signal wlon active, it outputs the signal wl, which is displayed by the column address signal ra input from the address control unit 23 and is used to activate the word line, to the memory cell array 29, thereby activating (driving) the word line. Conversely, when the signal wloff is active and receives input from the instruction control unit 22, the word line control unit 24 outputs the signal wl, which is used to deactivate the word line, to the memory cell array 29, thereby deactivating the word line.
[0096] When the line control unit 25 receives input from the instruction control unit 22 while the signal clon is active, it outputs the signal cl, which is displayed by the line address signal ca input from the address control unit 23, to the inductive amplifier 28 from among the multiple bit lines in the memory cell array 29.
[0097] When the signal di for displaying written data is input from the sequence control unit 21, the data control unit 26 outputs the signal wdb for displaying written data to the data bus control unit 27. Conversely, when the signal rdb for displaying read data is input from the data bus control unit 27, the data control unit 26 outputs the signal do for displaying read data to the sequence control unit 21.
[0098] When the signal wdb for displaying written data is input from the data control unit 26, the data bus control unit 27 outputs the signal cdb for displaying written data to the induction amplifier 28. Conversely, when the signal cdb for displaying read data is input from the induction amplifier 28, the data bus control unit 27 outputs the signal rdb for displaying read data to the data control unit 26.
[0099] When the signal 'saon' is active and is input from the instruction control unit 22, the sensor amplifier 28 outputs the signal 'bl', which is used to activate the bit line (displayed by the signal 'cl' input from the row control unit 25), to the memory cell array 29, activating (driving) the bit line. Then, the sensor amplifier 28 reads and writes data to the memory cell via the activated bit line. For example, the sensor amplifier 28 writes the display write data signal 'cdb' input from the data bus control unit 27 to the memory cell via the activated bit line. Additionally, the sensor amplifier 28 outputs data read from the memory cell to the data bus control unit 27 via the activated bit line.
[0100] The memory cell array 29 comprises multiple memory cells (not shown in the figure) arranged in rows and columns. Each memory cell stores data input from the memory controller 10. Each memory cell can be a conventional 1T1C (one transistor, one capacitor) type memory cell. Furthermore, each memory cell is connected to any one of a plurality of word lines and any one of a plurality of bit lines.
[0101] Reference Figure 2 The following example illustrates the case where a write instruction is input from the memory controller 10.
[0102] First, when the semiconductor memory device 20 receives instructions, addresses, and first check data from the memory controller 10, it uses the first check data to perform error detection on the instructions and addresses. Next, if no error is detected, the semiconductor memory device 20 transmits a first response message (ReplyA(OK)) indicating that no error was detected in the instructions and addresses to the memory controller 10. Alternatively, the first response message (ReplyA(OK)) can also be transmitted during the period from when the instructions and addresses are input until data is input or output.
[0103] Additionally, when no errors are detected in the instruction and address, the semiconductor memory device 20 activates the signal wlon (high level). In this case, the signal wl (high level) is activated to activate the word line corresponding to the address.
[0104] On the other hand, when the memory controller 10 receives the first response information (ReplyA(OK)), it transmits the second check data and write data to the semiconductor memory device 20. Alternatively, the second check data can also be transmitted during the delay period.
[0105] When the semiconductor memory device 20 receives second check data and write data from the memory controller 10, it uses the second check data to perform error detection on the write data. Additionally, the semiconductor memory device 20 activates the signal cl (high level) of the bit line corresponding to the address. At this time, the sensing amplifier 28 of the semiconductor memory device 20 can write the write data into the memory cells within the memory cell array 29 by activating the bit line corresponding to the address.
[0106] Furthermore, when the chip select signal / CE is invalid (high level) after receiving the write data, the semiconductor memory device 20 will send a response message (third response message (ReplyD(OK)) or fourth response message (ReplyD(NG))) to the memory controller 10 to indicate whether an error was detected in the write data.
[0107] Furthermore, when write data is correctly written into the memory cells within the memory cell array 29, the semiconductor memory device 20 enables the signal wloff (high level). Therefore, it disables the signal wl (low level). In this way, when the memory controller 10 receives a first response message (ReplyA(OK)) from the semiconductor memory device 20 indicating that no error was detected in the instruction and address, the data written to that address can be transmitted between the controller 10 and the semiconductor memory device 20.
[0108] Reference Figure 3 The following example illustrates the case where a write instruction is input from the memory controller 10.
[0109] First, when the semiconductor memory device 20 receives instructions, addresses, and first check data from the memory controller 10, it performs error detection on the instructions and addresses using the first check data. Next, when an error is detected, the semiconductor memory device 20 transmits a second response message (ReplyA(NG)) to the memory controller 10, displaying either the instruction or the address that the error was detected. Furthermore, in this case, the semiconductor memory device 20 does not activate the word lines and bit lines corresponding to the address.
[0110] On the other hand, when the memory controller 10 receives the second response information (ReplyA(NG)), it transmits the instruction, address and first check data to the semiconductor memory device 20.
[0111] When the semiconductor memory device 20 receives the retransmitted instruction, address, and first check data from the memory controller 10, it uses the first check data to perform error detection on the instruction and address. Then, if no error is detected, the semiconductor memory device 20 transmits a first response message (ReplyA(OK)) indicating that no error was detected in the instruction and address to the memory controller 10. Furthermore, the subsequent operation of the semiconductor memory device 20... Figure 2 The example shown is the same.
[0112] When an error is detected in the instruction and address, the memory controller 10 transmits the instruction and address back to the semiconductor memory device 20, so that the semiconductor memory device 20 can start the erroneous operation from the beginning and access the memory again.
[0113] Reference Figure 4 The following example illustrates the case where a write instruction is input from the memory controller 10.
[0114] First, when the semiconductor memory device 20 receives instructions, addresses, and first check data from the memory controller 10, it uses the first check data to perform error detection on the instructions and addresses. Additionally, when the chip select signal / CE changes from invalid (high level) to valid (low level), the semiconductor memory device 20 makes the busy signal valid (high level).
[0115] Furthermore, after transmitting the first response information (ReplyA(OK)) to the memory controller 10, the semiconductor memory device 20 receives the second check data and the write data, and uses the second check data to perform error detection on the write data. Additionally, as described above, the semiconductor memory device 20 performs the write data.
[0116] Here, if an error is detected during data writing, the semiconductor memory device 20, when the chip select signal / CE is invalid (high level), transmits a fourth response message (ReplyD(NG)) indicating that an error was detected in the written data to the memory controller 10. Additionally, in this case, the semiconductor memory device 20 maintains both the wl and busy signals valid.
[0117] On the other hand, when the memory controller 10 receives the fourth response information (ReplyD(NG)), it transmits the second check data and write data to the semiconductor memory device 20.
[0118] When the semiconductor memory device 20 receives the second check data and write data to be retransmitted from the memory controller 10, it uses the second check data to perform error detection on the write data. Then, the semiconductor memory device 20 writes the data again. Next, if no error is detected in the write data, the semiconductor memory device 20 sends a third response message (ReplyD(OK)) indicating that no error was detected in the write data to the memory controller 10. Additionally, the semiconductor memory device 20 disables (goes low) both the wl and busy signals.
[0119] In this way, according to the memory system of this embodiment, the state in which errors are contained in the read or write data can be suppressed. Furthermore, according to the memory system of this embodiment, even if an error is detected in the data, the semiconductor memory device 20 can continue to perform access operations related to writing the data by waiting for the data to be transmitted. Additionally, during the period of waiting for data retransmission, the semiconductor memory device 20 maintains the signal w1 in a valid state, for example, in the case of instruction and address retransmission, because the waiting time (delay) until the activation of the sensing amplifier is no longer required, the operating time can be shortened.
[0120] Furthermore, although this embodiment is described using the case where only data is retransmitted when an error is detected in the data as an example, the present invention is not limited to this. For example, instructions may be retransmitted, the addresses of the corresponding column address signal ra and / or row address signal ca may be retransmitted, or both instructions and addresses may be retransmitted.
[0121] Furthermore, according to the memory system of this embodiment, if an error is detected in the data, the data can be rewritten by retransmitting the data through the memory controller 10.
[0122] Reference Figure 5 The following example illustrates the case where a write instruction is input from the memory controller 10.
[0123] First, when an error is detected in the written data, the semiconductor memory device 20 disables the chip select signal / CE (high level) and sends a fourth response message (ReplyD(NG)) indicating that an error was detected in the written data to the memory controller 10. Furthermore, the operation of the semiconductor memory device 20 until an error is detected in the written data is compared with the reference... Figure 4 The examples used are the same.
[0124] Here, from the time the semiconductor memory device 20 receives the fourth response information (ReplyD(NG)) to the memory controller 10 until a specified time elapses, if no second check data or write data is received from the memory controller 10, the signals W1 and Busy can be deactivated (low level). Therefore, the standby state for retransmission of write data is released. Additionally, the semiconductor memory device 20 can also measure the elapsed time using a built-in timing circuit (omitted in the figure).
[0125] In this way, according to the memory system of this embodiment, the semiconductor memory device 20 can process other read or write accesses by releasing the wait for the retransmission of the data when no data is being transmitted.
[0126] Next, refer to Figure 6 In the standby state, the semiconductor memory device 20 enables the chip select signal / CE (low level) and performs error checks on the instruction and address using the first check data when the instruction, address, and first check data are input (step S100). Next, if an error is detected (step S101: Yes), the semiconductor memory device 20 outputs a second response message (ReplyA(NG)) to the memory controller 10 and transitions to the standby state. Conversely, if no error is detected (step S101: No), the semiconductor memory device 20 outputs a first response message (ReplyA(OK)) to the memory controller 10 and transitions to the active state.
[0127] When the semiconductor memory device 20 is transferred to the active state, the memory cell array 29 is activated (word lines and bit lines are activated) (step S102).
[0128] Next, the semiconductor memory device 20 performs read or write access according to the instruction and address (step S103). Here, in the case of write access, the semiconductor memory device 20 performs write access after receiving the second check data and write data.
[0129] In addition, the semiconductor memory device 20 uses the second check data to perform error checking on the written data (step S104).
[0130] Here, when an error is detected in the data (step S105: Yes), the semiconductor memory device 20 outputs a fourth response message (ReplyD(NG)) to the memory controller 10 and transitions to a state of waiting for data retransmission. Next, when the chip select signal / CE is active (low level), the semiconductor memory device 20 proceeds to the processing in step S103. Furthermore, if a specified time elapses in the state of waiting for data retransmission, the semiconductor memory device 20 proceeds to the processing in step S106, described later. When no error is detected in the data (step S105: No), the semiconductor memory device 20 outputs a third response message (ReplyD(OK)) to the memory controller 10, deactivates the memory cell array 29 (deactivates word lines and bit lines) (step S106), and transitions to a standby state.
[0131] As described above, according to the memory system of this embodiment, when the memory controller 10 receives a first response message (ReplyA(OK)) from the semiconductor memory device 20 indicating that no error was detected in the instruction and address, it can transmit or receive data read from or written to that address. Therefore, during instruction packet transmission, since inappropriate access due to changes in the content or address of the instruction can be suppressed, the semiconductor memory device 20 can be properly accessed. Furthermore, according to the memory system of this embodiment, virtual static random access memory can be properly accessed.
[0132] (Second Embodiment)
[0133] The memory system of the second embodiment of the present invention is described below, in which the semiconductor memory device 20 includes multiple interleaved memory repositories.
[0134] Reference Figure 7 and Figure 8 The following example illustrates the case where the semiconductor memory device 20 includes two memory banks (BNK0 and BNK1). Figure 7 The timelines shown in (a) and (b) are in Figure 7 (a) followed by Figure 7 (b) shows the continuous time history. Figure 8 The same applies to (a) and (b).
[0135] like Figure 7As shown, a semiconductor memory device can be configured to access another (BNK1) of a memory bank during a delay period from the input of an instruction (Operation(BNK0)), address (Address(BNK0)), and first check data (CheckA(BNK0)) to one (BNK0) of the memory bank until the input or output of data (Data(BNK0)).
[0136] Similar to the first embodiment, when no error is detected in the instruction (Operation(BNK0)) and address (Address(BNK0)) of a repository (BNK0), the semiconductor storage device 20 enables the signal wl(BNK0) of the corresponding address (Address(BNK0, row = Rm(Rm is the display column address, m is an integer)) to be active (high level).
[0137] Furthermore, during the delay (delay (BNK0)) of accessing one (BNK0) of the storage repository, the semiconductor storage device 20 performs access to another (BNK1) of the storage repository. Here, during the access to the other (BNK1) of the storage repository, the semiconductor storage device 20 reads or writes data (Data(BNK1)), which corresponds to the address (Address(BNK1, row = Ri(Ri display column address, i is an integer)) received before the delay of accessing the other (BNK1) of the storage repository. Next, when no error is detected in the data (Data(BNK1)) (when ReplyD(BNK1) is OK), the semiconductor storage device 20 receives the next access instruction (Operation(BNK1)) and address (Address(BNK1, row = Rj(Rj display column address, j is an integer)) for the other (BNK1) of the storage repository. At this time, the semiconductor memory device 20 makes the signal wl(BNK1) corresponding to the address (Address(BNK1,row=Rj)) valid (high level).
[0138] Next, during the delay (delay (BNK1)) of accessing another (BNK1) of the storage repository, the semiconductor storage device 20 accesses one (BNK0) of the storage repository. Here, during the access to one (BNK0) of the storage repository, the semiconductor storage device 20 reads or writes data (Data(BNK0)), which corresponds to the address (Address(BNK0, row = Rm)) received before the delay of accessing one (BNK0) of the storage repository. Then, when no error is detected in the data (Data(BNK0)) (when ReplyD(BNK0) is OK), the semiconductor storage device 20 receives the next access instruction (Operation(BNK0)) and address (Address(BNK0, row = Rn(Rn is the display column address, n is an integer)) for the stored one (BNK0). At this time, the semiconductor memory device 20 makes the signal wl(BNK0) corresponding to the address (Address(BNK0,row=Rn)) valid (high level).
[0139] like Figure 8 As shown, during access to one (BNK0) of the repository, when an error is detected in the data (Data(BNK0)) (when ReplyD(BNK0) is NG), the semiconductor memory device 20 may extend the access delay to the other (BNK1) of the repository (delay(BNK1)) until it receives the next access instruction (Operation(BNK0)) and address (Address(BNK0, row = Rn)) after receiving the data (Data(BNK0)) without detecting the error.
[0140] As described above, the memory system according to this embodiment can speed up access to the semiconductor memory device 20 because it can simultaneously access multiple memory repositories in parallel.
[0141] (Third Embodiment)
[0142] The memory system of the third embodiment of the present invention is described below, wherein the semiconductor memory device 20 is configured to internally generate update requests for performing updates to memory cells.
[0143] The semiconductor memory device 20 is configured to, from the generation of an update request signal until the update is performed, if any error is detected in any of the instructions, addresses, and data received from the memory controller 10, then any of the instructions, addresses, and data is retransmitted from the memory controller 10 until no error is detected, and then the update is stopped.
[0144] Reference Figure 9The following example illustrates the case where a write instruction is input from the memory controller 10.
[0145] First, when the chip select signal / CE changes from active (high level) to inactive (low level), the semiconductor memory device 20 activates the busy signal (high level). During the period of receiving instructions, addresses, and first check data, when the semiconductor memory device 20 internally generates an update request signal refreq (active), it activates the refwait signal (high level) to wait for the update to be executed. For example, the update request signal refreq and the refwait signal can also be generated by the instruction control unit 22 of the semiconductor memory device 20.
[0146] Next, when the semiconductor memory device 20 detects an error in the instruction and address, it sends a second response message (ReplyA(NG)) to the memory controller 10 to display the error detection.
[0147] Next, when no error is detected in the instructions and addresses transmitted from the memory controller 10, the semiconductor memory device 20 receives write data from the memory controller 10 and writes the received write data.
[0148] Next, when no errors are detected in the written data (when the third response message (ReplyD(OK)) is transmitted to the memory controller 10), the semiconductor memory device 20 invalidates the refwait signal (low level). Furthermore, the semiconductor memory device 20 performs an update while the refwait signal is invalid (low level). Specifically, to activate the word line to be updated, the semiconductor memory device 20 makes both the wlon signal and the wl signal valid (high level). Additionally, to perform the update, the semiconductor memory device 20 uses the bl signal to activate the bit line valid (high level). Next, the semiconductor memory device 20 performs the update. Finally, at the end of the update, the semiconductor memory device 20 makes both the wloff signal valid (high level) and the wl signal invalid (low level).
[0149] Although the explanation is omitted in the figure, when an error is detected in the data, the semiconductor memory device 20 can also wait for the execution of the update (the refwait signal is active (high level)) until no more data is transmitted from the memory controller 10 and an error is detected.
[0150] By stopping the update process until no error is detected in any of the instructions, addresses, or data, access delays caused by the update process can be suppressed.
[0151] In addition, as a variation of the third embodiment, during the period from the generation of the update request signal refreq to the execution of the update, the semiconductor memory device 20 may also transmit a fifth response message to the memory controller 10 to execute the update when an error is detected in any of the instructions, addresses, and data received from the memory controller 10.
[0152] Reference Figure 10 The following example illustrates the case where a write instruction is input from the memory controller 10.
[0153] First, when the chip select signal / CE changes from invalid (high level) to valid (low level), the semiconductor memory device 20 makes the busy signal valid (high level). Here, during the period of receiving instructions, addresses, and first check data, when the semiconductor memory device 20 internally generates an update request signal refreq (valid), it uses the refwait signal to wait for the execution of the update to be valid.
[0154] Next, when an error is detected in the instruction or address, the semiconductor memory device 20 sends a second response message (ReplyA(NG)) to the memory controller 10, indicating that an error has been detected. Alternatively, the second response message (ReplyA(NG)) may include a fifth response message (shown as "Ref next" in the figure) indicating that an update will be performed.
[0155] On the other hand, when the memory controller 10 receives the second response information (ReplyA(NG)) containing the fifth response information ("Ref next"), it may also consider performing an update within the semiconductor memory device 20 until a specified time has elapsed, waiting for the transmission of the next access command (Operation), address, and first check data.
[0156] Next, the semiconductor memory device 20 invalidates the busy signal (low level) once, and then makes it valid (high level). Additionally, in response to the invalid (low level) busy signal, the semiconductor memory device 20 begins performing an update, invalidating the refwait signal (low level). Then, after finishing the update, the semiconductor memory device 20 proceeds to the next access process.
[0157] By performing an update when an error is detected in any of the instructions, addresses, and data, for example, the retransmission of any of the instructions, addresses, and data during repeated executions can be suppressed due to the loss of stored information in the semiconductor memory device 20 that has not performed an update.
[0158] In the above embodiments, although the case of pSRAM as the semiconductor memory device 20 is described as an example, the present invention is not limited to this case. For example, the semiconductor memory device 20 may also be DRAM, flash memory, or other semiconductor memory devices.
[0159] Furthermore, although the above embodiment is described using the case where the memory controller 10 transmits a write instruction to the semiconductor memory device 20 as an example, the same effect can be obtained even if the memory controller 10 transmits a read instruction to the semiconductor memory device 20.
[0160] The semiconductor memory device 20 (one of the memory controller 10 and the semiconductor memory device 20) can also transmit read data and second check data for error detection of read data to the memory controller 10 (the other of the memory controller 10 and the semiconductor memory device 20). Furthermore, when the memory controller 10 receives read data and the second check data for error detection of read data, it can also use the second check data to perform error detection on the read data. If no error is detected in the read data, it transmits a third response message (ReplyD(OK)) indicating that no error was detected in the read data to the semiconductor memory device 20, thus confirming that the read data has properly reached the memory controller 10.
[0161] Furthermore, when the memory controller 10 (the other of the memory controller 10 and semiconductor memory device 20) detects an error in the data, it can also send a fourth response message (ReplyD(NG)) indicating that an error was detected in the data to the semiconductor memory device 20 (the other of the memory controller 10 and semiconductor memory device 20), and wait for a specified period of time before retransmitting the data from the semiconductor memory device 20. Even when an error is detected in the data, the memory controller 10 can continue to access the data by waiting for it to be retransmitted. Therefore, compared to the case of re-accessing the data from the beginning (retransmitting instructions and addresses), access efficiency can be improved.
[0162] Furthermore, when the semiconductor memory device 20 (one of the memory controller 10 and the semiconductor memory device 20) receives the fourth response information (ReplyD(NG)), it can also transmit the data and the corresponding second check data back to the memory controller 10 (the other of the memory controller 10 and the semiconductor memory device 20). Therefore, when an error is detected in the data, the data can be read again by transmitting the data through the semiconductor memory device 20.
[0163] Additionally, the memory controller (the other of memory controller 10 and semiconductor memory device 20) may release the wait for data retransmission if no data is transmitted from semiconductor memory device 20 (one of memory controller 10 and semiconductor memory device 20) for a specified period of time. In this case, memory controller 10 can handle other read or write accesses by releasing the wait for data retransmission when no data is transmitted, thereby improving access processing efficiency.
[0164] In the above embodiments, although the case where the first check data, instructions, and address are transmitted separately is used as an example, the present invention is not limited to this case. Figure 11 The diagram shows an example of bit segmentation for instructions and addresses. It is also assumed here that the semiconductor memory device 20 is a pSRAM.
[0165] exist Figure 11 In the example shown, 8-bit address data signals ADQ[7] to ADQ[0] are input at each rising and falling edge of the external clock signal CLK. The instruction is configured in the address data signals ADQ[7] to ADQ[5] input at the rising edge of the first external clock signal CLK, and the address (Address
[31] to Address[0]) is configured in the address data signals ADQ input from the first external clock signal CLK to the third external clock signal CLK. In addition, although the address data signals ADQ[7] to ADQ[0] input at the rising edge of the third external clock signal CLK and the address data signals ADQ[7] to ADQ[3] input at the falling edge of the third external clock signal CLK are reserved areas, they are unused areas. Here, at least a portion of the reserved area can also be configured as the first check data. Therefore, the semiconductor memory device 20 becomes capable of simultaneously receiving the first check data and the address. Alternatively, the first check data can also be configured in the address data signal ADQ input at the rising or falling edge of the fourth or subsequent external clock signal CLK.
[0166] Additionally, the data strobe signal RWDS can also be configured to represent the display of the fifth response information for performing an update. For example, when the data strobe signal RWDS is high (H), it can represent the display of the fifth response information for performing an update (“Refnext”). On the other hand, when the data strobe signal RWDS is low (L), it can represent the display of a signal that the receive address data signal ADQ can be directly transmitted (“Immediate”).
[0167] like Figure 12As shown, the data strobe signal RWDS can also be configured to represent either a first response (ReplyA(OK)) or a second response (ReplyA(NG)). For example, when the logic level (high or low) of the data strobe signal RWDS is maintained at the rising edge of the fourth external clock signal CLK (“kept”), the data strobe signal RWDS can also represent the first response (ReplyA(OK)). On the other hand, when the logic level (high or low) of the data strobe signal RWDS is inverted at the rising edge of the fourth external clock signal CLK (“inverted”), the data strobe signal RWDS can also represent the second response (ReplyA(NG)). Furthermore, for example, the state of the data strobe signal RWDS can also respond to the rising or falling edge of the fifth external clock signal CLK, representing either the first response (ReplyA(OK)) or the second response (ReplyA(NG)).
Claims
1. A memory system, characterized by, include: Memory controller; as well as Semiconductor memory devices; The aforementioned memory controller is configured to perform: The instruction and address, as well as the first check data for error detection of the aforementioned instruction and address, are transmitted to the aforementioned semiconductor memory device. as well as When receiving a first response message from the aforementioned semiconductor memory device indicating that no error was detected at the aforementioned instruction and the aforementioned address, data read from or written to the aforementioned address is transmitted or received between the aforementioned semiconductor memory device according to the aforementioned instruction. The aforementioned semiconductor memory device is configured to perform: When receiving the aforementioned instruction, address, and first check data from the aforementioned memory controller, the aforementioned first check data is used to perform error detection on the aforementioned instruction and address. If no error is detected on the aforementioned instruction and address, the aforementioned first response information is transmitted to the aforementioned memory controller. When no error is detected at the aforementioned instruction and the aforementioned address, data read from or written to the aforementioned address is transmitted or received between the aforementioned memory controller according to the aforementioned instruction. as well as When the aforementioned semiconductor memory device is configured to internally generate an update request signal for performing an update, if an error is detected in any of the aforementioned instruction, the aforementioned address, and the aforementioned data received from the aforementioned memory controller between the generation of the aforementioned update request signal and the execution of the aforementioned update, the execution of the aforementioned update is stopped by retransmitting any of the aforementioned instruction, the aforementioned address, and the aforementioned data from the aforementioned memory controller until the aforementioned error is no longer detected.
2. A memory system, characterized by, include: Memory controller; as well as Semiconductor memory devices; The aforementioned memory controller is configured to perform: The instruction and address, as well as the first check data for error detection of the aforementioned instruction and address, are transmitted to the aforementioned semiconductor memory device. as well as When receiving a first response message from the aforementioned semiconductor memory device indicating that no error was detected at the aforementioned instruction and the aforementioned address, data read from or written to the aforementioned address is transmitted or received between the aforementioned semiconductor memory device according to the aforementioned instruction. The aforementioned semiconductor memory device is configured to perform: When receiving the aforementioned instruction, address, and first check data from the aforementioned memory controller, the aforementioned first check data is used to perform error detection on the aforementioned instruction and address. If no error is detected on the aforementioned instruction and address, the aforementioned first response information is transmitted to the aforementioned memory controller. When no error is detected at the aforementioned instruction and the aforementioned address, data read from or written to the aforementioned address is transmitted or received between the aforementioned memory controller according to the aforementioned instruction. as well as When the aforementioned semiconductor memory device is configured to internally generate an update request signal for performing an update, it is configured such that, from the generation of the aforementioned update request signal until the aforementioned update is performed, if any of the aforementioned instruction, the aforementioned address, and the aforementioned data received from the aforementioned memory controller is found to be faulty, a fifth response message for performing the aforementioned update will be transmitted to the aforementioned memory controller, and the aforementioned update will be performed.
3. The memory system according to claim 1 or 2, wherein The aforementioned semiconductor memory device is configured as follows: If an error is detected at any of the aforementioned instructions and addresses, a second response message indicating that an error was detected at any of the aforementioned instructions and addresses will be transmitted to the aforementioned memory controller. The aforementioned memory controller is configured as follows: When receiving the second response information from the aforementioned semiconductor memory device, the aforementioned instruction and the aforementioned address are then transmitted to the aforementioned semiconductor memory device.
4. The memory system according to claim 1 or 2, wherein One of the aforementioned memory controller and the aforementioned semiconductor memory device is configured as follows: The data read or written, as well as the second check data used for error detection of the aforementioned data, are transmitted to another of the aforementioned memory controller and the aforementioned semiconductor memory device; The other of the aforementioned memory controller and the aforementioned semiconductor memory device is configured as follows: When receiving the aforementioned data and the aforementioned second check data, the aforementioned second check data is used to perform error detection on the aforementioned data. If no error is detected in the aforementioned data, a third response message indicating that no error was detected in the aforementioned data is transmitted to one of the aforementioned memory controller and the aforementioned semiconductor memory device.
5. The memory system of claim 4, wherein, The other of the aforementioned memory controller and the aforementioned semiconductor memory device is configured to perform: When an error is detected in the aforementioned data, a fourth response message indicating that an error was detected in the aforementioned data will be displayed and transmitted to one of the aforementioned memory controller and the aforementioned semiconductor memory device; as well as Until the specified time has elapsed, wait for the aforementioned data to be transmitted again from either the aforementioned memory controller or the aforementioned semiconductor memory device.
6. The memory system as claimed in claim 5, characterized in that, One of the aforementioned memory controller and the aforementioned semiconductor memory device is configured as follows: Upon receiving the aforementioned fourth response information, the aforementioned data and the aforementioned second check data corresponding to the aforementioned data are then transmitted to another of the aforementioned memory controller and the aforementioned semiconductor memory device.
7. The memory system as claimed in claim 5, characterized in that, The other of the aforementioned memory controller and the aforementioned semiconductor memory device is configured as follows: If the aforementioned data is not transmitted from either the aforementioned memory controller or the aforementioned semiconductor memory device after the aforementioned specified time period, the wait for the retransmission of the aforementioned data is lifted.
8. The memory system as claimed in claim 1 or 2, characterized in that, The aforementioned semiconductor memory device also includes multiple repositories that are accessed in an interleaved manner.
9. The memory system as claimed in claim 1 or 2, characterized in that, The aforementioned semiconductor memory device is a virtual static random access memory.
10. The memory system as claimed in claim 1 or 2, characterized in that, The aforementioned memory controller includes: The control unit is required to generate a conversion signal when it receives a write or read request for the aforementioned semiconductor memory device from the host device. This conversion signal is used to change the transmission mode of the address data signals being transmitted or received between the memory controller and the semiconductor memory device. The first sequence control unit changes the transmission mode of the aforementioned address data signal based on the aforementioned transformation signal; The aforementioned first sequence control unit includes: The first serializer / deserializer serializes or deserializes the aforementioned address signal based on the aforementioned transformation signal; and The first error control unit generates the aforementioned first check data using the aforementioned instructions and the aforementioned address; The aforementioned first serializer / deserializer is configured to perform: When the aforementioned request control unit receives a write operation, and the aforementioned transformation signal is input from the aforementioned request control unit, a write command and an address are generated and output to the aforementioned first error control unit. When the first check data corresponding to the generated write command and address is input from the aforementioned first error control unit, the generated write command, address, and the aforementioned first check data are transmitted to the aforementioned semiconductor memory device as the aforementioned address data signal; and When the aforementioned semiconductor memory device receives a write command generated by the display and a first response message indicating that no error was detected in the address as the aforementioned address data signal, the write data received from the aforementioned host device is output to the aforementioned first error control unit.
11. The memory system as claimed in claim 10, characterized in that, The aforementioned first error control unit is configured to generate second check data for error detection of the aforementioned written data using the aforementioned written data; The aforementioned serializer / deserializer is configured to transmit the aforementioned second check data and the aforementioned write data as the aforementioned address data signal to the aforementioned semiconductor memory device when the aforementioned second check data is input from the aforementioned first error control unit.
12. The memory system as claimed in claim 10, characterized in that, The aforementioned first error control unit is configured to generate a signal for retransmitting the aforementioned write command, address, and the aforementioned first check data when it receives second response information from the aforementioned semiconductor memory device, which indicates that an error was detected from either the aforementioned write command or the address. The aforementioned first serializer / deserializer is configured to, when receiving the aforementioned second response information as the aforementioned address data signal from the aforementioned semiconductor memory device, transmit the aforementioned write instruction, address, and the aforementioned first check data as the aforementioned address data signal to the aforementioned semiconductor memory device when a signal for retransmitting the aforementioned write instruction, address, and the aforementioned first check data is input from the aforementioned first error control unit.
13. The memory system as claimed in claim 10, characterized in that, The aforementioned semiconductor memory device also includes a second sequence control unit, which changes the transmission mode of the aforementioned address data signals transmitted or received between the device and the aforementioned memory controller; The aforementioned second sequence control unit includes: The second serializer / deserializer serializes or deserializes the aforementioned address data signals; and The second error control unit uses the first check data received from the memory controller to perform error detection on the instruction and the address. The aforementioned second serializer / deserializer is configured to perform: When the aforementioned instruction, address, and first check data are received from the aforementioned memory controller as the aforementioned address data signal, the aforementioned instruction, address, and first check data are converted into serial transmission mode and output to the aforementioned second error control unit; When the aforementioned first response information is input from the aforementioned second error control unit, the aforementioned first response information is converted into a parallel transmission mode, the aforementioned first response information is output as the aforementioned address data signal to the memory controller, a signal to display the content of the aforementioned instruction is output to the instruction control unit that generates internal instructions based on the aforementioned instruction, and a signal to display the aforementioned address is output to the address control unit that controls the activation of the word line and bit line corresponding to the aforementioned address; and When the second response information is input from the aforementioned second error control unit, the aforementioned second response information is converted into a parallel transmission mode, and the aforementioned second response information is transmitted to the aforementioned memory controller as the aforementioned address data signal.
14. The memory system as claimed in claim 13, characterized in that, The aforementioned second error control unit is configured to perform error detection on the aforementioned written data using second check data for error detection of the aforementioned written data; The aforementioned second serializer / deserializer is configured to perform: When receiving the aforementioned write data and the second check data for error detection of the aforementioned write data as address data signals from the aforementioned memory controller, the aforementioned write data and the aforementioned second check data are output to the aforementioned second error control unit; When a fourth response message indicating an error was detected in the aforementioned written data is input from the second error control unit, the aforementioned fourth response message is transmitted to the aforementioned memory controller as the aforementioned address data signal.
Citation Information
Patent Citations
Semiconductor memory and memory system
JP2002063791A
Error detecting / correcting system and control apparatus employing the system
JP2004193664A
Memory controller, semiconductor memory device and decoding method
JP2013029882A
Transmission apparatus and retry method
US20170063496A1
