This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2021-141392, filed Aug. 31, 2021, the entire contents of which are incorporated herein by reference.
Embodiments described herein relate generally to a memory system.
An increase in the link speed of the memory system is desired.
Embodiments implement an increase in the speed of a memory system.
In general, according to one embodiment, a memory system includes a nonvolatile memory, and a controller electrically connected to the nonvolatile memory and including at least an equalizer circuit and a clock-and-data output circuit. The equalizer circuit receives a first data signal from a host via a serial communication, reduces an inter-symbol interference jitter of the first data signal to generate a second data signal, and outputs the second data signal. The clock-and-data output circuit extracts a third data signal and a clock signal from the second data signal and outputs the third data signal and the clock signal. The controller executes, when a link speed with the host is switched from a first link speed to a second link speed, a detection process of detecting predetermined data in the third data signal based on the first data signal received from the host at the second link speed, and resets a state of the clock-and-data output circuit when the predetermined data is not detected within a predetermined period of time in the detection process.
A memory system according to an embodiment will be described in detail with reference to the drawings. The following embodiment is merely an example and is not intended to limit the scope of the present disclosure. In addition, the following drawings are schematic, and an illustration of a part of the configuration or the like may be omitted for convenience of description. In addition, components common to a plurality of embodiments will be represented by the same reference numerals, and the description thereof will not be repeated.
In the present specification, a first element “being electrically connected to” a second element includes a state where the first element is connected to the second element and a state where the first element is directly connected to the second element via a wiring, a semiconductor member, a transistor, or the like. For example, when three transistors are connected in series, even if the second transistor is in an OFF state, the first transistor is “electrically connected” to the third transistor.
In the present specification, a first element being “connected between” a second element and a third element includes a state where the first element, the second element, and the third element are connected in series and the second element is connected to the third element via the first element.
[Configuration]
The memory system 10 includes a plurality of memory dies MD and a controller die CD. The memory die MD stores user data. The memory die MD is, for example, a NAND flash memory.
The controller die CD is electrically connected to the plurality of memory dies MD and the host 20. The controller die CD controls the memory dies MD. The controller die CD is configured with a semiconductor integrated circuit such as a system on a chip (SoC). The controller die CD includes a processor and a random access memory (RAM). The controller die CD executes a process such as conversion between a logical address and a physical address, bit error detection and correction, garbage collection (compaction), or wear leveling. A function of each of units of the controller die CD may be implemented by any one of dedicated hardware, a processor that executes a program, or a combination thereof.
The physical layer control circuit 100 includes a plurality of reception terminals Rxp/Rxn, an equalizer circuit (RxEQ) 101, a clock data recovery (CDR) circuit 102, a serial-input parallel-output (SIPO) circuit 103, an aligner circuit 104, a decoding (Dec) circuit 105, and an Rx change detector 106.
A data signal transmitted from the host 20 (
The equalizer circuit 101 includes a continuous time linear equalizer (CTLE) and a decision feedback equalizer (DFE). CTLE has, for example, a function of a bypass filter. For example, the CTLE reduces an inter-symbol interference (ISI) jitter of a data signal input to the reception terminals Rxp/Rxn and outputs the data signal to the DFE. The DFE includes, for example, a plurality of delay circuits. For example, the DFE reduces an ISI jitter of a data signal output from the CTLE and outputs the data signal to the CDR circuit 102 via communication terminals Rxp“/Rxn”.
The CDR circuit 102 extracts digital data and a clock signal from the data signal input from the equalizer circuit 101. In addition, the CDR circuit 102 outputs the extracted digital data to the SIPO circuit 103 as a data signal. In addition, the CDR circuit 102 outputs the extracted clock signal to the SIPO circuit 103.
The SIPO circuit 103 converts the data signal output from the CDR circuit 102 into a 10-bit parallel signal in accordance with the clock signal output from the CDR circuit 102, and outputs the 10-bit parallel signal into the aligner circuit 104.
The aligner circuit 104 includes, for example, a shift register. The aligner circuit 104 detects a start position of a symbol in the 10-bit parallel signal output from the SIPO circuit 103 and extracts the symbol. In addition, the aligner circuit 104 outputs the extracted symbol to the decoding circuit 105 as the 10-bit parallel signal.
The decoding circuit 105 decodes the 10-bit symbol output from the aligner circuit 104 into an 8-bit symbol. In addition, the decoding circuit 105 outputs the decoded symbol to the medium access control circuit 120 as the 8-bit parallel signal via the PIPE.
The Rx change detector 106 receives one or more RxEQ values described below from the medium access control circuit 120, detects a change of the RxEQ values, and supplies a reset signal to the CDR circuit 102.
The medium access control circuit 120 includes an ordered set (OS) detector 121, a CDR lock detector 122, and an RxEQ value controller 123.
The OS detector 121 receives the 8-bit symbols output from the decoding circuit 105, and determines the type of OS per 16 symbols. The OS detector 121 outputs the determined type of OS to the CDR lock detector 122 as symbol information.
When the type of OS represented by the symbol information output from the OS detector 121 matches a predetermined OS, the CDR lock detector 122 determines that the CDR is locked. When the CDR lock detector 122 determines that the CDR is locked, the CDR lock detector 122 outputs CDR lock information to the RxEQ value controller 123. Optionally, to determine whether the CDR is locked, the CDR lock detector 122 may also use whether the aligner circuit 104 is in a state of outputting valid data.
When the CDR lock information is not received from the CDR lock detector 122 within a predetermined period of time, the RxEQ value controller 123 detects a time out. The predetermined period of time is measured by a timer (not illustrated) in the RxEQ value controller 123. When the time out is detected, the RxEQ value controller 123 outputs the RxEQ values to the equalizer circuit 101 and the Rx change detector 106. The RxEQ values include control parameters for the equalizer circuit 101.
State information is input from a link training and status state machine (LTSSM; not illustrated) to the RxEQ value controller 123. When the state of LTSSM represented by the state information is not a predetermined state, the RxEQ value controller 123 may not detect the time out.
In the configuration example, a voltage Vcc is supplied to a power supply node NO. In addition, a ground voltage Vss is supplied to power supply nodes N10 and N20.
In the configuration example, the CTLE includes a resistance R1, a node N11, a bipolar transistor Tr1, a node N12, and a constant current source I1 that are connected in series between the power supply node NO and the power supply node N10. In addition, the CTLE includes a resistance R2, a node N21, a bipolar transistor Tr2, a node N22, and a constant current source I2 that are connected in series between the power supply node N0 and the power supply node N20. In addition, the CTLE includes a variable resistance VR and a variable capacitor VC that are connected in parallel between the node N12 and the node N22.
In addition, in the configuration example, input terminals of the CTLE are electrically connected to the reception terminals Rxp/Rxn. The reception terminal Rxp is connected to a base terminal of the bipolar transistor Tr1. The reception terminal Rxn is connected to a base terminal of the bipolar transistor Tr2.
In addition, in the configuration example, output terminals of the CTLE are electrically connected to communication terminals Rxp′/Rxn′. The communication terminal Rxp′ is connected to the node N11. The communication terminal Rxn′ is connected to the node N21.
The RxEQ values described above with reference to
In the configuration example, the DFE includes a summer circuit 131 and a determination circuit 132 that are electrically connected between the communication terminals Rxp′/Rxn′ and the communication terminals Rxp″/Rxn″. In addition, the DFE includes a delay circuit 133, a delay circuit 134, a tap circuit 135, and a tap circuit 136. An output signal of the determination circuit 132 is input to the delay circuit 133. An output signal of the delay circuit 133 is input to the delay circuit 134 and the tap circuit 135. An output signal of the delay circuit 134 is input to the tap circuit 136.
The summer circuit 131 adds the signals input from the communication terminals Rxp′/Rxn′ and the output signals of the tap circuits 135 and 136, and outputs the added signal. The determination circuit 132 determines whether the output signal of the summer circuit 131 is “1” or “0”, and outputs a signal representing the determination result. The delay circuit 133 delays the output signal of the determination circuit 132, and outputs the delayed signal. The delay circuit 134 delays the output signal of the delay circuit 133, and outputs the delayed signal. The tap circuit 135 multiplies the output signal of the delay circuit 133 by a coefficient, and outputs the multiplied signal. The tap circuit 136 multiplies the output signal of the delay circuit 134 by a coefficient, and outputs the multiplied signal.
Output terminals of the determination circuit 132 are electrically connected to the communication terminals Rxp“/Rxn”.
The RxEQ values described above with reference to
Note that the configuration illustrated in
In the example of
In the example of
The recovery clock generation circuit 141 generates a signal CKS [3:0] having the same frequency as that of a data signal input from the host 20 (
The data sampler 142 may be a D flip-flop, for example, as illustrated in
The edge sampler 143 may be a D flip-flop, for example, as illustrated in
The phase comparison circuit 144 examines the values of the data Data [1:0] and the values of the edge Edge [1:0] to determine whether or not the phase of the data signal (input from the host 20 (
For example, when the values of Edge [0], Data [0], and Edge [1] are (0,0,1), the phase comparison circuit 144 determines that the phase of the signal CKS [3:0] is delayed, and outputs a signal for advancing the phase of the signal CKS [3:0] to the recovery clock generation circuit 141.
In addition, for example, when the values of Edge [0], Data [0], and Edge [1] are (0,1,1), the phase comparison circuit 144 determines that the phase of the signal CKS [3:0] is advanced, and outputs a signal for delaying the phase of the signal CKS [3:0] to the recovery clock generation circuit 141.
In addition, for example, when the values of Edge [0], Data [0], and Edge [1] are (1,0,0), the phase comparison circuit 144 determines that the phase of the signal CKS [3:0] is advanced, and outputs a signal for delaying the phase of the signal CKS [3:0] to the recovery clock generation circuit 141.
In addition, for example, when the values of Edge [0], Data [0], and Edge [1] are (1,1,0), the phase comparison circuit 144 determines that the phase of the signal CKS [3:0] is delayed, and outputs a signal for advancing the phase of the signal CKS [3:0] to the recovery clock generation circuit 141.
[Operation]
Next, an operation of the memory system according to the embodiment will be described with reference to
The medium access control circuit 120 (
In addition, when the link speed change process ends, the physical layer control circuit 100 (
The CDR lock process is executed for a predetermined period of time. When the CDR lock process ends, the physical layer control circuit 100 (
When the symbol lock process ends, the medium access control circuit 120 (
When the OS reception waiting process ends, the medium access control circuit 120 executes other processes required for communication with the host 20 (
[CDR Erroneous Lock]
Next, a CDR erroneous lock will be described with reference to
As described above with reference to
When the edge splitting occurs, the phase of the signal CKS [3:0] may be adjusted based on the timings t101 and t103. For example, as described above with reference to
In this case, for example, the data of the signal that is inverted at the timing t101 and the data of the signal that is inverted at the timing t103 are properly acquired. However, it is desired that the data of the signal that is inverted at the timing t101′ and the data of the signal that is inverted at the timing t103′ are acquired at timings t102′ and t104′ adjusted based on the timings t101′ and t103′. The timing t102′ is later than the timing t101′ by ¼ wavelength and is earlier than the timing t103′ by ¼ wavelength. In addition, the timing t104′ is later than the timing t103′ by ¼ wavelength and is earlier than the timing t101′ by ¼ wavelength.
For example, when there is a large difference between the timing t101 and the timing t101′ and when there is a large difference between the timing t103 and the timing t103′, data may be sampled at a timing at which the signals inverted at the timings t101′ and t103′ cannot be distinguished between “high (H)” and “low (L)”. As a result, there may be a case where the data of the signals inverted at the timings t101′ and t103′ cannot be properly detected. Hereinafter, this phenomenon will be referred to as the “CDR erroneous lock”.
Here, for example, when the CDR erroneous lock occurs in the CDR lock process described above with reference to
[Process when CDR Erroneous Lock Occurs in Memory System According to Embodiment]
Next, a process when the CDR erroneous lock occurs in the memory system according to the embodiment will be described with reference to
The process illustrated in
In the example of
When the predetermined period of time has elapsed in a state where the OS reception waiting process does not end, the medium access control circuit 120 resets the state of the CDR circuit 102. The predetermined period of time is, for example, an elapsed time from the start of the CDR lock process. When the state of the CDR circuit 102 is reset, for example, one or more new RxEQ values are output from the RxEQ value controller 123 described above with reference to
In addition, a change of the RxEQ values is detected by the Rx change detector 106, and the state of the CDR circuit 102 is reset. More specifically, the state of at least one of the recovery clock generation circuit 141, the data sampler 142, the edge sampler 143, and the phase comparison circuit 144 is reset.
When the state of the CDR circuit 102 is reset, the medium access control circuit 120 re-starts the OS reception waiting process again. In addition, when the state of the CDR circuit 102 is reset, the physical layer control circuit 100 (
[Process when CDR Erroneous Lock Occurs in Memory System According to Comparative Example]
Next, a process when the CDR erroneous lock occurs in a memory system according to a comparative example will be described with reference to
In the memory system according to the comparative example, when a predetermined period of time has elapsed in a state where the OS reception waiting process does not end, a communication error occurs. In the memory system according to the comparative example, the link speed is switched from the link speed GenB back to the link speed GenA. For example, in the example of
[Effect of Memory System According to Embodiment]
When the CDR erroneous lock occurs in the memory system according to the comparative example, as illustrated in
On the other hand, in the memory system according to the embodiment, the CDR lock process can be executed again without executing the link speed change process or the like. In addition, by changing the control parameter of the CTLE or DFE of the equalizer circuit 101, the occurrence of the CDR erroneous lock can be prevented.
[Execution Method of Operation Described with Reference to
As described above, in the memory system according to the embodiment, when the state of the CDR circuit 102 is reset, the RxEQ value controller 123 (
Here, the RxEQ value controller 123 may include a plurality of registers that store a plurality of RxEQ values. In addition, when the state of the CDR circuit 102 is reset, one of the plurality of RxEQ values stored in the plurality of registers may be output.
In addition, the RxEQ value controller 123 may calculate one or more RxEQ values appropriate for the link speed GenB based on the RxEQ values adopted for the link speed GenA, and may output the calculated RxEQ values.
In addition, the operation described above with reference to
In addition, in the example of
Hereinabove, the memory system according to the embodiment is described. However, the memory system according to the embodiment is merely an example, and the specific configuration, operation, and the like may be appropriately adjusted.
For example, the configurations illustrated in
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the disclosure. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the disclosure. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
2021-141392 | Aug 2021 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
8578222 | Chun | Nov 2013 | B2 |
10880137 | Das Sharma | Dec 2020 | B2 |
10958413 | Li et al. | Mar 2021 | B2 |
11477004 | Aziz | Oct 2022 | B1 |
20180241540 | Shibasaki | Aug 2018 | A1 |
20200274539 | Katsuragi | Aug 2020 | A1 |
20210080994 | Takada | Mar 2021 | A1 |
Number | Date | Country |
---|---|---|
2011-248814 | Dec 2011 | JP |
2020-141203 | Sep 2020 | JP |
2021-048491 | Mar 2021 | JP |
Number | Date | Country | |
---|---|---|---|
20230065754 A1 | Mar 2023 | US |