WO2024060317A1 - Command decoding circuit and method thereof, and semiconductor memory - Google Patents

Command decoding circuit and method thereof, and semiconductor memory Download PDF

Info

Publication number
WO2024060317A1
WO2024060317A1 PCT/CN2022/123984 CN2022123984W WO2024060317A1 WO 2024060317 A1 WO2024060317 A1 WO 2024060317A1 CN 2022123984 W CN2022123984 W CN 2022123984W WO 2024060317 A1 WO2024060317 A1 WO 2024060317A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
clock
clock signal
sampling
command
Prior art date
Application number
PCT/CN2022/123984
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 WO2024060317A1 publication Critical patent/WO2024060317A1/en

Links

Images

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/408Address 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/41Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming static cells with positive feedback, i.e. cells not needing refreshing or charge regeneration, e.g. bistable multivibrator or Schmitt trigger
    • G11C11/413Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing, timing or power reduction
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C8/00Arrangements for selecting an address in a digital store
    • G11C8/10Decoders

Definitions

  • the present disclosure relates to the field of integrated circuit technology, and in particular, to a command decoding circuit and method thereof, and a semiconductor memory.
  • the present disclosure provides a command decoding circuit, a method thereof, and a semiconductor memory, which can achieve correct decoding of command address signals.
  • an embodiment of the present disclosure provides a command decoding circuit, where the command decoding circuit includes:
  • a clock processing module configured to receive an initial clock signal, perform frequency division and phase division processing on the initial clock signal, and output a first clock signal, a second clock signal, a third clock signal, and a fourth clock signal; wherein the first clock signal, the second clock signal, the third clock signal, and the fourth clock signal are a group of signals with the same clock period and phases that differ by 90 degrees in sequence, the rising edge of the first clock signal is aligned with the rising edge of the initial clock signal, and the clock period of the first clock signal is twice the clock period of the initial clock signal;
  • a command sampling module connected to the clock processing module, is configured to receive a command address signal; use the first clock signal, the second clock signal, the third clock signal and the fourth clock signal to respectively The command address signal is sampled, and the first sampling signal, the second sampling signal, the third sampling signal and the fourth sampling signal are output;
  • a decoding module connected to the clock processing module and the command sampling module, and configured to decode the first sampling signal, the second sampling signal, and the The third sampling signal and the fourth sampling signal are decoded and sampled, and a target decoded signal is output.
  • the rising edge of the first clock signal is aligned with the rising edge of the initial clock signal in odd clock cycles
  • the rising edge of the second clock signal is aligned with the rising edge of the initial clock signal in odd clock cycles.
  • Falling edge alignment the rising edge of the third clock signal is aligned with the rising edge of the initial clock signal in even-numbered clock cycles
  • the rising edge of the fourth clock signal is aligned with the falling edge of the initial clock signal in even-numbered clock cycles. Alignment.
  • the command decoding circuit further includes: a chip select sampling module, connected to the clock processing module and configured to receive a chip select signal; using the first clock signal and the third clock signal to respectively The chip select signal is sampled, and a first chip select sampling signal and a second chip select sampling signal are output; wherein the chip select signal is used to indicate whether the command address signal is valid or invalid.
  • the command address signal, the first sampling signal, the second sampling signal, the third sampling signal and the fourth sampling signal each include N-bit sub-signals
  • the command sampling module It includes N command sampling units; the i-th command sampling unit is connected to the clock processing module and is configured to delay processing the i-th sub-signal of the command address signal to obtain a signal to be processed; using the i-th command sampling unit A clock signal is used to sample the signal to be processed, and the i-th sub-signal of the first sampling signal is output; the second clock signal is used to sample the signal to be processed, and the second sampling signal is output.
  • the i-th sub-signal of the third sampling signal is used to sample the signal to be processed, the i-th sub-signal of the third sampling signal is output, and the fourth clock signal is used to perform sampling processing on the signal to be processed.
  • Sampling process output the i-th sub-signal of the fourth sampling signal, where i and N are positive integers, and i is less than or equal to N.
  • the i-th command sampling unit includes a first delay unit, a first trigger, a second trigger, a third trigger and a fourth trigger; wherein the input end of the first delay unit receives the i-th sub-signal of the command address signal, and the output end of the first delay unit outputs the signal to be processed; the input end of the first trigger receives the signal to be processed, the clock end of the first trigger receives the first clock signal, and the output end of the first trigger outputs the i-th sub-signal of the first sampling signal; the input end of the second trigger receives the signal to be processed, the clock end of the second trigger receives the second clock signal, and 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 signal to be processed, the clock end of the third trigger receives the third clock signal, and the output end of the third trigger outputs the i-th sub-signal of the third sampling signal; the input end of the fourth trigger receives
  • the decoding module includes: a second delay unit connected to the clock processing module and configured to receive the first clock signal, delay the first clock signal, and output a first delayed clock signal; a third delay unit, connected to the clock processing module, configured to receive the third clock signal, delay the third clock signal, and output a third delayed clock signal; a decoding processing unit, connected to the command The sampling module, the second delay unit and the third delay unit are all connected, and are configured to compare the N-bit sub-signal of the first sampling signal and the N-bit sub-signal of the second sampling signal based on the third delayed clock signal.
  • the signal is decoded and sampled, and a first decoded signal is output; the N-bit sub-signal of the third sampling signal and the N-bit sub-signal of the fourth sampling signal are decoded and sampled based on the first delayed clock signal, and output a second decoded signal; wherein the first decoded signal and the second decoded signal constitute the target decoded signal, and the first decoded signal indicates the content of the command address signal in the first initial clock cycle; the The second decoded signal indicates the content of the command address signal in the second initial clock cycle, and the initial clock cycle refers to the clock cycle of the initial clock signal.
  • the decoding processing unit includes: a first decoding unit, connected to the command sampling module and the third delay unit, configured to process the N-bit sub-signal of the first sampling signal and the third delay unit. Perform logical operations on the N-bit sub-signals of the two sampled signals to output a first intermediate signal; use the third delayed clock signal to perform sampling processing on the first intermediate signal and output the first decoded signal; a second decoding unit, and The command sampling module is connected to the second delay unit, and is configured to perform logical operations on the N-bit sub-signal of the third sampling signal and the N-bit sub-signal of the fourth sampling signal, and output a second intermediate signal; using the The first delayed clock signal performs sampling processing on the second intermediate signal and outputs the second decoded signal.
  • the first decoding unit includes a first logic unit and a fifth flip-flop; wherein the input end of the first logic unit receives the 4-bit sub-signal of the first sampling signal and The 4-bit sub-signal of the second sampling signal, the output terminal of the first logic unit outputs the first intermediate signal; the input terminal of the fifth flip-flop receives the first intermediate signal, and the input terminal of the fifth flip-flop receives the first intermediate signal.
  • the clock terminal receives the third delayed clock signal, and the output terminal of the fifth flip-flop outputs the first decoded signal.
  • N 4;
  • the second decoding unit includes a second logic unit and a sixth flip-flop; the input end of the second logic unit receives the 4-bit sub-signal of the third sampling signal and the The 4-bit sub-signal of the fourth sampling signal, the output terminal of the second logic unit outputs the second intermediate signal; the input terminal of the sixth flip-flop receives the second intermediate signal, and the clock terminal of the sixth flip-flop After receiving the first delayed clock signal, the output terminal of the sixth flip-flop outputs the second decoded signal.
  • the chip select sampling module includes a fourth delay unit, a seventh flip-flop and an eighth flip-flop; wherein the input end of the fourth delay unit receives the chip select signal, and the fourth delay unit receives the chip select signal.
  • the output terminal of the delay unit outputs a chip select delay signal; the input terminal of the seventh flip-flop receives the chip select delay signal, the clock terminal of the seventh flip-flop receives the first clock signal, and the seventh flip-flop receives the chip select delay signal.
  • the output terminal of the flip-flop outputs the first chip select sampling signal; the input terminal of the eighth flip-flop receives the chip select delay signal, and the clock terminal of the eighth flip-flop receives the third clock signal.
  • the output terminal of the eighth flip-flop outputs the second chip select sampling signal.
  • an embodiment of the present disclosure provides a command decoding method, the method comprising:
  • the initial clock signal is subjected to frequency division and phase separation processing to output a first clock signal, a second clock signal, a third clock signal and a fourth clock signal; wherein the first clock signal, the second clock signal, the The third clock signal and the fourth clock signal are a set of signals with the same clock period and a phase difference of 90 degrees.
  • the rising edge of the first clock signal is aligned with the rising edge of the initial clock signal.
  • the clock period of a clock signal is twice the clock period of the initial clock signal;
  • the first sampling signal, the second sampling signal, the third sampling signal and the fourth sampling signal are decoded and sampled based on the first clock signal and the third clock signal to output a target Decode the signal.
  • the rising edge of the first clock signal is aligned with the rising edge of the initial clock signal in odd periods
  • the rising edge of the second clock signal is aligned with the falling edge of the initial clock signal in odd periods.
  • the method further includes: using the first clock signal and the third clock signal to respectively sample a chip select signal, and outputting a first chip select sampling signal and a second chip select sampling signal; wherein , the chip select signal is used to indicate whether the command address signal is valid or invalid.
  • 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 LPDDR6 memory specifications.
  • DRAM dynamic random access memory
  • Embodiments of the present disclosure provide a command decoding circuit, a method thereof, and a semiconductor memory.
  • the initial clock signal is frequency-divided and phase-divided to generate a first clock signal to a fourth clock signal, and the first clock signal to the fourth clock signal are used.
  • the signal samples and decodes the command address signal to achieve correct decoding of the command address signal.
  • Figure 1 is a schematic structural diagram of a command decoding circuit provided by an embodiment of the present disclosure
  • Figure 2 is a schematic diagram of a partial structure of a command decoding circuit provided by an embodiment of the present disclosure
  • Figure 3 is a schematic diagram 2 of a partial structure of a command decoding circuit provided by an embodiment of the present disclosure
  • Figure 4 is a schematic diagram 3 of a partial structure of a command decoding circuit provided by an embodiment of the present disclosure
  • Figure 5 is a schematic structural diagram of another command decoding circuit provided by an embodiment of the present disclosure.
  • FIG6 is a fourth partial structural diagram of a command decoding circuit provided in an embodiment of the present disclosure.
  • Figure 7 is a signal timing diagram provided by an embodiment of the present disclosure.
  • Figure 8 is a schematic flowchart of a command decoding method provided by an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a semiconductor memory provided by an embodiment of the present disclosure.
  • first ⁇ second ⁇ third involved in the embodiments of this disclosure are only used to distinguish similar objects and do not represent a specific ordering of objects. It is understandable that "first ⁇ second ⁇ third” Where permitted, the specific order or sequence may be interchanged so that the disclosed embodiments described herein can be practiced in an order other than that illustrated or described herein.
  • DRAM Dynamic Random Access Memory
  • SDRAM Synchronous Dynamic Random Access Memory
  • Low Power DDR Low Power DDR (Low Power DDR, LPDDR)
  • DFF Data Flip-Flop or Delay Flip-Flop
  • Command address input (Command/Address, CMD/ADD or CA for short)
  • the CA input and CS input need to be sampled and decoded according to the initial clock signal Clk.
  • the command part of the CA input (hereinafter referred to as CA Command) lasts for 2 initial clock cycles, on the rising edge and falling edge of the first initial clock cycle and on the rising edge and falling edge of the second initial clock cycle.
  • CA Command needs to be sampled; the CS input lasts for 2 initial clock cycles, and the CS input needs to be sampled on 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 set of signals composed of 4 sub-signals, whose sub-signals are represented as CA0, CA1, CA2 and CA3 respectively. See Table 1, which shows a partial command truth table for LPDDR6.
  • Table 1 shows a partial command truth table for LPDDR6.
  • 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 second
  • F2 refers to the falling edge of the second initial clock cycle
  • CS CA0 ⁇ CA3
  • “H” means high level state
  • L means low level state
  • X indicates that the level status is not concerned.
  • the command decoding circuit in the semiconductor memory needs to be based on the R1 sampling result of CS input, the R2 sampling result of CS input, the R1 sampling result of CA Command, the F1 sampling result of CA Command, the R2 sampling result of CA Command,
  • the F2 sampling result of CA Command is decoded to obtain the specific command of this CA Command (such as DES, NOP, PDE, SRE, ACT-1, ACT-2).
  • FIG. 1 shows a schematic structural diagram of a command decoding circuit 10 provided by an embodiment of the present disclosure.
  • the command decoding circuit 10 includes:
  • the clock processing module 11 is configured to receive the initial clock signal Clk, perform frequency division and phase division processing on the 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 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 a group of signals with the same clock cycle and a phase difference of 90 degrees in sequence.
  • the rising edge of the first clock signal Clk_R0 is the same as The rising edge of the initial clock signal Clk is aligned, and the clock period of the first clock signal Clk_R0 is twice the clock period of the initial clock signal Clk;
  • the command sampling module 12 is connected to the clock processing module 11 and is configured to receive the command address signal CA Command, and use 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 to respectively analyze the command address.
  • the signal CA Command is sampled and outputs the first sampling signal CA ⁇ N:0>_R0, the second sampling signal CA ⁇ N:0>_F0, the third sampling signal CA ⁇ N:0>_R1 and the fourth sampling signal CA ⁇ N :0>_F1;
  • the decoding module 13 is connected to the clock processing module 11 and the command sampling module 12, and is configured to process the first sampling signal CA ⁇ N:0>_R0 and the second sampling signal CA ⁇ N based on the first clock signal Clk_R0 and the third clock signal Clk_R1. :0>_F0, the third sampling signal CA ⁇ N:0>_R1 and the fourth sampling signal CA ⁇ N:0>_F1 are decoded and sampled, and a target decoded signal is output.
  • command decoding circuit 10 of the embodiment of the present disclosure is applied to a semiconductor memory to realize the decoding requirements of the command address signal CA Command in LPDDR6.
  • command decoding circuit 10 can also be applied in a variety of circuit scenarios with similar requirements. The embodiments of the present disclosure will be explained and illustrated later with the decoding of the command address signal CA Command, but this does not constitute a relevant limitation.
  • the command address signal CA Command lasts for 2 initial clock cycles, and the initial clock cycle refers to the clock cycle of the initial clock signal Clk.
  • the rising edge of the first initial clock cycle is represented by R0
  • the falling edge of the first initial clock cycle is represented by F0
  • the rising edge of the second initial clock cycle is represented by F0
  • the edge is represented by R1
  • the falling edge of the second initial clock cycle is represented by F1. This part is different from Table 1.
  • the rising edge of the first clock signal Clk_R0 is aligned with the rising edge of the initial clock signal Clk in odd clock cycles
  • the rising edge of the second clock signal Clk_F0 is aligned with the falling edge of the initial clock signal Clk in odd clock cycles.
  • the rising edge of the third clock signal Clk_R1 is aligned with the rising edge of the initial clock signal Clk in even-numbered clock cycles
  • the rising edge of the fourth clock signal Clk_F1 is aligned with the falling edge of the initial clock signal Clk in even-numbered clock cycles.
  • the rising edges of the first clock signal Clk_R0 and the third clock signal Clk_R1 are alternately aligned with the rising edges of the initial clock signal Clk
  • the rising edges of the second clock signal Clk_F0 and the fourth clock signal Clk_F1 are alternately aligned with the rising edges of the initial clock signal Clk.
  • the falling edge of the clock signal Clk is aligned. Therefore, the first sampling signal can indicate the sampling result of the command address signal CA Command at the rising edge of the first initial clock cycle
  • the second sampling signal can indicate the sampling result of the command address signal CA Command at the falling edge of the first initial clock cycle.
  • the third sampling signal can indicate the sampling result of the command address signal CA Command at the rising edge of the second initial clock cycle
  • the fourth sampling signal can indicate the sampling result of the command address signal CA Command at the falling edge of the second initial clock cycle.
  • the clock processing module 11 may include a frequency dividing module and a phase dividing module;
  • the frequency dividing module is configured to receive the initial clock signal Clk, divide the initial clock signal Clk, and output the divided clock signal; the clock period of the divided clock signal is twice the clock period of the initial clock signal Clk;
  • the phase separation module is connected to the frequency division module and is configured to receive the frequency division clock signal, perform phase separation processing on the frequency division clock signal, 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 frequency dividing module can be implemented using a two-frequency dividing component composed of a NOT gate and a D-type flip-flop; the phase splitting module can be implemented using multiple D-type flip-flops and delay devices.
  • the command address signal CA Command, the first sampling signal CA ⁇ N:0>_R0, the second sampling signal CA ⁇ N:0>_F0, the third sampling signal CA ⁇ N:0>_R1 and the fourth The sampling signals CA ⁇ N:0>_F1 each include N-bit sub-signals.
  • the command address signal CA Command can include four sub-signals CA0, CA1, CA2, and CA3, and the first sampling signal CA ⁇ N:0>_R0 can include four sub-signals CA0_R0, CA1_R0, CA2_R0, and CA3_R0.
  • the second sampling signal CA ⁇ N:0>_F0 may include the four sub-signals CA0_F0, CA1_F0, CA2_F0, and CA3_F0;
  • the third sampling signal CA ⁇ N:0>_R1 may include the four sub-signals CA0_R1, CA1_R1, CA2_R1, and CA3_R1 ;
  • the fourth sampling signal may include four sub-signals: CA0_F1, CA1_F1, CA2_F1, and CA3_F1.
  • FIG. 2 shows a schematic diagram 1 of a partial structure of a command decoding circuit 10 provided by an embodiment of the present disclosure.
  • the i-th command sampling unit is connected to the clock processing module 11 and is configured to delay processing the i-th sub-signal of the command address signal CA Command to obtain a signal to be processed; use the first clock signal Clk_R0 to sample the signal to be processed and output The i-th sub-signal of the first sampling signal CA ⁇ N:0>_R0; the second clock signal Clk_F0 is used to sample the signal to be processed, and the i-th sub-signal of the second sampling signal CA ⁇ N:0>_F0 is output.
  • the third clock signal Clk_R1 samples the signal to be processed and outputs the i-th sub-signal of the third sampling signal CA ⁇ N:0>_R1.
  • the fourth clock signal Clk_F1 is used to sample the signal to be processed and outputs the fourth sampling signal CA ⁇ N :0>_F1's i-th sub-signal, where i and N are positive integers, and i is less than or equal to N.
  • the i-th command sampling unit includes a first delay unit 121, a first flip-flop 122, a second flip-flop 123, a third flip-flop 124 and a fourth flip-flop 125.
  • first delay unit 121 the delay unit
  • second flip-flop 123 the flip-flop 122
  • third flip-flop 124 the flip-flop 124
  • fourth flip-flop 125 the devices in the first command sampling unit are labeled, others can be understood by reference.
  • the input terminal of the first delay unit 121 receives the i-th sub-signal CAi of the command address signal, and the output terminal of the first delay unit 121 outputs the signal to be processed CAi_D; the input terminal of the first flip-flop 122 receives the signal to be processed CAi_D, and the first trigger
  • the clock terminal of the circuit breaker 122 receives the first clock signal Clk_R0, and the output terminal of the first flip-flop 122 outputs the i-th sub-signal CAi_R0 of the first sampling signal;
  • the input terminal of the second flip-flop 123 receives the signal to be processed CAi_D, and the second flip-flop 123
  • the clock terminal of 123 receives the second clock signal Clk_F0, and the output terminal of the second flip-flop 123 outputs the i-th sub-signal CAi_F0 of the second sampling signal;
  • the input terminal of the third flip-flop 124 receives the signal to be processed CAi_D, and the third flip-
  • each command sampling unit has its own first delay unit, first flip-flop, second flip-flop, third flip-flop and fourth flip-flop.
  • the first delay unit 121 delays CA0 to output CA0_D, and uses the first clock signal Clk_R0 to sample CA0_D through the first flip-flop 122 to output CA0_R0.
  • 123 uses the second clock signal Clk_F0 to sample CA0_D to output CA0_F0, uses the third flip-flop 124 to use the third clock signal Clk_R1 to sample CA0_D to output CA0_R1, and uses the fourth flip-flop 125 to use the fourth clock signal Clk_F1 to sample CA0_D to output CA0_F1.
  • the first delay unit delays CA1 to output CA1_D, uses the first clock signal Clk_R0 to sample CA1_D through the first flip-flop to output CA1_R0, and uses the second clock signal Clk_F0 to sample CA1_D through the second flip-flop.
  • the first delay unit delays CA2 to output CA2_D, uses the first clock signal Clk_R0 to sample CA2_D through the first flip-flop to output CA2_R0, and uses the second flip-flop to sample CA2_D using the second clock signal Clk_F0 to output CA2_D.
  • the first delay unit delays CA3 to output CA3_D, uses the first clock signal Clk_R0 to sample CA3_D through the first flip-flop to output CA3_R0, and uses the second flip-flop to sample CA3_D using the second clock signal Clk_F0 to output CA3_D.
  • CA0_R0, CA1_R0, CA2_R0, and CA3_R0 together form the aforementioned first sampling signal CA ⁇ N:0>_R0
  • CA0_F0, CA1_F0, CA2_F0, and CA3_F0 together form the aforementioned second sampling signal CA ⁇ N:0>_F0
  • CA0_R1, CA1_R1, CA2_R1, and CA3_R1 together constitute the aforementioned third sampling signal CA ⁇ N:0>_R1
  • CA0_F1, CA1_F1, CA2_F1, and CA3_F1 together constitute the aforementioned fourth sampling signal CA ⁇ N:0>_F1.
  • the aforementioned first delay unit can be formed by conventional delay devices.
  • the first delay unit can be designed as a circuit with adjustable delay parameters or a circuit with non-adjustable delay parameters, and its function is to delay the command address signal to achieve delay matching between the command address signal and the four clock signals (the first clock signal to the fourth clock signal).
  • the decoding module 13 includes:
  • the second delay unit 131 is connected to the clock processing module 11 and is configured to receive the first clock signal Clk_R0, delay the first clock signal Clk_R0, and output the first delayed clock signal Clk_R0d;
  • the third delay unit 132 is connected to the clock processing module 11 and is configured to receive the third clock signal Clk_R1, delay the third clock signal Clk_R1, and output the third delayed clock signal Clk_R1d;
  • the decoding processing unit 133 is connected to the command sampling module 12, the second delay unit 131 and the third delay unit 132, and is configured to decode and sample the N-bit sub-signal of the first sampling signal CA ⁇ N:0>_R0 and the N-bit sub-signal of the second sampling signal CA ⁇ N:0>_F0 based on the third delayed clock signal Clk_R1d, and output a first decoded signal CmdR1; decode and sample the N-bit sub-signal of the third sampling signal CA ⁇ N:0>_R1 and the N-bit sub-signal of the fourth sampling signal based on the first delayed clock signal Clk_R0d, and output a second decoded signal CmdR0.
  • first decoded signal CmdR1 and the second decoded signal CmdR0 constitute the target decoded signal.
  • the first decoding signal CmdR1 indicates the content of the command address signal CA Command in the first initial clock cycle;
  • the second decoding signal CmdR0 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 second delay unit 131 and the third delay unit 132 may have the same or different principles as the first delay unit. Specifically, the second delay unit 131 and the third delay unit 132 may also be called ClkDly, and are also composed of conventional delay devices. Further, the second delay unit 131 (or the third delay unit 132) may be designed as a circuit with adjustable delay parameters, or may be designed as a circuit with unadjustable delay parameters.
  • the function of the second delay unit 131 is to delay the first clock signal Clk_R0 to achieve delay matching between the first clock signal Clk_R0 and the first intermediate signal.
  • the function of the second delay unit 131 is to delay the third clock signal Clk_R1 To achieve delay matching between the third clock signal Clk_R1 and the second intermediate signal.
  • the decoding processing unit 133 includes:
  • the first decoding unit 21 is connected to the command sampling module 12 and the third delay unit 132, and is configured to decode the N-bit sub-signal of the first sampling signal CA ⁇ N:0>_R0 and the second sampling signal CA ⁇ N:0>_F0. Perform logical operations on the N-bit sub-signals and output the first intermediate signal; use the third delayed clock signal Clk_R1d to sample the first intermediate signal and output the first decoded signal CmdR1;
  • the second decoding unit 22 is connected to the command sampling module 12 and the second delay unit 131, and is configured to decode the N-bit sub-signal of the third sampling signal CA ⁇ N:0>_R1 and the fourth sampling signal CA ⁇ N:0>_F1.
  • the N-bit sub-signals perform logical operations and output the second intermediate signal; the first delayed clock signal Clk_R0d is used to sample the second intermediate signal and output the second decoded signal CmdR0.
  • the first decoding unit 21 includes a first logic unit 211 and a fifth flip-flop 212; wherein, the input terminal of the first logic unit 211 After receiving the 4-bit sub-signals of the first sampling signal (i.e., CA0_R0, CA1_R0, CA2_R0, CA3_R0) and the 4-bit sub-signals of the second sampling signal (i.e., CA0_F0, CA1_F0, CA2_F0, CA3_F0), the output end of the first logic unit 211 outputs the first Intermediate signal; the input terminal of the fifth flip-flop 212 receives the first intermediate signal, the clock terminal of the fifth flip-flop 212 receives the third delayed clock signal Clk_R1d, and the output terminal of the fifth flip-flop 212 outputs the first decoded signal CmdR1.
  • the first sampling signal i.e., CA0_R0, CA1_R0, CA2_R0, CA3_R0
  • the second decoding unit 22 includes a second logic unit 221 and a sixth flip-flop 222; the input end of the second logic unit 221 receives the 4-bit sub-signals of the third sampling signal (i.e., CA0_R1, CA1_R1, CA2_R1, CA3_R1) and the 4-bit sub-signal of the fourth sampling signal (i.e., CA0_F1, CA1_F1, CA2_F1, CA3_F1), the output terminal of the second logic unit 221 outputs the second intermediate signal; the input terminal of the sixth flip-flop 222 receives the second intermediate signal signal, the clock terminal of the sixth flip-flop 222 receives the first delayed clock signal Clk_R1d, and the output terminal of the sixth flip-flop 222 outputs the second decoded signal CmdR0.
  • the third sampling signal i.e., CA0_R1, CA1_R1, CA2_R1, CA3_R1
  • the 4-bit sub-signal of the fourth sampling signal i.e., CA
  • first logic unit 211 (or the second logic unit 221) can be implemented by a variety of logic devices, such as NAND gates, NOT gates, XOR gates, etc., and specific decoding rules (or so-called Decoding rules), which are not limited by the embodiments of this disclosure.
  • 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 used to sample the command address signal CA Command, and the values of the command address signal CA Command in the first initial clock cycle are obtained respectively.
  • the sampling result of the rising edge, the sampling result of the command address signal CA Command on the falling edge of the first initial clock cycle, the sampling result of the command address signal CA Command on the rising edge of the second initial clock cycle and the command address signal CA Command on The sampling result of the falling edge of the second initial clock cycle is used for subsequent decoding processing, which can achieve the correct decoding of the command address signal in LPDDR6 and ensure the normal operation of the memory.
  • the chip select signal CS also lasts for 2 initial clock cycles, and the chip select signal CS needs to be sampled on the rising edge of the first initial clock cycle and the rising edge of the second initial clock cycle.
  • the command decoding circuit 10 further includes:
  • the chip select sampling module 14 is connected to the clock processing module 11 and configured to receive the chip select signal CS; and use the first clock signal Clk_R0 and the third clock signal Clk_R1 to sample the chip select signal CS respectively, and output the first chip select sampling signal CS_R0 and the second chip select sampling signal CS_R1.
  • the chip select signal CS is used to indicate whether the command address signal CA Command is valid or invalid.
  • the command decoding circuit 10 is applied to a semiconductor memory. If the semiconductor memory is selected, the waveform of the chip select signal CS meets the first condition at this time, and the command address signal CA Command is valid; if the memory is not selected, at this time The waveform of the chip select signal CS does not meet the first condition, and the command address signal CA Command is invalid.
  • the chip select sampling module 14 includes a fourth delay unit 141, a seventh flip-flop 142 and an eighth flip-flop 143; wherein, the input of the fourth delay unit 141 The terminal receives the chip select signal CS, the output terminal of the fourth delay unit 141 outputs the chip select delay signal CS_D; the input terminal of the seventh flip-flop 142 receives the chip select delay signal CS_D, and the clock terminal of the seventh flip-flop 142 receives the first clock signal Clk_R0, the output terminal of the seventh flip-flop 142 outputs the first chip select sampling signal CS_R0; the input terminal of the eighth flip-flop 143 receives the chip select delay signal CS_D, and the clock terminal of the eighth flip-flop 143 receives the third clock signal Clk_R1.
  • the output terminal of the eight flip-flop 143 outputs the second chip select sampling signal CS_R1.
  • the fourth delay unit 141 and the first delay unit 121 have the same structure, that is, the fourth delay unit 141 can also be implemented by a variety of delay devices.
  • the aforementioned first to eighth flip-flops can all be implemented by D-type flip-flops, which can use the rising edge of the clock signal (i.e., the signal received at the clock terminal) to sample the input signal (i.e., the signal received at the input terminal). , get the output signal (that is, the signal at the output end).
  • the first to sixth flip-flops 222 each also have a reset terminal, which receives a corresponding reset signal to implement reset processing.
  • FIG. 7 shows a signal timing diagram provided by an embodiment of the present disclosure.
  • the command address signal is represented by CA ⁇ 3:0>
  • the first sampling signal is represented by CA ⁇ 3:0>_R0
  • the second sampling signal is represented by CA ⁇ 3:0>_F0
  • the third sampling signal is represented by is CA ⁇ 3:0>_R1
  • the fourth sampling signal is represented as CA ⁇ 3:0>_F1.
  • the initial clock signal Clk generates 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 after frequency division and phase division.
  • the first clock signal Clk_R0 sampling command address The signal CA ⁇ 3:0> generates the first sampling signal CA ⁇ 3:0>_R0
  • the second clock signal Clk_F0 samples the command address signal CA ⁇ 3:0> to generate the second sampling signal CA ⁇ 3:0>_F0
  • the third The clock signal Clk_R1 samples the command address signal CA ⁇ 3:0> to generate the third sampling signal CA ⁇ 3:0>_R1
  • the fourth clock signal Clk_F1 samples the command address signal CA ⁇ 3:0> to generate the fourth sampling signal CA ⁇ 3: 0>_F1; then, the first sampling signal CA ⁇ 3:0>_R0, the second sampling signal CA ⁇ 3:0>_F0, the third sampling signal CA ⁇ 3:0>_R1 and the fourth sampling signal CA
  • the second clock signal Clk_R1 samples the initial chip select signal CS to generate the first chip select sampling signal CS_R1 (not shown in Figure 7); finally, the first decoded signal Cmd_R0, the second decoded signal Cmd_R1, the first chip select sampled signal CS_R0 and the second
  • the chip select sampling signal CS_R1 is then jointly decoded, and the decoding result is sampled through the command sampling clock signal ClkCmd_R1 to obtain the final target command signal Command.
  • the target command signal Command can indicate the specific content of this CA Command, such as PDE, SRE, ACT-1, ACT-2... in Table 1...
  • the initial state of the initial chip select signal CS is a low level.
  • the initial chip select signal CS generates two consecutive pulses, it indicates that the semiconductor memory is selected, that is, the current CA Command is valid.
  • the embodiment of the present disclosure provides a command decoding circuit, which divides the frequency and phase of the initial clock signal to generate four clock signals (i.e., the first clock signal to the fourth clock signal), and uses the four clock signals to decode the command address signal. Sampling is performed, and the first clock signal and the third clock signal are used to sample the chip select signal, so as to subsequently decode the target command signal Command.
  • the command decoding circuit can sample and decode the command address signal that lasts for 2 initial clock cycles and the chip select signal that lasts for 2 initial clock cycles to achieve correct analysis of the command.
  • FIG. 8 shows a schematic flowchart of a command decoding method provided by an embodiment of the present disclosure. As shown in Figure 8, the method includes:
  • S301 Perform frequency division and phase division processing on the initial clock signal, and output the first clock signal, the second clock signal, the third clock signal and the fourth clock signal; wherein, the first clock signal, the second clock signal, the third clock signal are The signal and the fourth clock signal are a set of signals with the same clock period and a phase difference of 90 degrees in sequence.
  • the rising edge of the first clock signal is aligned with the rising edge of the initial clock signal.
  • the clock period of the first clock signal is the clock of the initial clock signal. 2 times the period.
  • S302 Use the first clock signal, the second clock signal, the third clock signal and the fourth clock signal to sample the command address signal respectively, and output the first sampling signal, the second sampling signal, the third sampling signal and the fourth sampling signal. .
  • S303 Decode and sample the first sampling signal, the second sampling signal, the third sampling signal and the fourth sampling signal based on the first clock signal and the third clock signal, and output the target decoded signal.
  • the rising edge of the first clock signal is aligned with the rising edge of the initial clock signal in odd cycles
  • the rising edge of the second clock signal is aligned with the falling edge of the initial clock signal in odd cycles
  • the rising edge of the third clock signal is aligned with the rising edge of the initial clock signal in even cycles
  • the rising edge of the fourth clock signal is aligned with the falling edge of the initial clock signal in even cycles.
  • the first clock signal and the third clock signal are used to sample the chip select signal respectively, and the first chip select sampling signal and the second chip select sampling signal are output; wherein the chip select signal is used to indicate the command address signal. Valid or invalid.
  • the embodiment of the present disclosure provides a command decoding circuit, which divides the frequency and phase of the initial clock signal to generate four clock signals (i.e., the first clock signal to the fourth clock signal), and uses the four clock signals to decode the command address signal. Sampling is performed, and the first clock signal and the third clock signal are used to sample the chip select signal, so as to subsequently decode the target command signal Command.
  • the command decoding circuit can sample and decode the command address signal that lasts for 2 initial clock cycles and the chip select signal that lasts for 2 initial clock cycles to achieve correct analysis of the command.
  • FIG. 9 shows a schematic structural diagram of a semiconductor memory 40 provided by an embodiment of the present disclosure.
  • the semiconductor memory 40 may include the command decoding circuit 10 described in any of the previous embodiments.
  • the semiconductor memory 40 may be a dynamic random access memory DRAM, and the semiconductor memory complies with the regulations of LPDDR6.
  • Embodiments of the present disclosure provide a command decoding circuit, a method thereof, and a semiconductor memory.
  • the initial clock signal is frequency-divided and phase-divided to generate a first clock signal to a fourth clock signal, and the first clock signal to the fourth clock signal are used.
  • the signal samples and decodes the command address signal to achieve correct decoding of the command address signal.

