WO2024087781A1 - Command decoding circuit and semiconductor memory - Google Patents

Command decoding circuit and semiconductor memory Download PDF

Info

Publication number
WO2024087781A1
WO2024087781A1 PCT/CN2023/110798 CN2023110798W WO2024087781A1 WO 2024087781 A1 WO2024087781 A1 WO 2024087781A1 CN 2023110798 W CN2023110798 W CN 2023110798W WO 2024087781 A1 WO2024087781 A1 WO 2024087781A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
clock
sampling
command
latch
Prior art date
Application number
PCT/CN2023/110798
Other languages
French (fr)
Chinese (zh)
Inventor
高恩鹏
Original Assignee
长鑫存储技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 长鑫存储技术有限公司 filed Critical 长鑫存储技术有限公司
Publication of WO2024087781A1 publication Critical patent/WO2024087781A1/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
    • G11C11/40Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
    • G11C11/401Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming cells needing refreshing or charge regeneration, i.e. dynamic cells
    • G11C11/4063Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing or timing
    • G11C11/407Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing or timing for memory cells of the field-effect type
    • G11C11/4076Timing circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
    • G11C11/40Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
    • G11C11/401Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming cells needing refreshing or charge regeneration, i.e. dynamic cells
    • G11C11/4063Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing or timing
    • G11C11/407Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing or timing for memory cells of the field-effect type
    • G11C11/408Address circuits

