With the rapid development of semiconductor memory devices, the demand for internal timing control over the semiconductor memory device is higher and higher in order to provide the semiconductor memory device with better performance.
It is to be noted that information disclosed in the above background section is only used to enhance an understanding of the background of the disclosure, and thus may include the information that does not constitute the conventional art known to those of ordinary skill in the art.
The disclosure relates to the technical field of a semiconductor, and more specifically to a method for evaluating performance of an interface circuit, an apparatus for evaluating performance of an interface circuit, an electronic device, and a computer-readable storage medium.
Embodiments of the disclosure involve a method and apparatus for evaluating performance of an interface circuit, an electronic device, and a computer-readable storage medium.
According to one aspect of the disclosure, a method for evaluating performance of an interface circuit is provided. The interface circuit is configured to receive a data signal according to a data strobe signal. The method includes that: a reference voltage of the interface circuit is scanned to obtain each reference voltage; a sampling point of the data signal by the data strobe signal is scanned; a test result of the interface circuit under each reference voltage and each sampling point is obtained; and a data eye diagram is generated according to the test result.
According to one aspect of the disclosure, an apparatus for evaluating performance of an interface circuit is provided. The interface circuit is configured to receive a data signal according to a data strobe signal. The apparatus includes: a reference voltage scanning unit, configured to scan a reference voltage of the interface circuit to obtain each reference voltage; a sampling point scanning unit, configured to scan a sampling point of the data strobe signal to the data signal; a test result obtaining unit, configured to obtain a test result of the interface circuit under each reference voltage and each sampling point; and a data eye diagram generation unit, configured to generate a data eye diagram according to the test result.
According to one aspect of the disclosure, an electronic device is provided, including: at least one processor; and a storage device, configured to store at least one program. When the at least one program is executed by the at least one processor, the at least one processor is enabled to implement the method of any embodiment provided by the disclosure.
According to one aspect of the disclosure, a computer-readable storage medium having a computer program stored thereon is provided. When the program is executed by a processor, the method of any embodiment provided by the disclosure is implemented.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and cannot limit the disclosure.
The accompanying drawings are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the disclosure, and are used to explain the principle of the disclosure, together with the specification. Apparently, for those skilled in the art, the drawings in the following description are only some embodiments of the disclosure, and other drawings may also be obtained from these drawings without involving any inventive effort.
Exemplary implementation modes will now be described more comprehensively with reference to the accompanying drawings. However, the example implementation modes can be implemented in various forms and should not be construed as limited by the examples set forth herein; rather, these implementation modes are provided so that the disclosure will be thorough and complete, and will fully convey the concept of the example implementation modes to those skilled in the art.
In addition, the described features, structures, or characteristics can be combined in one or more embodiments in any suitable mode. In the following description, a number of specific details are provided in order to provide a thorough understanding of the embodiment of the disclosure. However, it will be appreciated by those skilled in the art that the technical solution of the disclosure can be practiced without one or more of the specific details, or with other methods, elements, apparatuses, steps, and the like. In other cases, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring each aspect of the disclosure.
The block diagrams shown in the drawings are merely functional entities and do not necessarily have to correspond to physically independent entities. That is, the functional entities can be implemented in the form of software, or in at least one hardware module or integrated circuit, or in different networks and/or processor apparatuses and/or microcontroller apparatuses.
The flow diagrams shown in the drawings are merely exemplary descriptions, do not necessarily include all the content and operations/steps, and are not necessarily performed in the described order. For example, some operations/steps may also be broken down, while some operations/steps can be merged or partially merged, so that the order of actual execution may vary depending on the actual situation.
Although relative terms such as “upper” and “lower” are used in the specification to describe a relative relationship of one assembly of the reference numeral to another assembly, these terms are used in the specification for convenience only, for example, according to an orientation of the example illustrated in the figures. It will be appreciated that if an apparatus of the reference numeral is turned upside down, the “upper” component described above will become the “lower” component. When a structure is “on” another structure, it may mean that the structure is integrally formed with the other structure, or that the structure is “directly” arranged on the other structure, or that the structure is “indirectly” arranged on the other structure through the other structure.
The terms “a”, “an”, “the”, “said”, and “at least one” are used to indicate the presence of one or more elements/constituent parts/and the like. The terms “including” and “having” are used in an open inclusive sense and mean that there can be additional elements/constituent parts/and the like. In addition to the listed elements/constituent parts/and the like. The terms “first” and “second”, and the like are used only as labels and are not intended to limit the number of objects.
During a write operation of a semiconductor circuit including the semiconductor memory, the semiconductor circuit may receive a data signal from a storage controller according to a data strobe signal provided from the storage controller. The received data signal can then be stored within the semiconductor memory.
Performance of an interface circuit seriously influences data reception reliability, and therefore, it is needed to provide a reliable evaluation method for effectively evaluating the performance of the interface circuit of the semiconductor circuit.
Typically, in order to evaluate the performance of the interface circuit under power, voltage, and temperature variations, it is necessary to construct some specific test benches to evaluate the performance of the interface circuit. Meanwhile, in the design of the interface circuit of a high-speed semiconductor memory, it is difficult to completely evaluate a single-ended signal receiver (which can be represented by RX).
Aiming at the problems existing in the related art, the method provided by the embodiment of the disclosure can be used to solve at least one above problem.
In the embodiment of the disclosure, the interface circuit can be the interface circuit of a semiconductor memory. In some embodiments, the interface circuit can be the interface circuit of the high-speed semiconductor memory. In some embodiments, the interface circuit can be the interface circuit of a mobile semiconductor memory. The disclosure does not make any limitation on it.
In the embodiment of the disclosure, the semiconductor memory can be any semiconductor memory, for example, a Double Data Rate Synchronous Dynamic Random-Access Memory (DDR SDRAM). When the semiconductor memories of different types and models are adopted, mark symbols adopted by the data strobe signal may vary, and the disclosure does not make any limitation on it.
As shown in
In S110, a reference voltage of the interface circuit is scanned to obtain each reference voltage.
In order to generate a data eye diagram in the embodiment of the disclosure, the reference voltage of the interface circuit is scanned to obtain a plurality of reference voltages Vref.
In S120, a sampling point of the data signal DQ by the data strobe signal (for example, DQS or WCK) is scanned.
In the following illustration, if the semiconductor memory being DDR 4 or Low Power DDR SDRAM4 (LPDDR) is taken as an example for illustration, the data strobe signal can be represented as the DQS, correspondingly, the following strobe-to-data time can be represented as tDQS2DQ, and the tDQS2DQ is the time difference tDQS2DQ between the data strobe signal DQS of the DDR4 or LPDDR4 and the data signal DQ. If the semiconductor memory is DDR5/LPDDR5, correspondingly, the following strobe-to-data time can be represented as tWCK2DQI, and the tWCK2DQI is the time difference tWCK2DQI between the data strobe signal WCK of the DDR5 or LPDDR5 and the data signal DQ.
In S130, a test result of the interface circuit under each reference voltage and each sampling point is obtained.
In the embodiment of the disclosure, whether the test result of the interface circuit under each reference voltage and each sampling point passes (represented by p) or fails (represented by X) is obtained.
In S140, a data eye diagram is generated according to the test result.
According to the test result obtained according to the above step and where the test result is obtained under which reference voltage and which sampling point, the data eye diagram can be generated.
According to the method for evaluating performance of an interface circuit provided by the implementation mode of the disclosure, through scanning of each sampling point of the data strobe signal to the data signal and through combination of each reference voltage obtained by scanning the reference voltage of the interface circuit, the test result of the interface circuit under each reference voltage and each sampling point can be obtained, the data eye diagram can thus be generated from these test results under each reference voltage and each sampling point, and the performance of the interface circuit can be effectively and reliably evaluated. In addition, the generated data eye diagram may also be utilized to quickly and accurately find the optimal target strobe-to-data time and/or target reference voltage of the interface circuit, so that the interface circuit may guarantee the accuracy of writing the data signal when receiving the data signal according to the data strobe signal. Both at pre-layout and post-layout, the method provided by the embodiment of the disclosure can be used to simulate to generate the data eye diagrams with the same accuracy.
As shown in
The interface circuit has a corresponding reference voltage range, for example, the reference voltage Vref of the LPDDR4 is divided into two ranges (range [0]: VDDQ ranging from 10.0% to 30.0%, and range [1]: VDDQ ranging from 22.0% to 42.0%) as specified in a Joint Electron Device Engineering Council (JEDEC) standard. The step size of the two ranges is 0.4%. The two voltage reference ranges have an overlapping part, as shown in the following Table 1.
In the following illustration, the reference voltage ranges being the above range [0] and range [1] are taken as an example for illustration. However, it is to be noted that different protocols have different reference voltage ranges and step sizes, and therefore, the embodiment of the disclosure is not limited to the above illustration.
In the example embodiment, the second step size can include a third sub-step size and a fourth sub-step size. The third sub-step size is greater than the fourth sub-step size.
The operation that a reference voltage range of the interface circuit is scanned in a second step size to obtain each reference voltage can include: an edge reference voltage range on at least one side of the reference voltage range is determined; the third sub-step size of the edge reference voltage range is set; a middle reference voltage range except for the edge reference voltage range in the reference voltage range is determined; the fourth sub-step size of the middle reference voltage range is set; and the edge reference voltage range is scanned with the third sub-step size, and the middle reference voltage range is scanned with the fourth sub-step size to obtain each reference voltage.
For example, if each reference voltage Vref is taken as an ordinate value (second coordinate value), the reference voltage range at an upper side, or a lower side, or both the upper side and lower side of the reference voltage range can be taken as the edge reference voltage range, the scanning is performed with the relatively great third sub-step size in the edge reference voltage range to obtain each reference voltage in the edge reference voltage range, and the scanning is performed with the relatively small fourth sub-step size in the middle reference voltage range except for the above edge reference voltage range to obtain each reference voltage in the middle reference voltage range.
For another example, if each reference voltage Vref is taken as an abscissa value (second coordinate value), the reference voltage range at a left side, or a right side, or both the left side and right side of the reference voltage range can be taken as the edge reference voltage range, the scanning is performed with the relatively great third sub-step size in the edge reference voltage range to obtain each reference voltage in the edge reference voltage range, and the scanning is performed with the relatively small fourth sub-step size in the middle reference voltage range except for the above edge reference voltage range to obtain each reference voltage in the middle reference voltage range.
In the embodiment of the disclosure, on one hand, the scanning is performed with the relatively great third sub-step size to obtain each reference voltage in the edge reference voltage range, so that the number of the finally obtained total reference voltages can be reduced, the occupied storage space is reduced, the computation amount is reduced, and the speed of obtaining a target reference voltage can be increased subsequently; and on the other hand, since the target reference voltage to be obtained subsequently through the data eye diagram is generally located in the middle of the reference voltage range, the scanning is performed with the relatively small fourth sub-step to obtain each reference voltage in the middle reference voltage range, the precision of the obtained target reference voltage can be improved.
It is to be noted that although in the following illustration, the scanning being performed with unequal step sizes (the third sub-step size and the fourth sub-step size) to obtain each reference voltage is taken as an example for illustration, the disclosure is not limited here. In other embodiments, the entire reference voltage range may also be scanned with an equal step size to obtain each reference voltage.
In the embodiment of
The LPDDR4 is taken as an example, the strobe-to-data time is tDQS2DQ, and a tDQS2DQ range [T1, T2] can be [0 ps, 800 ps]. The LPDDR5 is taken as an example, the strobe-to-data time is tWCK2DQI, and a tWCK2DQI range [T1, T2] can be [0 ps, 700 ps].
In the example embodiment, the first step size can include a first sub-step size and a second sub-step size. The first sub-step size can be greater than the second sub-step size.
The operation that a strobe-to-data time range of the interface circuit is scanned in a first step size to obtain each strobe-to-data time can include: an edge strobe-to-data time range on at least one side of the strobe-to-data time range is determined; the first sub-step size of the edge strobe-to-data time range is set; a middle strobe-to-data time range in the strobe-to-data time range except for the edge strobe-to-data time range is determined; the second sub-step size of the middle strobe-to-data time range is set; and the edge strobe-to-data time range is scanned with the first sub-step size, and the middle strobe-to-data time range is scanned with the second sub-step size, to obtain each strobe-to-data time.
For an example, if each strobe-to-data time is taken as an abscissa value (first coordinate value), the strobe-to-data time range at a left side, or a right side, or both the left side and right side of the strobe-to-data time range can be taken as the edge strobe-to-data time range, the scanning is performed with the relatively great first sub-step size in the edge strobe-to-data time range to obtain each strobe-to-data time in the edge strobe-to-data time range, and the scanning is performed with the relatively small second sub-step size in the middle strobe-to-data time range except for the above edge strobe-to-data time range to obtain each strobe-to-data time in the middle strobe-to-data time range.
For another example, if each strobe-to-data time is taken as an ordinate value (first coordinate value), the strobe-to-data time range at an upper side, or a lower side, or both the upper side and lower side of the strobe-to-data time range can be taken as the edge strobe-to-data time range, the scanning is performed with the relatively great first sub-step size in the edge strobe-to-data time range to obtain each strobe-to-data time in the edge strobe-to-data time range, and the scanning is performed with the relatively small second sub-step size in the middle strobe-to-data time range except for the above edge strobe-to-data time range to obtain each strobe-to-data time in the middle strobe-to-data time range.
In the embodiment of the disclosure, on one hand, the scanning is performed with the relatively great first sub-step size to obtain each strobe-to-data time in the edge strobe-to-data time range, so that the number of the finally obtained total strobe-to-data time can be reduced, the occupied storage space is reduced, the computation amount is reduced, and the speed of obtaining target strobe-to-data time can be increased subsequently; and on the other hand, since the strobe-to-data time to be obtained subsequently through the data eye diagram is generally located in the middle of the strobe-to-data time range, the scanning is performed with the relatively small second sub-step to obtain each strobe-to-data time in the middle strobe-to-data time range, the precision of the obtained target strobe-to-data time can be improved.
It is to be noted that although in the following illustration, the scanning being performed with the unequal step sizes (the first sub-step size and the second sub-step size) to obtain each strobe-to-data time is taken as an example for illustration, the disclosure is not limited here. In other embodiments, the entire strobe-to-data time range may also be scanned with the equal step size to obtain each strobe-to-data time.
In the example embodiment, the interface circuit can include a first signal receiver. For example, assuming that one channel in the interface circuit can include 16 data signals (which can be respectively marked as DQ0 to DQ15, referred to as a first data signal to a sixteenth data signal), one byte group can include 8 data signals, for example, DQ0 to DQ7 in the same channel form one byte group, and DQ8 to DQ 15 form another byte group.
In the embodiment of the disclosure, the first signal receiver can be configured to receive the first data signal DQ0 in the data signals DQ, but the disclosure is not limited here. The first signal receiver can be configured to receive any data signal in the data signals DQ. The test result can include a first test result.
In the embodiment of the disclosure, the first signal receiver (which may also include a second signal receiver hereinafter) in the interface circuit may adopt the form of a single-ended signal.
With continued reference to
In the example embodiment, the operation that a data eye diagram is generated according to the test result can include: by taking each strobe-to-data time as a first coordinate value and taking each reference voltage as a second coordinate value, a two-dimensional data eye diagram displaying the test results is generated according to the test results under each strobe-to-data time and each reference voltage.
With continued reference to
In the embodiment of the disclosure, after the first signal receiver in the interface circuit is selected, the first test result of the first signal receiver under each reference voltage and each strobe-to-data time is obtained to generate the data eye diagram of the first signal receiver. That is, according to the method provided by the embodiment of the disclosure, the data eye diagram of a single signal receiver can be obtained, the target strobe-to-data time and/or the target reference voltage of the single signal receiver can be located, meanwhile, an additional test bench is not needed, and the existing test bench is adopted.
Specifically, for example, a test can be performed through the embodiment in
In S1311, a sampling signal is sent to the sampling signal terminal.
In S1312, after delaying the first strobe-to-data time, the write-in data is sent to the first signal receiver.
In S1313, the write-in data is received according to the sampling signal and the first reference voltage, and the write-in data is written into the target storage unit.
In S1314, read-out data is obtained from the target storage unit.
In S1315, the write-in data is compared with the read-out data to obtain the first test result of the first signal receiver under the first strobe-to-data time and the first reference voltage.
In the example embodiment, the operation that the write-in data is compared with the read-out data to obtain the first test result of the first signal receiver under the first strobe-to-data time and the first reference voltage can include: if the write-in data is equal to the read-out data, the first test result of the first signal under the first strobe-to-data time and the first reference voltage passes; and if the write-in data is not equal to the read-out data, the first test result of the first signal receiver under the first strobe-to-data time and the first reference voltage fails. It is to be noted that the embodiment may adapt to various test patterns, and a particular test pattern does not need to be specifically designed.
As shown in
The LPDDR4 is taken as an example, the signal receiver corresponding to each data signal DQ is generally beside a DQ input port, and the data strobe signal DQS needs to be pulled from a data strobe signal DQS input port to the signal receiver corresponding to each DQ. Therefore, when performing a write operation, internal delay of the data strobe signal DQS in a receiving direction is greater than the internal delay of the data signal DQ, and such path mismatch may influence the accurate triggering of the write operation.
In order to improve the situation, the semiconductor memory requires a storage controller to compensate for delay difference between the data strobe signal DQS and the data signal DQ, and the data strobe signal DQS is sent earlier than the data signal DQ to ensure that the data strobe signal DQS and the data signal DQ can receive data accurately. Advanced sending time is defined in the JEDEC standard and is referred to as strobe-to-data time tDQS2DQ.
The data strobe signal DQS in the LPDDR4 is taken as an example for illustration, and the data strobe signal can include DQS_t and DQS_c which are inverted. In a training phase, a correct timing problem of the strobe-to-data time tDQS2DQ is solved through the write operation. Each strobe-to-data time tDQS2DQ is determined first, and then the data strobe signal DQS is input into the LPDDR4. Then the data strobe signal DQS is respectively input to the signal receiver (for example, the first signal receiver to the fifteenth signal receiver) corresponding to each DQ (for example, the DQ0 to the DQ15 in
VSSQ, VDDQ, and VDD2 in
Since a chip of the semiconductor memory needs a packaging model and a channel model, a signal transmission path can be changed, and the test result can be influenced. Therefore, the test can be performed after the packaging model and the channel model are added and this is more similar to an actual application scenario, so that the result is more accurate.
As shown in
In
In the example embodiment, the method may further include: target strobe-to-data time and/or a target reference voltage is determined according to the data eye diagram.
The LPDDR4 is still taken as an example, assuming that the reference voltage Vref is taken as the ordinate value and the strobe-to-data time tDQS2DQ is taken as the abscissa value, the data eye diagram shown in
For example, assuming that the strobe-to-data time range is [T1=0 ps, T2=800 ps], the strobe-to-data time range can be scanned by adopting the same step size (for example, 20 ps) to obtain each strobe-to-data time, the scanning may also be performed by adopting the relatively large first sub-step size in the edge strobe-to-data time range at the left side or the right side, or both the left side and the right side to obtain each strobe-to-data time in the edge strobe-to-data time range, and the scanning may also be performed by adopting the relatively small second sub-step in the middle strobe-to-data time range to obtain each strobe-to-data time in the middle strobe-to-data time range.
For example, assuming that the reference voltage range in
Assuming that the third sub-step size is equal to 25 mv and the fourth sub-step size is equal to 20 mv, as an example, V0=110 mv, V1=135 mv, V2=155 mv, V3=175 mv, V4=195 mv, V5=215 mv, V6=235 mv, and V7=255 mv in
According to the data eye diagram shown in
In the example embodiment, the interface circuit may further include the second signal receiver. The test result may further include a second test result.
In the embodiment of the disclosure, the second signal receiver can be any signal receiver. For example, the second signal receiver can be the second signal receiver corresponding to the second data signal DQ1, but the disclosure is not limited here.
The operation that a test result of the interface circuit under each reference voltage and each sampling point is obtained may further include: the second test result of the second signal receiver under each strobe-to-data time and each reference voltage is obtained. A procedure of obtaining the second test result may refer to the above description of obtaining the first test result.
The operation that a data eye diagram is generated according to the test result may further include: by taking each strobe-to-data time as a first coordinate value and taking each reference voltage as a second coordinate value, the data eye diagram of the second signal receiver is generated according to the second test result of the second signal receiver. The mode of generating the data eye diagram of the second signal receiver may refer to the above mode of generating the data eye diagram of the first signal receiver.
In the example embodiment, the method may further include: the data eye diagram of the first signal receiver is compared with the data eye diagram of the second signal receiver and offset between the first signal receiver and the second signal receiver is determined. The first signal receiver and the second signal receiver can be located in the same byte group.
For example, assuming that the first signal receiver corresponds to the first data signal DQ0 and the second signal receiver corresponds to the second data signal DQ1, the first signal receiver and the second signal receiver are located in the same byte group (DQ0 to DQ7), but the disclosure is not limited here. The offset between any two adjacent DQs in the byte group can be obtained by comparing the data eye diagram of each DQ.
For example, as shown in
Similarly, the data eye diagram of one signal receiver corresponding to any of DQ4 to DQ15, and the offset therebetween can be obtained.
In the example embodiment, the method may further include: a composite eye diagram of the interface circuit is generated according to the data eye diagram of the first signal receiver and the data eye diagram of the second signal receiver.
For example, as shown in
The center of the composite eye diagram can be taken as default target strobe-to-data time, and under the target strobe-to-data time, all DQ tests may pass. If the area of the zero-free region of the composite eye diagram is large, this represents that the performance of the interface circuit is better and the semiconductor memory can work normally in a relatively large fluctuation range.
In the example embodiment, the operation that the data eye diagram of the first signal receiver is generated can include: the data eye diagram of the first signal receiver under a first process corner is obtained; and the data eye diagram of the first signal receiver under a second process corner is obtained.
In the example embodiment, the method may further include: the composite eye diagram of the first signal receiver is generated according to the data eye diagram of the first signal receiver under the first process corner and the data eye diagram of the first signal receiver under the second process corner. The influence of different process corners on the interface circuit can be obtained by checking the composite eye diagrams under different process corners.
By testing the data eye diagrams of the first signal receiver at different temperatures, how the performance of the first signal receiver is can be visually displayed, for example, if the overlapping area of the “p” regions at 85° C. and 25° C. is large, this represents that the same target strobe-to-data time and target reference voltage can be set to the first signal receiver in the temperature range [25° C., 85° C.]. For another example, although the overlapping area of the “p” regions of the two data eye diagrams is not large, the large area of the “p” regions of the two data eye diagrams represents that the working performance of the first signal receiver at different temperatures is better.
In the example embodiment, the composite eye diagram of the interface circuit under the first process corner and the composite eye diagram of the interface circuit under the second process corner can be obtained.
For example, as shown in
Assuming that the second process corner is TT, a second supply voltage is 1 V, and the second temperature is 25° C., the composite eye diagram of the interface circuit under the second process corner, the second power supply voltage, and the second temperature can be obtained.
By testing the composite eye diagrams of the interface circuit at different temperatures, how the performance of the interface circuit is can be visually displayed, for example, if the overlapping area of the zero-free regions at 85° C. and 25° C. is large, this represents that the same target strobe-to-data time and target reference voltage can be set to the interface circuit in the temperature range [25° C., 85° C.]. As another example, although the overlapping area of the zero-free regions of the two composite eye diagrams is not large, the area of the zero-free regions of the two composite eye diagrams is large, this represents that the working performance of the interface circuit is better at different temperatures.
Through the method provided by the embodiment of the disclosure, a relationship between simulation and an actual test result of the chip of the semiconductor memory can be obtained, for example, some samples are manufactured, the samples are tested, the difference between the simulated test result and the test result of the sample is compared, an error between the simulation and the test result is eliminated, and the subsequently simulated test result is more accurate.
An apparatus embodiment of the disclosure is described below and can be configured to execute the above method for evaluating performance of an interface circuit of the disclosure. For details not disclosed in the apparatus embodiment of the disclosure, reference is made to the embodiment of the above method for evaluating performance of an interface circuit of the disclosure.
Referring to
The reference voltage scanning unit 1010 can be configured to scan a reference voltage of the interface circuit to obtain each reference voltage. The sampling point scanning unit 1020 can be configured to scan a sampling point of the data strobe signal to the data signal. The test result obtaining unit 1030 can be configured to obtain a test result of the interface circuit under each reference voltage and each sampling point. The data eye diagram generating unit 1040 can be configured to generate a data eye diagram according to the test result.
In the example embodiment, the sampling point scanning unit 1020 can include a strobe-to-data time obtaining unit which can be configured to scan a strobe-to-data time range of the interface circuit with a first step size to obtain each strobe-to-data time.
In the example embodiment, the first step size can include a first sub-step size and a second sub-step size.
The strobe-to-data time obtaining unit can include an edge strobe-to-data time range determining unit which can be configured to determine an edge strobe-to-data time range on at least one side of the strobe-to-data time range; a first sub-step size setting unit which can be configured to set the first sub-step size of the edge strobe-to-data time range; a middle strobe-to-data time range setting unit which can be configured to set a middle strobe-to-data time range in the strobe-to-data time range except for the edge strobe-to-data time range; a second sub-step size setting unit which can be configured to set the second sub-step size of the middle strobe-to-data time range; and a strobe-to-data time unit is obtained through scanning, which can be used in scanning the edge strobe-to-data time range with the first sub-step size, and the middle strobe-to-data time range can be scanned with the second sub-step size, to obtain each strobe-to-data time.
The first sub-step size can be greater than the second sub-step size.
In the example embodiment, the reference voltage scanning unit 1010 can include a reference voltage obtaining unit, which can be configured to scan the reference voltage range of the interface circuit with a second step size, to obtain each reference voltage.
In the example embodiment, the second step size can include a third sub-step size and a fourth sub-step size. The reference voltage obtaining unit can include: an edge reference voltage range determining unit, which can be configured to determine an edge reference voltage range on at least one side of the reference voltage range; a third sub-step size setting unit which can be configured to set the third sub-step size of the edge reference voltage range; a middle reference voltage range determining unit which can be configured to determine a middle reference voltage range except for the edge reference voltage range in the reference voltage range; a fourth sub-step size setting unit which can be configured to set the fourth sub-step size of the middle reference voltage range; and a reference voltage scan-to-obtain unit which can be configured to scan the edge reference voltage range with the third sub-step size, and scan the middle reference voltage range with the fourth sub-step size, to obtain each reference voltage.
The third sub-step size can be greater than the fourth sub-step size.
In the example embodiment, the data eye diagram generating unit 1040 can include: a two-dimensional data eye diagram generating unit which can be configured to, by taking each strobe-to-data time as a first coordinate value and taking each reference voltage as a second coordinate value, generate a two-dimensional data eye diagram displaying the test results according to the test results under each strobe-to-data time and each reference voltage.
In the example embodiment, the interface circuit can include a first signal receiver. The test result can include a first test result.
The test result obtaining unit 1030 can include: a first test result obtaining unit which can be configured to obtain the first test result of the first signal receiver under each strobe-to-data time and each reference voltage.
The data eye diagram generating unit 1040 can include: a first signal receiver data eye diagram generating unit which can be configured to, by taking each strobe-to-data time as a first coordinate value and taking each reference voltage as a second coordinate value, generate the data eye diagram of the first signal receiver according to the first test result of the first signal receiver.
In the example embodiment, the interface circuit may further include the second signal receiver. The test result may further include a second test result.
The test result obtaining unit 1030 may further include: a second test result obtaining unit which can be configured to obtain the second test result of the second signal receiver under each strobe-to-data time and each reference voltage.
The data eye diagram generating unit 1040 may further include: a second signal receiver data eye diagram generating unit which can be configured to, by taking each strobe-to-data time as a first coordinate value and taking each reference voltage as a second coordinate value, generate the data eye diagram of the second signal receiver according to the second test result of the second signal receiver.
In the example embodiment, the apparatus 1000 for evaluating performance of an interface circuit may further include: an interface circuit composite eye diagram unit which can be configured to generate a composite eye diagram of the interface circuit according to the data eye diagram of the first signal receiver and the data eye diagram of the second signal receiver.
In the example embodiment, the first signal receiver data eye diagram generating unit can include: a first process corner data eye diagram generating unit which can be configured to obtain the data eye diagram of the first signal receiver under a first process corner; and a second process corner data eye diagram generating unit which can be configured to obtain the data eye diagram of the first signal receiver under a second process corner.
The apparatus 1000 for evaluating performance of an interface circuit may further include: a first signal receiver composite eye diagram generating unit which can be configured to generate the composite eye diagram of the first signal receiver according to the data eye diagram of the first signal receiver under the first process corner and the data eye diagram of the first signal receiver under the second process corner.
In the example embodiment, the apparatus 1000 for evaluating performance of an interface circuit may further include: a data eye diagram comparing unit which can be configured to compare the data eye diagram of the first signal receiver with the data eye diagram of the second signal receiver and determine offset between the first signal receiver and the second signal receiver.
The first signal receiver and the second signal receiver can be located in the same byte group.
In the example embodiment, the first signal receiver may correspond to a target storage unit in a semiconductor memory, the strobe-to-data time can include first strobe-to-data time, the reference voltage can include a first reference voltage, the interface circuit may further include a sampling signal terminal, and the data signal can include write-in data.
The first test result obtaining unit can include: a sampling signal sending unit which can be configured to send a sampling signal to the sampling signal terminal; a write-in data sending unit which can be configured to, after delaying the first strobe-to-data time, send write-in data to the first signal receiver; a write-in data write-in unit which can be configured to receive the write-in data according to the sampling signal and the first reference voltage and write the write-in data into the target storage unit; a read-out data obtaining unit which can be configured to obtain read-out data from the target storage unit; and a first test result obtaining unit which can be configured to compare the write-in data with the read-out data to obtain the first test result of the first signal receiver under the first strobe-to-data time and the first reference voltage.
In the example embodiment, the first test result obtaining unit can include: a first comparing unit which can be configured to, if the write-in data is equal to the read-out data, indicate that the first test result of the first signal under the first strobe-to-data time and the first reference voltage passes; and a second comparing unit which can be configured to, if the write-in data is not equal to the read-out data, indicate that the first test result of the first signal receiver under the first strobe-to-data time and the first reference voltage fails.
In the example embodiment, the apparatus 1000 for evaluating performance of an interface circuit may further include: a target strobe-to-data time determining unit and/or a target reference voltage determining unit.
The target strobe-to-data time determining unit can be configured to determine target strobe-to-data time according to the data eye diagram. The target reference voltage determining unit can be configured to determine a target reference voltage according to the data eye diagram.
It is to be noted that although in the above detailed description, reference has been made to a number of units of a device for action execution, such division is not mandatory. Indeed, according to the embodiment of the disclosure, the features and functions of two or more units described above can be embodied in one unit. On the contrary, the features and functions of one unit described above may further be divided to be embodied by a plurality of units.
From the above description of the implementation mode, those skilled in the art are easy to understand that the example implementation mode described here can be implemented through software or may also be implemented through the software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the disclosure can be embodied in the form of a software product. The software product can be stored in a non-volatile storage medium (which can be a CD-ROM, a U-disk, a mobile hard disk, and the like) or on a network, and can include a number of instructions, so that a computing device (which can be a personal computer, a server, a touch terminal, or a network device, and the like) executes the method according to the embodiment of the disclosure.
Further, an implementation mode of the disclosure further provides an electronic device, including: at least one processor; and a storage device, configured to store at least one program. When the at least one program is executed by the at least one processor, the at least one processor is enabled to implement the method in any above embodiment.
Further, an implementation mode of the disclosure further provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the method in any above embodiment provided by the disclosure is implemented.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed here. The present application is intended to cover any variations, uses, or adaptations of the disclosure, and the variations, uses, or adaptations follow the general principles of the disclosure and include common general knowledge or conventional technical means in the art undisclosed by the disclosure. The specification and embodiments are considered as examples only, and a true scope and spirit of the disclosure are indicated by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
202011015986.1 | Sep 2020 | CN | national |
This is a continuation of International Patent Application No. PCT/CN2021/101335 filed on Jun. 21, 2021, which claims priority to Chinese Patent Application No. 202011015986.1 filed on Sep. 24, 2020. The disclosures of these applications are hereby incorporated by reference in their entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2021/101335 | Jun 2021 | US |
Child | 17445605 | US |