Landscapes

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

Abstract

Embodiments of the present disclosure provide a command decoding circuit and a method thereof, and a semiconductor memory. The command decoding circuit comprises: a clock processing module, which is configured to receive an initial clock signal, perform frequency division and phase division on the initial clock signal, and output a first clock signal, a second clock signal, a third clock signal and a fourth clock signal; a command sampling module, which is configured to receive a command address signal, sample the command address signal by using the first clock signal, the second clock signal, the third clock signal and the fourth clock signal, and output a first sampling signal, a second sampling signal, a third sampling signal and a fourth sampling signal; and a decoding module, which is configured to decode and sample the first sampling signal, the second sampling signal, the third sampling signal and the fourth sampling signal on the basis of the first clock signal and the third clock signal, and output a target decoded signal.

Description

一种命令解码电路及其方法、半导体存储器A command decoding circuit and method thereof, and semiconductor memory
相关申请的交叉引用Cross-references to related applications
本公开基于申请号为202211139070.6、申请日为2022年09月19日、发明名称为“一种命令解码电路及其方法、半导体存储器”的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本公开作为参考。This disclosure is based on the Chinese patent application with the application number 202211139070.6, the filing date is September 19, 2022, and the invention name is "A command decoding circuit and method thereof, and semiconductor memory", and claims the priority of the Chinese patent application, The entire content of this Chinese patent application is hereby incorporated by reference into this disclosure.
技术领域Technical field
本公开涉及集成电路技术领域,尤其涉及一种命令解码电路及其方法、半导体存储器。The present disclosure relates to the field of integrated circuit technology, and in particular, to a command decoding circuit and method thereof, and a semiconductor memory.
背景技术Background technique
随着半导体技术的不断发展,存储器的设计原则和工作细节也在更新换代,存储器内部的各种电路需要根据新的需求进行改进,以满足设计要求并达到更好的存储性能。With the continuous development of semiconductor technology, the design principles and working details of memory are also updated. Various circuits inside the memory need to be improved according to new needs to meet design requirements and achieve better storage performance.
发明内容Contents of the invention
本公开提供了一种命令解码电路及其方法、半导体存储器,能够实现命令地址信号的正确解码。The present disclosure provides a command decoding circuit, a method thereof, and a semiconductor memory, which can achieve correct decoding of command address signals.
第一方面,本公开实施例提供了一种命令解码电路,所述命令解码电路包括:In a first aspect, an embodiment of the present disclosure provides a command decoding circuit, where the command decoding circuit includes:
时钟处理模块,配置为接收初始时钟信号,对所述初始时钟信号进行分频和分相处理,输出第一时钟信号、第二时钟信号、第三时钟信号和第四时钟信号;其中,所述第一时钟信号、所述第二时钟信号、所述第三时钟信号和所述第四时钟信号是时钟周期相同且相位依次相差90度的一组信号,所述第一时钟信号的上升沿与所述初始时钟信号的上升沿对齐,所述第一时钟信号的时钟周期是所述初始时钟信号的时钟周期的2倍;A clock processing module, configured to receive an initial clock signal, perform frequency division and phase division processing on the initial clock signal, and output a first clock signal, a second clock signal, a third clock signal, and a fourth clock signal; wherein the first clock signal, the second clock signal, the third clock signal, and the fourth clock signal are a group of signals with the same clock period and phases that differ by 90 degrees in sequence, the rising edge of the first clock signal is aligned with the rising edge of the initial clock signal, and the clock period of the first clock signal is twice the clock period of the initial clock signal;
命令采样模块,与所述时钟处理模块连接,配置为接收命令地址信号;利用所述第一时钟信号、所述第二时钟信号、所述第三时钟信号和所述第四时钟信号分别对所述命令地址信号进行采样,输出第一采样信号、第二采样信号、第三采样信号和第四采样信号;A command sampling module, connected to the clock processing module, is configured to receive a command address signal; use the first clock signal, the second clock signal, the third clock signal and the fourth clock signal to respectively The command address signal is sampled, and the first sampling signal, the second sampling signal, the third sampling signal and the fourth sampling signal are output;
解码模块,与所述时钟处理模块和所述命令采样模块连接,配置为基于所述第一时钟信号和所述第三时钟信号对所述第一采样信号、所述第二 采样信号、所述第三采样信号和所述第四采样信号进行解码及采样处理,输出目标解码信号。a decoding module, connected to the clock processing module and the command sampling module, and configured to decode the first sampling signal, the second sampling signal, and the The third sampling signal and the fourth sampling signal are decoded and sampled, and a target decoded signal is output.
在一些实施例中,所述第一时钟信号的上升沿与所述初始时钟信号在奇数时钟周期的上升沿对齐,所述第二时钟信号的上升沿与所述初始时钟信号在奇数时钟周期的下降沿对齐,所述第三时钟信号的上升沿与所述初始时钟信号在偶数时钟周期的上升沿对齐,所述第四时钟信号的上升沿与所述初始时钟信号在偶数时钟周期的下降沿对齐。In some embodiments, the rising edge of the first clock signal is aligned with the rising edge of the initial clock signal in odd clock cycles, and the rising edge of the second clock signal is aligned with the rising edge of the initial clock signal in odd clock cycles. Falling edge alignment, the rising edge of the third clock signal is aligned with the rising edge of the initial clock signal in even-numbered clock cycles, and the rising edge of the fourth clock signal is aligned with the falling edge of the initial clock signal in even-numbered clock cycles. Alignment.
在一些实施例中,所述命令解码电路还包括:片选采样模块,与所述时钟处理模块连接,配置为接收片选信号;利用所述第一时钟信号和所述第三时钟信号分别对所述片选信号进行采样,输出第一片选采样信号和第二片选采样信号;其中,所述片选信号用于指示所述命令地址信号有效或无效。In some embodiments, the command decoding circuit further includes: a chip select sampling module, connected to the clock processing module and configured to receive a chip select signal; using the first clock signal and the third clock signal to respectively The chip select signal is sampled, and a first chip select sampling signal and a second chip select sampling signal are output; wherein the chip select signal is used to indicate whether the command address signal is valid or invalid.
在一些实施例中,所述命令地址信号、所述第一采样信号、所述第二采样信号、所述第三采样信号和所述第四采样信号均包括N位子信号,所述命令采样模块包括N个命令采样单元;第i个所述命令采样单元,与所述时钟处理模块连接,配置为对所述命令地址信号的第i位子信号进行延迟处理,得到待处理信号;利用所述第一时钟信号对所述待处理信号进行采样处理,输出所述第一采样信号的第i位子信号;利用所述第二时钟信号对所述待处理信号进行采样处理,输出所述第二采样信号的第i位子信号,利用所述第三时钟信号对所述待处理信号进行采样处理,输出所述第三采样信号的第i位子信号,利用所述第四时钟信号对所述待处理信号进行采样处理,输出所述第四采样信号的第i位子信号,其中,i、N为正整数,且i小于等于N。In some embodiments, the command address signal, the first sampling signal, the second sampling signal, the third sampling signal and the fourth sampling signal each include N-bit sub-signals, and the command sampling module It includes N command sampling units; the i-th command sampling unit is connected to the clock processing module and is configured to delay processing the i-th sub-signal of the command address signal to obtain a signal to be processed; using the i-th command sampling unit A clock signal is used to sample the signal to be processed, and the i-th sub-signal of the first sampling signal is output; the second clock signal is used to sample the signal to be processed, and the second sampling signal is output. The i-th sub-signal of the third sampling signal is used to sample the signal to be processed, the i-th sub-signal of the third sampling signal is output, and the fourth clock signal is used to perform sampling processing on the signal to be processed. Sampling process: output the i-th sub-signal of the fourth sampling signal, where i and N are positive integers, and i is less than or equal to N.
在一些实施例中,第i个所述命令采样单元包括第一延迟单元、第一触发器、第二触发器、第三触发器和第四触发器;其中,所述第一延迟单元的输入端接收所述命令地址信号的第i位子信号,所述第一延迟单元的输出端输出所述待处理信号;所述第一触发器的输入端接收所述待处理信号,所述第一触发器的时钟端接收所述第一时钟信号,所述第一触发器的输出端输出所述第一采样信号的第i位子信号;所述第二触发器的输入端接收所述待处理信号,所述第二触发器的时钟端接收所述第二时钟信号,所述第二触发器的输出端输出所述第二采样信号的第i位子信号;所述第三触发器的输入端接收所述待处理信号,所述第三触发器的时钟端接收所述第三时钟信号,所述第三触发器的输出端输出所述第三采样信号的第i位子信号;所述第四触发器的输入端接收所述待处理信号,所述第四触发器的时钟端接收所述第四时钟信号,所述第四触发器的输出端输出所述第四采样信号的第i位子信号。In some embodiments, the i-th command sampling unit includes a first delay unit, a first trigger, a second trigger, a third trigger and a fourth trigger; wherein the input end of the first delay unit receives the i-th sub-signal of the command address signal, and the output end of the first delay unit outputs the signal to be processed; the input end of the first trigger receives the signal to be processed, the clock end of the first trigger receives the first clock signal, and the output end of the first trigger outputs the i-th sub-signal of the first sampling signal; the input end of the second trigger receives the signal to be processed, the clock end of the second trigger receives the second clock signal, and 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 signal to be processed, the clock end of the third trigger receives the third clock signal, and the output end of the third trigger outputs the i-th sub-signal of the third sampling signal; the input end of the fourth trigger receives the signal to be processed, the clock end of the fourth trigger receives the fourth clock signal, and the output end of the fourth trigger outputs the i-th sub-signal of the fourth sampling signal.
在一些实施例中,所述解码模块包括:第二延迟单元,与所述时钟处理模块连接,配置为接收所述第一时钟信号,对所述第一时钟信号进行延 迟,输出第一延迟时钟信号;第三延迟单元,与所述时钟处理模块连接,配置为接收所述第三时钟信号,对所述第三时钟信号进行延迟,输出第三延迟时钟信号;解码处理单元,与所述命令采样模块、所述第二延迟单元和所述第三延迟单元均连接,配置为基于所述第三延迟时钟信号对所述第一采样信号的N位子信号和所述第二采样信号的N位子信号进行解码及采样处理,输出第一解码信号;基于所述第一延迟时钟信号对所述第三采样信号的N位子信号、所述第四采样信号的N位子信号进行解码及采样处理,输出第二解码信号;其中,所述第一解码信号和所述第二解码信号组成所述目标解码信号,所述第一解码信号指示所述命令地址信号在第1个初始时钟周期的内容;所述第二解码信号指示所述命令地址信号在第2个初始时钟周期的内容,且所述初始时钟周期是指初始时钟信号的时钟周期。In some embodiments, the decoding module includes: a second delay unit connected to the clock processing module and configured to receive the first clock signal, delay the first clock signal, and output a first delayed clock signal; a third delay unit, connected to the clock processing module, configured to receive the third clock signal, delay the third clock signal, and output a third delayed clock signal; a decoding processing unit, connected to the command The sampling module, the second delay unit and the third delay unit are all connected, and are configured to compare the N-bit sub-signal of the first sampling signal and the N-bit sub-signal of the second sampling signal based on the third delayed clock signal. The signal is decoded and sampled, and a first decoded signal is output; the N-bit sub-signal of the third sampling signal and the N-bit sub-signal of the fourth sampling signal are decoded and sampled based on the first delayed clock signal, and output a second decoded signal; wherein the first decoded signal and the second decoded signal constitute the target decoded signal, and the first decoded signal indicates the content of the command address signal in the first initial clock cycle; the The second decoded signal indicates the content of the command address signal in the second initial clock cycle, and the initial clock cycle refers to the clock cycle of the initial clock signal.
在一些实施例中,所述解码处理单元包括:第一解码单元,与所述命令采样模块和所述第三延迟单元连接,配置为对所述第一采样信号的N位子信号和所述第二采样信号的N位子信号进行逻辑运算,输出第一中间信号;利用所述第三延迟时钟信号对所述第一中间信号进行采样处理,输出所述第一解码信号;第二解码单元,与所述命令采样模块和所述第二延迟单元连接,配置为对所述第三采样信号的N位子信号和所述第四采样信号的N位子信号进行逻辑运算,输出第二中间信号;利用所述第一延迟时钟信号对所述第二中间信号进行采样处理,输出所述第二解码信号。In some embodiments, the decoding processing unit includes: a first decoding unit, connected to the command sampling module and the third delay unit, configured to process the N-bit sub-signal of the first sampling signal and the third delay unit. Perform logical operations on the N-bit sub-signals of the two sampled signals to output a first intermediate signal; use the third delayed clock signal to perform sampling processing on the first intermediate signal and output the first decoded signal; a second decoding unit, and The command sampling module is connected to the second delay unit, and is configured to perform logical operations on the N-bit sub-signal of the third sampling signal and the N-bit sub-signal of the fourth sampling signal, and output a second intermediate signal; using the The first delayed clock signal performs sampling processing on the second intermediate signal and outputs the second decoded signal.
在一些实施例中,N=4;所述第一解码单元包括第一逻辑单元和第五触发器;其中,所述第一逻辑单元的输入端接收所述第一采样信号的4位子信号和所述第二采样信号的4位子信号,所述第一逻辑单元的输出端输出第一中间信号;所述第五触发器的输入端接收所述第一中间信号,所述第五触发器的时钟端接收所述第三延迟时钟信号,所述第五触发器的输出端输出所述第一解码信号。In some embodiments, N=4; the first decoding unit includes a first logic unit and a fifth flip-flop; wherein the input end of the first logic unit receives the 4-bit sub-signal of the first sampling signal and The 4-bit sub-signal of the second sampling signal, the output terminal of the first logic unit outputs the first intermediate signal; the input terminal of the fifth flip-flop receives the first intermediate signal, and the input terminal of the fifth flip-flop receives the first intermediate signal. The clock terminal receives the third delayed clock signal, and the output terminal of the fifth flip-flop outputs the first decoded signal.
在一些实施例中,N=4;所述第二解码单元包括第二逻辑单元和第六触发器;所述第二逻辑单元的输入端接收所述第三采样信号的4位子信号和所述第四采样信号的4位子信号,所述第二逻辑单元的输出端输出第二中间信号;所述第六触发器的输入端接收所述第二中间信号,所述第六触发器的时钟端接收所述第一延迟时钟信号,所述第六触发器的输出端输出所述第二解码信号。In some embodiments, N=4; the second decoding unit includes a second logic unit and a sixth flip-flop; the input end of the second logic unit receives the 4-bit sub-signal of the third sampling signal and the The 4-bit sub-signal of the fourth sampling signal, the output terminal of the second logic unit outputs the second intermediate signal; the input terminal of the sixth flip-flop receives the second intermediate signal, and the clock terminal of the sixth flip-flop After receiving the first delayed clock signal, the output terminal of the sixth flip-flop outputs the second decoded signal.
在一些实施例中,所述片选采样模块包括第四延迟单元、第七触发器和第八触发器;其中,所述第四延迟单元的输入端接收所述片选信号,所述第四延迟单元的输出端输出片选延迟信号;所述第七触发器的输入端接收所述片选延迟信号,所述第七触发器的时钟端接收所述第一时钟信号,所述第七触发器的输出端输出所述第一片选采样信号;所述第八触发器的输入端接收所述片选延迟信号,所述第八触发器的时钟端接收所述第三时钟信号,所述第八触发器的输出端输出所述第二片选采样信号。In some embodiments, the chip select sampling module includes a fourth delay unit, a seventh flip-flop and an eighth flip-flop; wherein the input end of the fourth delay unit receives the chip select signal, and the fourth delay unit receives the chip select signal. The output terminal of the delay unit outputs a chip select delay signal; the input terminal of the seventh flip-flop receives the chip select delay signal, the clock terminal of the seventh flip-flop receives the first clock signal, and the seventh flip-flop receives the chip select delay signal. The output terminal of the flip-flop outputs the first chip select sampling signal; the input terminal of the eighth flip-flop receives the chip select delay signal, and the clock terminal of the eighth flip-flop receives the third clock signal. The output terminal of the eighth flip-flop outputs the second chip select sampling signal.
第二方面,本公开实施例提供了一种命令解码方法,所述方法包括:In a second aspect, an embodiment of the present disclosure provides a command decoding method, the method comprising:
对初始时钟信号进行分频和分相处理,输出第一时钟信号、第二时钟信号、第三时钟信号和第四时钟信号;其中,所述第一时钟信号、所述第二时钟信号、所述第三时钟信号和所述第四时钟信号是一组时钟周期相同且相位依次相差90度的信号,所述第一时钟信号的上升沿与所述初始时钟信号的上升沿对齐,所述第一时钟信号的时钟周期是所述初始时钟信号的时钟周期的2倍;The initial clock signal is subjected to frequency division and phase separation processing to output a first clock signal, a second clock signal, a third clock signal and a fourth clock signal; wherein the first clock signal, the second clock signal, the The third clock signal and the fourth clock signal are a set of signals with the same clock period and a phase difference of 90 degrees. The rising edge of the first clock signal is aligned with the rising edge of the initial clock signal. The clock period of a clock signal is twice the clock period of the initial clock signal;
利用所述第一时钟信号、所述第二时钟信号、所述第三时钟信号和所述第四时钟信号分别对命令地址信号进行采样,输出第一采样信号、第二采样信号、第三采样信号和第四采样信号;Use the first clock signal, the second clock signal, the third clock signal and the fourth clock signal to sample the command address signal respectively, and output the first sampling signal, the second sampling signal and the third sampling signal. signal and the fourth sampled signal;
基于所述第一时钟信号和所述第三时钟信号对所述第一采样信号、所述第二采样信号、所述第三采样信号和所述第四采样信号进行解码及采样处理,输出目标解码信号。The first sampling signal, the second sampling signal, the third sampling signal and the fourth sampling signal are decoded and sampled based on the first clock signal and the third clock signal to output a target Decode the signal.
在一些实施例中,所述第一时钟信号的上升沿与所述初始时钟信号在奇数周期的上升沿对齐,所述第二时钟信号的上升沿与所述初始时钟信号在奇数周期的下降沿对齐,所述第三时钟信号的上升沿与所述初始时钟信号在偶数周期的上升沿对齐,所述第四时钟信号的上升沿与所述初始时钟信号在偶数周期的下降沿对齐。In some embodiments, the rising edge of the first clock signal is aligned with the rising edge of the initial clock signal in odd periods, and the rising edge of the second clock signal is aligned with the falling edge of the initial clock signal in odd periods. Alignment: the rising edge of the third clock signal is aligned with the rising edge of the initial clock signal in even-numbered periods, and the rising edge of the fourth clock signal is aligned with the falling edge of the initial clock signal in even-numbered periods.
在一些实施例中,所述方法还包括:利用所述第一时钟信号和所述第三时钟信号分别对片选信号进行采样,输出第一片选采样信号和第二片选采样信号;其中,所述片选信号用于指示所述命令地址信号有效或无效。In some embodiments, the method further includes: using the first clock signal and the third clock signal to respectively sample a chip select signal, and outputting a first chip select sampling signal and a second chip select sampling signal; wherein , the chip select signal is used to indicate whether the command address signal is valid or invalid.
第三方面,本公开实施例提供了一种半导体存储器,包括如第一方面中任一项所述的命令解码电路。In a third 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 LPDDR6 memory specifications.
本公开实施例提供了一种命令解码电路及其方法、半导体存储器,将初始时钟信号进行分频和分相后产生第一时钟信号~第四时钟信号,并利用第一时钟信号~第四时钟信号对命令地址信号进行采样及解码处理,能够实现命令地址信号的正确解码。Embodiments of the present disclosure provide a command decoding circuit, a method thereof, and a semiconductor memory. The initial clock signal is frequency-divided and phase-divided to generate a first clock signal to a fourth clock signal, and the first clock signal to the fourth clock signal are used. The signal samples and decodes the command address signal to achieve correct decoding of the command address signal.
附图说明Description of the drawings
图1为本公开实施例提供的一种命令解码电路的组成结构示意图;Figure 1 is a schematic structural diagram of a command decoding circuit provided by an embodiment of the present disclosure;
图2为本公开实施例提供的一种命令解码电路的局部结构示意图一;Figure 2 is a schematic diagram of a partial structure of a command decoding circuit provided by an embodiment of the present disclosure;
图3为本公开实施例提供的一种命令解码电路的局部结构示意图二;Figure 3 is a schematic diagram 2 of a partial structure of a command decoding circuit provided by an embodiment of the present disclosure;
图4为本公开实施例提供的一种命令解码电路的局部结构示意图三;Figure 4 is a schematic diagram 3 of a partial structure of a command decoding circuit provided by an embodiment of the present disclosure;
图5为本公开实施例提供的另一种命令解码电路的组成结构示意图;Figure 5 is a schematic structural diagram of another command decoding circuit provided by an embodiment of the present disclosure;
图6为本公开实施例提供的一种命令解码电路的局部结构示意图四;FIG6 is a fourth partial structural diagram of a command decoding circuit provided in an embodiment of the present disclosure;
图7为本公开实施例提供的一种信号时序示意图;Figure 7 is a signal timing diagram provided by an embodiment of the present disclosure;
图8为本公开实施例提供的一种命令解码方法的流程示意图;Figure 8 is a schematic flowchart of a command decoding method provided by an embodiment of the present disclosure;
图9为本公开实施例提供的一种半导体存储器的结构示意图。FIG. 9 is a schematic structural diagram of a semiconductor memory provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述。可以理解的是,此处所描述的具体实施例仅仅用于解释相关申请,而非对该申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关申请相关的部分。The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. It can be understood that the specific embodiments described here are only used to explain the relevant application, but not to limit the application. It should also be noted that, for convenience of description, only parts relevant to the relevant application are shown in the drawings.
除非另有定义,本文所使用的所有的技术和科学术语与属于本公开的技术领域的技术人员通常理解的含义相同。本文中所使用的术语只是为了描述本公开实施例的目的,不是旨在限制本公开。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terminology used herein is for the purpose of describing embodiments of the disclosure only and is not intended to limit the disclosure.
在以下的描述中,涉及到“一些实施例”,其描述了所有可能实施例的子集,但是可以理解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or a different subset of all possible embodiments, and Can be combined with each other without conflict.
需要指出,本公开实施例所涉及的术语“第一\第二\第三”仅是用于区别类似的对象,不代表针对对象的特定排序,可以理解地,“第一\第二\第三”在允许的情况下可以互换特定的顺序或先后次序,以使这里描述的本公开实施例能够以除了在这里图示或描述的以外的顺序实施。It should be noted that the terms "first\second\third" involved in the embodiments of this disclosure are only used to distinguish similar objects and do not represent a specific ordering of objects. It is understandable that "first\second\third" Where permitted, the specific order or sequence may be interchanged so that the disclosed embodiments described herein can be practiced in an order other than that illustrated or described herein.
以下为本公开实施例中涉及到的专业名词解释以及部分名词的对应关系:The following is an explanation of the professional terms involved in the embodiments of the present disclosure and the corresponding relationships of some terms:
动态随机存取存储器(Dynamic Random Access Memory,DRAM);Dynamic Random Access Memory (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 (Low Power DDR, LPDDR)
第六代LPDDR(6th LPDDR,LPDDR6)Sixth generation LPDDR (6th LPDDR, LPDDR6)
D型触发器(Data Flip-Flop或Delay Flip-Flop,DFF)D-type flip-flop (Data Flip-Flop or Delay Flip-Flop, DFF)
命令地址输入(Command/Address,CMD/ADD或简称为CA)Command address input (Command/Address, CMD/ADD or CA for short)
片选输入(Chip Select Input,CS)Chip Select Input (CS)
下面将结合附图对本公开各实施例进行详细说明。Each embodiment of the present disclosure will be described in detail below with reference to the accompanying drawings.
在存储器的工作过程中,需要根据初始时钟信号Clk对CA输入、CS输入进行采样及解码处理。根据LPDDR6的规定,CA输入中的命令部分(以下简称CA Command)持续2个初始时钟周期,在第1个初始时钟周期的上升沿、下降沿以及第2个初始时钟周期的上升沿、下降沿均需要对CA Command进行采样;CS输入持续2个初始时钟周期,在第1个初始时钟周期的上升沿和第2个初始时钟周期的上升沿需要对CS输入进行采样。在这里,初始时钟周期是指初始时钟信号Clk的时钟周期。During the operation of the memory, the CA input and CS input need to be sampled and decoded according to the initial clock signal Clk. According to the regulations of LPDDR6, the command part of the CA input (hereinafter referred to as CA Command) lasts for 2 initial clock cycles, on the rising edge and falling edge of the first initial clock cycle and on the rising edge and falling edge of the second initial clock cycle. CA Command needs to be sampled; the CS input lasts for 2 initial clock cycles, and the CS input needs to be sampled on 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.
具体来说,CA Command是由4个子信号组成的一组信号,其子信号 分别表示为CA0、CA1、CA2和CA3。参见表1,其示出了LPDDR6的部分命令真值表。在表1中,CA Command和CS输入均会持续2个初始时钟周期,R1是指第1个初始时钟周期的上升沿,F1是指第1个初始时钟周期的下降沿,R2是指第2个初始时钟周期的上升沿,F2是指第2个初始时钟周期的下降沿,对于CS、CA0~CA3来说,“H”表示高电平状态,“L”表示低电平状态,“X”表示电平状态不关心。应理解,表1来自于行业标准文件LPDDR6SPEC,本领域技术人员可以参照LPDDR6SPEC了解其中涉及各名词及缩写的含义,且该部分内容不影响本公开实施例的理解,所以这里不再详述。Specifically, CA Command is a set of signals composed of 4 sub-signals, whose sub-signals are represented as CA0, CA1, CA2 and CA3 respectively. See Table 1, which shows a partial command truth table for LPDDR6. In Table 1, both the CA Command and CS inputs 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, and R2 refers to the second The rising edge of the first initial clock cycle, F2 refers to the falling edge of the second initial clock cycle, for CS, CA0 ~ CA3, "H" means high level state, "L" means low level state, "X ” indicates that the level status is not concerned. It should be understood that Table 1 comes from the industry standard document LPDDR6SPEC. Those skilled in the art can refer to LPDDR6SPEC to understand the meanings of various nouns and abbreviations involved. 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.
表1Table 1
Figure PCTCN2022123984-appb-000001
Figure PCTCN2022123984-appb-000001
如表1所示,半导体存储器中的命令解码电路需要基于CS输入的R1采样结果、CS输入的R2采样结果、CA Command的R1采样结果、CA Command的F1采样结果、CA Command的R2采样结果、CA Command的F2采样结果进行解码处理,得到本次CA Command的具体命令(例如DES、NOP、PDE、SRE、ACT-1、ACT-2……)。As shown in Table 1, the command decoding circuit in the semiconductor memory needs to be based on the R1 sampling result of CS input, the R2 sampling result of CS input, the R1 sampling result of CA Command, the F1 sampling result of CA Command, the R2 sampling result of CA Command, The F2 sampling result of CA Command is decoded to obtain the specific command of this CA Command (such as DES, NOP, PDE, SRE, ACT-1, ACT-2...).
在本公开的一实施例中,参见图1,其示出了本公开实施例提供的一种命令解码电路10的组成结构示意图。如图1所示,命令解码电路10包括:In an embodiment of the present disclosure, refer to FIG. 1 , which shows a schematic structural diagram of a command decoding circuit 10 provided by an embodiment of the present disclosure. As shown in Figure 1, the command decoding circuit 10 includes:
时钟处理模块11,配置为接收初始时钟信号Clk,对初始时钟信号Clk进行分频和分相处理,输出第一时钟信号Clk_R0、第二时钟信号Clk_F0、第三时钟信号Clk_R1和第四时钟信号Clk_F1;其中,第一时钟信号Clk_R0、第二时钟信号Clk_F0、第三时钟信号Clk_R1和第四时钟信号Clk_F1是时钟周期相同且相位依次相差90度的一组信号,第一时钟信号Clk_R0的上升沿与初始时钟信号Clk的上升沿对齐,第一时钟信号Clk_R0的时钟周期是初始时钟信号Clk的时钟周期的2倍;The clock processing module 11 is configured to receive the initial clock signal Clk, perform frequency division and phase division processing on the 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. ; Among them, 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 a group of signals with the same clock cycle and a phase difference of 90 degrees in sequence. The rising edge of the first clock signal Clk_R0 is the same as The rising edge of the initial clock signal Clk is aligned, and the clock period of the first clock signal Clk_R0 is twice the clock period of the initial clock signal Clk;
命令采样模块12,与时钟处理模块11连接,配置为接收命令地址信号CA Command,并利用第一时钟信号Clk_R0、第二时钟信号Clk_F0、第三时钟信号Clk_R1和第四时钟信号Clk_F1分别对命令地址信号CA Command进行采样,输出第一采样信号CA<N:0>_R0、第二采样信号CA<N:0>_F0、第三采样信号CA<N:0>_R1和第四采样信号CA<N:0>_F1;The command sampling module 12 is connected to the clock processing module 11 and is configured to receive the command address signal CA Command, and use 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 to respectively analyze the command address. The signal CA Command is sampled and outputs the first sampling signal CA<N:0>_R0, the second sampling signal CA<N:0>_F0, the third sampling signal CA<N:0>_R1 and the fourth sampling signal CA<N :0>_F1;
解码模块13,与时钟处理模块11和命令采样模块12连接,配置为基于第一时钟信号Clk_R0和第三时钟信号Clk_R1对第一采样信号CA<N:0>_R0、第二采样信号CA<N:0>_F0、第三采样信号CA<N:0>_R1和第四采样信号CA<N:0>_F1进行解码及采样处理,输出目标解码信号。The decoding module 13 is connected to the clock processing module 11 and the command sampling module 12, and is configured to process the first sampling signal CA<N:0>_R0 and the second sampling signal CA<N based on the first clock signal Clk_R0 and the third clock signal Clk_R1. :0>_F0, the third sampling signal CA<N:0>_R1 and the fourth sampling signal CA<N:0>_F1 are decoded and sampled, and a target decoded signal is output.
需要说明的是,本公开实施例的命令解码电路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 of the command address signal CA Command in LPDDR6. In addition, the command decoding circuit 10 can also be applied in a variety of circuit scenarios with similar requirements. The embodiments of the present disclosure will be explained and illustrated later with the decoding of the command address signal CA Command, but this does not constitute a relevant limitation.
如前述,命令地址信号CA Command持续2个初始时钟周期,初始时钟周期是指初始时钟信号Clk的时钟周期。请注意,对于图1~图7及其对应的文字部分,第1个初始时钟周期的上升沿表示为R0,第1个初始时钟周期的下降沿表示为F0,第2个初始时钟周期的上升沿表示为R1,第2个初始时钟周期的下降沿表示为F1,这部分与表1有所区别。As mentioned above, the command address signal CA Command lasts for 2 initial clock cycles, and the initial clock cycle refers to the clock cycle of the initial clock signal Clk. Please note that for Figures 1 to 7 and their corresponding text parts, the rising edge of the first initial clock cycle is represented by R0, the falling edge of the first initial clock cycle is represented by F0, and the rising edge of the second initial clock cycle is represented by F0. The edge is represented by R1, and the falling edge of the second initial clock cycle is represented by F1. This part is different from Table 1.
需要说明的是,第一时钟信号Clk_R0的上升沿与初始时钟信号Clk在奇数时钟周期的上升沿对齐,第二时钟信号Clk_F0的上升沿与初始时钟信号Clk在奇数时钟周期的下降沿对齐,第三时钟信号Clk_R1的上升沿与初始时钟信号Clk在偶数时钟周期的上升沿对齐,第四时钟信号Clk_F1的上升沿与初始时钟信号Clk在偶数时钟周期的下降沿对齐。It should be noted that the rising edge of the first clock signal Clk_R0 is aligned with the rising edge of the initial clock signal Clk in odd clock cycles, and the rising edge of the second clock signal Clk_F0 is aligned with the falling edge of the initial clock signal Clk in odd clock cycles. The rising edge of the third clock signal Clk_R1 is aligned with the rising edge of the initial clock signal Clk in even-numbered clock cycles, and the rising edge of the fourth clock signal Clk_F1 is aligned with the falling edge of the initial clock signal Clk in even-numbered clock cycles.
这样,第一时钟信号Clk_R0的上升沿、第三时钟信号Clk_R1的上升沿交替与初始时钟信号Clk的上升沿对齐,第二时钟信号Clk_F0的上升沿、第四时钟信号Clk_F1的上升沿交替与初始时钟信号Clk的下降沿对齐。因此,第一采样信号可以指示命令地址信号CA Command在第1个初始时钟周期的上升沿的采样结果,第二采样信号可以指示命令地址信号CA Command在第1个初始时钟周期的下降沿的采样结果,第三采样信号可以指示命令地址信号CA Command在第2个初始时钟周期的上升沿的采样结果,第四采样信号可以指示命令地址信号CA Command在第2个初始时钟周期的下降沿的采样结果,后续用于进行解码处理,能够满足LPDDR6的解码需求,使得半导体存储器进行正确工作。In this way, the rising edges of the first clock signal Clk_R0 and the third clock signal Clk_R1 are alternately aligned with the rising edges of the initial clock signal Clk, and the rising edges of the second clock signal Clk_F0 and the fourth clock signal Clk_F1 are alternately aligned with the rising edges of the initial clock signal Clk. The falling edge of the clock signal Clk is aligned. Therefore, the first sampling signal can indicate the sampling result of the command address signal CA Command at the rising edge of the first initial clock cycle, and the second sampling signal can indicate the sampling result of the command address signal CA Command at the falling edge of the first initial clock cycle. As a result, the third sampling signal can indicate the sampling result of the command address signal CA Command at the rising edge of the second initial clock cycle, and the fourth sampling signal can indicate the sampling result of the command address signal CA Command at the falling edge of the second initial clock cycle. As a result, subsequent decoding processing can meet the decoding requirements of LPDDR6, allowing the semiconductor memory to work correctly.
需要说明的是,时钟处理模块11可以包括分频模块和分相模块;其中,It should be noted that the clock processing module 11 may include a frequency dividing module and a phase dividing module; where,
分频模块,配置为接收初始时钟信号Clk,对初始时钟信号Clk进行分频处理,输出分频时钟信号;分频时钟信号的时钟周期是初始时钟信号Clk的时钟周期的2倍;The frequency dividing module is configured to receive the initial clock signal Clk, divide the initial clock signal Clk, and output the divided clock signal; the clock period of the divided clock signal is twice the clock period of the initial clock signal Clk;
分相模块,与分频模块连接,配置为接收分频时钟信号,对分频时钟信号进行分相处理,输出第一时钟信号Clk_R0、第二时钟信号Clk_F0、第三时钟信号Clk_R1和第四时钟信号Clk_F1。The phase separation module is connected to the frequency division module and is configured to receive the frequency division clock signal, perform phase separation processing on the frequency division clock signal, 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.
需要说明的是,分频模块可以采用非门和D型触发器构成的二分频组件实现;分相模块可以采用多个D型触发器和延迟器件实现。It should be noted that the frequency dividing module can be implemented using a two-frequency dividing component composed of a NOT gate and a D-type flip-flop; the phase splitting module can be implemented using multiple D-type flip-flops and delay devices.
在一些实施例中,命令地址信号CA Command、第一采样信号CA<N:0>_R0、第二采样信号CA<N:0>_F0、第三采样信号CA<N:0>_R1和第四采样信号CA<N:0>_F1均包括N位子信号。In some embodiments, the command address signal CA Command, the first sampling signal CA<N:0>_R0, the second sampling signal CA<N:0>_F0, the third sampling signal CA<N:0>_R1 and the fourth The sampling signals CA<N:0>_F1 each include N-bit sub-signals.
以N=4为例,命令地址信号CA Command可以包括CA0、CA1、CA2、CA3这4个子信号,第一采样信号CA<N:0>_R0可以包括CA0_R0、CA1_R0、CA2_R0、CA3_R0这4个子信号;第二采样信号CA<N:0>_F0可以包括CA0_F0、CA1_F0、CA2_F0、CA3_F0这4个子信号;第三采样信号CA<N:0>_R1可以包括CA0_R1、CA1_R1、CA2_R1、CA3_R1这4个子信号;第四采样信号可以包括CA0_F1、CA1_F1、CA2_F1、CA3_F1这4个子信号。本公开实施例后续以N=4为例进行解释,但是N的值可以根据实际场景的需求调整。Taking N=4 as an example, the command address signal CA Command can include four sub-signals CA0, CA1, CA2, and CA3, and the first sampling signal CA<N:0>_R0 can include four sub-signals CA0_R0, CA1_R0, CA2_R0, and CA3_R0. ;The second sampling signal CA<N:0>_F0 may include the four sub-signals CA0_F0, CA1_F0, CA2_F0, and CA3_F0; the third sampling signal CA<N:0>_R1 may include the four sub-signals CA0_R1, CA1_R1, CA2_R1, and CA3_R1 ; The fourth sampling signal may include four sub-signals: CA0_F1, CA1_F1, CA2_F1, and CA3_F1. The embodiments of this disclosure will be explained later using N=4 as an example, but the value of N can be adjusted according to the needs of the actual scenario.
相应的,参见图2,其示出了本公开实施例提供的一种命令解码电路10的局部结构示意图一。如图2所示,命令采样模块12包括N个命令采样单元(图2以N=4为例进行示出)。第i个命令采样单元,与时钟处理模块11连接,配置为对命令地址信号CA Command的第i位子信号进行延迟处理,得到待处理信号;利用第一时钟信号Clk_R0对待处理信号进行采样处理,输出第一采样信号CA<N:0>_R0的第i位子信号;利用第二时钟信号Clk_F0对待处理信号进行采样处理,输出第二采样信号CA<N:0>_F0的第i位子信号,利用第三时钟信号Clk_R1对待处理信号进行采样处理,输 出第三采样信号CA<N:0>_R1的第i位子信号,利用第四时钟信号Clk_F1对待处理信号进行采样处理,输出第四采样信号CA<N:0>_F1的第i位子信号,其中,i、N为正整数,且i小于等于N。Correspondingly, see FIG. 2 , which shows a schematic diagram 1 of a partial structure of a command decoding circuit 10 provided by an embodiment of the present disclosure. As shown in Figure 2, the command sampling module 12 includes N command sampling units (Figure 2 takes N=4 as an example). The i-th command sampling unit is connected to the clock processing module 11 and is configured to delay processing the i-th sub-signal of the command address signal CA Command to obtain a signal to be processed; use the first clock signal Clk_R0 to sample the signal to be processed and output The i-th sub-signal of the first sampling signal CA<N:0>_R0; the second clock signal Clk_F0 is used to sample the signal to be processed, and the i-th sub-signal of the second sampling signal CA<N:0>_F0 is output. The third clock signal Clk_R1 samples the signal to be processed and outputs the i-th sub-signal of the third sampling signal CA<N:0>_R1. The fourth clock signal Clk_F1 is used to sample the signal to be processed and outputs the fourth sampling signal CA<N :0>_F1's i-th sub-signal, where i and N are positive integers, and i is less than or equal to N.
在一些实施例中,如图2所示,第i个命令采样单元包括第一延迟单元121、第一触发器122、第二触发器123、第三触发器124和第四触发器125。图2中仅对第1个命令采样单元中的器件进行标号,其他可参照理解。In some embodiments, as shown in FIG. 2 , the i-th command sampling unit includes a first delay unit 121, a first flip-flop 122, a second flip-flop 123, a third flip-flop 124 and a fourth flip-flop 125. In Figure 2, only the devices in the first command sampling unit are labeled, others can be understood by reference.
第一延迟单元121的输入端接收命令地址信号的第i位子信号CAi,第一延迟单元121的输出端输出待处理信号CAi_D;第一触发器122的输入端接收待处理信号CAi_D,第一触发器122的时钟端接收第一时钟信号Clk_R0,第一触发器122的输出端输出第一采样信号的第i位子信号CAi_R0;第二触发器123的输入端接收待处理信号CAi_D,第二触发器123的时钟端接收第二时钟信号Clk_F0,第二触发器123的输出端输出第二采样信号的第i位子信号CAi_F0;第三触发器124的输入端接收待处理信号CAi_D,第三触发器124的时钟端接收第三时钟信号Clk_R1,第三触发器124的输出端输出第三采样信号的第i位子信号CAi_R1;第四触发器125的输入端接收待处理信号CAi_D,第四触发器125的时钟端接收第四时钟信号Clk_F1,第四触发器125的输出端输出第四采样信号的第i位子信号CAi_F1。The input terminal of the first delay unit 121 receives the i-th sub-signal CAi of the command address signal, and the output terminal of the first delay unit 121 outputs the signal to be processed CAi_D; the input terminal of the first flip-flop 122 receives the signal to be processed CAi_D, and the first trigger The clock terminal of the circuit breaker 122 receives the first clock signal Clk_R0, and the output terminal of the first flip-flop 122 outputs the i-th sub-signal CAi_R0 of the first sampling signal; the input terminal of the second flip-flop 123 receives the signal to be processed CAi_D, and the second flip-flop 123 The clock terminal of 123 receives the second clock signal Clk_F0, and the output terminal of the second flip-flop 123 outputs the i-th sub-signal CAi_F0 of the second sampling signal; the input terminal of the third flip-flop 124 receives the signal to be processed CAi_D, and the third flip-flop 124 The clock terminal receives the third clock signal Clk_R1, the output terminal of the third flip-flop 124 outputs the i-th sub-signal CAi_R1 of the third sampling signal; the input terminal of the fourth flip-flop 125 receives the signal to be processed CAi_D, and the input terminal of the fourth flip-flop 125 The clock terminal receives the fourth clock signal Clk_F1, and the output terminal of the fourth flip-flop 125 outputs the i-th sub-signal CAi_F1 of the fourth sampling signal.
需要说明的是,每一命令采样单元均具有各自的第一延迟单元、第一触发器、第二触发器、第三触发器和第四触发器。It should be noted that each command sampling unit has its own first delay unit, first flip-flop, second flip-flop, third flip-flop and fourth flip-flop.
以N=4为例,对于第1个命令采样单元,第一延迟单元121对CA0延迟以输出CA0_D,通过第一触发器122利用第一时钟信号Clk_R0采样CA0_D以输出CA0_R0,通过第二触发器123利用第二时钟信号Clk_F0采样CA0_D以输出CA0_F0,通过第三触发器124利用第三时钟信号Clk_R1采样CA0_D以输出CA0_R1,通过第四触发器125利用第四时钟信号Clk_F1采样CA0_D以输出CA0_F1。Taking N=4 as an example, for the first command sampling unit, the first delay unit 121 delays CA0 to output CA0_D, and uses the first clock signal Clk_R0 to sample CA0_D through the first flip-flop 122 to output CA0_R0. 123 uses the second clock signal Clk_F0 to sample CA0_D to output CA0_F0, uses the third flip-flop 124 to use the third clock signal Clk_R1 to sample CA0_D to output CA0_R1, and uses the fourth flip-flop 125 to use the fourth clock signal Clk_F1 to sample CA0_D to output CA0_F1.
对于第2个命令采样单元,第一延迟单元对CA1延迟以输出CA1_D,通过第一触发器利用第一时钟信号Clk_R0采样CA1_D以输出CA1_R0,通过第二触发器利用第二时钟信号Clk_F0采样CA1_D以输出CA1_F0,通过第三触发器利用第三时钟信号Clk_R1采样CA1_D以输出CA1_R1,通过第四触发器利用第四时钟信号Clk_F1采样CA1_D以输出CA1_F1。For the second command sampling unit, the first delay unit delays CA1 to output CA1_D, uses the first clock signal Clk_R0 to sample CA1_D through the first flip-flop to output CA1_R0, and uses the second clock signal Clk_F0 to sample CA1_D through the second flip-flop. Output CA1_F0, sample CA1_D using the third clock signal Clk_R1 through the third flip-flop to output CA1_R1, and sample CA1_D using the fourth clock signal Clk_F1 through the fourth flip-flop to output CA1_F1.
对于第3个命令采样单元,第一延迟单元对CA2延迟以输出CA2_D,通过第一触发器利用第一时钟信号Clk_R0采样CA2_D以输出CA2_R0,通过第二触发器利用第二时钟信号Clk_F0采样CA2_D以输出CA2_F0,通过第三触发器利用第三时钟信号Clk_R1采样CA2_D以输出CA2_R1,通过第四触发器利用第四时钟信号Clk_F1采样CA2_D以输出CA2_F1。For the third command sampling unit, the first delay unit delays CA2 to output CA2_D, uses the first clock signal Clk_R0 to sample CA2_D through the first flip-flop to output CA2_R0, and uses the second flip-flop to sample CA2_D using the second clock signal Clk_F0 to output CA2_D. Output CA2_F0, sample CA2_D using the third clock signal Clk_R1 through the third flip-flop to output CA2_R1, and sample CA2_D using the fourth clock signal Clk_F1 through the fourth flip-flop to output CA2_F1.
对于第4个命令采样单元,第一延迟单元对CA3延迟以输出CA3_D,通过第一触发器利用第一时钟信号Clk_R0采样CA3_D以输出CA3_R0, 通过第二触发器利用第二时钟信号Clk_F0采样CA3_D以输出CA3_F0,通过第三触发器利用第三时钟信号Clk_R1采样CA3_D以输出CA3_R1,通过第四触发器利用第四时钟信号Clk_F1采样CA3_D以输出CA3_F1。For the fourth command sampling unit, the first delay unit delays CA3 to output CA3_D, uses the first clock signal Clk_R0 to sample CA3_D through the first flip-flop to output CA3_R0, and uses the second flip-flop to sample CA3_D using the second clock signal Clk_F0 to output CA3_D. Output CA3_F0, sample CA3_D using the third clock signal Clk_R1 through the third flip-flop to output CA3_R1, and sample CA3_D using the fourth clock signal Clk_F1 through the fourth flip-flop to output CA3_F1.
这样,CA0_R0、CA1_R0、CA2_R0、CA3_R0共同组成前述的第一采样信号CA<N:0>_R0,CA0_F0、CA1_F0、CA2_F0、CA3_F0共同组成前述的第二采样信号CA<N:0>_F0,CA0_R1、CA1_R1、CA2_R1、CA3_R1共同组成前述的第三采样信号CA<N:0>_R1,CA0_F1、CA1_F1、CA2_F1、CA3_F1共同组成前述的第四采样信号CA<N:0>_F1。In this way, CA0_R0, CA1_R0, CA2_R0, and CA3_R0 together form the aforementioned first sampling signal CA<N:0>_R0, and CA0_F0, CA1_F0, CA2_F0, and CA3_F0 together form the aforementioned second sampling signal CA<N:0>_F0, CA0_R1, CA1_R1, CA2_R1, and CA3_R1 together constitute the aforementioned third sampling signal CA<N:0>_R1, and CA0_F1, CA1_F1, CA2_F1, and CA3_F1 together constitute the aforementioned fourth sampling signal CA<N:0>_F1.
在这里,前述的第一延迟单元(或称为DlyTrim)可采用常规延迟器件构成。进一步地,第一延迟单元可以设计为延迟参数可调的电路,也可以设计为延迟参数不可调的电路,其作用均是对命令地址信号进行延迟以实现命令地址信号和4个时钟信号(第一时钟信号~第四时钟信号)之间的延迟匹配。Here, the aforementioned first delay unit (or DlyTrim) can be formed by conventional delay devices. Further, the first delay unit can be designed as a circuit with adjustable delay parameters or a circuit with non-adjustable delay parameters, and its function is to delay the command address signal to achieve delay matching between the command address signal and the four clock signals (the first clock signal to the fourth clock signal).
在一些实施例中,如图3(图3以N=4为例进行示出)所示,解码模块13包括:In some embodiments, as shown in Figure 3 (Figure 3 takes N=4 as an example), the decoding module 13 includes:
第二延迟单元131,与时钟处理模块11连接,配置为接收第一时钟信号Clk_R0,对第一时钟信号Clk_R0进行延迟,输出第一延迟时钟信号Clk_R0d;The second delay unit 131 is connected to the clock processing module 11 and is configured to receive the first clock signal Clk_R0, delay the first clock signal Clk_R0, and output the first delayed clock signal Clk_R0d;
第三延迟单元132,与时钟处理模块11连接,配置为接收第三时钟信号Clk_R1,对第三时钟信号Clk_R1进行延迟,输出第三延迟时钟信号Clk_R1d;The third delay unit 132 is connected to the clock processing module 11 and is configured to receive the third clock signal Clk_R1, delay the third clock signal Clk_R1, and output the third delayed clock signal Clk_R1d;
解码处理单元133,与命令采样模块12、第二延迟单元131和第三延迟单元132均连接,配置为基于第三延迟时钟信号Clk_R1d对第一采样信号CA<N:0>_R0的N位子信号和第二采样信号CA<N:0>_F0的N位子信号进行解码及采样处理,输出第一解码信号CmdR1;基于第一延迟时钟信号Clk_R0d对第三采样信号CA<N:0>_R1的N位子信号、第四采样信号的N位子信号进行解码及采样处理,输出第二解码信号CmdR0。The decoding processing unit 133 is connected to the command sampling module 12, the second delay unit 131 and the third delay unit 132, and is configured to decode and sample the N-bit sub-signal of the first sampling signal CA<N:0>_R0 and the N-bit sub-signal of the second sampling signal CA<N:0>_F0 based on the third delayed clock signal Clk_R1d, and output a first decoded signal CmdR1; decode and sample the N-bit sub-signal of the third sampling signal CA<N:0>_R1 and the N-bit sub-signal of the fourth sampling signal based on the first delayed clock signal Clk_R0d, and output a second decoded signal CmdR0.
需要说明的是,第一解码信号CmdR1和第二解码信号CmdR0组成目标解码信号。第一解码信号CmdR1指示命令地址信号CA Command在第1个初始时钟周期的内容;第二解码信号CmdR0指示命令地址信号CA Command在第2个初始时钟周期的内容。如前述,初始时钟周期是指初始时钟信号Clk的时钟周期。It should be noted that the first decoded signal CmdR1 and the second decoded signal CmdR0 constitute the target decoded signal. The first decoding signal CmdR1 indicates the content of the command address signal CA Command in the first initial clock cycle; the second decoding signal CmdR0 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.
需要说明的是,第二延迟单元131和第三延迟单元132可以与第一延迟单元的原理相同或者不同。具体的,第二延迟单元131和第三延迟单元132也可以称为ClkDly,同样通过常规延迟器件构成。进一步地,第二延迟单元131(或第三延迟单元132)可以设计为延迟参数可调的电路,也可以设计为延迟参数不可调的电路。第二延迟单元131的作用是对第一时钟信号Clk_R0进行延迟以实现第一时钟信号Clk_R0和第一中间信号之间的 延迟匹配,第二延迟单元131的作用是对第三时钟信号Clk_R1进行延迟以实现第三时钟信号Clk_R1和第二中间信号之间的延迟匹配。It should be noted that the second delay unit 131 and the third delay unit 132 may have the same or different principles as the first delay unit. Specifically, the second delay unit 131 and the third delay unit 132 may also be called ClkDly, and are also composed of conventional delay devices. Further, the second delay unit 131 (or the third delay unit 132) may be designed as a circuit with adjustable delay parameters, or may be designed as a circuit with unadjustable delay parameters. The function of the second delay unit 131 is to delay the first clock signal Clk_R0 to achieve delay matching between the first clock signal Clk_R0 and the first intermediate signal. The function of the second delay unit 131 is to delay the third clock signal Clk_R1 To achieve delay matching between the third clock signal Clk_R1 and the second intermediate signal.
在一些实施例中,如图4(图4以N=4为例进行示出)所示,解码处理单元133包括:In some embodiments, as shown in FIG. 4 ( FIG. 4 is shown by taking N=4 as an example), the decoding processing unit 133 includes:
第一解码单元21,与命令采样模块12和第三延迟单元132连接,配置为对第一采样信号CA<N:0>_R0的N位子信号和第二采样信号CA<N:0>_F0的N位子信号进行逻辑运算,输出第一中间信号;利用第三延迟时钟信号Clk_R1d对第一中间信号进行采样处理,输出第一解码信号CmdR1;The first decoding unit 21 is connected to the command sampling module 12 and the third delay unit 132, and is configured to decode the N-bit sub-signal of the first sampling signal CA<N:0>_R0 and the second sampling signal CA<N:0>_F0. Perform logical operations on the N-bit sub-signals and output the first intermediate signal; use the third delayed clock signal Clk_R1d to sample the first intermediate signal and output the first decoded signal CmdR1;
第二解码单元22,与命令采样模块12和第二延迟单元131连接,配置为对第三采样信号CA<N:0>_R1的N位子信号和第四采样信号CA<N:0>_F1的N位子信号进行逻辑运算,输出第二中间信号;利用第一延迟时钟信号Clk_R0d对第二中间信号进行采样处理,输出第二解码信号CmdR0。The second decoding unit 22 is connected to the command sampling module 12 and the second delay unit 131, and is configured to decode the N-bit sub-signal of the third sampling signal CA<N:0>_R1 and the fourth sampling signal CA<N:0>_F1. The N-bit sub-signals perform logical operations and output the second intermediate signal; the first delayed clock signal Clk_R0d is used to sample the second intermediate signal and output the second decoded signal CmdR0.
在一种具体的实施例中,以N=4为例,如图5所示,第一解码单元21包括第一逻辑单元211和第五触发器212;其中,第一逻辑单元211的输入端接收第一采样信号的4位子信号(即CA0_R0、CA1_R0、CA2_R0、CA3_R0)和第二采样信号的4位子信号(即CA0_F0、CA1_F0、CA2_F0、CA3_F0),第一逻辑单元211的输出端输出第一中间信号;第五触发器212的输入端接收第一中间信号,第五触发器212的时钟端接收第三延迟时钟信号Clk_R1d,第五触发器212的输出端输出第一解码信号CmdR1。In a specific embodiment, taking N=4 as an example, as shown in Figure 5, the first decoding unit 21 includes a first logic unit 211 and a fifth flip-flop 212; wherein, the input terminal of the first logic unit 211 After receiving the 4-bit sub-signals of the first sampling signal (i.e., CA0_R0, CA1_R0, CA2_R0, CA3_R0) and the 4-bit sub-signals of the second sampling signal (i.e., CA0_F0, CA1_F0, CA2_F0, CA3_F0), the output end of the first logic unit 211 outputs the first Intermediate signal; the input terminal of the fifth flip-flop 212 receives the first intermediate signal, the clock terminal of the fifth flip-flop 212 receives the third delayed clock signal Clk_R1d, and the output terminal of the fifth flip-flop 212 outputs the first decoded signal CmdR1.
类似的,如图4所示,第二解码单元22包括第二逻辑单元221和第六触发器222;第二逻辑单元221的输入端接收第三采样信号的4位子信号(即CA0_R1、CA1_R1、CA2_R1、CA3_R1)和第四采样信号的4位子信号(即CA0_F1、CA1_F1、CA2_F1、CA3_F1),第二逻辑单元221的输出端输出第二中间信号;第六触发器222的输入端接收第二中间信号,第六触发器222的时钟端接收第一延迟时钟信号Clk_R1d,第六触发器222的输出端输出第二解码信号CmdR0。Similarly, as shown in Figure 4, the second decoding unit 22 includes a second logic unit 221 and a sixth flip-flop 222; the input end of the second logic unit 221 receives the 4-bit sub-signals of the third sampling signal (i.e., CA0_R1, CA1_R1, CA2_R1, CA3_R1) and the 4-bit sub-signal of the fourth sampling signal (i.e., CA0_F1, CA1_F1, CA2_F1, CA3_F1), the output terminal of the second logic unit 221 outputs the second intermediate signal; the input terminal of the sixth flip-flop 222 receives the second intermediate signal signal, the clock terminal of the sixth flip-flop 222 receives the first delayed clock signal Clk_R1d, and the output terminal of the sixth flip-flop 222 outputs the second decoded signal CmdR0.
需要说明的,第一逻辑单元211(或第二逻辑单元221)可以通过多种逻辑器件实现,例如与非门、非门、异或门等等,具体需要根据具体的解码规则(或称为译码规则)确定,本公开实施例不做限定。It should be noted that the first logic unit 211 (or the second logic unit 221) can be implemented by a variety of logic devices, such as NAND gates, NOT gates, XOR gates, etc., and specific decoding rules (or so-called Decoding rules), which are not limited by the embodiments of this disclosure.
这样,利用第一时钟信号Clk_R0、第二时钟信号Clk_F0、第三时钟信号Clk_R1和第四时钟信号Clk_F1作对命令地址信号CA Command进行采样,分别得到命令地址信号CA Command在第1个初始时钟周期的上升沿的采样结果、命令地址信号CA Command在第1个初始时钟周期的下降沿的采样结果、命令地址信号CA Command在第2个初始时钟周期的上升沿的采样结果和命令地址信号CA Command在第2个初始时钟周期的下降沿的采样结果,以便后续进行解码处理,能够实现LPDDR6中命令地址信号 的正确解码,保证存储器正常工作。In this way, 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 used to sample the command address signal CA Command, and the values of the command address signal CA Command in the first initial clock cycle are obtained respectively. The sampling result of the rising edge, the sampling result of the command address signal CA Command on the falling edge of the first initial clock cycle, the sampling result of the command address signal CA Command on the rising edge of the second initial clock cycle and the command address signal CA Command on The sampling result of the falling edge of the second initial clock cycle is used for subsequent decoding processing, which can achieve the correct decoding of the command address signal in LPDDR6 and ensure the normal operation of the memory.
另外,根据LPDDR6的规定,片选信号CS也持续2个初始时钟周期,而且需要在第1个初始时钟周期的上升沿和第2个初始时钟周期的上升沿对片选信号CS进行采样处理。In addition, according to the regulations of LPDDR6, the chip select signal CS also lasts for 2 initial clock cycles, and the chip select signal CS needs to be sampled on the rising edge of the first initial clock cycle and the rising edge of the second initial clock cycle.
因此,在一些实施例中,如图5所示,命令解码电路10还包括:Therefore, in some embodiments, as shown in Figure 5, the command decoding circuit 10 further includes:
片选采样模块14,与时钟处理模块11连接,配置为接收片选信号CS;并利用第一时钟信号Clk_R0和第三时钟信号Clk_R1分别对片选信号CS进行采样,输出第一片选采样信号CS_R0和第二片选采样信号CS_R1。The chip select sampling module 14 is connected to the clock processing module 11 and configured to receive the chip select signal CS; and use the first clock signal Clk_R0 and the third clock signal Clk_R1 to sample the chip select signal CS respectively, and output the first chip select sampling signal CS_R0 and the second chip select sampling signal CS_R1.
需要说明的是,片选信号CS用于指示命令地址信号CA Command有效或者无效。在这里,命令解码电路10应用于半导体存储器,如果该半导体存储器被选中,此时片选信号CS的波形符合第一条件,命令地址信号CA Command是有效的;如果该存储器未被选中,此时片选信号CS的波形不符合第一条件,命令地址信号CA Command是无效的。It should be noted that the chip select signal CS is used to indicate whether the command address signal CA Command is valid or invalid. Here, the command decoding circuit 10 is applied to a semiconductor memory. If the semiconductor memory is selected, the waveform of the chip select signal CS meets the first condition at this time, and the command address signal CA Command is valid; if the memory is not selected, at this time The waveform of the chip select signal CS does not meet the first condition, and the command address signal CA Command is invalid.
示例性的,在图2的基础上,如图6所示,片选采样模块14包括第四延迟单元141、第七触发器142和第八触发器143;其中,第四延迟单元141的输入端接收片选信号CS,第四延迟单元141的输出端输出片选延迟信号CS_D;第七触发器142的输入端接收片选延迟信号CS_D,第七触发器142的时钟端接收第一时钟信号Clk_R0,第七触发器142的输出端输出第一片选采样信号CS_R0;第八触发器143的输入端接收片选延迟信号CS_D,第八触发器143的时钟端接收第三时钟信号Clk_R1,第八触发器143的输出端输出第二片选采样信号CS_R1。Exemplarily, on the basis of Figure 2, as shown in Figure 6, the chip select sampling module 14 includes a fourth delay unit 141, a seventh flip-flop 142 and an eighth flip-flop 143; wherein, the input of the fourth delay unit 141 The terminal receives the chip select signal CS, the output terminal of the fourth delay unit 141 outputs the chip select delay signal CS_D; the input terminal of the seventh flip-flop 142 receives the chip select delay signal CS_D, and the clock terminal of the seventh flip-flop 142 receives the first clock signal Clk_R0, the output terminal of the seventh flip-flop 142 outputs the first chip select sampling signal CS_R0; the input terminal of the eighth flip-flop 143 receives the chip select delay signal CS_D, and the clock terminal of the eighth flip-flop 143 receives the third clock signal Clk_R1. The output terminal of the eight flip-flop 143 outputs the second chip select sampling signal CS_R1.
需要说明的是,第四延迟单元141和第一延迟单元121的结构相同,即第四延迟单元141也可以通过多种延迟器件实现。It should be noted that the fourth delay unit 141 and the first delay unit 121 have the same structure, that is, the fourth delay unit 141 can also be implemented by a variety of delay devices.
前述的第一触发器~第八触发器均可以通过D型触发器实现,其可以利用时钟信号(即时钟端接收到的信号)上升沿对输入信号(即输入端接收到的信号)进行采样,得到输出信号(即输出端的信号)。另外,第一触发器~第六触发器222还各自具有复位端,接收相应的复位信号,以实现复位处理。The aforementioned first to eighth flip-flops can all be implemented by D-type flip-flops, which can use the rising edge of the clock signal (i.e., the signal received at the clock terminal) to sample the input signal (i.e., the signal received at the input terminal). , get the output signal (that is, the signal at the output end). In addition, the first to sixth flip-flops 222 each also have a reset terminal, which receives a corresponding reset signal to implement reset processing.
具体的,以命令地址信号CA Command包括4位子信号为例提供一种信号时序变化的具体说明。请参见图7,其示出了本公开实施例提供的一种信号时序示意图。在图7中,命令地址信号表示为CA<3:0>,第一采样信号表示为CA<3:0>_R0,第二采样信号表示为CA<3:0>_F0,第三采样信号表示为CA<3:0>_R1,第四采样信号表示为CA<3:0>_F1。如图7所示,初始时钟信号Clk在分频及分相后产生第一时钟信号Clk_R0、第二时钟信号Clk_F0、第三时钟信号Clk_R1和第四时钟信号Clk_F1,第一时钟信号Clk_R0采样命令地址信号CA<3:0>产生第一采样信号CA<3:0>_R0,第二时钟信号Clk_F0采样命令地址信号CA<3:0>产生第二采样信号CA<3:0>_F0,第三时钟信号Clk_R1采样命令地址信号CA<3:0>产生第三 采样信号CA<3:0>_R1,第四时钟信号Clk_F1采样命令地址信号CA<3:0>产生第四采样信号CA<3:0>_F1;然后,第一采样信号CA<3:0>_R0、第二采样信号CA<3:0>_F0、第三采样信号CA<3:0>_R1和第四采样信号CA<3:0>_F1经过解码处理,得到第一解码信号Cmd_R1和第二解码信号Cmd_R0(图7未示出);同时,第一时钟信号Clk_R0采样初始片选信号CS产生第一片选采样信号CS_R0,第二时钟信号Clk_R1采样初始片选信号CS产生第一片选采样信号CS_R1(图7未示出);最后,第一解码信号Cmd_R0、第二解码信号Cmd_R1、第一片选采样信号CS_R0和第二片选采样信号CS_R1再进行共同解码,并通过命令采样时钟信号ClkCmd_R1对解码结果进行采样以得到最终的目标命令信号Command。在这里,目标命令信号Command能够指示本次CA Command的具体内容,例如表1中的PDE、SRE、ACT-1、ACT-2……Specifically, a specific explanation of signal timing changes is provided by taking the command address signal CA Command including 4-bit sub-signals as an example. Please refer to FIG. 7 , which shows a signal timing diagram provided by an embodiment of the present disclosure. In Figure 7, the command address signal is represented by CA<3:0>, the first sampling signal is represented by CA<3:0>_R0, the second sampling signal is represented by CA<3:0>_F0, and the third sampling signal is represented by is CA<3:0>_R1, and the fourth sampling signal is represented as CA<3:0>_F1. As shown in Figure 7, the initial clock signal Clk generates 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 after frequency division and phase division. The first clock signal Clk_R0 sampling command address The signal CA<3:0> generates the first sampling signal CA<3:0>_R0, the second clock signal Clk_F0 samples the command address signal CA<3:0> to generate the second sampling signal CA<3:0>_F0, and the third The clock signal Clk_R1 samples the command address signal CA<3:0> to generate the third sampling signal CA<3:0>_R1, and the fourth clock signal Clk_F1 samples the command address signal CA<3:0> to generate the fourth sampling signal CA<3: 0>_F1; then, the first sampling signal CA<3:0>_R0, the second sampling signal CA<3:0>_F0, the third sampling signal CA<3:0>_R1 and the fourth sampling signal CA<3: 0>_F1 is decoded to obtain the first decoded signal Cmd_R1 and the second decoded signal Cmd_R0 (not shown in Figure 7); at the same time, the first clock signal Clk_R0 samples the initial chip select signal CS to generate the first chip select sampling signal CS_R0. The second clock signal Clk_R1 samples the initial chip select signal CS to generate the first chip select sampling signal CS_R1 (not shown in Figure 7); finally, the first decoded signal Cmd_R0, the second decoded signal Cmd_R1, the first chip select sampled signal CS_R0 and the second The chip select sampling signal CS_R1 is then jointly decoded, and the decoding result is sampled through the command sampling clock signal ClkCmd_R1 to obtain the final target command signal Command. Here, the target command signal Command can indicate the specific content of this CA Command, such as PDE, SRE, ACT-1, ACT-2... in Table 1...
另外,如图7所示,初始片选信号CS的初始状态为低电平,在初始片选信号CS产生连续的2个脉冲时指示半导体存储器被选中,即本次CA Command有效。In addition, as shown in Figure 7, the initial state of the initial chip select signal CS is a low level. When the initial chip select signal CS generates two consecutive pulses, it indicates that the semiconductor memory is selected, that is, the current CA Command is valid.
本公开实施例提供了一种命令解码电路,将初始时钟信号进行分频和分相后产生4个时钟信号(即第一时钟信号~第四时钟信号),利用4个时钟信号对命令地址信号进行采样,利用第一时钟信号和第三时钟信号对片选信号进行采样,以便后续解码出目标命令信号Command。这样,通过命令解码电路能够针对持续2个初始时钟周期的命令地址信号和持续2个初始时钟周期的片选信号进行采样及解码,实现命令的正确解析。The embodiment of the present disclosure provides a command decoding circuit, which divides the frequency and phase of the initial clock signal to generate four clock signals (i.e., the first clock signal to the fourth clock signal), and uses the four clock signals to decode the command address signal. Sampling is performed, and the first clock signal and the third clock signal are used to sample the chip select signal, so as to subsequently decode the target command signal Command. In this way, the command decoding circuit can sample and decode the command address signal that lasts for 2 initial clock cycles and the chip select signal that lasts for 2 initial clock cycles to achieve correct analysis of the command.
在本公开的另一实施例中,参见图8,其示出了本公开实施例提供的一种命令解码方法的流程示意图。如图8所示,该方法包括:In another embodiment of the present disclosure, see FIG. 8 , which shows a schematic flowchart of a command decoding method provided by an embodiment of the present disclosure. As shown in Figure 8, the method includes:
S301:对初始时钟信号进行分频和分相处理,输出第一时钟信号、第二时钟信号、第三时钟信号和第四时钟信号;其中,第一时钟信号、第二时钟信号、第三时钟信号和第四时钟信号是一组时钟周期相同且相位依次相差90度的信号,第一时钟信号的上升沿与初始时钟信号的上升沿对齐,第一时钟信号的时钟周期是初始时钟信号的时钟周期的2倍。S301: Perform frequency division and phase division processing on the initial clock signal, and output the first clock signal, the second clock signal, the third clock signal and the fourth clock signal; wherein, the first clock signal, the second clock signal, the third clock signal are The signal and the fourth clock signal are a set of signals with the same clock period and a phase difference of 90 degrees in sequence. The rising edge of the first clock signal is aligned with the rising edge of the initial clock signal. The clock period of the first clock signal is the clock of the initial clock signal. 2 times the period.
S302:利用第一时钟信号、第二时钟信号、第三时钟信号和第四时钟信号分别对命令地址信号进行采样,输出第一采样信号、第二采样信号、第三采样信号和第四采样信号。S302: Use the first clock signal, the second clock signal, the third clock signal and the fourth clock signal to sample the command address signal respectively, and output the first sampling signal, the second sampling signal, the third sampling signal and the fourth sampling signal. .
S303:基于第一时钟信号和第三时钟信号对第一采样信号、第二采样信号、第三采样信号和第四采样信号进行解码及采样处理,输出目标解码信号。S303: Decode and sample the first sampling signal, the second sampling signal, the third sampling signal and the fourth sampling signal based on the first clock signal and the third clock signal, and output the target decoded signal.
在一些实施例中,第一时钟信号的上升沿与初始时钟信号在奇数周期的上升沿对齐,第二时钟信号的上升沿与初始时钟信号在奇数周期的下降沿对齐,第三时钟信号的上升沿与初始时钟信号在偶数周期的上升沿对齐,第四时钟信号的上升沿与初始时钟信号在偶数周期的下降沿对齐。In some embodiments, the rising edge of the first clock signal is aligned with the rising edge of the initial clock signal in odd cycles, the rising edge of the second clock signal is aligned with the falling edge of the initial clock signal in odd cycles, the rising edge of the third clock signal is aligned with the rising edge of the initial clock signal in even cycles, and the rising edge of the fourth clock signal is aligned with the falling edge of the initial clock signal in even cycles.
在一些实施例中,利用第一时钟信号和第三时钟信号分别对片选信号进行采样,输出第一片选采样信号和第二片选采样信号;其中,片选信号用于指示命令地址信号有效或无效。In some embodiments, the first clock signal and the third clock signal are used to sample the chip select signal respectively, and the first chip select sampling signal and the second chip select sampling signal are output; wherein the chip select signal is used to indicate the command address signal. Valid or invalid.
本公开实施例提供了一种命令解码电路,将初始时钟信号进行分频和分相后产生4个时钟信号(即第一时钟信号~第四时钟信号),利用4个时钟信号对命令地址信号进行采样,利用第一时钟信号和第三时钟信号对片选信号进行采样,以便后续解码出目标命令信号Command。这样,通过命令解码电路能够针对持续2个初始时钟周期的命令地址信号和持续2个初始时钟周期的片选信号进行采样及解码,实现命令的正确解析。The embodiment of the present disclosure provides a command decoding circuit, which divides the frequency and phase of the initial clock signal to generate four clock signals (i.e., the first clock signal to the fourth clock signal), and uses the four clock signals to decode the command address signal. Sampling is performed, and the first clock signal and the third clock signal are used to sample the chip select signal, so as to subsequently decode the target command signal Command. In this way, the command decoding circuit can sample and decode the command address signal that lasts for 2 initial clock cycles and the chip select signal that lasts for 2 initial clock cycles to achieve correct analysis of the command.
在本公开的又一实施例中,参见图9,其示出了本公开实施例提供的一种半导体存储器40的组成结构示意图。如图9所示,半导体存储器40可以包括前述实施例任一项所述的命令解码电路10。In yet another embodiment of the present disclosure, see FIG. 9 , which shows a schematic structural diagram of a semiconductor memory 40 provided by an embodiment of the present disclosure. As shown in FIG. 9 , the semiconductor memory 40 may include the command decoding circuit 10 described in any of the previous embodiments.
在本公开实施例中,半导体存储器40可以为动态随机存取存储器DRAM,且所述半导体存储器符合LPDDR6的规定。In the embodiment of the present disclosure, the semiconductor memory 40 may be a dynamic random access memory DRAM, and the semiconductor memory complies with the regulations of LPDDR6.
以上,仅为本公开的较佳实施例而已,并非用于限定本公开的保护范围。The above are only preferred embodiments of the present disclosure and are not intended to limit the scope of the present disclosure.
需要说明的是,在本公开中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。上述本公开实施例序号仅仅为了描述,不代表实施例的优劣。本公开所提供的几个方法实施例中所揭露的方法,在不冲突的情况下可以任意组合,得到新的方法实施例。本公开所提供的几个产品实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的产品实施例。本公开所提供的几个方法或设备实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的方法实施例或设备实施例。以上,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以权利要求的保护范围为准。It should be noted that in the present disclosure, the terms "include", "comprise" or any other variants 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 further restrictions, an element defined by the sentence "includes one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. The above serial numbers of the embodiments of the present disclosure are only for description and do not represent the advantages and disadvantages of the embodiments. The methods disclosed in several method embodiments provided by the present disclosure can be arbitrarily combined without conflict to obtain new method embodiments. The features disclosed in several product embodiments provided by the present disclosure can be arbitrarily combined without conflict to obtain new product embodiments. The features disclosed in 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 embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any technician familiar with the technical field of the present disclosure can easily think of changes or replacements within the technical scope disclosed by the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
工业实用性Industrial applicability
本公开实施例提供了一种命令解码电路及其方法、半导体存储器,将初始时钟信号进行分频和分相后产生第一时钟信号~第四时钟信号,并利用第一时钟信号~第四时钟信号对命令地址信号进行采样及解码处理,能够实现命令地址信号的正确解码。Embodiments of the present disclosure provide a command decoding circuit, a method thereof, and a semiconductor memory. The initial clock signal is frequency-divided and phase-divided to generate a first clock signal to a fourth clock signal, and the first clock signal to the fourth clock signal are used. The signal samples and decodes the command address signal to achieve correct decoding of the command address signal.

Claims (15)

  1. 一种命令解码电路,所述命令解码电路包括:A command decoding circuit, the command decoding circuit comprising:
    时钟处理模块,配置为接收初始时钟信号,对所述初始时钟信号进行分频和分相处理,输出第一时钟信号、第二时钟信号、第三时钟信号和第四时钟信号;其中,所述第一时钟信号、所述第二时钟信号、所述第三时钟信号和所述第四时钟信号是时钟周期相同且相位依次相差90度的一组信号,所述第一时钟信号的上升沿与所述初始时钟信号的上升沿对齐,所述第一时钟信号的时钟周期是所述初始时钟信号的时钟周期的2倍;A clock processing module configured to receive an initial clock signal, perform frequency division and phase division processing on the initial clock signal, and output a first clock signal, a second clock signal, a third clock signal and a fourth clock signal; wherein, the The first clock signal, the second clock signal, the third clock signal and the fourth clock signal are a group of signals with the same clock cycle and a phase difference of 90 degrees in sequence. The rising edge of the first clock signal is the same as the rising edge of the first clock signal. The rising edges of the initial clock signal are aligned, and the clock period of the first clock signal is twice the clock period of the initial clock signal;
    命令采样模块,与所述时钟处理模块连接,配置为接收命令地址信号;利用所述第一时钟信号、所述第二时钟信号、所述第三时钟信号和所述第四时钟信号分别对所述命令地址信号进行采样,输出第一采样信号、第二采样信号、第三采样信号和第四采样信号;a command sampling module, connected to the clock processing module, configured to receive a command address signal; sample the command address signal using the first clock signal, the second clock signal, the third clock signal and the fourth clock signal, respectively, and output a first sampling signal, a second sampling signal, a third sampling signal and a fourth sampling signal;
    解码模块,与所述时钟处理模块和所述命令采样模块连接,配置为基于所述第一时钟信号和所述第三时钟信号对所述第一采样信号、所述第二采样信号、所述第三采样信号和所述第四采样信号进行解码及采样处理,输出目标解码信号。a decoding module, connected to the clock processing module and the command sampling module, and configured to decode the first sampling signal, the second sampling signal, and the The third sampling signal and the fourth sampling signal are decoded and sampled, and a target decoded signal is output.
  2. 根据权利要求1所述的命令解码电路,其中,所述第一时钟信号的上升沿与所述初始时钟信号在奇数时钟周期的上升沿对齐,所述第二时钟信号的上升沿与所述初始时钟信号在奇数时钟周期的下降沿对齐,所述第三时钟信号的上升沿与所述初始时钟信号在偶数时钟周期的上升沿对齐,所述第四时钟信号的上升沿与所述初始时钟信号在偶数时钟周期的下降沿对齐。The command decoding circuit according to claim 1, wherein the rising edge of the first clock signal is aligned with the rising edge of the initial clock signal in odd clock cycles, and the rising edge of the second clock signal is aligned with the initial The clock signal is aligned on the falling edge of the odd clock period, the rising edge of the third clock signal is aligned with the rising edge of the initial clock signal on the even clock period, and the rising edge of the fourth clock signal is aligned with the initial clock signal. Aligned on the falling edge of even clock cycles.
  3. 根据权利要求1-2任一项所述的命令解码电路,其中,所述命令解码电路还包括:The command decoding circuit according to any one of claims 1-2, wherein the command decoding circuit further includes:
    片选采样模块,与所述时钟处理模块连接,配置为接收片选信号;利用所述第一时钟信号和所述第三时钟信号分别对所述片选信号进行采样,输出第一片选采样信号和第二片选采样信号;a chip select sampling module, connected to the clock processing module and configured to receive a chip select signal; use the first clock signal and the third clock signal to respectively sample the chip select signal and output a first chip select sample signal and the second chip select sampling signal;
    其中,所述片选信号用于指示所述命令地址信号有效或无效。Wherein, the chip select signal is used to indicate whether the command address signal is valid or invalid.
  4. 根据权利要求1所述的命令解码电路,其中,所述命令地址信号、所述第一采样信号、所述第二采样信号、所述第三采样信号和所述第四采样信号均包括N位子信号,所述命令采样模块包括N个命令采样单元;The command decoding circuit according to claim 1, wherein the command address signal, the first sampling signal, the second sampling signal, the third sampling signal and the fourth sampling signal each include N-bit sub-signals, and the command sampling module includes N command sampling units;
    第i个所述命令采样单元,与所述时钟处理模块连接,配置为对所述命令地址信号的第i位子信号进行延迟处理,得到待处理信号;利用所述第一时钟信号对所述待处理信号进行采样处理,输出所述第一采样信号的第i位子信号;利用所述第二时钟信号对所述待处理信号进行采样处理,输出所述第二采样信号的第i位子信号,利用所述第三时钟信号对所述待处理信号进行采样处理,输出所述第三采样信号的第i位子信号,利用所述第四时 钟信号对所述待处理信号进行采样处理,输出所述第四采样信号的第i位子信号,The i-th command sampling unit is connected to the clock processing module and configured to perform delay processing on the i-th sub-signal of the command address signal to obtain a signal to be processed; using the first clock signal to process the signal to be processed The processed signal is subjected to sampling processing, and the i-th sub-signal of the first sampling signal is output; the signal to be processed is sampled using the second clock signal, and the i-th sub-signal of the second sampling signal is output, using The third clock signal samples the signal to be processed and outputs the i-th sub-signal of the third sampling signal. The fourth clock signal is used to sample the signal to be processed and outputs the i-th sub-signal. The i-th sub-signal of the four-sampled signal,
    其中,i、N为正整数,且i小于等于N。Wherein, i and N are positive integers, and i is less than or equal to N.
  5. 根据权利要求4所述的命令解码电路,其中,第i个所述命令采样单元包括第一延迟单元、第一触发器、第二触发器、第三触发器和第四触发器;其中,The command decoding circuit according to claim 4, wherein the i-th command sampling unit comprises a first delay unit, a first trigger, a second trigger, a third trigger and a fourth trigger; wherein,
    所述第一延迟单元的输入端接收所述命令地址信号的第i位子信号,所述第一延迟单元的输出端输出所述待处理信号;The input terminal of the first delay unit receives the i-th sub-signal of the command address signal, and the output terminal of the first delay unit outputs the signal to be processed;
    所述第一触发器的输入端接收所述待处理信号,所述第一触发器的时钟端接收所述第一时钟信号,所述第一触发器的输出端输出所述第一采样信号的第i位子信号;The input terminal of the first flip-flop receives the signal to be processed, the clock terminal of the first flip-flop receives the first clock signal, and the output terminal of the first flip-flop outputs the first sampling signal. i-th sub-signal;
    所述第二触发器的输入端接收所述待处理信号,所述第二触发器的时钟端接收所述第二时钟信号,所述第二触发器的输出端输出所述第二采样信号的第i位子信号;The input terminal of the second flip-flop receives the signal to be processed, the clock terminal of the second flip-flop receives the second clock signal, and the output terminal of the second flip-flop outputs the second sampling signal. i-th sub-signal;
    所述第三触发器的输入端接收所述待处理信号,所述第三触发器的时钟端接收所述第三时钟信号,所述第三触发器的输出端输出所述第三采样信号的第i位子信号;The input terminal of the third flip-flop receives the signal to be processed, the clock terminal of the third flip-flop receives the third clock signal, and the output terminal of the third flip-flop outputs the third sampling signal. i-th sub-signal;
    所述第四触发器的输入端接收所述待处理信号,所述第四触发器的时钟端接收所述第四时钟信号,所述第四触发器的输出端输出所述第四采样信号的第i位子信号。The input terminal of the fourth flip-flop receives the signal to be processed, the clock terminal of the fourth flip-flop receives the fourth clock signal, and the output terminal of the fourth flip-flop outputs the fourth sampling signal. The i-th sub-signal.
  6. 根据权利要求4所述的命令解码电路,其中,所述解码模块包括:The command decoding circuit according to claim 4, wherein the decoding module includes:
    第二延迟单元,与所述时钟处理模块连接,配置为接收所述第一时钟信号,对所述第一时钟信号进行延迟,输出第一延迟时钟信号;a second delay unit, connected to the clock processing module, configured to receive the first clock signal, delay the first clock signal, and output the first delayed clock signal;
    第三延迟单元,与所述时钟处理模块连接,配置为接收所述第三时钟信号,对所述第三时钟信号进行延迟,输出第三延迟时钟信号;A third delay unit is connected to the clock processing module and configured to receive the third clock signal, delay the third clock signal, and output a third delayed clock signal;
    解码处理单元,与所述命令采样模块、所述第二延迟单元和所述第三延迟单元均连接,配置为基于所述第三延迟时钟信号对所述第一采样信号的N位子信号和所述第二采样信号的N位子信号进行解码及采样处理,输出第一解码信号;基于所述第一延迟时钟信号对所述第三采样信号的N位子信号、所述第四采样信号的N位子信号进行解码及采样处理,输出第二解码信号;a decoding processing unit connected to the command sampling module, the second delay unit and the third delay unit, and configured to decode and sample the N-bit sub-signal of the first sampling signal and the N-bit sub-signal of the second sampling signal based on the third delayed clock signal, and output a first decoded signal; decode and sample the N-bit sub-signal of the third sampling signal and the N-bit sub-signal of the fourth sampling signal based on the first delayed clock signal, and output a second decoded signal;
    其中,所述第一解码信号和所述第二解码信号组成所述目标解码信号,所述第一解码信号指示所述命令地址信号在第1个初始时钟周期的内容;所述第二解码信号指示所述命令地址信号在第2个初始时钟周期的内容,且所述初始时钟周期是指初始时钟信号的时钟周期。Wherein, the first decoding signal and the second decoding signal constitute the target decoding signal, and the first decoding signal indicates the content of the command address signal in the first initial clock cycle; the second decoding signal Indicates the content of the command address signal in the second initial clock cycle, and the initial clock cycle refers to the clock cycle of the initial clock signal.
  7. 根据权利要求6所述的命令解码电路,其中,所述解码处理单元包括:The command decoding circuit according to claim 6, wherein the decoding processing unit includes:
    第一解码单元,与所述命令采样模块和所述第三延迟单元连接,配置为对所述第一采样信号的N位子信号和所述第二采样信号的N位子信号进 行逻辑运算,输出第一中间信号;利用所述第三延迟时钟信号对所述第一中间信号进行采样处理,输出所述第一解码信号;A first decoding unit, connected to the command sampling module and the third delay unit, is configured to perform logical operations on the N-bit sub-signal of the first sampling signal and the N-bit sub-signal of the second sampling signal, and output the An intermediate signal; using the third delayed clock signal to sample the first intermediate signal and output the first decoded signal;
    第二解码单元,与所述命令采样模块和所述第二延迟单元连接,配置为对所述第三采样信号的N位子信号和所述第四采样信号的N位子信号进行逻辑运算,输出第二中间信号;利用所述第一延迟时钟信号对所述第二中间信号进行采样处理,输出所述第二解码信号。The second decoding unit is connected to the command sampling module and the second delay unit, and is configured to perform logical operations on the N-bit sub-signal of the third sampling signal and the N-bit sub-signal of the fourth sampling signal, and output the N-bit sub-signal of the third sampling signal. Two intermediate signals: use the first delayed clock signal to perform sampling processing on the second intermediate signal, and output the second decoded signal.
  8. 根据权利要求7所述的命令解码电路,其中,N=4;所述第一解码单元包括第一逻辑单元和第五触发器;其中,The command decoding circuit according to claim 7, wherein N=4; the first decoding unit includes a first logic unit and a fifth flip-flop; wherein,
    所述第一逻辑单元的输入端接收所述第一采样信号的4位子信号和所述第二采样信号的4位子信号,所述第一逻辑单元的输出端输出第一中间信号;所述第五触发器的输入端接收所述第一中间信号,所述第五触发器的时钟端接收所述第三延迟时钟信号,所述第五触发器的输出端输出所述第一解码信号。The input terminal of the first logic unit receives the 4-bit sub-signal of the first sampling signal and the 4-bit sub-signal of the second sampling signal, and the output terminal of the first logic unit outputs a first intermediate signal; The input terminal of the fifth flip-flop receives the first intermediate signal, the clock terminal of the fifth flip-flop receives the third delayed clock signal, and the output terminal of the fifth flip-flop outputs the first decoded signal.
  9. 根据权利要求7所述的命令解码电路,其中,N=4;所述第二解码单元包括第二逻辑单元和第六触发器;The command decoding circuit according to claim 7, wherein N=4; the second decoding unit includes a second logic unit and a sixth flip-flop;
    所述第二逻辑单元的输入端接收所述第三采样信号的4位子信号和所述第四采样信号的4位子信号,所述第二逻辑单元的输出端输出第二中间信号;所述第六触发器的输入端接收所述第二中间信号,所述第六触发器的时钟端接收所述第一延迟时钟信号,所述第六触发器的输出端输出所述第二解码信号。The input terminal of the second logic unit receives the 4-bit sub-signal of the third sampling signal and the 4-bit sub-signal of the fourth sampling signal, and the output terminal of the second logic unit outputs a second intermediate signal; The input terminal of the sixth flip-flop receives the second intermediate signal, the clock terminal of the sixth flip-flop receives the first delayed clock signal, and the output terminal of the sixth flip-flop outputs the second decoded signal.
  10. 根据权利要求3所述的命令解码电路,其中,所述片选采样模块包括第四延迟单元、第七触发器和第八触发器;其中,The command decoding circuit according to claim 3, wherein the chip select sampling module includes a fourth delay unit, a seventh flip-flop and an eighth flip-flop; wherein,
    所述第四延迟单元的输入端接收所述片选信号,所述第四延迟单元的输出端输出片选延迟信号;The input terminal of the fourth delay unit receives the chip select signal, and the output terminal of the fourth delay unit outputs the chip select delay signal;
    所述第七触发器的输入端接收所述片选延迟信号,所述第七触发器的时钟端接收所述第一时钟信号,所述第七触发器的输出端输出所述第一片选采样信号;The input terminal of the seventh flip-flop receives the chip select delay signal, the clock terminal of the seventh flip-flop receives the first clock signal, and the output terminal of the seventh flip-flop outputs the first chip select sample signal;
    所述第八触发器的输入端接收所述片选延迟信号,所述第八触发器的时钟端接收所述第三时钟信号,所述第八触发器的输出端输出所述第二片选采样信号。The input end of the eighth flip-flop receives the chip selection delay signal, the clock end of the eighth flip-flop receives the third clock signal, and the output end of the eighth flip-flop outputs the second chip selection sampling signal.
  11. 一种命令解码方法,其中,所述方法包括:A command decoding method, wherein the method includes:
    对初始时钟信号进行分频和分相处理,输出第一时钟信号、第二时钟信号、第三时钟信号和第四时钟信号;其中,所述第一时钟信号、所述第二时钟信号、所述第三时钟信号和所述第四时钟信号是一组时钟周期相同且相位依次相差90度的信号,所述第一时钟信号的上升沿与所述初始时钟信号的上升沿对齐,所述第一时钟信号的时钟周期是所述初始时钟信号的时钟周期的2倍;The initial clock signal is subjected to frequency division and phase separation processing to output a first clock signal, a second clock signal, a third clock signal and a fourth clock signal; wherein the first clock signal, the second clock signal, the The third clock signal and the fourth clock signal are a set of signals with the same clock period and a phase difference of 90 degrees. The rising edge of the first clock signal is aligned with the rising edge of the initial clock signal. The clock period of a clock signal is twice the clock period of the initial clock signal;
    利用所述第一时钟信号、所述第二时钟信号、所述第三时钟信号和所 述第四时钟信号分别对命令地址信号进行采样,输出第一采样信号、第二采样信号、第三采样信号和第四采样信号;Use the first clock signal, the second clock signal, the third clock signal and the fourth clock signal to sample the command address signal respectively, and output the first sampling signal, the second sampling signal and the third sampling signal. signal and the fourth sampled signal;
    基于所述第一时钟信号和所述第三时钟信号对所述第一采样信号、所述第二采样信号、所述第三采样信号和所述第四采样信号进行解码及采样处理,输出目标解码信号。The first sampling signal, the second sampling signal, the third sampling signal and the fourth sampling signal are decoded and sampled based on the first clock signal and the third clock signal to output a target Decode the signal.
  12. 根据权利要求11所述的命令解码方法,其中,所述第一时钟信号的上升沿与所述初始时钟信号在奇数周期的上升沿对齐,所述第二时钟信号的上升沿与所述初始时钟信号在奇数周期的下降沿对齐,所述第三时钟信号的上升沿与所述初始时钟信号在偶数周期的上升沿对齐,所述第四时钟信号的上升沿与所述初始时钟信号在偶数周期的下降沿对齐。The command decoding method according to claim 11, wherein the rising edge of the first clock signal is aligned with the rising edge of the initial clock signal in odd periods, and the rising edge of the second clock signal is aligned with the initial clock signal. The signals are aligned on the falling edge of the odd-numbered period, the rising edge of the third clock signal is aligned with the rising edge of the initial clock signal on the even-numbered period, and the rising edge of the fourth clock signal is aligned with the initial clock signal on the even-numbered period. falling edge alignment.
  13. 根据权利要求12所述的命令解码方法,其中,所述方法还包括:The command decoding method according to claim 12, wherein the method further includes:
    利用所述第一时钟信号和所述第三时钟信号分别对片选信号进行采样,输出第一片选采样信号和第二片选采样信号;Using the first clock signal and the third clock signal to respectively sample the chip select signal, and output the first chip select sampling signal and the second chip select sampling signal;
    其中,所述片选信号用于指示所述命令地址信号有效或无效。Wherein, the chip select signal is used to indicate whether the command address signal is valid or invalid.
  14. 一种半导体存储器,其中,包括如权利要求1至10任一项所述的命令解码电路。A semiconductor memory including the command decoding circuit according to any one of claims 1 to 10.
  15. 根据权利要求14所述的半导体存储器,其中,所述半导体存储器为动态随机存取存储器DRAM,且所述半导体存储器符合LPDDR6内存规格。The semiconductor memory of claim 14, wherein the semiconductor memory is a dynamic random access memory (DRAM), and the semiconductor memory complies with LPDDR6 memory specifications.
PCT/CN2022/123984 2022-09-19 2022-10-09 Command decoding circuit and method thereof, and semiconductor memory WO2024060317A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211139070.6 2022-09-19
CN202211139070.6A CN117765999A (en) 2022-09-19 2022-09-19 Command decoding circuit and method thereof and semiconductor memory

Publications (1)

Publication Number Publication Date
WO2024060317A1 true WO2024060317A1 (en) 2024-03-28

Family

ID=90318597

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/123984 WO2024060317A1 (en) 2022-09-19 2022-10-09 Command decoding circuit and method thereof, and semiconductor memory

Country Status (2)

Country Link
CN (1) CN117765999A (en)
WO (1) WO2024060317A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844439A (en) * 2016-09-20 2018-03-27 三星电子株式会社 Support the storage device and system and its operating method of command line training
CN109903793A (en) * 2017-12-08 2019-06-18 三星电子株式会社 Semiconductor storage and storage system
US20210405927A1 (en) * 2020-06-30 2021-12-30 SK Hynix Inc. Memory apparatus, a semiconductor system including the same and an operating method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844439A (en) * 2016-09-20 2018-03-27 三星电子株式会社 Support the storage device and system and its operating method of command line training
CN109903793A (en) * 2017-12-08 2019-06-18 三星电子株式会社 Semiconductor storage and storage system
US20210405927A1 (en) * 2020-06-30 2021-12-30 SK Hynix Inc. Memory apparatus, a semiconductor system including the same and an operating method thereof

Also Published As

Publication number Publication date
CN117765999A (en) 2024-03-26

Similar Documents

Publication Publication Date Title
US8115529B2 (en) Device and control method of device
US11150686B2 (en) Apparatuses for reducing clock path power consumption in low power dynamic random access memory
US7224625B2 (en) Method and circuit arrangement for controlling write access to a semiconductor memory
US7843743B2 (en) Data output circuit for semiconductor memory apparatus
CN114678056A (en) Signal sampling circuit and semiconductor memory
KR20070075572A (en) Command decoder circuit of semiconductor memory device
KR100625296B1 (en) Method and apparatus for latency control in high frequency synchronous semiconductor device
WO2023178805A1 (en) Signal sampling circuit and semiconductor memory
US6069829A (en) Internal clock multiplication for test time reduction
EP4328916A1 (en) Signal sampling circuit and semiconductor memory
US6215722B1 (en) Command latency circuit for programmable SLDRAM and latency control method therefor
US7561490B2 (en) Semiconductor memory device and method for driving the same
WO2024060317A1 (en) Command decoding circuit and method thereof, and semiconductor memory
KR100762882B1 (en) Circuit For Controlling Data Output Enable Signal
KR20120119348A (en) Delay circuit and latency control circuit of memory and signal delay method
WO2024087781A1 (en) Command decoding circuit and semiconductor memory
US11329651B2 (en) Integrated circuit
US20170230036A1 (en) Phase and frequency control circuit and system including the same
US20230017682A1 (en) Signal sampling circuit and semiconductor memory
US10090842B2 (en) Frequency divider regarding variable division ratio
WO2023178803A1 (en) Signal sampling circuit and semiconductor memory
EP4328917A1 (en) Signal sampling circuit and semiconductor memory
CN116844605B (en) Signal sampling circuit and semiconductor memory
CN116844606B (en) Signal sampling circuit and semiconductor memory
US20230013811A1 (en) Signal sampling circuit and semiconductor memory device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22959319

Country of ref document: EP

Kind code of ref document: A1