Shift register circuit, dynamic random access memory and circuit control method
By designing a shift register circuit with adjustable shift length in the DDR4 SDRAM read path, and using control unit and multiplexer technology, the problem of fixed shift length in the existing technology is solved and the needs of various application scenarios are met. and reduce power consumption.
Patent Information
- Application Number
- CN201811261641.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-10-26
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2038-10-26
AI Technical Summary
The shift length of the shift register in the existing DDR4 SDRAM read path is fixed, which cannot meet the needs of different application scenarios, especially when the column address strobe signal delay and column operation interval time change.
A shift register circuit including 8 cascaded D flip-flops and OR gates is designed. The control unit adjusts the shift length based on the control signal, and uses a multiplexer to connect to the D flip-flops and OR gates to achieve dynamic control of the shift. bit length.
It is possible to adjust the shift length according to different application scenarios while meeting the maximum shift length, meet the various needs of the DDR4 SDRAM read path, and reduce system power consumption by controlling the D flip-flop that does not participate in the work.
Smart Images

Figure CN111105825B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of integrated circuits, and in particular to a shift register circuit, a dynamic random access memory, and a circuit control method. Background Art
[0002] A shift register is a flip-flop-based device that works under several identical time pulses. Data can be input into the shift register in parallel or serial mode, and then each time pulse is shifted one bit to the left or right and output at the output end. Shift registers are widely used in a wide range of scenarios. For example, shift registers can be used to form counters, sequential pulse generators, serial accumulators, data converters that convert between serial data and parallel data, etc.
[0003] With the development of memory technology, DDR4 SDRAM (Double Data Rate Fourth Synchronous Dynamic Random Access Memory) came into being. DDR4 SDRAM has a lower power supply voltage and a higher transmission rate. The storage unit group (Bank Group) on it has the characteristics of independent startup of operations such as reading and writing. In addition, compared with memories such as DDR3 / DDR2, DDR4 SDRAM has fast and power-saving characteristics while also enhancing signal integrity and improving the reliability of data transmission and storage.
[0004] In the read path of DDR4 SDRAM, there is a shift register for providing control signals to the latch circuit in the read path. Currently, the shift length of the shift register is fixed, and when the column address strobe latency (CAS latency) tCL and the column operation interval (Cas to Cas delay) tCCD change, it cannot meet the requirements of specific read scenarios.
[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0006] The purpose of the present disclosure is to provide a shift register circuit, a dynamic random access memory and a circuit control method, thereby solving the problem of fixed shift length of the shift register in the existing DDR4 SDRAM read path at least to a certain extent.
[0007] According to one aspect of the present disclosure, there is provided a shift register circuit, which is applied to a DDR4 SDRAM read path, and includes: 8 cascaded D flip-flops; an OR gate, wherein a first input terminal of the OR gate receives an input signal, and an output terminal of the OR gate is connected to an input terminal of a first D flip-flop among the 8 D flip-flops; a control unit, which is respectively connected to at least an i-th D flip-flop, an eighth D flip-flop and a second input terminal of the OR gate among the 8 D flip-flops; wherein i∈[1,7] and is a positive integer; wherein the control unit controls a shift length of the shift register circuit based on a control signal.
[0008] Optionally, the control unit is a multiplexer having a first input terminal, a second input terminal, a control terminal and an output terminal.
[0009] Optionally, the first input terminal of the multiplexer is connected to the first output terminal of the 8th D flip-flop, the second input terminal of the multiplexer is connected to the first output terminal of the i-th D flip-flop, the control terminal of the multiplexer is used to receive the control signal, and the output terminal of the multiplexer is connected to the second input terminal of the OR gate.
[0010] Optionally, in a first operating mode in which the multiplexer sends a signal at the first output end of the 8th D flip-flop to the second input end of the OR gate based on the control signal, the second output end of each of the 8 D flip-flops is connected to a latch circuit in a DDR4 SDRAM read path to send a signal to the latch circuit; and / or, in a second operating mode in which the multiplexer sends a signal at the first output end of the i-th D flip-flop to the second input end of the OR gate based on the control signal, the second output end of each of the 1st to i-th D flip-flops is connected to a latch circuit in a DDR4 SDRAM read path to send a signal to the latch circuit.
[0011] Optionally, the shift register circuit further includes: a control signal generating unit, wherein an output end of the control signal generating unit is connected to the control end of the multiplexer, and is used to send the control signal to the control end of the multiplexer.
[0012] According to one aspect of the present disclosure, a dynamic random access memory is provided, comprising any one of the shift register circuits described above.
[0013] According to one aspect of the present disclosure, a circuit control method is provided, and the circuit control method is applied to a shift register circuit in a DDR4 SDRAM read path, wherein the shift register includes a control unit, an OR gate, and 8 cascaded D flip-flops, wherein the circuit control method includes: the control unit receives a first signal output by an 8th D flip-flop among the 8 D flip-flops and a second signal output by an i-th D flip-flop; wherein i∈[1,7] and is a positive integer; and the control unit sends the first signal or the second signal to an input end of the OR gate based on a control signal to control the shift length of the shift register circuit.
[0014] Optionally, in a mode in which the control unit sends the first signal to the input end of the OR gate based on the control signal, the output signal of each of the 8 D flip-flops is sent to the latch circuit in the DDR4 SDRAM read path; and / or in a mode in which the control unit sends the second signal to the input end of the OR gate based on the control signal, the output signal of each of the 1st to ith D flip-flops is sent to the latch circuit in the DDR4 SDRAM read path.
[0015] Optionally, the control unit is a multiplexer.
[0016] Optionally, the circuit control method further comprises: determining the control signal according to a column address strobe signal delay and a column operation interval time.
[0017] In the technical solutions provided in some embodiments of the present disclosure, a control unit is configured for the shift register circuit in the DDR4 SDRAM read path, and the control unit can be respectively connected to the input end of the i-th D flip-flop, the 8th D flip-flop and the OR gate among the 8 D flip-flops, and is used to control the shift length of the shift register circuit based on a control signal. While meeting the maximum shift length that the shift register circuit in the DDR4 SDRAM read path can provide, the circuit disclosed in the present disclosure can achieve other shift lengths through control signals, thereby meeting the requirements of the DDR4 SDRAM read path in different application scenarios. In addition, when only a few D flip-flops in the shift register are actually required to work, the control unit can be used to control the remaining D flip-flops not to participate in the work, thereby reducing the power consumption of the system.
[0018] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure, and together with the specification, are used to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0020] Figure 1 A circuit diagram of a shift register in the related art is schematically shown;
[0021] Figure 2 Schematically shows a circuit diagram of a shift register according to an exemplary embodiment of the present disclosure;
[0022] Figure 3 Schematically shows a waveform diagram when the shift length is 8 according to an exemplary embodiment of the present disclosure;
[0023] Figure 4 Schematically shows a waveform diagram when the shift length is 4 according to an exemplary embodiment of the present disclosure;
[0024] Figure 5 A flow chart of a circuit control method according to an exemplary embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0025] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0026] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and thus their repeated descriptions will be omitted. The flowcharts shown in the accompanying drawings are only exemplary illustrations and do not necessarily include all the steps. For example, some steps can also be decomposed, while some steps can be combined or partially combined, so the actual execution order may change according to the actual situation.
[0027] In the read path of DDR4 SDRAM, the latch circuit plays an important role. For example, the latch circuit can latch the data output by the bus, realize the input of parallel data, realize the output of serial data, etc.
[0028] At present, a control signal is sent to a latch circuit through a shift register to control the working state of the latch circuit. However, the shift length of the shift register is fixed. When the column address selection signal delay tCL and the column operation interval time tCCD change, the existing shift register will not meet the requirements of specific application scenarios.
[0029] Figure 1 A circuit diagram of a shift register in a DDR4 SDRAM read path of the related art is shown. Figure 1 , the shift register of the related art can be composed of 8 D flip-flops, each of which can work in response to the enable signal ENABLE, the clock signal CLK and the reset signal RESET. Among them, the output of the 8th D flip-flop in the cascaded 8 D flip-flops is connected to an input end of an OR gate, the other input end of the OR gate is used to receive the input signal of the shift register, and the output end of the OR gate is connected to the input of the first D flip-flop. Therefore, it can be seen that the shift length of the shift register of the related art is 8.
[0030] The shift length of the shift register in the DDR4 SDRAM read path is related to the column address selection signal delay tCL and the column operation interval time tCCD. Table 1 shows the column address selection signal delay tCL set by the mode register MR0.
[0031] Table 1
[0032]
[0033]
[0034] Among them, A12, A6, A5, A4, and A2 represent output pins of a chip that determines tCL. In addition, the unit of tCL in Table 1 is clock cycle, that is, tCL of 32 in the present disclosure may mean that tCL is 32 clock cycles.
[0035] Table 2 shows the column operation interval time tCCD set by the mode register MR6.
[0036] Table 2
[0037]
[0038] Among them, A12, A11, and A10 represent output pins of the chip that determines tCCD. In addition, the unit of tCCD in Table 2 is clock cycle, that is, in the present disclosure, tCCD of 8 may mean that tCCD is 8 clock cycles.
[0039] Based on Table 1 and Table 2 above, when tCL takes the maximum value of 32 and tCCD takes the minimum value of 4, the required shift length of the shift register is 8, which corresponds to Figure 1 A shift register of the related art is shown.
[0040] However, when tCL and / or tCCD take other values, that is, when the latch circuit in the DDR4 SDRAM read path requires other control signals, the shift register of the related art cannot adjust the shift length as required.
[0041] In view of this, the present disclosure provides a shift register circuit. The shift register circuit can be applied to a DDR4 SDRAM read path. However, those skilled in the art can apply the shift register circuit of the present disclosure to other scenarios based on the concept described below, which should all fall within the scope of protection of the present disclosure.
[0042] The shift register circuit of the present disclosure may include 8 cascaded D flip-flops, that is, the output signal of the previous D flip-flop among the 8 D flip-flops is input to the input end of the next D flip-flop. The shift register may also include an OR gate, the OR gate having a first input end, a second input end and an output end, wherein the first input end of the OR gate receives an input signal, and the output end of the OR gate is connected to the input end of the first D flip-flop among the 8 D flip-flops.
[0043] In addition, the shift register circuit further includes a control unit, which is respectively connected to the i-th D flip-flop, the 8th D flip-flop and the second input terminal of the OR gate among the above 8 D flip-flops, wherein i∈[1,7] is a positive integer. The control unit can control the shift length of the shift register based on a control signal.
[0044] In the exemplary embodiment of the present disclosure, the control unit may be a multiplexer. Specifically, the multiplexer may be a two-choose-one selector, wherein the multiplexer may have a first input terminal, a second input terminal, a control terminal, and an output terminal. In addition, in addition to the multiplexer, other logic devices may be used to implement the functions of the above-mentioned control unit, which is not particularly limited in the exemplary embodiment.
[0045] The first input terminal of the multiplexer can be connected to the first output terminal of the 8th D flip-flop; the second input terminal of the multiplexer can be connected to the first output terminal of the i-th D flip-flop; the control terminal of the multiplexer can be used to receive a control signal, that is, a selection control signal for selecting which output; the output terminal of the multiplexer can be connected to the second input terminal of the OR gate.
[0046] In the first operating mode in which the multiplexer responds to the control signal to send the signal at the first output terminal of the 8th D flip-flop to the second input terminal of the OR gate, the shift length of the shift register is 8. In this case, the second output terminal of each of the 8 D flip-flops can be connected to the latch circuit in the DDR4 SDRAM read path to send a signal to the latch circuit.
[0047] In the second operating mode in which the multiplexer responds to a control signal to send a signal at the first output end of the i-th D flip-flop to the second input end of the OR gate, the shift length of the shift register is i, that is, the second output end of each D flip-flop from the 1st D flip-flop to the i-th D flip-flop can be connected to a latch circuit in a DDR4 SDRAM read path to send a signal to the latch circuit.
[0048] In the above example, in addition to controlling the multiplexer, the control signal can also control the states of the i+1th D flip-flops to the 8th D flip-flops. Specifically, the control signal can be input as an enable signal to the enable terminals of the i+1th D flip-flops to the 8th D flip-flops. In the above first working mode, the control signal can be the same as the enable signal of the 1st D flip-flop to the i-th D flip-flop, and is used to control the enable states of the 8 D flip-flops at the same time; in the above second working mode, the enable signal of the 1st D flip-flop to the i-th D flip-flop is 1, and the control signal is 0, so as to turn off the i+1th D flip-flops to the 8th D flip-flops, thereby reducing power consumption.
[0049] In addition, the shift register circuit of the present disclosure may further include a control signal generating unit, the output end of which may be connected to the control end of the multiplexer, for sending a control signal to the control end of the multiplexer. The control signal generating unit may generate a control signal based on the conditions required to trigger the latch circuit in the DDR4SDRAM read path, and the present disclosure does not specifically limit the circuit structure and deployment method of the control signal generating unit.
[0050] The shift register circuit of the present disclosure will be described below by taking the shift length of the shift register that can be adjusted to 4 as an example with reference to the accompanying drawings.
[0051] refer to Figure 2The shift register circuit of the exemplary embodiment of the present disclosure may include cascaded D flip-flops 21, 22, 23, 24, 25, 26, 27, and 28. The D flip-flops 21 to 24 operate in response to the first enable signal EN1, and the D flip-flops 25 to 28 operate in response to the second enable signal EN2 (i.e., the control signal described above).
[0052] The shift register circuit further includes an OR gate 20 , wherein a first input terminal of the OR gate 20 receives an input signal IN, and an output terminal of the OR gate 20 is connected to an input terminal of a D flip-flop 21 .
[0053] The shift register circuit also includes a multiplexer 29, wherein a first input terminal of the multiplexer 29 is connected to a first output terminal of the D flip-flop 28, a second input terminal of the multiplexer 29 is connected to a first output terminal of the D flip-flop 24, a control terminal of the multiplexer 29 is used to receive a second enable signal EN2, and an output terminal of the multiplexer 29 is connected to a second input terminal of the OR gate 20.
[0054] When the first enable signal EN1 and the second enable signal EN2 are both 1, the D flip-flops 21 to 28 are all in working state, and the multiplexer 29 outputs the signal sent by the first output terminal of the D flip-flop 28. In this case, the shift length of the shift register is 8, and the signals at the second output terminals of the D flip-flops 21 to 28 can be sent to the latch circuit of the DDR4SDRAM read path, thereby meeting the scenario requirements of tCL being 32 and tCCD being 4. Figure 3 Shown based on Figure 2 The effect diagram of the shift register circuit when the first enable signal EN1 and the second enable signal EN2 are both 1.
[0055] When the first enable signal EN1 is 1 and the second enable signal EN2 is 0, D flip-flops 21 to 24 are all in working state, while D flip-flops 25 to 28 are turned off. The multiplexer 29 outputs the signal sent by the first output terminal of the D flip-flop 24. In this case, the shift length of the shift register is 4, and the signal of the second output terminal of the D flip-flop 21 to 24 can be sent to the latch circuit of the DDR4 SDRAM read path, thereby meeting the scenario requirements of tCL of 32 and tCCD of 8. Figure 4 Shown based on Figure 2 The effect diagram of the shift register circuit when the first enable signal EN1 is 1 and the second enable signal EN2 is 0.
[0056] based on Figure 2In the circuit shown, when only a shift register circuit with a shift length of 4 is needed, the remaining D flip-flops can be turned off, thereby saving power consumption.
[0057] It should be understood that Figure 2 Only the circuit is shown to be able to realize the case where the shift length is 4 and 8. Those skilled in the art can easily determine the circuit structure of the shift register realizing other shift lengths based on the above concept, and these should all fall within the protection scope of the present disclosure.
[0058] In summary, based on the shift register circuit disclosed in the present invention, while satisfying the maximum shift length that the shift register circuit can provide in the DDR4 SDRAM read path, other shift lengths can be achieved through control signals, thereby satisfying the requirements of the DDR4 SDRAM read path in different application scenarios. In addition, when only a few D flip-flops in the shift register are actually required to work, the control unit can be used to control the remaining D flip-flops not to participate in the work, thereby reducing the power consumption of the system.
[0059] Furthermore, the exemplary embodiment of the present disclosure also provides a dynamic random access memory. Specifically, the dynamic random access memory may be a DDR4 SDRAM, which includes the shift register circuit of the exemplary embodiment described above.
[0060] Furthermore, an exemplary embodiment of the present disclosure also provides a circuit control method, which can be applied to the above-mentioned shift register circuit.
[0061] refer to Figure 5 , the circuit control method disclosed in the present invention may include the following steps:
[0062] S52. The control unit receives a first signal output by the eighth D flip-flop among the eight D flip-flops and a second signal output by the ith D flip-flop; wherein i∈[1,7] is a positive integer;
[0063] S54. The control unit sends the first signal or the second signal to the input end of the OR gate based on a control signal to control the shift length of the shift register circuit.
[0064] According to an exemplary embodiment of the present disclosure, in a mode in which the control unit sends the first signal to the input end of the OR gate based on the control signal, the output signal of each of the 8 D flip-flops can be sent to the latch circuit in the DDR4 SDRAM read path.
[0065] According to an exemplary embodiment of the present disclosure, in a mode in which the control unit sends the second signal to the input end of the OR gate based on the control signal, the output signal of each D flip-flop from the 1st D flip-flop to the i-th D flip-flop is sent to the latch circuit in the DDR4 SDRAM read path.
[0066] According to some embodiments of the present disclosure, the control unit is a multiplexer.
[0067] According to an exemplary embodiment of the present disclosure, the circuit control method of the present disclosure may further include: determining a control signal according to a column address strobe signal delay tCL and a column operation interval time tCCD.
[0068] According to the circuit control method disclosed in the present invention, while satisfying the maximum shift length that the shift register circuit in the DDR4 SDRAM read path can provide, other shift lengths can be achieved through the control signal, thereby satisfying the requirements of the DDR4 SDRAM read path in different application scenarios. In addition, when only a few D flip-flops in the shift register are actually required to work, the control unit can be used to control the remaining D flip-flops not to participate in the work, thereby reducing the power consumption of the system.
[0069] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0070] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A shift register circuit is used in a DDR4 SDRAM read path. It is characterized in that include: 8 cascaded D flip-flops; An OR gate, wherein a first input terminal of the OR gate receives an input signal, and an output terminal of the OR gate is connected to an input terminal of a first D flip-flop among the eight D flip-flops; a control unit, connected to the i-th D flip-flop, the eighth D flip-flop and the second input terminal of the OR gate respectively, i∈[1,7] and is a positive integer; Wherein, the control unit controls the shift length of the shift register circuit based on a control signal; the control unit is a multiplexer, and the multiplexer has a first input end, a second input end, a control end and an output end; the first input end of the multiplexer is connected to the first output end of the 8th D flip-flop, the second input end of the multiplexer is connected to the first output end of the i-th D flip-flop, the control end of the multiplexer is used to receive the control signal, and the output end of the multiplexer is connected to the second input end of the OR gate; in the first working mode in which the multiplexer sends the signal of the first output end of the 8th D flip-flop to the second input end of the OR gate based on the control signal, the second output end of each of the 8 D flip-flops is connected to the latch circuit in the DDR4 SDRAM read path to send a signal to the latch circuit; and / or In the second operating mode in which the multiplexer sends the signal at the first output terminal of the i-th D flip-flop to the second input terminal of the OR gate based on the control signal, the second output terminal of each D flip-flop from the 1st D flip-flop to the i-th D flip-flop is connected to the latch circuit in the DDR4 SDRAM read path to send a signal to the latch circuit.
2. The shift register circuit according to claim 1, It is characterized in that The shift register circuit further includes: A control signal generating unit, wherein an output end of the control signal generating unit is connected to the control end of the multiplexer, and is used to send the control signal to the control end of the multiplexer.
3. A dynamic random access memory, It is characterized in that A shift register circuit comprising any one of claims 1 to 2.
4. A circuit control method, It is characterized in that The circuit control method is applied to a shift register circuit in a DDR4 SDRAM read path, wherein the shift register includes a control unit, an OR gate, and 8 cascaded D flip-flops, wherein the circuit control method includes: The control unit receives a first signal output by the 8th D flip-flop and a second signal output by the i-th D flip-flop among the 8 D flip-flops; wherein i∈[1,7] is a positive integer; The control unit sends the first signal or the second signal to the input end of the OR gate based on a control signal to control the shift length of the shift register circuit; in a mode in which the control unit sends the first signal to the input end of the OR gate based on the control signal, an output signal of each of the eight D flip-flops is sent to a latch circuit in a DDR4 SDRAM read path; and / or In a mode in which the control unit sends a second signal to the input end of the OR gate based on the control signal, an output signal of each D flip-flop from the 1st to the i-th D flip-flop is sent to a latch circuit in a DDR4 SDRAM read path.
5. The circuit control method according to claim 4, It is characterized in that The control unit is a multiplexer.
6. The circuit control method according to claim 4, It is characterized in that The circuit control method further includes: The control signal is determined according to a column address strobe signal delay and a column operation interval time.
Citation Information
Patent Citations
Shift register circuit and dynamic random access memory
CN208834747U
Semiconductor memory
JP2002050177A
Linear feedback shift register for circuit design technology validation
US4713605A
Controllable pseudo random noise pattern generator for use in video special effects
US5235423A
System and method for generating error checking data in a communications system
US6192498B1