Definitions

  • the present disclosure relates to, but is not limited to, a command decoding circuit and a semiconductor memory.
  • DRAM dynamic random access memory
  • the present disclosure provides a command decoding circuit and a semiconductor memory.
  • an embodiment of the present disclosure provides a command decoding circuit, the command decoding circuit comprising:
  • a clock generating circuit configured to generate a first clock signal, a second clock signal, a third clock signal and a fourth clock signal; wherein the clock periods of the first clock signal, the second clock signal, the third clock signal and the fourth clock signal are the same and the phases thereof are 90 degrees different from each other;
  • a first conversion circuit connected to the clock generation circuit, configured to receive a chip select signal, perform multiple sampling and logic processing on the chip select signal using the first clock signal and the second clock signal, and output a first control signal and a second control signal; wherein, if the chip select signal meets a preset condition, both the first control signal and the second control signal have pulses;
  • a second conversion circuit connected to the clock generation circuit, configured to receive the chip select signal, perform multiple sampling and logic processing on the chip select signal using the third clock signal and the fourth clock signal, and output a third control signal and a fourth control signal; wherein, if the chip select signal meets a preset condition, both the third control signal and the fourth control signal have pulses;
  • the command sampling circuit is connected to both the first conversion circuit and the second conversion circuit, and is configured to receive a command address signal, sample the command address signal using the first control signal, the second control signal, the third control signal, and the fourth control signal, and output a target sampling signal.
  • the first control signal, the second control signal, the third control signal, and the fourth control signal all maintain a constant level state.
  • the clock generation circuit is configured to receive an initial clock signal, perform frequency division and phase division processing on the external initial clock signal, and output the first clock signal, the second clock signal, the third clock signal, and the fourth clock signal;
  • the clock period of the first clock signal is twice the clock period of the initial clock signal, and the rising edge of the first clock signal is aligned with the rising edge of the initial clock signal.
  • the chip select signal is used to indicate whether the command address signal is valid or invalid. If the chip select signal meets a preset condition, the command address signal is valid; if the chip select signal does not meet the preset condition, the command address signal is invalid; the command address signal lasts for 2 initial clock cycles, and the initial clock cycle refers to the clock cycle of the initial clock signal; the preset condition refers to the presence of a level change edge in the chip select signal in the first initial clock cycle, and the presence of a level change edge in the chip select signal in the second initial clock cycle.
  • the pulse width of the first control signal, the pulse width of the second control signal, the pulse width of the third control signal and the pulse width of the fourth control signal are all the same, and the pulse width of the first control signal is the same as the initial clock cycle; wherein, the pulse leading edge of the first control signal is aligned with the rising edge of the first clock signal, the pulse leading edge of the second control signal is aligned with the rising edge of the second clock signal, the pulse leading edge of the third control signal is aligned with the rising edge of the third clock signal, and the pulse leading edge of the fourth control signal is aligned with the rising edge of the fourth clock signal.
  • the first conversion circuit includes a first sampling unit, a first logic unit, and a second logic unit; wherein the first sampling unit is configured to use the first clock signal to sample the chip select signal to generate a first intermediate signal, and use the first The inverted signal of the clock signal samples the first intermediate signal to generate a second intermediate signal, and uses the second clock signal to sample the second intermediate signal to generate a third intermediate signal;
  • the first logic unit is connected to the first sampling unit, and is configured to perform an AND operation on the first intermediate signal and the first clock signal, and output the first control signal;
  • the second logic unit is connected to the first sampling unit, and is configured to perform an AND operation on the third intermediate signal and the second clock signal, and output the second control signal; wherein, if the chip select signal meets the preset conditions, then both the first intermediate signal and the third intermediate signal have pulses, and the pulse widths are both greater than the initial clock period.
  • the second conversion circuit includes a second sampling unit, a third logic unit and a fourth logic unit; wherein the second sampling unit is configured to use the third clock signal to sample the chip select signal to generate a fourth intermediate signal, use the inverted signal of the third clock signal to sample the fourth intermediate signal to generate a fifth intermediate signal, and use the fourth clock signal to sample the fifth intermediate signal to generate a sixth intermediate signal;
  • the third logic unit is connected to the second sampling unit and configured to perform an AND operation on the fourth intermediate signal and the third clock signal to output the third control signal;
  • the fourth logic unit is connected to the second sampling unit and configured to perform an AND operation on the sixth intermediate signal and the fourth clock signal to output the fourth control signal; wherein, if the chip select signal meets the preset condition, both the fourth intermediate signal and the sixth intermediate signal have pulses, and the pulse widths are both greater than the initial clock period.
  • the first sampling unit includes a first latch, a second latch, a third latch and a first inverter; wherein, the input end of the first latch receives the chip select signal, the clock end of the first latch receives the first clock signal, and the output end of the first latch outputs the first intermediate signal; the input end of the second latch receives the first intermediate signal, the input end of the first inverter receives the first clock signal, the clock end of the second latch is connected to the output end of the first inverter, and the output end of the second latch outputs the second intermediate signal; the input end of the third latch receives the second intermediate signal, the clock end of the third latch receives the second clock signal, and the output end of the third latch outputs the third intermediate signal.
  • the second sampling unit includes a fourth latch, a fifth latch, a sixth latch and a second inverter; the input end of the fourth latch receives the chip select signal, the clock end of the fourth latch receives the third clock signal, and the output end of the fourth latch outputs the fourth intermediate signal; the input end of the fifth latch receives the fourth intermediate signal, the input end of the second inverter receives the third clock signal, the clock end of the fifth latch is connected to the output end of the second inverter, and the output end of the fifth latch outputs the fifth intermediate signal; the input end of the sixth latch receives the fifth intermediate signal, the clock end of the sixth latch receives the fourth clock signal, and the output end of the sixth latch outputs the sixth intermediate signal.
  • the command decoding circuit also includes a first delay unit and a second delay unit; wherein the first delay unit is connected to the first conversion circuit and the second conversion circuit, and is configured to receive an initial chip select signal from the outside, delay the initial chip select signal, and output the chip select signal; the second delay unit is connected to the command sampling circuit, and is configured to receive an initial command address signal from the outside, delay the initial command address signal, and output the command address signal.
  • the target sampling signal includes a first sampling signal, a second sampling signal, a third sampling signal and a fourth sampling signal
  • the command address signal the first sampling signal, the second sampling signal, the third sampling signal and the fourth sampling signal all include (N+1)-bit sub-signals
  • the command sampling circuit includes (N+1) command sampling units; the i-th command sampling unit is configured to perform two sampling processes on the i-th sub-signal of the command address signal using the first control signal and output the i-th sub-signal of the first sampling signal; and perform two sampling processes on the i-th sub-signal of the command address signal using the second control signal.
  • the i-th sub-signal of the command address signal is sampled once, and the i-th sub-signal of the second sampling signal is output; the i-th sub-signal of the command address signal is sampled twice using the third control signal, and the i-th sub-signal of the third sampling signal is output; the i-th sub-signal of the command address signal is sampled once using the fourth control signal, and the i-th sub-signal of the fourth sampling signal is output; wherein the first sampling signal and the second sampling signal are in a timing aligned state, and the third sampling signal and the fourth sampling signal are in a timing aligned state, i and N are positive integers, and i is less than or equal to (N+1).
  • the i-th command sampling unit includes a first trigger, a seventh latch, a second trigger, a third trigger, an eighth latch and a fourth trigger; wherein the input end of the first trigger receives the i-th sub-signal of the command address signal, the clock end of the first trigger receives the first control signal, the input end of the seventh latch is connected to the output end of the seventh latch, the clock end of the seventh latch receives the first control signal, and the output end of the seventh latch outputs the i-th sub-signal of the first sampling signal; the input end of the second trigger receives the i-th sub-signal of the command address signal, and the clock end of the second trigger receives the second control signal , the output end of the second trigger outputs the i-th sub-signal of the second sampling signal; the input end of the third trigger receives the i-th sub-signal of the command address signal, the clock end of the third trigger receives the third control signal, the input end of the eighth latch is connected to the output end
  • the command decoding circuit further includes: a decoding circuit connected to the first conversion circuit, the second conversion circuit and the command sampling circuit, configured to decode the first sampling signal, the second sampling signal, the third sampling signal and the command sampling circuit.
  • the fourth sampling signal is decoded and processed to obtain an intermediate decoded signal; and the intermediate decoded signal is sampled and processed based on the first control signal and the third control signal, and a target decoded signal is output;
  • a chip select sampling circuit is connected to the clock generating circuit and is configured to receive the chip select signal; the chip select signal is sampled using the first clock signal and the third clock signal respectively, and a first chip select sampling signal and a second chip select sampling signal are output; wherein the target decoded signal, the first chip select sampling signal and the second chip select sampling signal are logically processed to generate a target command signal.
  • the decoding circuit includes: a third delay unit, configured to delay the first control signal and output a first delayed control signal; delay the third control signal and output a second delayed control signal; a first decoding unit, connected to the third delay unit, configured to perform a logic operation on the (N+1)-bit sub-signal of the first sampling signal and the (N+1)-bit sub-signal of the second sampling signal, and output a first decoded signal; sample the first decoded signal using the second delayed control signal and output a first target signal; a second decoding unit, connected to the third delay unit, configured to perform a logic operation on the (N+1)-bit sub-signal of the third sampling signal and the (N+1)-bit sub-signal of the fourth sampling signal and output a second decoded signal; sample the second decoded signal using the first delayed control signal and output a second target signal; wherein the first target signal and the second target signal constitute the target decoded signal, the first target signal indicates the content of the command address signal in the first initial
  • an embodiment of the present disclosure provides a semiconductor memory, comprising a command decoding circuit as described in any one of the first aspects.
  • the semiconductor memory is a dynamic random access memory DRAM, and the semiconductor memory complies with the LPDDR6 memory specification.
  • FIG1 is a schematic diagram of the structure of a command decoding circuit provided by an embodiment of the present disclosure
  • FIG2A is a first schematic diagram of a signal timing sequence provided by an embodiment of the present disclosure.
  • FIG2B is a second signal timing diagram provided by an embodiment of the present disclosure.
  • FIG3 is a schematic diagram of the composition structure of another command decoding circuit provided by an embodiment of the present disclosure.
  • FIG4 is a partial structural diagram of a command decoding circuit provided in an embodiment of the present disclosure.
  • FIG5A is a third signal timing diagram provided by an embodiment of the present disclosure.
  • FIG5B is a fourth signal timing diagram provided by an embodiment of the present disclosure.
  • FIG6 is a second partial structural diagram of a command decoding circuit provided in an embodiment of the present disclosure.
  • FIG7A is a fifth signal timing diagram provided by an embodiment of the present disclosure.
  • FIG7B is a sixth signal timing diagram provided by an embodiment of the present disclosure.
  • FIG8 is a third partial structural diagram of a command decoding circuit provided by an embodiment of the present disclosure.
  • FIG9 is a fourth partial structural diagram of a command decoding circuit provided in an embodiment of the present disclosure.
  • FIG10 is a fifth partial structural diagram of a command decoding circuit provided in an embodiment of the present disclosure.
  • FIG11 is a sixth partial structural diagram of a command decoding circuit provided in an embodiment of the present disclosure.
  • FIG12 is a seventh schematic diagram of a signal timing sequence provided by an embodiment of the present disclosure.
  • FIG. 13 is a schematic diagram of the structure of a semiconductor memory provided in an embodiment of the present disclosure.
  • first ⁇ second involved in the embodiments of the present disclosure are only used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that “first ⁇ second” can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present disclosure described here can be implemented in an order other than that illustrated or described here.
  • DRAM Dynamic Random Access Memory
  • SDRAM Synchronous Dynamic Random Access Memory
  • LPDDR Low Power DDR
  • Command address input (Command/Address, CMD/ADD or CA for short);
  • Chip select input Chip Select Input, CS
  • multiple semiconductor memories are integrated into one module (such as a memory stick), and these semiconductor memories share one control bus, and all semiconductor memories can receive CA input and CS input from the control bus. If the CS input received by the semiconductor memory has two pulses, it means that the semiconductor memory is selected, that is, the semiconductor memory needs to perform the operation corresponding to the CA input; if the CS input received by the semiconductor memory remains in a low level state, it means that the semiconductor memory is not selected, that is, the semiconductor memory does not need to perform the operation corresponding to the CA input.
  • the CA input and the CS input need to be sampled and decoded according to the initial clock signal Clk, so as to obtain the corresponding operation instructions.
  • CA Command the command part of the CA input
  • CS input both last for 2 initial clock cycles.
  • the CA Command needs to be sampled at the rising edge and falling edge of the first initial clock cycle and the rising edge and falling edge of the second initial clock cycle
  • the CS input needs to be sampled at the rising edge of the first initial clock cycle and the rising edge of the second initial clock cycle.
  • the initial clock cycle refers to the clock cycle of the initial clock signal Clk.
  • CA Command is a group of signals consisting of 4 sub-signals, and its sub-signals are represented as CA0, CA1, CA2 and CA3 respectively. See Table 1, which shows a partial command truth table of LPDDR6.
  • the command decoding circuit in the semiconductor memory needs to perform decoding processing based on the R1 sampling result of the CS input, the R2 sampling result of the CS input, the R1 sampling result of the CA Command, the F1 sampling result of the CA Command, the R2 sampling result of the CA Command, and the F2 sampling result of the CA Command, and finally output the specific command of this CA Command.
  • the command decoding circuit therein will always sample and decode the CA input, and then perform secondary decoding in combination with the CS input to obtain the target command signal, which consumes high power.
  • the disclosed embodiment provides a command decoding circuit, and only the command decoding circuit in the selected semiconductor memory will sample and decode the CA input, which not only realizes the correct decoding of the command address signal but also reduces power consumption.
  • FIG1 a schematic diagram of the structure of a command decoding circuit 10 provided in an embodiment of the present disclosure is shown.
  • the command decoding circuit 10 includes:
  • the clock generating circuit 11 is configured to generate a first clock signal Clk_R0, a second clock signal Clk_F0, a third clock signal Clk_R1 and a fourth clock signal Clk_F1; wherein the clock periods of the first clock signal Clk_R0, the second clock signal Clk_F0, the third clock signal Clk_R1 and the fourth clock signal Clk_F1 are the same and the phases thereof are 90 degrees different from each other;
  • the first conversion circuit 12 is connected to the clock generation circuit 11, and is configured to receive the chip selection signal CSD, perform multiple sampling and logic processing on the chip selection signal CSD using the first clock signal Clk_R0 and the second clock signal Clk_F0, and output the first control signal Clk_R0d and the second control signal Clk_F0d; wherein, if the chip selection signal CSD meets the preset condition, the first control signal Clk_R0d and the second control signal Clk_F0d both have pulses;
  • the second conversion circuit 13 is connected to the clock generation circuit 11, and is configured to receive the chip selection signal CSD, and use the third clock signal Clk_R1 and the fourth clock signal Clk_F1 to perform multiple sampling and logic processing on the chip selection signal CSD, and output the third control signal Clk_R1d and the fourth control signal Clk_F1d; wherein, if the chip selection signal CSD meets the preset condition, the third control signal Clk_R1d and the fourth control signal Clk_F1d both have pulses;
  • the command sampling circuit 14 is connected to the first conversion circuit 12 and the second conversion circuit 13, and is configured to receive the command address signal CA Command, and use the first control signal Clk_R0d, the second control signal Clk_F0d, the third control signal Clk_R1d and the fourth control signal Clk_F1d to sample the command address signal CA Command respectively, and output the target sampling signal.
  • the first control signal Clk_R0d, the second control signal Clk_F0d, the third control signal Clk_R1d, and the fourth control signal Clk_F1d all maintain a constant level state.
  • command decoding circuit 10 of the embodiment of the present disclosure is applied to a semiconductor memory to realize the decoding requirements for the command address signal CA Command in LPDDR6.
  • command decoding circuit 10 can also be applied to a variety of circuit scenarios with similar requirements. The embodiment of the present disclosure will be explained and illustrated with the decoding of the command address signal CA Command later, but this does not constitute a relevant limitation.
  • the chip select signal CSD meets the preset conditions, it means that the semiconductor memory to which the command decoding circuit belongs is selected, and the command address signal CA Command is valid for the semiconductor memory. If the chip select signal CSD does not meet the preset conditions, it means that the semiconductor memory to which the command decoding circuit belongs is not selected, and the command address signal CA Command is invalid for the semiconductor memory.
  • the first control signal Clk_R0d, the second control signal Clk_F0d, the third control signal Clk_R1d and the fourth control signal Clk_F1d have pulses, thereby realizing normal sampling of the command address signal CA Command; however, when the semiconductor memory is not selected, as shown in FIG2B, the first control signal Clk_R0d, the second control signal Clk_F0d, the third control signal Clk_R1d and the fourth control signal Clk_F1d all maintain a low level state (L) unchanged, and the command address signal will not be sampled, thereby reducing power consumption.
  • L low level state
  • the clock generating circuit 11 is configured to receive the initial clock signal Clk, perform frequency division and phase division processing on the external initial clock signal Clk, and output the first clock signal Clk_R0, the second clock signal Clk_F0, the third clock signal Clk_R1 and the fourth clock signal Clk_F1.
  • the clock period of the first clock signal Clk_R0 is the period of the initial clock signal
  • the rising edge of the first clock signal Clk_R0 is twice the rising edge of the initial clock signal.
  • the clock generating circuit 11 may include a frequency division module and a phase division module, and the frequency division module may be implemented by a two-frequency division component composed of a NOT gate and a D-type flip-flop, and the phase division module may be implemented by multiple D-type flip-flops and delay devices.
  • the command address signal CA Command lasts for 2 initial clock cycles (i.e., the clock cycle of the initial clock signal Clk), the rising edge of the first clock signal Clk_R0 is aligned with the rising edge of the first initial clock cycle, the rising edge of the second clock signal Clk_F0 is aligned with the falling edge of the first initial clock cycle, the rising edge of the third clock signal Clk_R1 is aligned with the rising edge of the second initial clock cycle, and the rising edge of the fourth clock signal Clk_F1 is aligned with the falling edge of the second initial clock cycle.
  • the first clock signal Clk_R0 to the fourth clock signal Clk_F1 can sample the content of the command address signal CA Command at different times.
  • the pulse width of the first control signal Clk_R0d, the pulse width of the second control signal Clk_F0d, the pulse width of the third control signal Clk_R1d and the pulse width of the fourth control signal Clk_F1d are all the same, and the pulse width of the first control signal Clk_R0d is the same as the initial clock cycle; wherein, the pulse leading edge of the first control signal Clk_R0d is aligned with the rising edge of the first clock signal Clk_R0, the pulse leading edge of the second control signal Clk_F0d is aligned with the rising edge of the second clock signal Clk_F0, the pulse leading edge of the third control signal Clk_R1d is aligned with the rising edge of the third clock signal Clk_R1, and the pulse leading edge of the fourth control signal Clk_F1d is aligned with the rising edge of the fourth clock signal Clk_F1.
  • the pulse leading edge can be a rising edge or a falling edge
  • FIG. 2A shows the pulse leading edge as a rising edge
  • the command sampling circuit 14 samples the command address signal CA Command using the pulse leading edges of the first control signal Clk_R0d to the fourth control signal Clk_F1d.
  • the sampling result of the command address signal CA Command by the first control signal Clk_R0d indicates the information of the rising edge of the command address signal CA Command in the first initial clock cycle
  • the sampling result of the command address signal CA Command by the second control signal Clk_F0d indicates the information of the falling edge of the command address signal CA Command in the first initial clock cycle
  • the sampling result of the command address signal CA Command by the third control signal Clk_R1d indicates the information of the rising edge of the command address signal CA Command in the second initial clock cycle
  • the sampling result of the command address signal CA Command by the fourth control signal Clk_F1d indicates the information of the falling edge of the command address signal CA Command in the second initial clock cycle, so as to realize the correct decoding of the command address signal CA Command later.
  • the preset condition means that the chip select signal CSD has a level change edge in the first initial clock cycle, and the chip select signal CSD has a level change edge in the second initial clock cycle.
  • the chip select signal CSD has two pulse signals, it indicates that the semiconductor memory to which it belongs is selected; please refer to FIG. 2B , if the chip select signal CSD remains in a low level state (L), it indicates that the semiconductor memory to which it belongs is not selected.
  • the circuit configurations of the first conversion circuit 12 and the second conversion circuit 13 are provided below as examples.
  • the first conversion circuit 12 includes a first sampling unit 121 , a first logic unit 122 , and a second logic unit 123 ; wherein,
  • a first sampling unit 121 is configured to sample the chip selection signal CSD using the first clock signal Clk_R0 to generate a first intermediate signal ClkEn_R0, sample the first intermediate signal ClkEn_R0 using an inverted signal of the first clock signal Clk_R0 to generate a second intermediate signal ClkEnD_R0, and sample the second intermediate signal ClkEnD_R0 using the second clock signal Clk_F0 to generate a third intermediate signal ClkEn_F0;
  • the first logic unit 122 is connected to the first sampling unit 121 and configured to perform an AND operation on the first intermediate signal ClkEn_R0 and the first clock signal Clk_R0 to output a first control signal Clk_R0d;
  • the second logic unit 123 is connected to the first sampling unit 121 , and is configured to perform an AND operation on the third intermediate signal ClkEn_F0 and the second clock signal Clk_F0 , and output a second control signal Clk_F0d.
  • the first intermediate signal ClkEn_R0 and the third intermediate signal ClkEn_F0 both have pulses, and the pulse widths are both greater than the initial clock cycle, so that the first control signal Clk_R0d and the second control signal Clk_F0d have pulses;
  • the first intermediate signal ClkEn_F0 and the third intermediate signal ClkEn_F0 both maintain a low level state (L) unchanged, so that the first control signal Clk_R0d and the second control signal Clk_F0d do not have pulses.
  • the first logic unit 122 and the second logic unit 123 can both be implemented by a two-input AND gate.
  • the first sampling unit 121 includes a first latch 1211 , a second latch 1212 , a third latch 1213 and a first inverter 1214 .
  • the input end of the first latch 1211 receives the chip select signal CSD, the clock end of the first latch 1211 receives the first clock signal Clk_R0, and the output end of the first latch 1211 outputs the first intermediate signal ClkEn_R0;
  • the input end of the second latch 1212 receives the first intermediate signal ClkEn_R0, the input end of the first inverter 1214 receives the first clock signal Clk_R0, the clock end of the second latch 1212 is connected to the output end of the first inverter 1214, and the output end of the second latch 1212 outputs the second intermediate signal ClkEnD_R0;
  • the input end of the third latch 1213 receives the second intermediate signal ClkEnD_R0, the clock end of the third latch 1213 receives the second clock signal Clk_F0, and the
  • the function of the latch in the embodiment of the present disclosure is: when the clock terminal is at a low level, the signal at the output terminal changes following the signal at the input terminal; when the clock terminal is at a high level, the signal at the output terminal remains unchanged.
  • the first intermediate signal ClkEn_R0, the second intermediate signal ClkEnD_R0 and the third intermediate signal ClkEn_F0 all have pulses; as shown in FIG5B, when the chip select signal CSD does not meet the preset conditions, the first intermediate signal ClkEn_R0, the second intermediate signal ClkEnD_R0 and the third intermediate signal ClkEn_F0 all have no pulses.
  • the input and output waveforms of the third latch 1213 are consistent, but FIG5 shows an ideal situation, and there will be some deviations in the actual circuit, so the existence of the third latch 1213 is conducive to the regularization of the waveform.
  • the second conversion circuit 13 includes a second sampling unit 131 , a third logic unit 132 and a fourth logic unit 133 ; wherein,
  • the second sampling unit 131 is configured to sample the chip selection signal CSD using the third clock signal Clk_R1 to generate a fourth intermediate signal ClkEn_R1, sample the fourth intermediate signal ClkEn_R1 using the inverted signal of the third clock signal Clk_R1 to generate a fifth intermediate signal ClkEnD_R1, and sample the fifth intermediate signal ClkEnD_R1 using the fourth clock signal Clk_F1 to generate a sixth intermediate signal ClkEn_F1;
  • the third logic unit 132 is connected to the second sampling unit 131 and configured to perform an AND operation on the fourth intermediate signal ClkEn_R1 and the third clock signal Clk_R1 to output a third control signal Clk_R1d;
  • the fourth logic unit 133 is connected to the second sampling unit 131 , and is configured to perform an AND operation on the sixth intermediate signal ClkEn_F1 and the fourth clock signal Clk_F1 , and output a fourth control signal Clk_F1d.
  • the fourth intermediate signal ClkEn_R1 and the sixth intermediate signal ClkEn_F1 both have pulses, and the pulse widths are both greater than the initial clock cycle, so that the third control signal Clk_R1d and the fourth control signal Clk_F1d have pulses; as shown in FIG7B , if the chip select signal CSD does not meet the preset conditions, the fourth intermediate signal ClkEn_R1 and the sixth intermediate signal ClkEn_F1 remain in a low level state (L) unchanged, so that the third control signal Clk_R1d and the fourth control signal Clk_F1d do not have pulses.
  • the third logic unit 132 and the fourth logic unit 133 can be implemented by a two-input AND gate.
  • the second sampling unit 131 includes a fourth latch 1311 , a fifth latch 1312 , a sixth latch 1313 and a second inverter 1314 .
  • the input end of the fourth latch 1311 receives the chip select signal CSD, the clock end of the fourth latch 1311 receives the third clock signal Clk_R1, and the output end of the fourth latch 1311 outputs the fourth intermediate signal ClkEn_R1;
  • the input end of the fifth latch 1312 receives the fourth intermediate signal ClkEn_R1, the input end of the second inverter 1314 receives the third clock signal Clk_R1, the clock end of the fifth latch 1312 is connected to the output end of the second inverter 1314, and the output end of the fifth latch 1312 outputs the fifth intermediate signal ClkEnD_R1;
  • the input end of the sixth latch 1313 receives the fifth intermediate signal ClkEnD_R1, the clock end of the sixth latch 1313 receives the fourth clock signal Clk_F1, and the output end of the sixth
  • the fourth intermediate signal ClkEn_R1, the fifth intermediate signal ClkEnD_R1 and the sixth intermediate signal ClkEn_F1 all have pulses; as shown in FIG7B , when the chip select signal does not meet the preset condition, the fourth intermediate signal ClkEn_R1, the fifth intermediate signal ClkEnD_R1 and the sixth intermediate signal ClkEn_F1 all have no pulses.
  • the existence of the sixth latch 1313 is conducive to the regularity of the waveform.
  • the command decoding circuit 10 further includes a first delay unit 15 and a second delay unit 16 ; wherein,
  • the first delay unit 15 is connected to the first conversion circuit 12 and the second conversion circuit 13, and is configured to receive an initial chip select signal CS from the outside, delay the initial chip select signal CS, and output a chip select signal CSD;
  • the second delay unit 16 is connected to the command sampling circuit 14, and is configured to receive an initial command address signal from the outside, delay the initial command address signal, and output a command address signal CA Command.
  • first delay unit 15 and the second delay unit 16 can be formed by conventional delay devices.
  • first delay unit 15 and the second delay unit 16 can be designed as a circuit with adjustable delay parameters, or as a circuit with non-adjustable delay parameters, and its function is to delay the initial chip select signal CS (or initial command address signal) to obtain the chip select signal CSD (or command address signal CA Command) to achieve delay matching between signals.
  • the target sampling signal includes a first sampling signal, a second sampling signal, a third sampling signal and a fourth sampling signal.
  • the first sampling signal refers to the sampling result of the first control signal Clk_R0d on the command address signal CA Command
  • the second sampling signal refers to the sampling result of the second control signal Clk_F0d on the command address signal CA Command
  • the third sampling signal refers to the sampling result of the third control signal Clk_R1d on the command address signal CA Command
  • the fourth sampling signal refers to the sampling result of the fourth control signal Clk_F1d on the command address signal CA Command.
  • the i-th command sampling unit is configured to use the first control signal Clk_R0d to sample the i-th sub-signal of the command address signal CA Command twice, and output the i-th sub-signal of the first sampling signal; use the second control signal Clk_F0d to sample the i-th sub-signal of the command address signal CA Command once, and output the i-th sub-signal of the second sampling signal; use the third control signal Clk_R1d to sample the i-th sub-signal of the command address signal CA Command twice, and output the i-th sub-signal of the third sampling signal; use the fourth control signal Clk_F1d to sample the i-th sub-signal of the command address signal CA Command once, and output the i-th sub-signal of the fourth sampling signal; wherein i and N are positive integers, and i is less than or equal to (N+1).
  • the pulse leading edge of the first control signal Clk_R0d is ahead of the pulse leading edge of the second control signal Clk_F0d, so the first control signal Clk_R0d is sampled once more than the second control signal Clk_F0d, so that the first sampling signal and the second sampling signal are aligned in timing, which is convenient for subsequent joint decoding.
  • the third sampling signal and the fourth sampling signal are aligned in timing.
  • the initial command signal also includes (N+1) signals, which are respectively represented as CA0, CA1 ⁇ CAN.
  • the second delay unit includes (N+1) second delay subunits, and the i-th second delay subunit delays the i-th signal (which can be represented as CAi) of the initial command signal to obtain the i-th signal (which can be represented as CAi_D) of the command signal.
  • the i-th command sampling unit includes a first trigger 141, a seventh latch 142, a second trigger 143, a third trigger 144, an eighth latch 145 and a fourth trigger 146.
  • FIG8 only labels the components in the first command sampling unit, and the others can be understood by reference; wherein,
  • An input terminal of the first flip-flop 141 receives the i-th sub-signal CAi_D of the command address signal, a clock terminal of the first flip-flop 141 receives the first control signal Clk_R0d, an input terminal of the seventh latch 142 is connected to an output terminal of the first flip-flop 141, a clock terminal of the seventh latch 142 receives the first control signal Clk_R0d, and an output terminal of the seventh latch 142 outputs the i-th sub-signal CAi_R0d of the first sampling signal;
  • the input terminal of the second flip-flop 143 receives the ith sub-signal CAi_D of the command address signal, the clock terminal of the second flip-flop 143 receives the second control signal Clk_F0d, and the output terminal of the second flip-flop 143 outputs the ith sub-signal CAi_F0 of the second sampling signal;
  • An input terminal of the third flip-flop 144 receives the i-th sub-signal CAi_D of the command address signal, a clock terminal of the third flip-flop 144 receives the third control signal Clk_R1d, an input terminal of the eighth latch 145 is connected to an output terminal of the third flip-flop 144, a clock terminal of the eighth latch 145 receives the third control signal Clk_R1d, and an output terminal of the eighth latch 145 outputs the i-th sub-signal CAi_R1d of the third sampling signal;
  • An input terminal of the fourth flip-flop 146 receives the i-th sub-signal CAi_D of the command address signal, a clock terminal of the fourth flip-flop 146 receives the fourth control signal Clk_F1d, and an output terminal of the fourth flip-flop 146 outputs the i-th sub-signal CAi_F1 of the fourth sampling signal.
  • the function of the trigger in the embodiment of the present disclosure is: when the signal at the clock end rises, the signal at the output end samples the signal at the input end.
  • each command sampling unit has its own first trigger 141 , seventh latch 142 , second trigger 143 , third trigger 144 , eighth latch 145 and fourth trigger 146 . Please refer to FIG. 8 for details.
  • the command decoding circuit 10 further includes:
  • the decoding circuit 17 is connected to the first conversion circuit 12, the second conversion circuit 13 and the command sampling circuit 14, and is configured to decode the first sampling signal CA ⁇ N:0>_R0d, the second sampling signal CA ⁇ N:0>_F0, the third sampling signal CA ⁇ N:0>_R1d and the fourth sampling signal CA ⁇ N:0>_F1 to obtain an intermediate decoding signal; and sample the intermediate decoding signal based on the first control signal Clk_R0d and the third control signal Clk_R1d, and output a target decoding signal Command;
  • the chip select sampling circuit 18 is connected to the clock generating circuit 11, and is configured to receive the chip select signal CSD, sample the chip select signal CSD using the first clock signal Clk_R0 and the third clock signal Clk_R1, and output the first chip select sampling signal CS_R0 and the second chip select sampling signal CS_R1.
  • the initial chip select signal CS also lasts for 2 initial clock cycles, and the chip select signal CSD needs to be sampled and processed at the rising edge of the first initial clock cycle and the rising edge of the second initial clock cycle.
  • the target decoding signal Command, the first chip select sampling signal CS_R0 and the second chip select sampling signal CS_R1 are logically processed to generate the target command signal.
  • the target command signal can indicate the specific content of this CA Command, such as PDE, SRE, ACT-1, ACT-2... in Table 1
  • the chip select sampling circuit 18 includes a fifth flip-flop 181 and a sixth flip-flop 182, wherein the input end of the fifth flip-flop 181 receives the chip select signal CSD, the clock end of the fifth flip-flop 181 receives the first clock signal Clk_R0, and the output end of the fifth flip-flop 182 outputs the first chip select sampling signal CS_R0; the input end of the sixth flip-flop 182 receives the chip select signal CSD, the clock end of the sixth flip-flop 182 receives the third clock signal Clk_R1, and the output end of the sixth flip-flop 182 outputs the second chip select sampling signal CS_R1.
  • the decoding circuit 17 is connected to the command sampling circuit 14, and is configured to decode the first sampling signal CA ⁇ N:0>_R0d, the second sampling signal CA ⁇ N:0>_F0, the third sampling signal CA ⁇ N:0>_R1d and the fourth sampling signal CA ⁇ N:0>_F1 based on the first control signal Clk_R0d and the third control signal Clk_R1.
  • the decoding circuit 17 includes:
  • the third delay unit 151 is configured to delay the first control signal Clk_R0d and output a first delayed control signal Clk_R0d1; Delaying the third control signal Clk_R1d and outputting a second delayed control signal Clk_R1d1;
  • the first decoding unit 152 is connected to the command sampling circuit 14 and the third delay unit 151, and is configured to perform a logic operation on the (N+1)-bit sub-signal of the first sampling signal and the (N+1)-bit sub-signal of the second sampling signal, and output a first decoded signal; and sample the first decoded signal using the second delay control signal Clk_R1d1, and output a first target signal Cmd_R1;
  • the second decoding unit 153 is connected to the command sampling circuit 14 and the third delay unit 151, and is configured to perform a logic operation on the (N+1)-bit sub-signal of the third sampling signal and the (N+1)-bit sub-signal of the fourth sampling signal to output a second decoded signal; and use the first delay control signal Clk_R0d1 to sample and process the second decoded signal to output a second target signal Cmd_R0.
  • the function of the third delay unit 151 is to delay the first control signal Clk_R0d and the third control signal Clk_R1d to achieve delay matching between the signals.
  • the third delay unit 151 includes two third delay sub-units, which are respectively used to delay the first control signal Clk_R0d and the third control signal Clk_R1d.
  • the first decoding unit 152 and the second decoding unit 153 in FIG. 10 together constitute the decoding processing unit 150 in FIG. 11.
  • the first decoding unit 152 includes a fifth logic unit 1521 and a seventh trigger 1522; wherein, the input end of the fifth logic unit 1521 receives a 4-bit sub-signal of the first sampling signal (i.e., CA0_R0d, CA1_R0d, CA2_R0d, CA3_R0d) and a 4-bit sub-signal of the second sampling signal (i.e., CA0_F0, CA1_F0, CA2_F0, CA3_F0), and the output end of the fifth logic unit 1521 outputs a first decoding signal; the input end of the seventh trigger 1522 receives the first decoding signal, the clock end of the seventh trigger 1522 receives the second delay control signal Clk_R1d1, and the output end of the seventh trigger 1522 outputs the first target signal Cmd_R1.
  • the input end of the seventh trigger 1522 receives a 4-bit sub-signal of the first sampling signal (i.e., CA0_R0d, CA1_R
  • the second decoding unit 153 includes a sixth logic unit 1531 and an eighth flip-flop 1532; the input end of the sixth logic unit 1531 receives the 4-bit sub-signals of the third sampling signal (i.e., CA0_R1d, CA1_R1d, CA2_R1d, CA3_R1d) and the 4-bit sub-signals of the fourth sampling signal (i.e., CA0_F1, CA1_F1, CA2_F1, CA3_F1), and the output end of the sixth logic unit 1531 outputs the second decoding signal; the input end of the eighth flip-flop 1532 receives the second decoding signal, the clock end of the eighth flip-flop 1532 receives the first delay control signal Clk_R0d1, and the output end of the eighth flip-flop 1532 outputs the second target signal Cmd_R0.
  • the third sampling signal i.e., CA0_R1d, CA1_R1d, CA2_R1d, CA3_R1d
  • first target signal Cmd_R1 and the second target signal Cmd_R0 constitute the target decoding signal Command.
  • the first target signal Cmd_R1 indicates the content of the command address signal CA Command in the first initial clock cycle;
  • the second target signal Cmd_R0 indicates the content of the command address signal CA Command in the second initial clock cycle.
  • the initial clock cycle refers to the clock cycle of the initial clock signal Clk.
  • the fifth logic unit 1521 (or the sixth logic unit 1531) can be implemented by a variety of logic devices, such as NAND gate, NOT gate, XOR gate, etc., which needs to be determined according to specific decoding rules (or called decoding rules), and the embodiments of the present disclosure do not limit this.
  • the aforementioned first to eighth triggers can all be implemented by D-type triggers, which can use the rising edge of the clock signal (i.e., the signal received at the input end) to sample the input signal (i.e., the signal received at the input end) to obtain an output signal (i.e., the signal at the output end);
  • the aforementioned first to eighth latches can all be implemented by two D-type triggers. When the clock end is at a low level, the output changes with the input signal, and when the clock end is at a high level, the output remains unchanged.
  • FIG12 provides a timing diagram from an overall perspective.
  • the initial clock signal Clk is processed by frequency division and phase division to obtain the first clock signal Clk_R0, the second clock signal Clk_F0, the third clock signal Clk_R1 and the fourth clock signal Clk_F1.
  • the first clock signal Clk_R0 to the fourth clock signal Clk_F1 sample and logically process the chip select signal CSD (that is, the initial chip select signal CS is delayed) to obtain the first control signal Clk_R0 to the fourth control signal Clk_F1 (see FIG2A); the first control signal Clk_R0 to the fourth control signal Clk_F1 respectively sample the command address signal CA ⁇ 3:0> to obtain the first sampling signal CA ⁇ 3:0>_R0d, the second sampling signal CA ⁇ 3:0>_F0, the third sampling signal CA ⁇ 3:0>_R1d, and the fourth sampling signal CA ⁇ 3:0>_F1.
  • the first sampling signal CA ⁇ 3:0>_R0d, the second sampling signal CA ⁇ 3:0>_F0, the third sampling signal CA ⁇ 3:0>_R1d and the fourth sampling signal CA ⁇ 3:0>_F1 are decoded to obtain the first target signal Cmd_R1 and the second target signal Cmd_R0 (not shown in FIG. 12 ); finally, the first target signal Cmd_R1, the second target signal Cmd_R0, the first chip selection sampling signal CS_R0 and the second chip selection sampling signal CS_R1 are decoded together, and the decoding result is sampled by the command sampling clock signal ClkCmd_R1 to obtain the final target decoding signal Command.
  • the target decoding signal Command can indicate the specific content of this CA Command, such as PDE, SRE, ACT-1, ACT-2 in Table 1... In this way, only the command decoding circuit in the selected semiconductor memory will sample and decode the CA input, which not only realizes the correct decoding of the command address signal, but also reduces power consumption.
  • Fig. 13 shows a schematic diagram of the composition structure of a semiconductor memory 30 provided by the embodiment of the present disclosure.
  • the semiconductor memory 30 may include the command decoding circuit 10 described in any of the above embodiments.
  • the semiconductor memory 30 may be a dynamic random access memory DRAM, and the semiconductor memory complies with the requirements of LPDDR6.

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Computer Hardware Design (AREA)
  • Dram (AREA)

Abstract

The present disclosure provides a command decoding circuit and a semiconductor memory, comprising using a first clock signal and a second clock signal to carry out processing on a chip selection signal and outputting a first control signal and a second control signal; using a third clock signal and a fourth clock signal to process the chip selection signal and outputting a third control signal and a fourth control signal; and using the first control signal to the fourth control signal to sample a command address signal and outputting a target sampling signal.

Description

一种命令解码电路和半导体存储器A command decoding circuit and semiconductor memory
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本公开要求在2022年10月27日提交中国专利局、申请号为202211324749.2、申请名称为“一种命令解码电路和半导体存储器”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This disclosure claims priority to a Chinese patent application filed with the Chinese Patent Office on October 27, 2022, with application number 202211324749.2 and application name “A command decoding circuit and semiconductor memory”, the entire contents of which are incorporated by reference in this disclosure.
技术领域Technical Field
本公开涉及但不限于一种命令解码电路和半导体存储器。The present disclosure relates to, but is not limited to, a command decoding circuit and a semiconductor memory.
背景技术Background technique
随着半导体技术的不断发展,存储器的设计原则和工作细节也在更新换代,存储器内部的各种电路需要根据新的需求进行改进,以满足设计要求并达到更好的存储性能。对于动态随机存取存储器(Dynamic Random Access Memory,DRAM)来说,需要通过命令解码电路对命令地址信号进行采样和解码,获取本次操作指令。目前,命令解码电路的功耗较高,影响了存储器性能的进一步发展。With the continuous development of semiconductor technology, the design principles and working details of memory are also being updated. Various circuits inside the memory need to be improved according to new requirements to meet design requirements and achieve better storage performance. For dynamic random access memory (DRAM), it is necessary to sample and decode the command address signal through the command decoding circuit to obtain the current operation instruction. At present, the power consumption of the command decoding circuit is relatively high, which affects the further development of memory performance.
发明内容Summary of the invention
本公开提供了一种命令解码电路和半导体存储器。The present disclosure provides a command decoding circuit and a semiconductor memory.
第一方面,本公开实施例提供了一种命令解码电路,所述命令解码电路包括:In a first aspect, an embodiment of the present disclosure provides a command decoding circuit, the command decoding circuit comprising:
时钟产生电路,配置为产生第一时钟信号、第二时钟信号、第三时钟信号和第四时钟信号;其中,所述第一时钟信号、所述第二时钟信号、所述第三时钟信号和所述第四时钟信号的时钟周期相同且相位依次相差90度;A clock generating circuit configured to generate a first clock signal, a second clock signal, a third clock signal and a fourth clock signal; wherein the clock periods of the first clock signal, the second clock signal, the third clock signal and the fourth clock signal are the same and the phases thereof are 90 degrees different from each other;
第一转换电路,与所述时钟产生电路连接,配置为接收片选信号,利用所述第一时钟信号和所述第二时钟信号对所述片选信号进行多次采样及逻辑处理,输出第一控制信号和第二控制信号;其中,若所述片选信号符合预设条件,则所述第一控制信号和所述第二控制信号均存在脉冲;a first conversion circuit, connected to the clock generation circuit, configured to receive a chip select signal, perform multiple sampling and logic processing on the chip select signal using the first clock signal and the second clock signal, and output a first control signal and a second control signal; wherein, if the chip select signal meets a preset condition, both the first control signal and the second control signal have pulses;
第二转换电路,与所述时钟产生电路连接,配置为接收所述片选信号,利用所述第三时钟信号和所述第四时钟信号对所述片选信号进行多次采样及逻辑处理,输出第三控制信号和第四控制信号;其中,若所述片选信号符合预设条件,则所述第三控制信号和所述第四控制信号均存在脉冲;a second conversion circuit, connected to the clock generation circuit, configured to receive the chip select signal, perform multiple sampling and logic processing on the chip select signal using the third clock signal and the fourth clock signal, and output a third control signal and a fourth control signal; wherein, if the chip select signal meets a preset condition, both the third control signal and the fourth control signal have pulses;
命令采样电路,与所述第一转换电路和所述第二转换电路均连接,配置为接收命令地址信号,利用所述第一控制信号、所述第二控制信号、所述第三控制信号和所述第四控制信号对所述命令地址信号进行采样,输出目标采样信号。The command sampling circuit is connected to both the first conversion circuit and the second conversion circuit, and is configured to receive a command address signal, sample the command address signal using the first control signal, the second control signal, the third control signal, and the fourth control signal, and output a target sampling signal.
在一些实施例中,在所述片选信号不符合预设条件的情况下,所述第一控制信号、所述第二控制信号、所述第三控制信号和所述第四控制信号均保持电平状态不变。In some embodiments, when the chip select signal does not meet a preset condition, the first control signal, the second control signal, the third control signal, and the fourth control signal all maintain a constant level state.
在一些实施例中,所述时钟产生电路,配置为接收初始时钟信号,对外部初始时钟信号进行分频和分相处理,输出所述第一时钟信号、所述第二时钟信号、所述第三时钟信号和所述第四时钟信号;In some embodiments, the clock generation circuit is configured to receive an initial clock signal, perform frequency division and phase division processing on the external initial clock signal, and output the first clock signal, the second clock signal, the third clock signal, and the fourth clock signal;
其中,所述第一时钟信号的时钟周期是所述初始时钟信号的时钟周期的2倍,所述第一时钟信号的上升沿与所述初始时钟信号的上升沿对齐。The clock period of the first clock signal is twice the clock period of the initial clock signal, and the rising edge of the first clock signal is aligned with the rising edge of the initial clock signal.
在一些实施例中,所述片选信号用于指示所述命令地址信号有效或无效,若所述片选信号符合预设条件,则所述命令地址信号有效,若所述片选信号不符合预设条件,则所述命令地址信号无效;所述命令地址信号持续2个初始时钟周期,且所述初始时钟周期是指所述初始时钟信号的时钟周期;所述预设条件是指所述片选信号在第1个初始时钟周期中存在电平变化沿,且所述片选信号在第2个初始时钟周期中存在电平变化沿。In some embodiments, the chip select signal is used to indicate whether the command address signal is valid or invalid. If the chip select signal meets a preset condition, the command address signal is valid; if the chip select signal does not meet the preset condition, the command address signal is invalid; the command address signal lasts for 2 initial clock cycles, and the initial clock cycle refers to the clock cycle of the initial clock signal; the preset condition refers to the presence of a level change edge in the chip select signal in the first initial clock cycle, and the presence of a level change edge in the chip select signal in the second initial clock cycle.
在一些实施例中,在所述片选信号符合预设条件的情况下,所述第一控制信号的脉冲宽度、所述第二控制信号的脉冲宽度、所述第三控制信号的脉冲宽度和所述第四控制信号的脉冲宽度均相同,且所述第一控制信号的脉冲宽度与初始时钟周期相同;其中,所述第一控制信号的脉冲前沿与所述第一时钟信号的上升沿对齐,所述第二控制信号的脉冲前沿与所述第二时钟信号的上升沿对齐,所述第三控制信号的脉冲前沿与所述第三时钟信号的上升沿对齐,所述第四控制信号的脉冲前沿与所述第四时钟信号的上升沿对齐。In some embodiments, when the chip select signal meets preset conditions, the pulse width of the first control signal, the pulse width of the second control signal, the pulse width of the third control signal and the pulse width of the fourth control signal are all the same, and the pulse width of the first control signal is the same as the initial clock cycle; wherein, the pulse leading edge of the first control signal is aligned with the rising edge of the first clock signal, the pulse leading edge of the second control signal is aligned with the rising edge of the second clock signal, the pulse leading edge of the third control signal is aligned with the rising edge of the third clock signal, and the pulse leading edge of the fourth control signal is aligned with the rising edge of the fourth clock signal.
在一些实施例中,所述第一转换电路包括第一采样单元、第一逻辑单元和第二逻辑单元;其中,所述第一采样单元,配置为利用所述第一时钟信号采样所述片选信号以产生第一中间信号,利用所述第一 时钟信号的反相信号采样所述第一中间信号以产生第二中间信号,利用所述第二时钟信号采样所述第二中间信号以产生第三中间信号;所述第一逻辑单元,与所述第一采样单元连接,配置为对所述第一中间信号和所述第一时钟信号进行与运算,输出所述第一控制信号;所述第二逻辑单元,与所述第一采样单元连接,配置为对所述第三中间信号和所述第二时钟信号进行与运算,输出所述第二控制信号;其中,若所述片选信号符合预设条件,则所述第一中间信号和所述第三中间信号均存在脉冲,且脉冲宽度均大于初始时钟周期。In some embodiments, the first conversion circuit includes a first sampling unit, a first logic unit, and a second logic unit; wherein the first sampling unit is configured to use the first clock signal to sample the chip select signal to generate a first intermediate signal, and use the first The inverted signal of the clock signal samples the first intermediate signal to generate a second intermediate signal, and uses the second clock signal to sample the second intermediate signal to generate a third intermediate signal; the first logic unit is connected to the first sampling unit, and is configured to perform an AND operation on the first intermediate signal and the first clock signal, and output the first control signal; the second logic unit is connected to the first sampling unit, and is configured to perform an AND operation on the third intermediate signal and the second clock signal, and output the second control signal; wherein, if the chip select signal meets the preset conditions, then both the first intermediate signal and the third intermediate signal have pulses, and the pulse widths are both greater than the initial clock period.
在一些实施例中,所述第二转换电路包括第二采样单元、第三逻辑单元和第四逻辑单元;其中,所述第二采样单元,配置为利用所述第三时钟信号采样所述片选信号以产生第四中间信号,利用所述第三时钟信号的反相信号采样所述第四中间信号以产生第五中间信号,利用所述第四时钟信号采样所述第五中间信号以产生第六中间信号;所述第三逻辑单元,与所述第二采样单元连接,配置为对所述第四中间信号和所述第三时钟信号进行与运算,输出所述第三控制信号;所述第四逻辑单元,与所述第二采样单元连接,配置为对所述第六中间信号和所述第四时钟信号进行与运算,输出所述第四控制信号;其中,若所述片选信号符合预设条件,则所述第四中间信号和所述第六中间信号均存在脉冲,且脉冲宽度均大于初始时钟周期。In some embodiments, the second conversion circuit includes a second sampling unit, a third logic unit and a fourth logic unit; wherein the second sampling unit is configured to use the third clock signal to sample the chip select signal to generate a fourth intermediate signal, use the inverted signal of the third clock signal to sample the fourth intermediate signal to generate a fifth intermediate signal, and use the fourth clock signal to sample the fifth intermediate signal to generate a sixth intermediate signal; the third logic unit is connected to the second sampling unit and configured to perform an AND operation on the fourth intermediate signal and the third clock signal to output the third control signal; the fourth logic unit is connected to the second sampling unit and configured to perform an AND operation on the sixth intermediate signal and the fourth clock signal to output the fourth control signal; wherein, if the chip select signal meets the preset condition, both the fourth intermediate signal and the sixth intermediate signal have pulses, and the pulse widths are both greater than the initial clock period.
在一些实施例中,所述第一采样单元包括第一锁存器、第二锁存器、第三锁存器和第一反相器;其中,所述第一锁存器的输入端接收所述片选信号,所述第一锁存器的时钟端接收所述第一时钟信号,所述第一锁存器的输出端输出所述第一中间信号;所述第二锁存器的输入端接收所述第一中间信号,所述第一反相器的输入端接收所述第一时钟信号,所述第二锁存器的时钟端与所述第一反相器的输出端连接,所述第二锁存器的输出端输出所述第二中间信号;所述第三锁存器的输入端接收所述第二中间信号,所述第三锁存器的时钟端接收所述第二时钟信号,所述第三锁存器的输出端输出所述第三中间信号。In some embodiments, the first sampling unit includes a first latch, a second latch, a third latch and a first inverter; wherein, the input end of the first latch receives the chip select signal, the clock end of the first latch receives the first clock signal, and the output end of the first latch outputs the first intermediate signal; the input end of the second latch receives the first intermediate signal, the input end of the first inverter receives the first clock signal, the clock end of the second latch is connected to the output end of the first inverter, and the output end of the second latch outputs the second intermediate signal; the input end of the third latch receives the second intermediate signal, the clock end of the third latch receives the second clock signal, and the output end of the third latch outputs the third intermediate signal.
在一些实施例中,所述第二采样单元包括第四锁存器、第五锁存器、第六锁存器和第二反相器;所述第四锁存器的输入端接收所述片选信号,所述第四锁存器的时钟端接收所述第三时钟信号,所述第四锁存器的输出端输出所述第四中间信号;所述第五锁存器的输入端接收所述第四中间信号,所述第二反相器的输入端接收所述第三时钟信号,所述第五锁存器的时钟端与所述第二反相器的输出端连接,所述第五锁存器的输出端输出所述第五中间信号;所述第六锁存器的输入端接收所述第五中间信号,所述第六锁存器的时钟端接收所述第四时钟信号,所述第六锁存器的输出端输出所述第六中间信号。In some embodiments, the second sampling unit includes a fourth latch, a fifth latch, a sixth latch and a second inverter; the input end of the fourth latch receives the chip select signal, the clock end of the fourth latch receives the third clock signal, and the output end of the fourth latch outputs the fourth intermediate signal; the input end of the fifth latch receives the fourth intermediate signal, the input end of the second inverter receives the third clock signal, the clock end of the fifth latch is connected to the output end of the second inverter, and the output end of the fifth latch outputs the fifth intermediate signal; the input end of the sixth latch receives the fifth intermediate signal, the clock end of the sixth latch receives the fourth clock signal, and the output end of the sixth latch outputs the sixth intermediate signal.
在一些实施例中,所述命令解码电路还包括第一延迟单元和第二延迟单元;其中,所述第一延迟单元,与所述第一转换电路、所述第二转换电路连接,配置为从外部接收初始片选信号,对所述初始片选信号进行延迟处理,输出所述片选信号;所述第二延迟单元,与所述命令采样电路连接,配置为从外部接收初始命令地址信号,对所述初始命令地址信号进行延迟处理,输出所述命令地址信号。In some embodiments, the command decoding circuit also includes a first delay unit and a second delay unit; wherein the first delay unit is connected to the first conversion circuit and the second conversion circuit, and is configured to receive an initial chip select signal from the outside, delay the initial chip select signal, and output the chip select signal; the second delay unit is connected to the command sampling circuit, and is configured to receive an initial command address signal from the outside, delay the initial command address signal, and output the command address signal.
在一些实施例中,所述目标采样信号包括第一采样信号、第二采样信号、第三采样信号和第四采样信号,且所述命令地址信号、所述第一采样信号、所述第二采样信号、所述第三采样信号和所述第四采样信号均包括(N+1)位子信号,所述命令采样电路包括(N+1)个命令采样单元;第i个所述命令采样单元,配置为利用所述第一控制信号对所述命令地址信号的第i位子信号进行两次采样处理,输出所述第一采样信号的第i位子信号;利用所述第二控制信号对所述命令地址信号的第i位子信号进行一次采样处理,输出所述第二采样信号的第i位子信号,利用所述第三控制信号对所述命令地址信号的第i位子信号进行两次采样处理,输出所述第三采样信号的第i位子信号,利用所述第四控制信号对所述命令地址信号的第i位子信号进行一次采样处理,输出所述第四采样信号的第i位子信号;其中,所述第一采样信号和所述第二采样信号在时序上处于对齐状态,所述第三采样信号和所述第四采样信号在时序上处于对齐状态,i、N为正整数,且i小于等于(N+1)。In some embodiments, the target sampling signal includes a first sampling signal, a second sampling signal, a third sampling signal and a fourth sampling signal, and the command address signal, the first sampling signal, the second sampling signal, the third sampling signal and the fourth sampling signal all include (N+1)-bit sub-signals, and the command sampling circuit includes (N+1) command sampling units; the i-th command sampling unit is configured to perform two sampling processes on the i-th sub-signal of the command address signal using the first control signal and output the i-th sub-signal of the first sampling signal; and perform two sampling processes on the i-th sub-signal of the command address signal using the second control signal. The i-th sub-signal of the command address signal is sampled once, and the i-th sub-signal of the second sampling signal is output; the i-th sub-signal of the command address signal is sampled twice using the third control signal, and the i-th sub-signal of the third sampling signal is output; the i-th sub-signal of the command address signal is sampled once using the fourth control signal, and the i-th sub-signal of the fourth sampling signal is output; wherein the first sampling signal and the second sampling signal are in a timing aligned state, and the third sampling signal and the fourth sampling signal are in a timing aligned state, i and N are positive integers, and i is less than or equal to (N+1).
在一些实施例中,第i个所述命令采样单元包括第一触发器、第七锁存器、第二触发器、第三触发器、第八锁存器和第四触发器;其中,所述第一触发器的输入端接收所述命令地址信号的第i位子信号,所述第一触发器的时钟端接收所述第一控制信号,所述第七锁存器的输入端与所述第七锁存器的输出端连接,所述第七锁存器的时钟端接收所述第一控制信号,所述第七锁存器的输出端输出所述第一采样信号的第i位子信号;所述第二触发器的输入端接收所述命令地址信号的第i位子信号,所述第二触发器的时钟端接收所述第二控制信号,所述第二触发器的输出端输出所述第二采样信号的第i位子信号;所述第三触发器的输入端接收所述命令地址信号的第i位子信号,所述第三触发器的时钟端接收所述第三控制信号,所述第八锁存器的输入端与所述第三触发器的输出端连接,所述第八锁存器的时钟端接收所述第三控制信号,所述第八锁存器的输出端输出所述第三采样信号的第i位子信号;所述第四触发器的输入端接收所述命令地址信号的第i位子信号,所述第四触发器的时钟端接收所述第四控制信号,所述第四触发器的输出端输出所述第四采样信号的第i位子信号。In some embodiments, the i-th command sampling unit includes a first trigger, a seventh latch, a second trigger, a third trigger, an eighth latch and a fourth trigger; wherein the input end of the first trigger receives the i-th sub-signal of the command address signal, the clock end of the first trigger receives the first control signal, the input end of the seventh latch is connected to the output end of the seventh latch, the clock end of the seventh latch receives the first control signal, and the output end of the seventh latch outputs the i-th sub-signal of the first sampling signal; the input end of the second trigger receives the i-th sub-signal of the command address signal, and the clock end of the second trigger receives the second control signal , the output end of the second trigger outputs the i-th sub-signal of the second sampling signal; the input end of the third trigger receives the i-th sub-signal of the command address signal, the clock end of the third trigger receives the third control signal, the input end of the eighth latch is connected to the output end of the third trigger, the clock end of the eighth latch receives the third control signal, and the output end of the eighth latch outputs the i-th sub-signal of the third sampling signal; the input end of the fourth trigger receives the i-th sub-signal of the command address signal, the clock end of the fourth trigger receives the fourth control signal, and the output end of the fourth trigger outputs the i-th sub-signal of the fourth sampling signal.
在一些实施例中,所述命令解码电路还包括:解码电路,与所述第一转换电路、所述第二转换电路和所述命令采样电路连接,配置为对所述第一采样信号、所述第二采样信号、所述第三采样信号和所述 第四采样信号进行解码处理,得到中间解码信号;并基于所述第一控制信号和所述第三控制信号对所述中间解码信号进行采样处理,输出目标解码信号;片选采样电路,与所述时钟产生电路连接,配置为接收所述片选信号;利用所述第一时钟信号和所述第三时钟信号分别对所述片选信号进行采样,输出第一片选采样信号和第二片选采样信号;其中,所述目标解码信号、所述第一片选采样信号和所述第二片选采样信号经过逻辑处理后产生目标命令信号。In some embodiments, the command decoding circuit further includes: a decoding circuit connected to the first conversion circuit, the second conversion circuit and the command sampling circuit, configured to decode the first sampling signal, the second sampling signal, the third sampling signal and the command sampling circuit. The fourth sampling signal is decoded and processed to obtain an intermediate decoded signal; and the intermediate decoded signal is sampled and processed based on the first control signal and the third control signal, and a target decoded signal is output; a chip select sampling circuit is connected to the clock generating circuit and is configured to receive the chip select signal; the chip select signal is sampled using the first clock signal and the third clock signal respectively, and a first chip select sampling signal and a second chip select sampling signal are output; wherein the target decoded signal, the first chip select sampling signal and the second chip select sampling signal are logically processed to generate a target command signal.
在一些实施例中,所述解码电路包括:第三延迟单元,配置为对所述第一控制信号进行延迟处理,输出第一延迟控制信号;对所述第三控制信号进行延迟处理,输出第二延迟控制信号;第一解码单元,与所述第三延迟单元连接,配置为对所述第一采样信号的(N+1)位子信号和所述第二采样信号的(N+1)位子信号进行逻辑运算,输出第一解码信号;利用所述第二延迟控制信号对所述第一解码信号进行采样处理,输出第一目标信号;第二解码单元,与所述第三延迟单元连接,配置为对所述第三采样信号的(N+1)位子信号和所述第四采样信号的(N+1)位子信号进行逻辑运算,输出第二解码信号;利用所述第一延迟控制信号对所述第二解码信号进行采样处理,输出第二目标信号;其中,所述第一目标信号和所述第二目标信号组成所述目标解码信号,所述第一目标信号指示所述命令地址信号在第1个初始时钟周期的内容;所述第二目标信号指示所述命令地址信号在第2个初始时钟周期的内容。In some embodiments, the decoding circuit includes: a third delay unit, configured to delay the first control signal and output a first delayed control signal; delay the third control signal and output a second delayed control signal; a first decoding unit, connected to the third delay unit, configured to perform a logic operation on the (N+1)-bit sub-signal of the first sampling signal and the (N+1)-bit sub-signal of the second sampling signal, and output a first decoded signal; sample the first decoded signal using the second delayed control signal and output a first target signal; a second decoding unit, connected to the third delay unit, configured to perform a logic operation on the (N+1)-bit sub-signal of the third sampling signal and the (N+1)-bit sub-signal of the fourth sampling signal and output a second decoded signal; sample the second decoded signal using the first delayed control signal and output a second target signal; wherein the first target signal and the second target signal constitute the target decoded signal, the first target signal indicates the content of the command address signal in the first initial clock cycle; the second target signal indicates the content of the command address signal in the second initial clock cycle.
第二方面,本公开实施例提供了一种半导体存储器,包括如第一方面中任一项所述的命令解码电路。In a second aspect, an embodiment of the present disclosure provides a semiconductor memory, comprising a command decoding circuit as described in any one of the first aspects.
在一些实施例中,所述半导体存储器为动态随机存取存储器DRAM,且所述半导体存储器符合LPDDR6内存规格。In some embodiments, the semiconductor memory is a dynamic random access memory DRAM, and the semiconductor memory complies with the LPDDR6 memory specification.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本公开实施例提供的一种命令解码电路的组成结构示意图;FIG1 is a schematic diagram of the structure of a command decoding circuit provided by an embodiment of the present disclosure;
图2A为本公开实施例提供的一种信号时序示意图一;FIG2A is a first schematic diagram of a signal timing sequence provided by an embodiment of the present disclosure;
图2B为本公开实施例提供的一种信号时序示意图二;FIG2B is a second signal timing diagram provided by an embodiment of the present disclosure;
图3为本公开实施例提供的另一种命令解码电路的组成结构示意图;FIG3 is a schematic diagram of the composition structure of another command decoding circuit provided by an embodiment of the present disclosure;
图4为本公开实施例提供的一种命令解码电路的局部结构示意图一;FIG4 is a partial structural diagram of a command decoding circuit provided in an embodiment of the present disclosure;
图5A为本公开实施例提供的一种信号时序示意图三;FIG5A is a third signal timing diagram provided by an embodiment of the present disclosure;
图5B为本公开实施例提供的一种信号时序示意图四;FIG5B is a fourth signal timing diagram provided by an embodiment of the present disclosure;
图6为本公开实施例提供的一种命令解码电路的局部结构示意图二;FIG6 is a second partial structural diagram of a command decoding circuit provided in an embodiment of the present disclosure;
图7A为本公开实施例提供的一种信号时序示意图五;FIG7A is a fifth signal timing diagram provided by an embodiment of the present disclosure;
图7B为本公开实施例提供的一种信号时序示意图六;FIG7B is a sixth signal timing diagram provided by an embodiment of the present disclosure;
图8为本公开实施例提供的一种命令解码电路的局部结构示意图三;FIG8 is a third partial structural diagram of a command decoding circuit provided by an embodiment of the present disclosure;
图9为本公开实施例提供的一种命令解码电路的局部结构示意图四;FIG9 is a fourth partial structural diagram of a command decoding circuit provided in an embodiment of the present disclosure;
图10为本公开实施例提供的一种命令解码电路的局部结构示意图五;FIG10 is a fifth partial structural diagram of a command decoding circuit provided in an embodiment of the present disclosure;
图11为本公开实施例提供的一种命令解码电路的局部结构示意图六;FIG11 is a sixth partial structural diagram of a command decoding circuit provided in an embodiment of the present disclosure;
图12为本公开实施例提供的一种信号时序示意图七;FIG12 is a seventh schematic diagram of a signal timing sequence provided by an embodiment of the present disclosure;
图13为本公开实施例提供的一种半导体存储器的结构示意图。FIG. 13 is a schematic diagram of the structure of a semiconductor memory provided in an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述。可以理解的是,此处所描述的具体实施例仅仅用于解释相关申请,而非对该申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关申请相关的部分。The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. It is understood that the specific embodiments described herein are only used to explain the relevant application, rather than to limit the application. It should also be noted that, for the convenience of description, only the parts related to the relevant application are shown in the drawings.
除非另有定义,本文所使用的所有的技术和科学术语与属于本公开的技术领域的技术人员通常理解的含义相同。本文中所使用的术语只是为了描述本公开实施例的目的,不是旨在限制本公开。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present disclosure belongs. The terms used herein are only for the purpose of describing the embodiments of the present disclosure and are not intended to limit the present disclosure.
在以下的描述中,涉及到“一些实施例”,其描述了所有可能实施例的子集,但是可以理解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
需要指出,本公开实施例所涉及的术语“第一\第二”仅是用于区别类似的对象,不代表针对对象的特定排序,可以理解地,“第一\第二”在允许的情况下可以互换特定的顺序或先后次序,以使这里描述的本公开实施例能够以除了在这里图示或描述的以外的顺序实施。It should be pointed out that the terms "first\second" involved in the embodiments of the present disclosure are only used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present disclosure described here can be implemented in an order other than that illustrated or described here.
以下为本公开实施例中涉及到的专业名词解释以及部分名词的对应关系:The following are explanations of professional terms involved in the embodiments of the present disclosure and the corresponding relationships between some terms:
动态随机存取存储器(Dynamic Random Access Memory,DRAM);Dynamic Random Access Memory (DRAM);
同步动态随机存取存储器(Synchronous Dynamic Random Access Memory,SDRAM);Synchronous Dynamic Random Access Memory (SDRAM);
双倍速率(Double Data Rate,DDR); Double Data Rate (DDR);
低功率DDR(Low Power DDR,LPDDR);Low Power DDR (LPDDR);
第六代LPDDR(6th LPDDR,LPDDR6);Sixth generation LPDDR (6th LPDDR, LPDDR6);
命令地址输入(Command/Address,CMD/ADD或简称为CA);Command address input (Command/Address, CMD/ADD or CA for short);
片选输入(Chip Select Input,CS)。Chip select input (Chip Select Input, CS).
应理解,多个半导体存储器会集成于一个模组(例如内存条)中,这些半导体存储器共享一个控制总线,所有的半导体存储器均能够从控制总线上接收CA输入和CS输入。若半导体存储器接收到的CS输入存在两个脉冲,说明该半导体存储器被选中,即该半导体存储器需要执行CA输入对应的操作;若半导体存储器接收到的CS输入保持低电平状态不变,说明该半导体存储器未被选中,即该半导体存储器不需要执行CA输入对应的操作。It should be understood that multiple semiconductor memories are integrated into one module (such as a memory stick), and these semiconductor memories share one control bus, and all semiconductor memories can receive CA input and CS input from the control bus. If the CS input received by the semiconductor memory has two pulses, it means that the semiconductor memory is selected, that is, the semiconductor memory needs to perform the operation corresponding to the CA input; if the CS input received by the semiconductor memory remains in a low level state, it means that the semiconductor memory is not selected, that is, the semiconductor memory does not need to perform the operation corresponding to the CA input.
换句话说,在半导体存储器的工作过程中,需要根据初始时钟信号Clk对CA输入、CS输入进行采样及解码处理,从而获知相应的操作指令。In other words, during the operation of the semiconductor memory, the CA input and the CS input need to be sampled and decoded according to the initial clock signal Clk, so as to obtain the corresponding operation instructions.
根据LPDDR6的规定,CA输入中的命令部分(以下简称CA Command)和CS输入均持续2个初始时钟周期,在第1个初始时钟周期的上升沿、下降沿以及第2个初始时钟周期的上升沿、下降沿均需对CA Command进行采样,第1个初始时钟周期的上升沿和第2个初始时钟周期的上升沿需要对CS输入进行采样。在这里,初始时钟周期是指初始时钟信号Clk的时钟周期。具体来说,CA Command是由4个子信号组成的一组信号,其子信号分别表示为CA0、CA1、CA2和CA3。参见表1,其示出了LPDDR6的部分命令真值表。在表1中,CA Command和CS输入均会持续2个初始时钟周期,R1是指第1个初始时钟周期的上升沿,F1是指第1个初始时钟周期的下降沿,R2是指第2个初始时钟周期的上升沿,F2是指第1个2初始时钟周期的下降沿,对于CS、CA0~CA3来说,“H”表示高电平状态,“L”表示低电平状态,“X”表示对电平状态不关心。应理解,表1来自于行业标准文件LPDDR6SPEC,本领域技术人员可以参照LPDDR6SPEC了解其中涉及各名词及缩写的含义,且该部分内容不影响本公开实施例的理解,所以这里不再详述。According to the provisions of LPDDR6, the command part of the CA input (hereinafter referred to as CA Command) and the CS input both last for 2 initial clock cycles. The CA Command needs to be sampled at the rising edge and falling edge of the first initial clock cycle and the rising edge and falling edge of the second initial clock cycle, and the CS input needs to be sampled at the rising edge of the first initial clock cycle and the rising edge of the second initial clock cycle. Here, the initial clock cycle refers to the clock cycle of the initial clock signal Clk. Specifically, CA Command is a group of signals consisting of 4 sub-signals, and its sub-signals are represented as CA0, CA1, CA2 and CA3 respectively. See Table 1, which shows a partial command truth table of LPDDR6. In Table 1, both CA Command and CS inputs will last for 2 initial clock cycles, R1 refers to the rising edge of the first initial clock cycle, F1 refers to the falling edge of the first initial clock cycle, R2 refers to the rising edge of the second initial clock cycle, and F2 refers to the falling edge of the first 2 initial clock cycles. For CS, CA0~CA3, "H" indicates a high level state, "L" indicates a low level state, and "X" indicates that the level state is not concerned. It should be understood that Table 1 is derived from the industry standard document LPDDR6SPEC. Those skilled in the art can refer to LPDDR6SPEC to understand the meaning of the terms and abbreviations involved therein, and this part of the content does not affect the understanding of the embodiments of the present disclosure, so it will not be described in detail here.
表1

Table 1

如表1所示,半导体存储器中的命令解码电路需要基于CS输入的R1采样结果、CS输入的R2采样结果、CA Command的R1采样结果、CA Command的F1采样结果、CA Command的R2采样结果、CA Command的F2采样结果进行解码处理,最终输出本次CA Command的具体命令。As shown in Table 1, the command decoding circuit in the semiconductor memory needs to perform decoding processing based on the R1 sampling result of the CS input, the R2 sampling result of the CS input, the R1 sampling result of the CA Command, the F1 sampling result of the CA Command, the R2 sampling result of the CA Command, and the F2 sampling result of the CA Command, and finally output the specific command of this CA Command.
目前,无论半导体存储器是否被选中,其中的命令解码电路始终会对CA输入进行采样及解码,后续再结合CS输入进行二次解码以得到目标命令信号,功耗较高。At present, regardless of whether the semiconductor memory is selected, the command decoding circuit therein will always sample and decode the CA input, and then perform secondary decoding in combination with the CS input to obtain the target command signal, which consumes high power.
本公开实施例提供了一种命令解码电路,仅有被选中的半导体存储器中的命令解码电路会对CA输入进行采样及解码,不仅实现命令地址信号的正确解码,而且可以降低功耗。The disclosed embodiment provides a command decoding circuit, and only the command decoding circuit in the selected semiconductor memory will sample and decode the CA input, which not only realizes the correct decoding of the command address signal but also reduces power consumption.
下面将结合附图对本公开各实施例进行详细说明。The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
在本公开的一实施例中,参见图1,其示出了本公开实施例提供的一种命令解码电路10的组成结构示意图。如图1所示,命令解码电路10包括:In one embodiment of the present disclosure, referring to FIG1 , a schematic diagram of the structure of a command decoding circuit 10 provided in an embodiment of the present disclosure is shown. As shown in FIG1 , the command decoding circuit 10 includes:
时钟产生电路11,配置为产生第一时钟信号Clk_R0、第二时钟信号Clk_F0、第三时钟信号Clk_R1和第四时钟信号Clk_F1;其中,第一时钟信号Clk_R0、第二时钟信号Clk_F0、第三时钟信号Clk_R1和第四时钟信号Clk_F1的时钟周期相同且相位依次相差90度;The clock generating circuit 11 is configured to generate a first clock signal Clk_R0, a second clock signal Clk_F0, a third clock signal Clk_R1 and a fourth clock signal Clk_F1; wherein the clock periods of the first clock signal Clk_R0, the second clock signal Clk_F0, the third clock signal Clk_R1 and the fourth clock signal Clk_F1 are the same and the phases thereof are 90 degrees different from each other;
第一转换电路12,与时钟产生电路11相连,配置为接收片选信号CSD,利用第一时钟信号Clk_R0和第二时钟信号Clk_F0对片选信号CSD进行多次采样及逻辑处理,输出第一控制信号Clk_R0d和第二控制信号Clk_F0d;其中,若片选信号CSD符合预设条件,则第一控制信号Clk_R0d和第二控制信号Clk_F0d均存在脉冲;The first conversion circuit 12 is connected to the clock generation circuit 11, and is configured to receive the chip selection signal CSD, perform multiple sampling and logic processing on the chip selection signal CSD using the first clock signal Clk_R0 and the second clock signal Clk_F0, and output the first control signal Clk_R0d and the second control signal Clk_F0d; wherein, if the chip selection signal CSD meets the preset condition, the first control signal Clk_R0d and the second control signal Clk_F0d both have pulses;
第二转换电路13,与时钟产生电路11相连,配置为接收片选信号CSD,并利用第三时钟信号Clk_R1和第四时钟信号Clk_F1对片选信号CSD进行多次采样及逻辑处理,输出第三控制信号Clk_R1d和第四控制信号Clk_F1d;其中,若片选信号CSD符合预设条件,则第三控制信号Clk_R1d和第四控制信号Clk_F1d均存在脉冲;The second conversion circuit 13 is connected to the clock generation circuit 11, and is configured to receive the chip selection signal CSD, and use the third clock signal Clk_R1 and the fourth clock signal Clk_F1 to perform multiple sampling and logic processing on the chip selection signal CSD, and output the third control signal Clk_R1d and the fourth control signal Clk_F1d; wherein, if the chip selection signal CSD meets the preset condition, the third control signal Clk_R1d and the fourth control signal Clk_F1d both have pulses;
命令采样电路14,与第一转换电路12和第二转换电路13连接,配置为接收命令地址信号CA Command,并利用第一控制信号Clk_R0d、第二控制信号Clk_F0d、第三控制信号Clk_R1d和第四控制信号Clk_F1d分别对命令地址信号CA Command进行采样,输出目标采样信号。The command sampling circuit 14 is connected to the first conversion circuit 12 and the second conversion circuit 13, and is configured to receive the command address signal CA Command, and use the first control signal Clk_R0d, the second control signal Clk_F0d, the third control signal Clk_R1d and the fourth control signal Clk_F1d to sample the command address signal CA Command respectively, and output the target sampling signal.
在一些实施例中,在片选信号CSD不符合预设条件的情况下,第一控制信号Clk_R0d、第二控制信号Clk_F0d、第三控制信号Clk_R1d和第四控制信号Clk_F1d均保持电平状态不变。In some embodiments, when the chip selection signal CSD does not meet a preset condition, the first control signal Clk_R0d, the second control signal Clk_F0d, the third control signal Clk_R1d, and the fourth control signal Clk_F1d all maintain a constant level state.
需要说明的是,本公开实施例的命令解码电路10应用于半导体存储器,以实现LPDDR6中对于命令地址信号CA Command的解码需求。另外,命令解码电路10也可以应用在具有相似需求的多种电路场景中,本公开实施例后续以命令地址信号CA Command的解码进行解释和说明,但这并不构成相关限定。It should be noted that the command decoding circuit 10 of the embodiment of the present disclosure is applied to a semiconductor memory to realize the decoding requirements for the command address signal CA Command in LPDDR6. In addition, the command decoding circuit 10 can also be applied to a variety of circuit scenarios with similar requirements. The embodiment of the present disclosure will be explained and illustrated with the decoding of the command address signal CA Command later, but this does not constitute a relevant limitation.
应理解,若片选信号CSD符合预设条件,则说明命令解码电路所属的半导体存储器被选中,本次命令地址信号CA Command对于该半导体存储器来说是有效的。若片选信号CSD不符合预设条件,则说明命令解码电路所属的半导体存储器未被选中,本次命令地址信号CA Command对于该半导体存储器来说是无效的。因此,通过第一转换电路12和第二转换电路13,仅在半导体存储器被选中的情况下,如图2A所示,第一控制信号Clk_R0d、第二控制信号Clk_F0d、第三控制信号Clk_R1d和第四控制信号Clk_F1d存在脉冲,从而实现命令地址信号CA Command的正常采样;但是,在半导体存储器未被选中的情况下,如图2B所示,第一控制信号Clk_R0d、第二控制信号Clk_F0d、第三控制信号Clk_R1d和第四控制信号Clk_F1d的均保持低电平状态(L)不变,不会对命令地址信号进行采样,从而降低功耗。It should be understood that if the chip select signal CSD meets the preset conditions, it means that the semiconductor memory to which the command decoding circuit belongs is selected, and the command address signal CA Command is valid for the semiconductor memory. If the chip select signal CSD does not meet the preset conditions, it means that the semiconductor memory to which the command decoding circuit belongs is not selected, and the command address signal CA Command is invalid for the semiconductor memory. Therefore, through the first conversion circuit 12 and the second conversion circuit 13, only when the semiconductor memory is selected, as shown in FIG2A, the first control signal Clk_R0d, the second control signal Clk_F0d, the third control signal Clk_R1d and the fourth control signal Clk_F1d have pulses, thereby realizing normal sampling of the command address signal CA Command; however, when the semiconductor memory is not selected, as shown in FIG2B, the first control signal Clk_R0d, the second control signal Clk_F0d, the third control signal Clk_R1d and the fourth control signal Clk_F1d all maintain a low level state (L) unchanged, and the command address signal will not be sampled, thereby reducing power consumption.
在一些实施例中,请参考图3,时钟产生电路11,配置为接收初始时钟信号Clk,对外部初始时钟信号Clk进行分频和分相处理,输出第一时钟信号Clk_R0、第二时钟信号Clk_F0、第三时钟信号Clk_R1和第四时钟信号Clk_F1。请参考图2A或图2B,第一时钟信号Clk_R0的时钟周期是初始时钟信号的时 钟周期的2倍,所述第一时钟信号Clk_R0的上升沿与所述初始时钟信号的上升沿对齐。In some embodiments, please refer to FIG. 3 , the clock generating circuit 11 is configured to receive the initial clock signal Clk, perform frequency division and phase division processing on the external initial clock signal Clk, and output the first clock signal Clk_R0, the second clock signal Clk_F0, the third clock signal Clk_R1 and the fourth clock signal Clk_F1. Please refer to FIG. 2A or FIG. 2B , the clock period of the first clock signal Clk_R0 is the period of the initial clock signal The rising edge of the first clock signal Clk_R0 is twice the rising edge of the initial clock signal.
在这里,时钟产生电路11可以包括分频模块和分相模块,且分频模块可以采用非门、D型触发器构成的二分频组件实现,分相模块可以通过多个D型触发器和延迟器件实现。Here, the clock generating circuit 11 may include a frequency division module and a phase division module, and the frequency division module may be implemented by a two-frequency division component composed of a NOT gate and a D-type flip-flop, and the phase division module may be implemented by multiple D-type flip-flops and delay devices.
需要说明的是,如前述,命令地址信号CA Command持续2个初始时钟周期(即初始时钟信号Clk的时钟周期),第一时钟信号Clk_R0的上升沿与第1个初始时钟周期的上升沿对齐,第二时钟信号Clk_F0的上升沿与第1个初始时钟周期的下降沿对齐,第三时钟信号Clk_R1的上升沿与第2个初始时钟周期的上升沿对齐,第四时钟信号Clk_F1的上升沿与第2个初始时钟周期的下降沿对齐。这样,第一时钟信号Clk_R0~第四时钟信号Clk_F1能够采样命令地址信号CA Command在不同时刻的内容。It should be noted that, as mentioned above, the command address signal CA Command lasts for 2 initial clock cycles (i.e., the clock cycle of the initial clock signal Clk), the rising edge of the first clock signal Clk_R0 is aligned with the rising edge of the first initial clock cycle, the rising edge of the second clock signal Clk_F0 is aligned with the falling edge of the first initial clock cycle, the rising edge of the third clock signal Clk_R1 is aligned with the rising edge of the second initial clock cycle, and the rising edge of the fourth clock signal Clk_F1 is aligned with the falling edge of the second initial clock cycle. In this way, the first clock signal Clk_R0 to the fourth clock signal Clk_F1 can sample the content of the command address signal CA Command at different times.
在一些实施例中,请参考图2A和图2B,在片选信号CSD符合预设条件的情况下,第一控制信号Clk_R0d的脉冲宽度、第二控制信号Clk_F0d的脉冲宽度、第三控制信号Clk_R1d的脉冲宽度和第四控制信号Clk_F1d的脉冲宽度均相同,且第一控制信号Clk_R0d的脉冲宽度与初始时钟周期相同;其中,第一控制信号Clk_R0d的脉冲前沿与第一时钟信号Clk_R0的上升沿对齐,第二控制信号Clk_F0d的脉冲前沿与所述第二时钟信号Clk_F0的上升沿对齐,第三控制信号Clk_R1d的脉冲前沿与第三时钟信号Clk_R1的上升沿对齐,第四控制信号Clk_F1d的脉冲前沿与第四时钟信号Clk_F1的上升沿对齐。In some embodiments, please refer to Figures 2A and 2B. When the chip select signal CSD meets the preset conditions, the pulse width of the first control signal Clk_R0d, the pulse width of the second control signal Clk_F0d, the pulse width of the third control signal Clk_R1d and the pulse width of the fourth control signal Clk_F1d are all the same, and the pulse width of the first control signal Clk_R0d is the same as the initial clock cycle; wherein, the pulse leading edge of the first control signal Clk_R0d is aligned with the rising edge of the first clock signal Clk_R0, the pulse leading edge of the second control signal Clk_F0d is aligned with the rising edge of the second clock signal Clk_F0, the pulse leading edge of the third control signal Clk_R1d is aligned with the rising edge of the third clock signal Clk_R1, and the pulse leading edge of the fourth control signal Clk_F1d is aligned with the rising edge of the fourth clock signal Clk_F1.
需要说明的是,脉冲前沿可以为上升沿或者下降沿,图2A以脉冲前沿是上升沿为例进行示出。另外,命令采样电路14是利用第一控制信号Clk_R0d~第四控制信号Clk_F1d的脉冲前沿对命令地址信号CA Command进行采样的。It should be noted that the pulse leading edge can be a rising edge or a falling edge, and FIG. 2A shows the pulse leading edge as a rising edge. In addition, the command sampling circuit 14 samples the command address signal CA Command using the pulse leading edges of the first control signal Clk_R0d to the fourth control signal Clk_F1d.
这样,在半导体存储器被选中的情况下,第一控制信号Clk_R0d对命令地址信号CA Command的采样结果指示命令地址信号CA Command在第1个初始时钟周期的上升沿的信息,第二控制信号Clk_F0d对命令地址信号CA Command的采样结果指示命令地址信号CA Command在第1个初始时钟周期的下降沿的信息,第三控制信号Clk_R1d对命令地址信号CA Command的采样结果指示命令地址信号CA Command在第2个初始时钟周期的上升沿的信息,第四控制信号Clk_F1d对命令地址信号CA Command的采样结果指示命令地址信号CA Command在第2个初始时钟周期的下降沿的信息,以便后续实现命令地址信号CA Command的正确解码。In this way, when the semiconductor memory is selected, the sampling result of the command address signal CA Command by the first control signal Clk_R0d indicates the information of the rising edge of the command address signal CA Command in the first initial clock cycle, the sampling result of the command address signal CA Command by the second control signal Clk_F0d indicates the information of the falling edge of the command address signal CA Command in the first initial clock cycle, the sampling result of the command address signal CA Command by the third control signal Clk_R1d indicates the information of the rising edge of the command address signal CA Command in the second initial clock cycle, and the sampling result of the command address signal CA Command by the fourth control signal Clk_F1d indicates the information of the falling edge of the command address signal CA Command in the second initial clock cycle, so as to realize the correct decoding of the command address signal CA Command later.
在一种具体的实施例中,如图2A或图2B所示,预设条件是指片选信号CSD在第1个初始时钟周期中存在电平变化沿,且片选信号CSD在第2个初始时钟周期中存在电平变化沿。In a specific embodiment, as shown in FIG. 2A or FIG. 2B , the preset condition means that the chip select signal CSD has a level change edge in the first initial clock cycle, and the chip select signal CSD has a level change edge in the second initial clock cycle.
也就是说,请参见图2A,若片选信号CSD存在2个脉冲信号,说明其所属的半导体存储器被选中;请参见图2B,若片选信号CSD保持低电平状态(L)不变,说明其所属的半导体存储器未被选中。That is to say, please refer to FIG. 2A , if the chip select signal CSD has two pulse signals, it indicates that the semiconductor memory to which it belongs is selected; please refer to FIG. 2B , if the chip select signal CSD remains in a low level state (L), it indicates that the semiconductor memory to which it belongs is not selected.
从以上可以看出,对于本公开实施例提供的命令解码电路10,由于引入了第一转换电路12和第二转换电路13,仅有被选中的半导体存储器中的命令解码电路会对CA输入进行采样及解码,不仅实现命令地址信号的正确解码,而且可以降低功耗。From the above, it can be seen that for the command decoding circuit 10 provided in the embodiment of the present disclosure, due to the introduction of the first conversion circuit 12 and the second conversion circuit 13, only the command decoding circuit in the selected semiconductor memory will sample and decode the CA input, which not only realizes the correct decoding of the command address signal but also reduces power consumption.
以下示例性的提供第一转换电路12、第二转换电路13的电路构成。The circuit configurations of the first conversion circuit 12 and the second conversion circuit 13 are provided below as examples.
在一些实施例中,如图4所示,第一转换电路12包括第一采样单元121、第一逻辑单元122和第二逻辑单元123;其中,In some embodiments, as shown in FIG. 4 , the first conversion circuit 12 includes a first sampling unit 121 , a first logic unit 122 , and a second logic unit 123 ; wherein,
第一采样单元121,配置为利用第一时钟信号Clk_R0采样片选信号CSD以产生第一中间信号ClkEn_R0,利用第一时钟信号Clk_R0的反相信号采样第一中间信号ClkEn_R0以产生第二中间信号ClkEnD_R0,利用第二时钟信号Clk_F0采样第二中间信号ClkEnD_R0以产生第三中间信号ClkEn_F0;A first sampling unit 121 is configured to sample the chip selection signal CSD using the first clock signal Clk_R0 to generate a first intermediate signal ClkEn_R0, sample the first intermediate signal ClkEn_R0 using an inverted signal of the first clock signal Clk_R0 to generate a second intermediate signal ClkEnD_R0, and sample the second intermediate signal ClkEnD_R0 using the second clock signal Clk_F0 to generate a third intermediate signal ClkEn_F0;
第一逻辑单元122,与第一采样单元121连接,配置为对第一中间信号ClkEn_R0和第一时钟信号Clk_R0进行与运算,输出第一控制信号Clk_R0d;The first logic unit 122 is connected to the first sampling unit 121 and configured to perform an AND operation on the first intermediate signal ClkEn_R0 and the first clock signal Clk_R0 to output a first control signal Clk_R0d;
第二逻辑单元123,与第一采样单元121连接,配置为对第三中间信号ClkEn_F0和第二时钟信号Clk_F0进行与运算,输出第二控制信号Clk_F0d。The second logic unit 123 is connected to the first sampling unit 121 , and is configured to perform an AND operation on the third intermediate signal ClkEn_F0 and the second clock signal Clk_F0 , and output a second control signal Clk_F0d.
需要说明的是,请参考图5A,若片选信号CSD符合预设条件,则第一中间信号ClkEn_R0和第三中间信号ClkEn_F0均存在脉冲,且脉冲宽度均大于初始时钟周期,从而第一控制信号Clk_R0d和第二控制信号Clk_F0d存在脉冲;请参考图5B,若片选信号CSD不符合预设条件,则第一中间信号ClkEn_F0和第三中间信号ClkEn_F0均保持低电平状态(L)不变,从而第一控制信号Clk_R0d和第二控制信号Clk_F0d不存在脉冲。在这里,第一逻辑单元122和第二逻辑单元123均可以通过二输入与门实现。It should be noted that, referring to FIG5A , if the chip select signal CSD meets the preset conditions, the first intermediate signal ClkEn_R0 and the third intermediate signal ClkEn_F0 both have pulses, and the pulse widths are both greater than the initial clock cycle, so that the first control signal Clk_R0d and the second control signal Clk_F0d have pulses; referring to FIG5B , if the chip select signal CSD does not meet the preset conditions, the first intermediate signal ClkEn_F0 and the third intermediate signal ClkEn_F0 both maintain a low level state (L) unchanged, so that the first control signal Clk_R0d and the second control signal Clk_F0d do not have pulses. Here, the first logic unit 122 and the second logic unit 123 can both be implemented by a two-input AND gate.
在一种具体的实施例中,如图4所示,第一采样单元121包括第一锁存器1211、第二锁存器1212、第三锁存器1213和第一反相器1214。第一锁存器1211的输入端接收片选信号CSD,第一锁存器1211的时钟端接收第一时钟信号Clk_R0,第一锁存器1211的输出端输出第一中间信号ClkEn_R0;第二锁存器1212的输入端接收第一中间信号ClkEn_R0,第一反相器1214的输入端接收第一时钟信号Clk_R0,第二锁存器1212的时钟端与第一反相器1214的输出端连接,第二锁存器1212输出端输出第二中间信号ClkEnD_R0;第三锁存器1213的输入端接收第二中间信号ClkEnD_R0,第三锁存器1213的时钟端接收第二时钟信号Clk_F0,第三锁存器1213输出端输出第三中间信号ClkEn_F0。 In a specific embodiment, as shown in FIG. 4 , the first sampling unit 121 includes a first latch 1211 , a second latch 1212 , a third latch 1213 and a first inverter 1214 . The input end of the first latch 1211 receives the chip select signal CSD, the clock end of the first latch 1211 receives the first clock signal Clk_R0, and the output end of the first latch 1211 outputs the first intermediate signal ClkEn_R0; the input end of the second latch 1212 receives the first intermediate signal ClkEn_R0, the input end of the first inverter 1214 receives the first clock signal Clk_R0, the clock end of the second latch 1212 is connected to the output end of the first inverter 1214, and the output end of the second latch 1212 outputs the second intermediate signal ClkEnD_R0; the input end of the third latch 1213 receives the second intermediate signal ClkEnD_R0, the clock end of the third latch 1213 receives the second clock signal Clk_F0, and the output end of the third latch 1213 outputs the third intermediate signal ClkEn_F0.
需要说明的是,本公开实施例中的锁存器的功能是:在时钟端为低电平时,输出端的信号跟随输入端的信号进行变化;在时钟端为高电平时,输出端的信号保持不变。It should be noted that the function of the latch in the embodiment of the present disclosure is: when the clock terminal is at a low level, the signal at the output terminal changes following the signal at the input terminal; when the clock terminal is at a high level, the signal at the output terminal remains unchanged.
这样,如图5A所示,在片选信号符合预设条件的情况下,第一中间信号ClkEn_R0、第二中间信号ClkEnD_R0和第三中间信号ClkEn_F0均存在脉冲;如图5B所示,在片选信号CSD不符合预设条件的情况下,第一中间信号ClkEn_R0、第二中间信号ClkEnD_R0和第三中间信号ClkEn_F0均不存在脉冲。特别地,在图5A中,第三锁存器1213的输入和输出波形一致,但图5示出的是理想情况,实际电路中会有所偏差,因而第三锁存器1213的存在有利于波形的规整。Thus, as shown in FIG5A, when the chip select signal meets the preset conditions, the first intermediate signal ClkEn_R0, the second intermediate signal ClkEnD_R0 and the third intermediate signal ClkEn_F0 all have pulses; as shown in FIG5B, when the chip select signal CSD does not meet the preset conditions, the first intermediate signal ClkEn_R0, the second intermediate signal ClkEnD_R0 and the third intermediate signal ClkEn_F0 all have no pulses. In particular, in FIG5A, the input and output waveforms of the third latch 1213 are consistent, but FIG5 shows an ideal situation, and there will be some deviations in the actual circuit, so the existence of the third latch 1213 is conducive to the regularization of the waveform.
还需要说明的是,第二转换电路13和第一转换电路12的结构是相似的。It should also be noted that the structures of the second conversion circuit 13 and the first conversion circuit 12 are similar.
在一些实施例中,如图6所示,第二转换电路13包括第二采样单元131、第三逻辑单元132和第四逻辑单元133;其中,In some embodiments, as shown in FIG. 6 , the second conversion circuit 13 includes a second sampling unit 131 , a third logic unit 132 and a fourth logic unit 133 ; wherein,
第二采样单元131,配置为利用第三时钟信号Clk_R1采样片选信号CSD以产生第四中间信号ClkEn_R1,利用第三时钟信号Clk_R1的反相信号采样第四中间信号ClkEn_R1以产生第五中间信号ClkEnD_R1,利用第四时钟信号Clk_F1采样第五中间信号ClkEnD_R1以产生第六中间信号ClkEn_F1;The second sampling unit 131 is configured to sample the chip selection signal CSD using the third clock signal Clk_R1 to generate a fourth intermediate signal ClkEn_R1, sample the fourth intermediate signal ClkEn_R1 using the inverted signal of the third clock signal Clk_R1 to generate a fifth intermediate signal ClkEnD_R1, and sample the fifth intermediate signal ClkEnD_R1 using the fourth clock signal Clk_F1 to generate a sixth intermediate signal ClkEn_F1;
第三逻辑单元132,与第二采样单元131连接,配置为对第四中间信号ClkEn_R1和第三时钟信号Clk_R1进行与运算,输出第三控制信号Clk_R1d;The third logic unit 132 is connected to the second sampling unit 131 and configured to perform an AND operation on the fourth intermediate signal ClkEn_R1 and the third clock signal Clk_R1 to output a third control signal Clk_R1d;
第四逻辑单元133,与第二采样单元131连接,配置为对第六中间信号ClkEn_F1和第四时钟信号Clk_F1进行与运算,输出第四控制信号Clk_F1d。The fourth logic unit 133 is connected to the second sampling unit 131 , and is configured to perform an AND operation on the sixth intermediate signal ClkEn_F1 and the fourth clock signal Clk_F1 , and output a fourth control signal Clk_F1d.
需要说明的是,如图7A所示,若片选信号CSD符合预设条件,则第四中间信号ClkEn_R1和第六中间信号ClkEn_F1均存在脉冲,且脉冲宽度均大于初始时钟周期,从而第三控制信号Clk_R1d和第四控制信号Clk_F1d存在脉冲;如图7B所示,若片选信号CSD不符合预设条件,则第四中间信号ClkEn_R1和所述第六中间信号ClkEn_F1保持低电平状态(L)不变,从而第三控制信号Clk_R1d和第四控制信号Clk_F1d不存在脉冲。在这里,第三逻辑单元132和第四逻辑单元133均可以通过二输入与门实现。It should be noted that, as shown in FIG7A , if the chip select signal CSD meets the preset conditions, the fourth intermediate signal ClkEn_R1 and the sixth intermediate signal ClkEn_F1 both have pulses, and the pulse widths are both greater than the initial clock cycle, so that the third control signal Clk_R1d and the fourth control signal Clk_F1d have pulses; as shown in FIG7B , if the chip select signal CSD does not meet the preset conditions, the fourth intermediate signal ClkEn_R1 and the sixth intermediate signal ClkEn_F1 remain in a low level state (L) unchanged, so that the third control signal Clk_R1d and the fourth control signal Clk_F1d do not have pulses. Here, the third logic unit 132 and the fourth logic unit 133 can be implemented by a two-input AND gate.
在一些具体的实施例中,如图6所示,第二采样单元131包括第四锁存器1311、第五锁存器1312、第六锁存器1313和第二反相器1314。第四锁存器1311的输入端接收片选信号CSD,第四锁存器1311的时钟端接收第三时钟信号Clk_R1,第四锁存器1311的输出端输出第四中间信号ClkEn_R1;第五锁存器1312的输入端接收第四中间信号ClkEn_R1,第二反相器1314的输入端接收第三时钟信号Clk_R1,第五锁存器1312的时钟端与第二反相器1314的输出端连接,第五锁存器1312的输出端输出第五中间信号ClkEnD_R1;第六锁存器1313的输入端接收第五中间信号ClkEnD_R1,第六锁存器1313的时钟端接收第四时钟信号Clk_F1,第六锁存器1313的输出端输出第六中间信号ClkEn_F1。In some specific embodiments, as shown in FIG. 6 , the second sampling unit 131 includes a fourth latch 1311 , a fifth latch 1312 , a sixth latch 1313 and a second inverter 1314 . The input end of the fourth latch 1311 receives the chip select signal CSD, the clock end of the fourth latch 1311 receives the third clock signal Clk_R1, and the output end of the fourth latch 1311 outputs the fourth intermediate signal ClkEn_R1; the input end of the fifth latch 1312 receives the fourth intermediate signal ClkEn_R1, the input end of the second inverter 1314 receives the third clock signal Clk_R1, the clock end of the fifth latch 1312 is connected to the output end of the second inverter 1314, and the output end of the fifth latch 1312 outputs the fifth intermediate signal ClkEnD_R1; the input end of the sixth latch 1313 receives the fifth intermediate signal ClkEnD_R1, the clock end of the sixth latch 1313 receives the fourth clock signal Clk_F1, and the output end of the sixth latch 1313 outputs the sixth intermediate signal ClkEn_F1.
这样,如图7A所示,在片选信号符合预设条件的情况下,第四中间信号ClkEn_R1、第五中间信号ClkEnD_R1和第六中间信号ClkEn_F1均存在脉冲;如图7B所示,在片选信号不符合预设条件的情况下,第四中间信号ClkEn_R1、第五中间信号ClkEnD_R1和第六中间信号ClkEn_F1均不存在脉冲。类似的,第六锁存器1313的存在有利于波形的规整。Thus, as shown in FIG7A , when the chip select signal meets the preset condition, the fourth intermediate signal ClkEn_R1, the fifth intermediate signal ClkEnD_R1 and the sixth intermediate signal ClkEn_F1 all have pulses; as shown in FIG7B , when the chip select signal does not meet the preset condition, the fourth intermediate signal ClkEn_R1, the fifth intermediate signal ClkEnD_R1 and the sixth intermediate signal ClkEn_F1 all have no pulses. Similarly, the existence of the sixth latch 1313 is conducive to the regularity of the waveform.
在一些实施例中,如图3所示,命令解码电路10还包括第一延迟单元15和第二延迟单元16;其中,In some embodiments, as shown in FIG. 3 , the command decoding circuit 10 further includes a first delay unit 15 and a second delay unit 16 ; wherein,
第一延迟单元15,与第一转换电路12、第二转换电路13连接,配置为从外部接收初始片选信号CS,对初始片选信号CS进行延迟处理,输出片选信号CSD;The first delay unit 15 is connected to the first conversion circuit 12 and the second conversion circuit 13, and is configured to receive an initial chip select signal CS from the outside, delay the initial chip select signal CS, and output a chip select signal CSD;
第二延迟单元16,与命令采样电路14连接,配置为从外部接收初始命令地址信号,对初始命令地址信号进行延迟处理,输出命令地址信号CA Command。The second delay unit 16 is connected to the command sampling circuit 14, and is configured to receive an initial command address signal from the outside, delay the initial command address signal, and output a command address signal CA Command.
需要说明的是,第一延迟单元15和第二延迟单元16(或称为DlyTrim)可采用常规延迟器件构成。进一步地,第一延迟单元15和第二延迟单元16可以设计为延迟参数可调的电路,也可以设计为延迟参数不可调的电路,其作用是对初始片选信号CS(或初始命令地址信号)进行延迟得到片选信号CSD(或命令地址信号CA Command),以实现信号之间的延迟匹配。It should be noted that the first delay unit 15 and the second delay unit 16 (or DlyTrim) can be formed by conventional delay devices. Furthermore, the first delay unit 15 and the second delay unit 16 can be designed as a circuit with adjustable delay parameters, or as a circuit with non-adjustable delay parameters, and its function is to delay the initial chip select signal CS (or initial command address signal) to obtain the chip select signal CSD (or command address signal CA Command) to achieve delay matching between signals.
在一些实施例中,目标采样信号包括第一采样信号、第二采样信号、第三采样信号和第四采样信号,第一采样信号是指第一控制信号Clk_R0d对命令地址信号CA Command的采样结果,第二采样信号是指第二控制信号Clk_F0d对命令地址信号CA Command的采样结果,第三采样信号是指第三控制信号Clk_R1d对命令地址信号CA Command的采样结果,第四采样信号是指第四控制信号Clk_F1d对命令地址信号CA Command的采样结果。In some embodiments, the target sampling signal includes a first sampling signal, a second sampling signal, a third sampling signal and a fourth sampling signal. The first sampling signal refers to the sampling result of the first control signal Clk_R0d on the command address signal CA Command, the second sampling signal refers to the sampling result of the second control signal Clk_F0d on the command address signal CA Command, the third sampling signal refers to the sampling result of the third control signal Clk_R1d on the command address signal CA Command, and the fourth sampling signal refers to the sampling result of the fourth control signal Clk_F1d on the command address signal CA Command.
进一步的,命令地址信号CA Command、第一采样信号、第二采样信号、第三采样信号第四采样信号均包括(N+1)位子信号。也就是说,命令地址信号CA Command可以包括CA0_D、CA1_D……CAN_D这些子信号;第一采样信号可以包括CA0_R0d、CA1_R0d……CAN_R0d,后续表示为CA<N:0>_R0d;第二采样信号可以包括CA0_F0、CA1_F0……CAN_F0,后续表示为CA<N:0>_F0;第三采样信号可以包括CA0_R1d、CA1_R1d……CAN_R1d,后续表示为CA<N:0>_R1d;第四采样信号可以包括CA0_F1、CA1_F1……CAN_F1,后续表示为CA<N:0>_F1。 Further, the command address signal CA Command, the first sampling signal, the second sampling signal, the third sampling signal and the fourth sampling signal all include (N+1)-bit sub-signals. That is, the command address signal CA Command may include sub-signals such as CA0_D, CA1_D...CAN_D; the first sampling signal may include CA0_R0d, CA1_R0d...CAN_R0d, which are hereinafter represented as CA<N:0>_R0d; the second sampling signal may include CA0_F0, CA1_F0...CAN_F0, which are hereinafter represented as CA<N:0>_F0; the third sampling signal may include CA0_R1d, CA1_R1d...CAN_R1d, which are hereinafter represented as CA<N:0>_R1d; the fourth sampling signal may include CA0_F1, CA1_F1...CAN_F1, which are hereinafter represented as CA<N:0>_F1.
相应的,如图8所示,命令采样电路14包括(N+1)个命令采样单元,图8以N+1=4为例进行示出。Correspondingly, as shown in FIG8 , the command sampling circuit 14 includes (N+1) command sampling units, and FIG8 takes N+1=4 as an example.
第i个命令采样单元,配置为利用第一控制信号Clk_R0d对命令地址信号CA Command的第i位子信号进行两次采样处理,输出第一采样信号的第i位子信号;利用第二控制信号Clk_F0d对命令地址信号CA Command的第i位子信号进行一次采样处理,输出第二采样信号的第i位子信号;利用第三控制信号Clk_R1d对所述命令地址信号CA Command的第i位子信号进行两次采样处理,输出所述第三采样信号的第i位子信号,利用所述第四控制信号Clk_F1d对所述命令地址信号CA Command的第i位子信号进行一次采样处理,输出所述第四采样信号的第i位子信号;其中,i、N为正整数,且i小于等于(N+1)。The i-th command sampling unit is configured to use the first control signal Clk_R0d to sample the i-th sub-signal of the command address signal CA Command twice, and output the i-th sub-signal of the first sampling signal; use the second control signal Clk_F0d to sample the i-th sub-signal of the command address signal CA Command once, and output the i-th sub-signal of the second sampling signal; use the third control signal Clk_R1d to sample the i-th sub-signal of the command address signal CA Command twice, and output the i-th sub-signal of the third sampling signal; use the fourth control signal Clk_F1d to sample the i-th sub-signal of the command address signal CA Command once, and output the i-th sub-signal of the fourth sampling signal; wherein i and N are positive integers, and i is less than or equal to (N+1).
需要说明的是,第一控制信号Clk_R0d的脉冲前沿超前于第二控制信号Clk_F0d的脉冲前沿,因而第一控制信号Clk_R0d比第二控制信号Clk_F0d多一次采样处理,以使得第一采样信号和第二采样信号在时序上处于对齐状态,便于后续共同解码。同样的,第三采样信号和第四采样信号在时序上处于对齐状态。It should be noted that the pulse leading edge of the first control signal Clk_R0d is ahead of the pulse leading edge of the second control signal Clk_F0d, so the first control signal Clk_R0d is sampled once more than the second control signal Clk_F0d, so that the first sampling signal and the second sampling signal are aligned in timing, which is convenient for subsequent joint decoding. Similarly, the third sampling signal and the fourth sampling signal are aligned in timing.
还需要说明的是,初始命令信号同样包括(N+1)个信号,分别表示为CA0、CA1~CAN。如图8所示,第二延迟单元包括(N+1)个第二延迟子单元,第i个第二延迟子单元对于初始命令信号的第i位信号(可以表示为CAi)进行延迟,得到命令信号的第i位信号(可以表示为CAi_D)。It should also be noted that the initial command signal also includes (N+1) signals, which are respectively represented as CA0, CA1~CAN. As shown in FIG8, the second delay unit includes (N+1) second delay subunits, and the i-th second delay subunit delays the i-th signal (which can be represented as CAi) of the initial command signal to obtain the i-th signal (which can be represented as CAi_D) of the command signal.
在一种具体的实施例中,如图8所示,第i个命令采样单元包括第一触发器141、第七锁存器142、第二触发器143、第三触发器144、第八锁存器145和第四触发器146,图8中仅对第1个命令采样单元中的器件进行标号,其他可参照理解;其中,In a specific embodiment, as shown in FIG8 , the i-th command sampling unit includes a first trigger 141, a seventh latch 142, a second trigger 143, a third trigger 144, an eighth latch 145 and a fourth trigger 146. FIG8 only labels the components in the first command sampling unit, and the others can be understood by reference; wherein,
第一触发器141的输入端接收命令地址信号的第i位子信号CAi_D,第一触发器141的时钟端接收第一控制信号Clk_R0d,第七锁存器142的输入端与第一触发器141的输出端连接,第七锁存器142的时钟端接收第一控制信号Clk_R0d,第七锁存器142的输出端输出第一采样信号的第i位子信号CAi_R0d;An input terminal of the first flip-flop 141 receives the i-th sub-signal CAi_D of the command address signal, a clock terminal of the first flip-flop 141 receives the first control signal Clk_R0d, an input terminal of the seventh latch 142 is connected to an output terminal of the first flip-flop 141, a clock terminal of the seventh latch 142 receives the first control signal Clk_R0d, and an output terminal of the seventh latch 142 outputs the i-th sub-signal CAi_R0d of the first sampling signal;
第二触发器143的输入端接收命令地址信号的第i位子信号CAi_D,第二触发器143的时钟端接收第二控制信号Clk_F0d,第二触发143器的输出端输出第二采样信号的第i位子信号CAi_F0;The input terminal of the second flip-flop 143 receives the ith sub-signal CAi_D of the command address signal, the clock terminal of the second flip-flop 143 receives the second control signal Clk_F0d, and the output terminal of the second flip-flop 143 outputs the ith sub-signal CAi_F0 of the second sampling signal;
第三触发器144的输入端接收命令地址信号的第i位子信号CAi_D,第三触发器144的时钟端接收第三控制信号Clk_R1d,第八锁存器145的输入端与第三触发器144的输出端连接,第八锁存器145的时钟端接收第三控制信号Clk_R1d,第八锁存器145的输出端输出第三采样信号的第i位子信号CAi_R1d;An input terminal of the third flip-flop 144 receives the i-th sub-signal CAi_D of the command address signal, a clock terminal of the third flip-flop 144 receives the third control signal Clk_R1d, an input terminal of the eighth latch 145 is connected to an output terminal of the third flip-flop 144, a clock terminal of the eighth latch 145 receives the third control signal Clk_R1d, and an output terminal of the eighth latch 145 outputs the i-th sub-signal CAi_R1d of the third sampling signal;
第四触发器146的输入端接收命令地址信号的第i位子信号CAi_D,第四触发器146的时钟端接收第四控制信号Clk_F1d,第四触发器146的输出端输出第四采样信号的第i位子信号CAi_F1。An input terminal of the fourth flip-flop 146 receives the i-th sub-signal CAi_D of the command address signal, a clock terminal of the fourth flip-flop 146 receives the fourth control signal Clk_F1d, and an output terminal of the fourth flip-flop 146 outputs the i-th sub-signal CAi_F1 of the fourth sampling signal.
需要说明的是,本公开实施例中的触发器的功能是:在时钟端的信号上升沿时,输出端的信号对输入端的信号进行采样。It should be noted that the function of the trigger in the embodiment of the present disclosure is: when the signal at the clock end rises, the signal at the output end samples the signal at the input end.
需要说明的是,每一命令采样单元均具有各自的第一触发器141、第七锁存器142、第二触发器143、第三触发器144、第八锁存器145和第四触发器146,具体请参照图8进行理解。It should be noted that each command sampling unit has its own first trigger 141 , seventh latch 142 , second trigger 143 , third trigger 144 , eighth latch 145 and fourth trigger 146 . Please refer to FIG. 8 for details.
在一些实施例中,如图3所示,命令解码电路10还包括:In some embodiments, as shown in FIG3 , the command decoding circuit 10 further includes:
解码电路17,第一转换电路12、第二转换电路13和命令采样电路14连接,配置为对第一采样信号CA<N:0>_R0d、第二采样信号CA<N:0>_F0、第三采样信号CA<N:0>_R1d和第四采样信号CA<N:0>_F1进行解码处理,得到中间解码信号;并基于第一控制信号Clk_R0d和第三控制信号Clk_R1d对中间解码信号进行采样处理,输出目标解码信号Command;The decoding circuit 17 is connected to the first conversion circuit 12, the second conversion circuit 13 and the command sampling circuit 14, and is configured to decode the first sampling signal CA<N:0>_R0d, the second sampling signal CA<N:0>_F0, the third sampling signal CA<N:0>_R1d and the fourth sampling signal CA<N:0>_F1 to obtain an intermediate decoding signal; and sample the intermediate decoding signal based on the first control signal Clk_R0d and the third control signal Clk_R1d, and output a target decoding signal Command;
片选采样电路18,与时钟产生电路11连接,配置为接收片选信号CSD,利用第一时钟信号Clk_R0和第三时钟信号Clk_R1分别对片选信号CSD进行采样,输出第一片选采样信号CS_R0和第二片选采样信号CS_R1。The chip select sampling circuit 18 is connected to the clock generating circuit 11, and is configured to receive the chip select signal CSD, sample the chip select signal CSD using the first clock signal Clk_R0 and the third clock signal Clk_R1, and output the first chip select sampling signal CS_R0 and the second chip select sampling signal CS_R1.
需要说明的是,根据LPDDR6的规定,初始片选信号CS也持续2个初始时钟周期,而且需要在第1个初始时钟周期的上升沿和第2个初始时钟周期的上升沿对片选信号CSD进行采样处理。在后续处理过程中,目标解码信号Command、第一片选采样信号CS_R0和第二片选采样信号CS_R1经过逻辑处理后产生目标命令信号。在这里,目标命令信号能够指示本次CA Command的具体内容,例如表1中的PDE、SRE、ACT-1、ACT-2……It should be noted that according to the provisions of LPDDR6, the initial chip select signal CS also lasts for 2 initial clock cycles, and the chip select signal CSD needs to be sampled and processed at the rising edge of the first initial clock cycle and the rising edge of the second initial clock cycle. In the subsequent processing, the target decoding signal Command, the first chip select sampling signal CS_R0 and the second chip select sampling signal CS_R1 are logically processed to generate the target command signal. Here, the target command signal can indicate the specific content of this CA Command, such as PDE, SRE, ACT-1, ACT-2... in Table 1
在一些实施例中,如图9所示,片选采样电路18包括第五触发器181和第六触发器182,其中,第五触发器181的输入端接收片选信号CSD,第五触发器181的时钟端接收第一时钟信号Clk_R0,第五触发器182的输出端输出第一片选采样信号CS_R0;第六触发器182的输入端接收片选信号CSD,第六触发器182的时钟端接收第三时钟信号Clk_R1,第六触发器182的输出端输出第二片选采样信号CS_R1。In some embodiments, as shown in Figure 9, the chip select sampling circuit 18 includes a fifth flip-flop 181 and a sixth flip-flop 182, wherein the input end of the fifth flip-flop 181 receives the chip select signal CSD, the clock end of the fifth flip-flop 181 receives the first clock signal Clk_R0, and the output end of the fifth flip-flop 182 outputs the first chip select sampling signal CS_R0; the input end of the sixth flip-flop 182 receives the chip select signal CSD, the clock end of the sixth flip-flop 182 receives the third clock signal Clk_R1, and the output end of the sixth flip-flop 182 outputs the second chip select sampling signal CS_R1.
在一些实施例中,如图3(图3以N+1=4为例进行示出)所示,解码电路17与命令采样电路14连接,配置为基于第一控制信号Clk_R0d和第三控制信号Clk_R1对第一采样信号CA<N:0>_R0d、第二采样信号CA<N:0>_F0、第三采样信号CA<N:0>_R1d和第四采样信号CA<N:0>_F1进行解码。In some embodiments, as shown in Figure 3 (Figure 3 takes N+1=4 as an example), the decoding circuit 17 is connected to the command sampling circuit 14, and is configured to decode the first sampling signal CA<N:0>_R0d, the second sampling signal CA<N:0>_F0, the third sampling signal CA<N:0>_R1d and the fourth sampling signal CA<N:0>_F1 based on the first control signal Clk_R0d and the third control signal Clk_R1.
相应的,如图10和图11(图10和图11均以N+1=4为例进行示出)所示,解码电路17包括:Correspondingly, as shown in FIG. 10 and FIG. 11 (both FIG. 10 and FIG. 11 are shown by taking N+1=4 as an example), the decoding circuit 17 includes:
第三延迟单元151,配置为对第一控制信号Clk_R0d进行延迟处理,输出第一延迟控制信号Clk_R0d1; 对第三控制信号Clk_R1d进行延迟处理,输出第二延迟控制信号Clk_R1d1;The third delay unit 151 is configured to delay the first control signal Clk_R0d and output a first delayed control signal Clk_R0d1; Delaying the third control signal Clk_R1d and outputting a second delayed control signal Clk_R1d1;
第一解码单元152,与命令采样电路14和第三延迟单元151连接,配置为对第一采样信号的(N+1)位子信号和第二采样信号的(N+1)位子信号进行逻辑运算,输出第一解码信号;利用第二延迟控制信号Clk_R1d1对第一解码信号进行采样处理,输出第一目标信号Cmd_R1;The first decoding unit 152 is connected to the command sampling circuit 14 and the third delay unit 151, and is configured to perform a logic operation on the (N+1)-bit sub-signal of the first sampling signal and the (N+1)-bit sub-signal of the second sampling signal, and output a first decoded signal; and sample the first decoded signal using the second delay control signal Clk_R1d1, and output a first target signal Cmd_R1;
第二解码单元153,与与命令采样电路14和第三延迟单元151连接,配置为对第三采样信号的(N+1)位子信号和所述第四采样信号的(N+1)位子信号进行逻辑运算,输出第二解码信号;利用第一延迟控制信号Clk_R0d1对第二解码信号进行采样处理,输出第二目标信号Cmd_R0。The second decoding unit 153 is connected to the command sampling circuit 14 and the third delay unit 151, and is configured to perform a logic operation on the (N+1)-bit sub-signal of the third sampling signal and the (N+1)-bit sub-signal of the fourth sampling signal to output a second decoded signal; and use the first delay control signal Clk_R0d1 to sample and process the second decoded signal to output a second target signal Cmd_R0.
需要说明的是,第三延迟单元151的作用是对第一控制信号Clk_R0d和第三控制信号Clk_R1d进行延迟以实现信号之间的延迟匹配。具体的,第三延迟单元151包括2个第三延迟子单元,分别用于对第一控制信号Clk_R0d和对第三控制信号Clk_R1d进行延迟。图10中的第一解码单元152和第二解码单元153共同构成图11中的解码处理单元150。It should be noted that the function of the third delay unit 151 is to delay the first control signal Clk_R0d and the third control signal Clk_R1d to achieve delay matching between the signals. Specifically, the third delay unit 151 includes two third delay sub-units, which are respectively used to delay the first control signal Clk_R0d and the third control signal Clk_R1d. The first decoding unit 152 and the second decoding unit 153 in FIG. 10 together constitute the decoding processing unit 150 in FIG. 11.
在一种具体的实施例中,如图11所示,第一解码单元152包括第五逻辑单元1521和第七触发器1522;其中,第五逻辑单元1521的输入端接收第一采样信号的4位子信号(即CA0_R0d、CA1_R0d、CA2_R0d、CA3_R0d)和第二采样信号的4位子信号(即CA0_F0、CA1_F0、CA2_F0、CA3_F0),第五逻辑单元1521的输出端输出第一解码信号;第七触发器1522的输入端接收第一解码信号,第七触发器1522的时钟端接收第二延迟控制信号Clk_R1d1,第七触发器1522的输出端输出第一目标信号Cmd_R1。In a specific embodiment, as shown in Figure 11, the first decoding unit 152 includes a fifth logic unit 1521 and a seventh trigger 1522; wherein, the input end of the fifth logic unit 1521 receives a 4-bit sub-signal of the first sampling signal (i.e., CA0_R0d, CA1_R0d, CA2_R0d, CA3_R0d) and a 4-bit sub-signal of the second sampling signal (i.e., CA0_F0, CA1_F0, CA2_F0, CA3_F0), and the output end of the fifth logic unit 1521 outputs a first decoding signal; the input end of the seventh trigger 1522 receives the first decoding signal, the clock end of the seventh trigger 1522 receives the second delay control signal Clk_R1d1, and the output end of the seventh trigger 1522 outputs the first target signal Cmd_R1.
类似的,如图11所示,第二解码单元153包括第六逻辑单元1531和第八触发器1532;第六逻辑单元1531的输入端接收第三采样信号的4位子信号(即CA0_R1d、CA1_R1d、CA2_R1d、CA3_R1d)和第四采样信号的4位子信号(即CA0_F1、CA1_F1、CA2_F1、CA3_F1),第六逻辑单元1531的输出端输出第二解码信号;第八触发器1532的输入端接收第二解码信号,第八触发器1532的时钟端接收第一延迟控制信号Clk_R0d1,第八触发器1532的输出端输出第二目标信号Cmd_R0。Similarly, as shown in Figure 11, the second decoding unit 153 includes a sixth logic unit 1531 and an eighth flip-flop 1532; the input end of the sixth logic unit 1531 receives the 4-bit sub-signals of the third sampling signal (i.e., CA0_R1d, CA1_R1d, CA2_R1d, CA3_R1d) and the 4-bit sub-signals of the fourth sampling signal (i.e., CA0_F1, CA1_F1, CA2_F1, CA3_F1), and the output end of the sixth logic unit 1531 outputs the second decoding signal; the input end of the eighth flip-flop 1532 receives the second decoding signal, the clock end of the eighth flip-flop 1532 receives the first delay control signal Clk_R0d1, and the output end of the eighth flip-flop 1532 outputs the second target signal Cmd_R0.
需要说明的是,第一目标信号Cmd_R1和第二目标信号Cmd_R0组成目标解码信号Command。第一目标信号Cmd_R1指示所述命令地址信号CA Command在第1个初始时钟周期的内容;第二目标信号Cmd_R0指示命令地址信号CA Command在第2个初始时钟周期的内容。如前述,初始时钟周期是指初始时钟信号Clk的时钟周期。It should be noted that the first target signal Cmd_R1 and the second target signal Cmd_R0 constitute the target decoding signal Command. The first target signal Cmd_R1 indicates the content of the command address signal CA Command in the first initial clock cycle; the second target signal Cmd_R0 indicates the content of the command address signal CA Command in the second initial clock cycle. As mentioned above, the initial clock cycle refers to the clock cycle of the initial clock signal Clk.
需要说明的是,第五逻辑单元1521(或第六逻辑单元1531)可以通过多种逻辑器件实现,例如与非门、非门、异或门等等,具体需要根据具体的解码规则(或称为译码规则)确定,本公开实施例不做限定。It should be noted that the fifth logic unit 1521 (or the sixth logic unit 1531) can be implemented by a variety of logic devices, such as NAND gate, NOT gate, XOR gate, etc., which needs to be determined according to specific decoding rules (or called decoding rules), and the embodiments of the present disclosure do not limit this.
前述的第一触发器~第八触发器均可以通过D型触发器实现,其可以利用时钟信号(即时钟端接收到的信号)的上升沿对输入信号(即输入端接收到的信号)进行采样,得到输出信号(即输出端的信号);前述的第一锁存器~第八锁存器均可通过两个D型触发器实现,当时钟端为低电平时,输出随输入信号变化,当时钟端为高电平时,输出保持不变。The aforementioned first to eighth triggers can all be implemented by D-type triggers, which can use the rising edge of the clock signal (i.e., the signal received at the input end) to sample the input signal (i.e., the signal received at the input end) to obtain an output signal (i.e., the signal at the output end); the aforementioned first to eighth latches can all be implemented by two D-type triggers. When the clock end is at a low level, the output changes with the input signal, and when the clock end is at a high level, the output remains unchanged.
综上所述,针对本公开实施例提供的命令解码电路10,图12从整体角度提供了一种时序示意图。如图12所示,初始时钟信号Clk经过分频和分相处理得到第一时钟信号Clk_R0、第二时钟信号Clk_F0、第三时钟信号Clk_R1和第四时钟信号Clk_F1,第一时钟信号Clk_R0~第四时钟信号Clk_F1对片选信号CSD(即初始片选信号CS延迟得到)进行采样及逻辑处理后,得到第一控制信号Clk_R0~第四控制信号Clk_F1(请参见图2A);第一控制信号Clk_R0~第四控制信号Clk_F1分别对命令地址信号CA<3:0>进行采样,依次得到第一采样信号CA<3:0>_R0d、第二采样信号CA<3:0>_F0、第三采样信号CA<3:0>_R1d、第四采样信号CA<3:0>_F1。然后,第一采样信号CA<3:0>_R0d、第二采样信号CA<3:0>_F0、第三采样信号CA<3:0>_R1d和第四采样信号CA<3:0>_F1经过解码处理,得到第一目标信号Cmd_R1和第二目标信号Cmd_R0(图12未示出);最后,第一目标信号Cmd_R1、第二目标信号Cmd_R0、第一片选采样信号CS_R0和第二片选采样信号CS_R1再进行共同解码,并通过命令采样时钟信号ClkCmd_R1对解码结果进行采样以得到最终的目标解码信号Command。在这里,目标解码信号Command能够指示本次CA Command的具体内容,例如表1中的PDE、SRE、ACT-1、ACT-2……这样,仅有被选中的半导体存储器中的命令解码电路会对CA输入进行采样及解码,不仅实现命令地址信号的正确解码,而且可以降低功耗。In summary, for the command decoding circuit 10 provided in the embodiment of the present disclosure, FIG12 provides a timing diagram from an overall perspective. As shown in FIG12, the initial clock signal Clk is processed by frequency division and phase division to obtain the first clock signal Clk_R0, the second clock signal Clk_F0, the third clock signal Clk_R1 and the fourth clock signal Clk_F1. The first clock signal Clk_R0 to the fourth clock signal Clk_F1 sample and logically process the chip select signal CSD (that is, the initial chip select signal CS is delayed) to obtain the first control signal Clk_R0 to the fourth control signal Clk_F1 (see FIG2A); the first control signal Clk_R0 to the fourth control signal Clk_F1 respectively sample the command address signal CA<3:0> to obtain the first sampling signal CA<3:0>_R0d, the second sampling signal CA<3:0>_F0, the third sampling signal CA<3:0>_R1d, and the fourth sampling signal CA<3:0>_F1. Then, the first sampling signal CA<3:0>_R0d, the second sampling signal CA<3:0>_F0, the third sampling signal CA<3:0>_R1d and the fourth sampling signal CA<3:0>_F1 are decoded to obtain the first target signal Cmd_R1 and the second target signal Cmd_R0 (not shown in FIG. 12 ); finally, the first target signal Cmd_R1, the second target signal Cmd_R0, the first chip selection sampling signal CS_R0 and the second chip selection sampling signal CS_R1 are decoded together, and the decoding result is sampled by the command sampling clock signal ClkCmd_R1 to obtain the final target decoding signal Command. Here, the target decoding signal Command can indicate the specific content of this CA Command, such as PDE, SRE, ACT-1, ACT-2 in Table 1... In this way, only the command decoding circuit in the selected semiconductor memory will sample and decode the CA input, which not only realizes the correct decoding of the command address signal, but also reduces power consumption.
在本公开的另一实施例中,参见图13,其示出了本公开实施例提供的一种半导体存储器30的组成结构示意图。如图13所示,半导体存储器30可以包括前述实施例任一项所述的命令解码电路10。In another embodiment of the present disclosure, see Fig. 13, which shows a schematic diagram of the composition structure of a semiconductor memory 30 provided by the embodiment of the present disclosure. As shown in Fig. 13, the semiconductor memory 30 may include the command decoding circuit 10 described in any of the above embodiments.
在本公开实施例中,半导体存储器30可以为动态随机存取存储器DRAM,且所述半导体存储器符合LPDDR6的规定。In the embodiment of the present disclosure, the semiconductor memory 30 may be a dynamic random access memory DRAM, and the semiconductor memory complies with the requirements of LPDDR6.
以上,仅为本公开的较佳实施例而已,并非用于限定本公开的保护范围。The above are only preferred embodiments of the present disclosure and are not intended to limit the protection scope of the present disclosure.
需要说明的是,在本公开中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由 语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。上述本公开实施例序号仅仅为了描述,不代表实施例的优劣。本公开所提供的几个方法实施例中所揭露的方法,在不冲突的情况下可以任意组合,得到新的方法实施例。本公开所提供的几个产品实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的产品实施例。本公开所提供的几个方法或设备实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的方法实施例或设备实施例。以上,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以权利要求的保护范围为准。 It should be noted that in the present disclosure, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, The elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or device including the element. The serial numbers of the embodiments of the present disclosure are for description only and do not represent the advantages and disadvantages of the embodiments. The methods disclosed in the several method embodiments provided by the present disclosure can be arbitrarily combined without conflict to obtain new method embodiments. The features disclosed in the several product embodiments provided by the present disclosure can be arbitrarily combined without conflict to obtain new product embodiments. The features disclosed in the several method or device embodiments provided by the present disclosure can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments. The above are only specific implementation methods of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed by the present disclosure, which should be covered within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be based on the protection scope of the claims.

Claims (16)

  1. 一种命令解码电路,所述命令解码电路(10)包括:A command decoding circuit, the command decoding circuit (10) comprising:
    时钟产生电路(11),配置为产生第一时钟信号、第二时钟信号、第三时钟信号和第四时钟信号;其中,所述第一时钟信号、所述第二时钟信号、所述第三时钟信号和所述第四时钟信号的时钟周期相同且相位依次相差90度;A clock generating circuit (11) configured to generate a first clock signal, a second clock signal, a third clock signal and a fourth clock signal; wherein the clock periods of the first clock signal, the second clock signal, the third clock signal and the fourth clock signal are the same and the phases thereof differ by 90 degrees respectively;
    第一转换电路(12),与所述时钟产生电路(11)连接,配置为接收片选信号,利用所述第一时钟信号和所述第二时钟信号对所述片选信号进行多次采样及逻辑处理,输出第一控制信号和第二控制信号;其中,若所述片选信号符合预设条件,则所述第一控制信号和所述第二控制信号均存在脉冲;A first conversion circuit (12) is connected to the clock generation circuit (11), and is configured to receive a chip selection signal, perform multiple sampling and logic processing on the chip selection signal using the first clock signal and the second clock signal, and output a first control signal and a second control signal; wherein, if the chip selection signal meets a preset condition, both the first control signal and the second control signal have pulses;
    第二转换电路(13),与所述时钟产生电路(11)连接,配置为接收所述片选信号,利用所述第三时钟信号和所述第四时钟信号对所述片选信号进行多次采样及逻辑处理,输出第三控制信号和第四控制信号;其中,若所述片选信号符合预设条件,则所述第三控制信号和所述第四控制信号均存在脉冲;a second conversion circuit (13), connected to the clock generation circuit (11), configured to receive the chip selection signal, perform multiple sampling and logic processing on the chip selection signal using the third clock signal and the fourth clock signal, and output a third control signal and a fourth control signal; wherein, if the chip selection signal meets a preset condition, both the third control signal and the fourth control signal have pulses;
    命令采样电路(14),与所述第一转换电路(12)和所述第二转换电路(13)均连接,配置为接收命令地址信号,利用所述第一控制信号、所述第二控制信号、所述第三控制信号和所述第四控制信号对所述命令地址信号进行采样,输出目标采样信号。A command sampling circuit (14) is connected to both the first conversion circuit (12) and the second conversion circuit (13), and is configured to receive a command address signal, sample the command address signal using the first control signal, the second control signal, the third control signal, and the fourth control signal, and output a target sampling signal.
  2. 根据权利要求1所述的命令解码电路,其中,The command decoding circuit according to claim 1, wherein:
    在所述片选信号不符合预设条件的情况下,所述第一控制信号、所述第二控制信号、所述第三控制信号和所述第四控制信号均保持电平状态不变。When the chip selection signal does not meet the preset condition, the first control signal, the second control signal, the third control signal and the fourth control signal all maintain a constant level state.
  3. 根据权利要求1或2所述的命令解码电路,其中,The command decoding circuit according to claim 1 or 2, wherein:
    所述时钟产生电路(11),配置为接收初始时钟信号,对外部初始时钟信号进行分频和分相处理,输出所述第一时钟信号、所述第二时钟信号、所述第三时钟信号和所述第四时钟信号;The clock generating circuit (11) is configured to receive an initial clock signal, perform frequency division and phase division processing on the external initial clock signal, and output the first clock signal, the second clock signal, the third clock signal and the fourth clock signal;
    其中,所述第一时钟信号的时钟周期是所述初始时钟信号的时钟周期的2倍,所述第一时钟信号的上升沿与所述初始时钟信号的上升沿对齐。The clock period of the first clock signal is twice the clock period of the initial clock signal, and the rising edge of the first clock signal is aligned with the rising edge of the initial clock signal.
  4. 根据权利要求1-3任一项所述的命令解码电路,其中,所述片选信号用于指示所述命令地址信号有效或无效,若所述片选信号符合预设条件,则所述命令地址信号有效,若所述片选信号不符合预设条件,则所述命令地址信号无效;The command decoding circuit according to any one of claims 1 to 3, wherein the chip select signal is used to indicate whether the command address signal is valid or invalid, and if the chip select signal meets a preset condition, the command address signal is valid, and if the chip select signal does not meet the preset condition, the command address signal is invalid;
    所述命令地址信号持续2个初始时钟周期,且所述初始时钟周期是指所述初始时钟信号的时钟周期;所述预设条件是指所述片选信号在第1个初始时钟周期中存在电平变化沿,且所述片选信号在第2个初始时钟周期中存在电平变化沿。The command address signal lasts for 2 initial clock cycles, and the initial clock cycle refers to the clock cycle of the initial clock signal; the preset condition refers to the existence of a level change edge of the chip select signal in the first initial clock cycle, and the existence of a level change edge of the chip select signal in the second initial clock cycle.
  5. 根据权利要求1-4任一项所述的命令解码电路,其中,The command decoding circuit according to any one of claims 1 to 4, wherein:
    在所述片选信号符合预设条件的情况下,所述第一控制信号的脉冲宽度、所述第二控制信号的脉冲宽度、所述第三控制信号的脉冲宽度和所述第四控制信号的脉冲宽度均相同,且所述第一控制信号的脉冲宽度与初始时钟周期相同; When the chip select signal meets the preset condition, the pulse width of the first control signal, the pulse width of the second control signal, the pulse width of the third control signal and the pulse width of the fourth control signal are all the same, and the pulse width of the first control signal is the same as the initial clock cycle;
    其中,所述第一控制信号的脉冲前沿与所述第一时钟信号的上升沿对齐,所述第二控制信号的脉冲前沿与所述第二时钟信号的上升沿对齐,所述第三控制信号的脉冲前沿与所述第三时钟信号的上升沿对齐,所述第四控制信号的脉冲前沿与所述第四时钟信号的上升沿对齐。Among them, the pulse leading edge of the first control signal is aligned with the rising edge of the first clock signal, the pulse leading edge of the second control signal is aligned with the rising edge of the second clock signal, the pulse leading edge of the third control signal is aligned with the rising edge of the third clock signal, and the pulse leading edge of the fourth control signal is aligned with the rising edge of the fourth clock signal.
  6. 根据权利要求1-5任一项所述的命令解码电路,其中,所述第一转换电路(12)包括第一采样单元(121)、第一逻辑单元(122)和第二逻辑单元(123);The command decoding circuit according to any one of claims 1 to 5, wherein the first conversion circuit (12) comprises a first sampling unit (121), a first logic unit (122) and a second logic unit (123);
    所述第一采样单元(121),配置为利用所述第一时钟信号采样所述片选信号以产生第一中间信号,利用所述第一时钟信号的反相信号采样所述第一中间信号以产生第二中间信号,利用所述第二时钟信号采样所述第二中间信号以产生第三中间信号;The first sampling unit (121) is configured to sample the chip selection signal using the first clock signal to generate a first intermediate signal, sample the first intermediate signal using an inverted signal of the first clock signal to generate a second intermediate signal, and sample the second intermediate signal using the second clock signal to generate a third intermediate signal;
    所述第一逻辑单元(122),与所述第一采样单元(121)连接,配置为对所述第一中间信号和所述第一时钟信号进行与运算,输出所述第一控制信号;The first logic unit (122) is connected to the first sampling unit (121), and is configured to perform an AND operation on the first intermediate signal and the first clock signal, and output the first control signal;
    所述第二逻辑单元(123),与所述第一采样单元(121)连接,配置为对所述第三中间信号和所述第二时钟信号进行与运算,输出所述第二控制信号;The second logic unit (123) is connected to the first sampling unit (121), and is configured to perform an AND operation on the third intermediate signal and the second clock signal, and output the second control signal;
    其中,若所述片选信号符合预设条件,则所述第一中间信号和所述第三中间信号均存在脉冲,且脉冲宽度均大于初始时钟周期。If the chip selection signal meets a preset condition, then both the first intermediate signal and the third intermediate signal have pulses, and the pulse widths are greater than an initial clock cycle.
  7. 根据权利要求1-6任一项所述的命令解码电路,其中,所述第二转换电路(13)包括第二采样单元(131)、第三逻辑单元(132)和第四逻辑单元(133);The command decoding circuit according to any one of claims 1 to 6, wherein the second conversion circuit (13) comprises a second sampling unit (131), a third logic unit (132) and a fourth logic unit (133);
    所述第二采样单元(131),配置为利用所述第三时钟信号采样所述片选信号以产生第四中间信号,利用所述第三时钟信号的反相信号采样所述第四中间信号以产生第五中间信号,利用所述第四时钟信号采样所述第五中间信号以产生第六中间信号;The second sampling unit (131) is configured to sample the chip selection signal using the third clock signal to generate a fourth intermediate signal, sample the fourth intermediate signal using an inverted signal of the third clock signal to generate a fifth intermediate signal, and sample the fifth intermediate signal using the fourth clock signal to generate a sixth intermediate signal;
    所述第三逻辑单元(132),与所述第二采样单元(131)连接,配置为对所述第四中间信号和所述第三时钟信号进行与运算,输出所述第三控制信号;The third logic unit (132) is connected to the second sampling unit (131), and is configured to perform an AND operation on the fourth intermediate signal and the third clock signal, and output the third control signal;
    所述第四逻辑单元(133),与所述第二采样单元(131)连接,配置为对所述第六中间信号和所述第四时钟信号进行与运算,输出所述第四控制信号;The fourth logic unit (133) is connected to the second sampling unit (131), and is configured to perform an AND operation on the sixth intermediate signal and the fourth clock signal, and output the fourth control signal;
    其中,若所述片选信号符合预设条件,则所述第四中间信号和所述第六中间信号均存在脉冲,且脉冲宽度均大于初始时钟周期。If the chip selection signal meets a preset condition, then both the fourth intermediate signal and the sixth intermediate signal have pulses, and the pulse widths are greater than an initial clock cycle.
  8. 根据权利要求6所述的命令解码电路,其中,所述第一采样单元(121)包括第一锁存器(1211)、第二锁存器(1212)、第三锁存器(1213)和第一反相器(1214);其中,The command decoding circuit according to claim 6, wherein the first sampling unit (121) comprises a first latch (1211), a second latch (1212), a third latch (1213) and a first inverter (1214); wherein,
    所述第一锁存器(1211)的输入端接收所述片选信号,所述第一锁存器(1211)的时钟端接收所述第一时钟信号,所述第一锁存器(1211)的输出端输出所述第一中间信号;The input end of the first latch (1211) receives the chip selection signal, the clock end of the first latch (1211) receives the first clock signal, and the output end of the first latch (1211) outputs the first intermediate signal;
    所述第二锁存器(1212)的输入端接收所述第一中间信号,所述第一反相器(1214)的输入端接收所述第一时钟信号,所述第二锁存器(1212)的时钟端与所述第一反相器(1214)的输出端连接,所述第二锁存器(1212)的输出端输出所述第二中间信号;The input end of the second latch (1212) receives the first intermediate signal, the input end of the first inverter (1214) receives the first clock signal, the clock end of the second latch (1212) is connected to the output end of the first inverter (1214), and the output end of the second latch (1212) outputs the second intermediate signal;
    所述第三锁存器(1213)的输入端接收所述第二中间信号,所述第三锁存器(1213)的时钟端接收所述第二时钟信号,所述第三锁存器(1213)的输出 端输出所述第三中间信号。The input terminal of the third latch (1213) receives the second intermediate signal, the clock terminal of the third latch (1213) receives the second clock signal, and the output terminal of the third latch (1213) receives the second intermediate signal. The third intermediate signal is outputted at the terminal.
  9. 根据权利要求7所述的命令解码电路,其中,所述第二采样单元(131)包括第四锁存器(1311)、第五锁存器(1312)、第六锁存器(1313)和第二反相器(1314);The command decoding circuit according to claim 7, wherein the second sampling unit (131) comprises a fourth latch (1311), a fifth latch (1312), a sixth latch (1313) and a second inverter (1314);
    所述第四锁存器(1311)的输入端接收所述片选信号,所述第四锁存器(1311)的时钟端接收所述第三时钟信号,所述第四锁存器(1311)的输出端输出所述第四中间信号;The input end of the fourth latch (1311) receives the chip selection signal, the clock end of the fourth latch (1311) receives the third clock signal, and the output end of the fourth latch (1311) outputs the fourth intermediate signal;
    所述第五锁存器(1312)的输入端接收所述第四中间信号,所述第二反相器(1314)的输入端接收所述第三时钟信号,所述第五锁存器(1312)的时钟端与所述第二反相器(1314)的输出端连接,所述第五锁存器(1312)的输出端输出所述第五中间信号;The input end of the fifth latch (1312) receives the fourth intermediate signal, the input end of the second inverter (1314) receives the third clock signal, the clock end of the fifth latch (1312) is connected to the output end of the second inverter (1314), and the output end of the fifth latch (1312) outputs the fifth intermediate signal;
    所述第六锁存器(1313)的输入端接收所述第五中间信号,所述第六锁存器(1313)的时钟端接收所述第四时钟信号,所述第六锁存器(1313)的输出端输出所述第六中间信号。The input end of the sixth latch (1313) receives the fifth intermediate signal, the clock end of the sixth latch (1313) receives the fourth clock signal, and the output end of the sixth latch (1313) outputs the sixth intermediate signal.
  10. 根据权利要求1-9任一项所述的命令解码电路,其中,所述命令解码电路(10)还包括第一延迟单元(15)和第二延迟单元(16);其中,The command decoding circuit according to any one of claims 1 to 9, wherein the command decoding circuit (10) further comprises a first delay unit (15) and a second delay unit (16); wherein,
    所述第一延迟单元(15),与所述第一转换电路(12)、所述第二转换电路(13)连接,配置为从外部接收初始片选信号,对所述初始片选信号进行延迟处理,输出所述片选信号;The first delay unit (15) is connected to the first conversion circuit (12) and the second conversion circuit (13), and is configured to receive an initial chip selection signal from the outside, delay the initial chip selection signal, and output the chip selection signal;
    所述第二延迟单元(16),与所述命令采样电路14连接,配置为从外部接收初始命令地址信号,对所述初始命令地址信号进行延迟处理,输出所述命令地址信号。The second delay unit (16) is connected to the command sampling circuit 14, and is configured to receive an initial command address signal from the outside, delay the initial command address signal, and output the command address signal.
  11. 根据权利要求1-10任一项所述的命令解码电路,其中,所述目标采样信号包括第一采样信号、第二采样信号、第三采样信号和第四采样信号,且所述命令地址信号、所述第一采样信号、所述第二采样信号、所述第三采样信号和所述第四采样信号均包括(N+1)位子信号,所述命令采样电路(14)包括(N+1)个命令采样单元;The command decoding circuit according to any one of claims 1 to 10, wherein the target sampling signal comprises a first sampling signal, a second sampling signal, a third sampling signal and a fourth sampling signal, and the command address signal, the first sampling signal, the second sampling signal, the third sampling signal and the fourth sampling signal all comprise (N+1)-bit sub-signals, and the command sampling circuit (14) comprises (N+1) command sampling units;
    第i个所述命令采样单元,配置为利用所述第一控制信号对所述命令地址信号的第i位子信号进行两次采样处理,输出所述第一采样信号的第i位子信号;利用所述第二控制信号对所述命令地址信号的第i位子信号进行一次采样处理,输出所述第二采样信号的第i位子信号,利用所述第三控制信号对所述命令地址信号的第i位子信号进行两次采样处理,输出所述第三采样信号的第i位子信号,利用所述第四控制信号对所述命令地址信号的第i位子信号进行一次采样处理,输出所述第四采样信号的第i位子信号;The i-th command sampling unit is configured to perform sampling processing on the i-th sub-signal of the command address signal twice using the first control signal, and output the i-th sub-signal of the first sampling signal; perform sampling processing on the i-th sub-signal of the command address signal once using the second control signal, and output the i-th sub-signal of the second sampling signal; perform sampling processing on the i-th sub-signal of the command address signal twice using the third control signal, and output the i-th sub-signal of the third sampling signal; perform sampling processing on the i-th sub-signal of the command address signal once using the fourth control signal, and output the i-th sub-signal of the fourth sampling signal;
    其中,所述第一采样信号和所述第二采样信号在时序上处于对齐状态,所述第三采样信号和所述第四采样信号在时序上处于对齐状态,i、N为正整数,且i小于等于(N+1)。The first sampling signal and the second sampling signal are aligned in timing, the third sampling signal and the fourth sampling signal are aligned in timing, i and N are positive integers, and i is less than or equal to (N+1).
  12. 根据权利要求11所述的命令解码电路,其中,第i个所述命令采样单元包括第一触发器(141)、第七锁存器(142)、第二触发器(143)、第三触发器(144)、第八锁存器(145)和第四触发器(146);其中, The command decoding circuit according to claim 11, wherein the i-th command sampling unit comprises a first flip-flop (141), a seventh latch (142), a second flip-flop (143), a third flip-flop (144), an eighth latch (145) and a fourth flip-flop (146); wherein,
    所述第一触发器(141)的输入端接收所述命令地址信号的第i位子信号,所述第一触发器(141)的时钟端接收所述第一控制信号,所述第七锁存器(142)的输入端与所述第七锁存器(142)的输出端连接,所述第七锁存器(142)的时钟端接收所述第一控制信号,所述第七锁存器(142)的输出端输出所述第一采样信号的第i位子信号;The input end of the first flip-flop (141) receives the i-th sub-signal of the command address signal, the clock end of the first flip-flop (141) receives the first control signal, the input end of the seventh latch (142) is connected to the output end of the seventh latch (142), the clock end of the seventh latch (142) receives the first control signal, and the output end of the seventh latch (142) outputs the i-th sub-signal of the first sampling signal;
    所述第二触发器(143)的输入端接收所述命令地址信号的第i位子信号,所述第二触发器(143)的时钟端接收所述第二控制信号,所述第二触发器(143)的输出端输出所述第二采样信号的第i位子信号;The input end of the second flip-flop (143) receives the i-th sub-signal of the command address signal, the clock end of the second flip-flop (143) receives the second control signal, and the output end of the second flip-flop (143) outputs the i-th sub-signal of the second sampling signal;
    所述第三触发器(144)的输入端接收所述命令地址信号的第i位子信号,所述第三触发器(144)的时钟端接收所述第三控制信号,所述第八锁存器(145)的输入端与所述第三触发器(144)的输出端连接,所述第八锁存器(145)的时钟端接收所述第三控制信号,所述第八锁存器(145)的输出端输出所述第三采样信号的第i位子信号;The input end of the third flip-flop (144) receives the i-th sub-signal of the command address signal, the clock end of the third flip-flop (144) receives the third control signal, the input end of the eighth latch (145) is connected to the output end of the third flip-flop (144), the clock end of the eighth latch (145) receives the third control signal, and the output end of the eighth latch (145) outputs the i-th sub-signal of the third sampling signal;
    所述第四触发器(146)的输入端接收所述命令地址信号的第i位子信号,所述第四触发器(146)的时钟端接收所述第四控制信号,所述第四触发器(146)的输出端输出所述第四采样信号的第i位子信号。The input end of the fourth flip-flop (146) receives the i-th sub-signal of the command address signal, the clock end of the fourth flip-flop (146) receives the fourth control signal, and the output end of the fourth flip-flop (146) outputs the i-th sub-signal of the fourth sampling signal.
  13. 根据权利要求12所述的命令解码电路,其中,所述命令解码电路(10)还包括:The command decoding circuit according to claim 12, wherein the command decoding circuit (10) further comprises:
    解码电路(17),与所述第一转换电路(12)、所述第二转换电路(13)和所述命令采样电路(14)连接,配置为对所述第一采样信号、所述第二采样信号、所述第三采样信号和所述第四采样信号进行解码处理,得到中间解码信号;并基于所述第一控制信号和所述第三控制信号对所述中间解码信号进行采样处理,输出目标解码信号;a decoding circuit (17), connected to the first conversion circuit (12), the second conversion circuit (13) and the command sampling circuit (14), configured to decode the first sampling signal, the second sampling signal, the third sampling signal and the fourth sampling signal to obtain an intermediate decoding signal; and to sample the intermediate decoding signal based on the first control signal and the third control signal to output a target decoding signal;
    片选采样电路(18),与所述时钟产生电路(11)连接,配置为接收所述片选信号;利用所述第一时钟信号和所述第三时钟信号分别对所述片选信号进行采样,输出第一片选采样信号和第二片选采样信号;A chip selection sampling circuit (18) is connected to the clock generation circuit (11) and is configured to receive the chip selection signal; use the first clock signal and the third clock signal to sample the chip selection signal respectively, and output a first chip selection sampling signal and a second chip selection sampling signal;
    其中,所述目标解码信号、所述第一片选采样信号和所述第二片选采样信号经过逻辑处理后产生目标命令信号。The target decoding signal, the first chip selection sampling signal and the second chip selection sampling signal are logically processed to generate a target command signal.
  14. 根据权利要求13所述的命令解码电路,其中,所述解码电路包括:The command decoding circuit according to claim 13, wherein the decoding circuit comprises:
    第三延迟单元(151),配置为对所述第一控制信号进行延迟处理,输出第一延迟控制信号;对所述第三控制信号进行延迟处理,输出第二延迟控制信号;A third delay unit (151) is configured to delay the first control signal and output a first delayed control signal; and delay the third control signal and output a second delayed control signal;
    第一解码单元(152),与所述第三延迟单元(151)连接,配置为对所述第一采样信号的(N+1)位子信号和所述第二采样信号的(N+1)位子信号进行逻辑运算,输出第一解码信号;利用所述第二延迟控制信号对所述第一解码信号进行采样处理,输出第一目标信号;A first decoding unit (152) is connected to the third delay unit (151) and is configured to perform a logic operation on the (N+1)-bit sub-signal of the first sampling signal and the (N+1)-bit sub-signal of the second sampling signal to output a first decoded signal; and perform sampling processing on the first decoded signal using the second delay control signal to output a first target signal;
    第二解码单元(153),与所述第三延迟单元(151)连接,配置为对所述第三采样信号的(N+1)位子信号和所述第四采样信号的(N+1)位子信号进行逻辑运算,输出第二解码信号;利用所述第一延迟控制信号对所述第二解码信号进行采样处理,输出第二目标信号;a second decoding unit (153), connected to the third delay unit (151), configured to perform a logic operation on the (N+1)-bit sub-signal of the third sampling signal and the (N+1)-bit sub-signal of the fourth sampling signal, and output a second decoded signal; and perform sampling processing on the second decoded signal using the first delay control signal, and output a second target signal;
    其中,所述第一目标信号和所述第二目标信号组成所述目标解码信号,所 述第一目标信号指示所述命令地址信号在第1个初始时钟周期的内容;所述第二目标信号指示所述命令地址信号在第2个初始时钟周期的内容。The first target signal and the second target signal constitute the target decoded signal. The first target signal indicates the content of the command address signal in the first initial clock cycle; the second target signal indicates the content of the command address signal in the second initial clock cycle.
  15. 一种半导体存储器,包括如权利要求1至14任一项所述的命令解码电路(10)。A semiconductor memory comprises a command decoding circuit (10) as claimed in any one of claims 1 to 14.
  16. 根据权利要求15所述的半导体存储器,其中,所述半导体存储器为动态随机存取存储器DRAM,且所述半导体存储器符合LPDDR6内存规格。 The semiconductor memory according to claim 15, wherein the semiconductor memory is a dynamic random access memory DRAM, and the semiconductor memory complies with LPDDR6 memory specifications.
PCT/CN2023/110798 2022-10-27 2023-08-02 Command decoding circuit and semiconductor memory WO2024087781A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211324749.2 2022-10-27
CN202211324749.2A CN117995239A (en) 2022-10-27 2022-10-27 Command decoding circuit and semiconductor memory

Publications (1)

Publication Number Publication Date
WO2024087781A1 true WO2024087781A1 (en) 2024-05-02

Family

ID=90829953

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/110798 WO2024087781A1 (en) 2022-10-27 2023-08-02 Command decoding circuit and semiconductor memory

Country Status (2)

Country Link
CN (1) CN117995239A (en)
WO (1) WO2024087781A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090302901A1 (en) * 2008-06-05 2009-12-10 Hynix Semiconductor Inc. Command decoder and command signal generating circuit
CN111223504A (en) * 2018-11-23 2020-06-02 三星电子株式会社 Interface chip and memory device including the same
KR20220002037A (en) * 2020-06-30 2022-01-06 에스케이하이닉스 주식회사 Memory apparatus, a semiconductor system including the same and an operating method thereof
CN114678056A (en) * 2022-03-23 2022-06-28 长鑫存储技术有限公司 Signal sampling circuit and semiconductor memory
CN114842890A (en) * 2022-05-30 2022-08-02 长鑫存储技术有限公司 Refresh circuit, semiconductor memory refresh method, and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090302901A1 (en) * 2008-06-05 2009-12-10 Hynix Semiconductor Inc. Command decoder and command signal generating circuit
CN111223504A (en) * 2018-11-23 2020-06-02 三星电子株式会社 Interface chip and memory device including the same
KR20220002037A (en) * 2020-06-30 2022-01-06 에스케이하이닉스 주식회사 Memory apparatus, a semiconductor system including the same and an operating method thereof
CN114678056A (en) * 2022-03-23 2022-06-28 长鑫存储技术有限公司 Signal sampling circuit and semiconductor memory
CN114842890A (en) * 2022-05-30 2022-08-02 长鑫存储技术有限公司 Refresh circuit, semiconductor memory refresh method, and electronic device

Also Published As

Publication number Publication date
CN117995239A (en) 2024-05-07

Similar Documents

Publication Publication Date Title
US7058799B2 (en) Apparatus and method for clock domain crossing with integrated decode
US8115529B2 (en) Device and control method of device
US7681062B2 (en) Synchronous type semiconductor device for high speed data processing
US7777543B2 (en) Duty cycle correction circuit apparatus
US10725950B2 (en) Peripheral interface circuit for serial memory
US7499370B2 (en) Synchronous semiconductor memory device
US20070147166A1 (en) Apparatus and method of generating output enable signal for semiconductor memory apparatus
US6894551B2 (en) Multiphase clock generators
US20230307023A1 (en) Signal sampling circuit and semiconductor memory
US6195309B1 (en) Timing circuit for a burst-mode address counter
US7843743B2 (en) Data output circuit for semiconductor memory apparatus
CN111161766B (en) DDR SDRAM physical layer interface circuit and DDR SDRAM control device
CN116844596A (en) Signal sampling circuit and semiconductor memory
WO2024087781A1 (en) Command decoding circuit and semiconductor memory
US6972998B1 (en) Double data rate memory devices including clock domain alignment circuits and methods of operation thereof
US11329651B2 (en) Integrated circuit
CN113726335B (en) Clock control circuit, clock circuit and electronic device
WO2024060317A1 (en) Command decoding circuit and method thereof, and semiconductor memory
US20230325199A1 (en) Method of Resetting Integrated Circuit, and Integrated Circuit
KR20120119348A (en) Delay circuit and latency control circuit of memory and signal delay method
US20230017682A1 (en) Signal sampling circuit and semiconductor memory
WO2023221230A1 (en) Time delay circuit and memory
US11695394B2 (en) Data synthesizer
WO2024007399A1 (en) Memory, control apparatus, clock processing method, and electronic device
US20230378956A1 (en) Delay circuit and memory