KR20240007735A - Memory, control units, clock processing methods and electronics - Google Patents

Memory, control units, clock processing methods and electronics Download PDF

Info

Publication number
KR20240007735A
KR20240007735A KR1020227042133A KR20227042133A KR20240007735A KR 20240007735 A KR20240007735 A KR 20240007735A KR 1020227042133 A KR1020227042133 A KR 1020227042133A KR 20227042133 A KR20227042133 A KR 20227042133A KR 20240007735 A KR20240007735 A KR 20240007735A
Authority
KR
South Korea
Prior art keywords
read
clock signal
data
signal
memory
Prior art date
Application number
KR1020227042133A
Other languages
Korean (ko)
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
Priority claimed from CN202210806176.0A external-priority patent/CN117409828A/en
Application filed by 창신 메모리 테크놀로지즈 아이엔씨 filed Critical 창신 메모리 테크놀로지즈 아이엔씨
Publication of KR20240007735A publication Critical patent/KR20240007735A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/08Clock generators with changeable or programmable clock frequency
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/02Detection or location of defective auxiliary circuits, e.g. defective refresh counters
    • G11C29/028Detection or location of defective auxiliary circuits, e.g. defective refresh counters with adaption or trimming of parameters
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store
    • G11C7/22Read-write [R-W] timing or clocking circuits; Read-write [R-W] control signal generators or management 
    • G11C7/222Clock generating, synchronizing or distributing circuits within memory device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/10Distribution of clock signals, e.g. skew
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/02Detection or location of defective auxiliary circuits, e.g. defective refresh counters
    • G11C29/023Detection or location of defective auxiliary circuits, e.g. defective refresh counters in clock generator or timing circuitry
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
    • G11C29/50Marginal testing, e.g. race, voltage or current testing
    • G11C29/50012Marginal testing, e.g. race, voltage or current testing of timing
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store
    • G11C7/10Input/output [I/O] data interface arrangements, e.g. I/O data control circuits, I/O data buffers
    • G11C7/1015Read-write modes for single port memories, i.e. having either a random port or a serial port
    • G11C7/1045Read-write mode select circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store
    • G11C7/10Input/output [I/O] data interface arrangements, e.g. I/O data control circuits, I/O data buffers
    • G11C7/1051Data output circuits, e.g. read-out amplifiers, data output buffers, data output registers, data output level conversion circuits
    • G11C7/1066Output synchronization
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/156Arrangements in which a continuous pulse train is transformed into a train having a desired pattern
    • H03K5/1565Arrangements in which a continuous pulse train is transformed into a train having a desired pattern the output pulses having a constant duty cycle
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C2207/00Indexing scheme relating to arrangements for writing information into, or reading information out from, a digital store
    • G11C2207/22Control and timing of internal memory operations
    • G11C2207/2254Calibration

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Nonlinear Science (AREA)
  • Dram (AREA)

Abstract

본 발명의 실시예는 메모리, 제어 장치, 클럭 처리 방법과 전자 기기를 제공하고, 메모리에서의 클럭 처리 회로는, 데이터 클럭 신호에 대해 듀티 사이클 조절을 수행하여, 내부 클럭 신호를 출력하도록 구성된 듀티 사이클 모듈; 내부 클럭 신호를 수신하고, 내부 클럭 신호에 기반하여, 제1 판독 클럭 신호를 출력하도록 구성된 제1 클럭 생성 모듈 - 제1 판독 클럭 신호는 펄스 신호임 - ; 제2 판독 클럭 신호를 생성하고 출력하도록 구성된 제2 클럭 생성 모듈 - 제2 판독 클럭 신호는 하나의 레벨 상태 변화 에지만 존재함 - ; 및 제1 판독 클럭 신호와 제2 판독 클럭 신호를 수신하고, 제1 판독 클럭 신호와 제2 판독 클럭 신호 중의 하나를 타깃 판독 클럭 신호로 출력하도록 구성된 선택 모듈을 포함한다.An embodiment of the present invention provides a memory, a control device, a clock processing method, and an electronic device, wherein a clock processing circuit in the memory performs duty cycle adjustment on a data clock signal and outputs an internal clock signal. module; a first clock generation module configured to receive an internal clock signal and, based on the internal clock signal, output a first read clock signal, wherein the first read clock signal is a pulse signal; a second clock generation module configured to generate and output a second read clock signal, wherein the second read clock signal has only one level state change edge; and a selection module configured to receive the first read clock signal and the second read clock signal, and output one of the first read clock signal and the second read clock signal as the target read clock signal.

Description

메모리, 제어 장치, 클럭 처리 방법과 전자 기기Memory, control units, clock processing methods and electronics

관련 출원의 상호 참조Cross-reference to related applications

본 발명은 출원 번호가 202210806176.0이고, 출원일이 2022년 7월 8일이고, 발명의 명칭이 “메모리, 제어 장치, 클럭 처리 방법과 전자 기기”인 중국 특허 출원에 기반하여 제출한 것이며, 상기 중국 특허 출원의 우선권을 주장하는 바, 상기 중국 특허 출원의 모든 내용은 참조로서 본 발명에 인용된다.The present invention is filed based on a Chinese patent application with application number 202210806176.0, application date July 8, 2022, and the title of the invention is “Memory, control device, clock processing method and electronic device,” and the above Chinese patent Claiming the priority of the application, the entire contents of the above Chinese patent application are hereby incorporated by reference.

본 발명은 반도체 메모리 기술분야에 관한 것이고, 특히 메모리, 제어 장치, 클럭 처리 방법과 전자 기기에 관한 것이다.The present invention relates to the field of semiconductor memory technology, and particularly to memories, control devices, clock processing methods and electronic devices.

전자 기기에 있어서, 중앙 처리 장치(Central Processing Unit, CPU)가 메모리에 판독 명령어를 송신하고, 다음 메모리에 의해 리턴된 판독 클럭 신호와 판독 데이터 신호를 수신하고, 판독 클럭 신호를 이용하여 판독 데이터 신호에 대해 래치 처리를 수행하여, 수요되는 데이터를 얻는다. 그러나, 메모리가 클럭 신호에 대해 듀티 사이클 조절을 수행하는 과정에 있어서, 중앙 처리 장치는 메모리에서 대응되는 모드 레지스터를 판독하는 것을 통해 클럭 신호의 듀티 사이클 파라미터를 얻어야 하지만, 이러한 과정에서 메모리 내부의 클럭 신호는 기형 변화된 것일 수 있으므로, 메모리가 중앙 처리 장치에 리턴한 판독 클럭 신호도 기형 변화되어, 중앙 처리 장치가 잘못된 데이터를 획득하도록 초래하여, 최종적으로 클럭 신호의 듀티 사이클 조절의 실패를 초래할 수 있다.In an electronic device, a central processing unit (CPU) sends a read command to a memory, then receives a read clock signal and a read data signal returned by the memory, and uses the read clock signal to signal a read data signal. By performing latch processing on , the required data is obtained. However, in the process where the memory performs duty cycle adjustment for the clock signal, the central processing unit must obtain the duty cycle parameter of the clock signal through reading the corresponding mode register in the memory, but in this process, the clock inside the memory Since the signal may be malformed, the read clock signal returned by the memory to the central processing unit may also be malformed, causing the central processing unit to obtain incorrect data, and ultimately resulting in failure of duty cycle adjustment of the clock signal. .

본 발명은 메모리, 제어 장치, 클럭 처리 방법과 전자 기기를 제공하고, 메모리의 내부 클럭 신호의 듀티 사이클이 기형 변화된 경우, 데이터 래치 실패를 피하기 위해, 단일 레벨 변화 에지를 구비하는 제2 판독 클럭 신호를 선택하여 타깃 판독 클럭 신호로 사용할 수 있다.The present invention provides a memory, a control device, a clock processing method and an electronic device, and provides a second read clock signal having a single level change edge to avoid data latch failure when the duty cycle of the internal clock signal of the memory is abnormally changed. You can select to use it as the target read clock signal.

본 발명의 기술방안은 다음과 같이 구현된다.The technical solution of the present invention is implemented as follows.

제1 측면에 있어서, 본 발명의 실시예는 메모리를 제공하고, 상기 메모리는 클럭 처리 회로를 포함하고, 상기 클럭 처리 회로는, In a first aspect, an embodiment of the present invention provides a memory, the memory comprising a clock processing circuit, the clock processing circuit comprising:

외부에서 생성되는 데이터 클럭 신호를 수신하고; 상기 데이터 클럭 신호에 대해 듀티 사이클 조절을 수행하여, 내부 클럭 신호를 출력하도록 구성된 듀티 사이클 모듈; Receive an externally generated data clock signal; a duty cycle module configured to perform duty cycle adjustment on the data clock signal and output an internal clock signal;

상기 내부 클럭 신호를 수신하고, 상기 내부 클럭 신호에 기반하여, 제1 판독 클럭 신호를 출력하도록 구성된 제1 클럭 생성 모듈 - 상기 제1 판독 클럭 신호는 펄스 신호임 - ; a first clock generation module configured to receive the internal clock signal and, based on the internal clock signal, output a first read clock signal, wherein the first read clock signal is a pulse signal;

상기 제1 판독 클럭 신호가 존재하는 동안, 제2 판독 클럭 신호를 생성하고 출력하도록 구성된 제2 클럭 생성 모듈 - 상기 제2 판독 클럭 신호는 하나의 레벨 상태 변화 에지만 존재함 - ; 및a second clock generation module configured to generate and output a second read clock signal while the first read clock signal is present, wherein the second read clock signal has only one level state change edge; and

상기 제1 판독 클럭 신호와 상기 제2 판독 클럭 신호를 수신하고, 상기 제1 판독 클럭 신호와 상기 제2 판독 클럭 신호 중의 하나를 타깃 판독 클럭 신호로 출력하도록 구성된 선택 모듈을 포함한다.and a selection module configured to receive the first read clock signal and the second read clock signal, and output one of the first read clock signal and the second read clock signal as a target read clock signal.

일부 실시예에 있어서, 상기 클럭 처리 회로는 검출 모듈과 모드 레지스터를 더 포함하고; 여기서, 상기 검출 모듈은, 상기 내부 클럭 신호를 수신하여, 상기 내부 클럭 신호에 대해 듀티 사이클 검출을 수행하여, 듀티 사이클 파라미터를 출력하도록 구성되고; 상기 모드 레지스터는, 상기 듀티 사이클 파라미터를 수신하고 저장하도록 구성된다.In some embodiments, the clock processing circuit further includes a detection module and a mode register; Here, the detection module is configured to receive the internal clock signal, perform duty cycle detection on the internal clock signal, and output a duty cycle parameter; The mode register is configured to receive and store the duty cycle parameter.

일부 실시예에 있어서, 상기 선택 모듈은 또한, 선택 지시 신호를 수신하고, 상기 선택 지시 신호가 제1 상태인 경우, 상기 제1 판독 클럭 신호를 타깃 판독 클럭 신호로 출력하고; 또는, 상기 선택 지시 신호가 제2 상태인 경우, 상기 제2 판독 클럭 신호를 타깃 판독 클럭 신호로 출력하도록 구성된다.In some embodiments, the selection module further receives a selection instruction signal, and when the selection instruction signal is in a first state, outputs the first read clock signal as a target read clock signal; Alternatively, when the selection instruction signal is in the second state, it is configured to output the second read clock signal as a target read clock signal.

일부 실시예에 있어서, 상기 메모리는 데이터 판독 명령어를 수신하고; 상기 데이터 판독 명령어에 기반하여, 판독 데이터 신호를 출력하고, 상기 클럭 처리 회로를 통해 상기 타깃 판독 클럭 신호를 출력하도록 구성되고; 여기서, 상기 타깃 판독 클럭 신호는 상기 판독 데이터 신호를 래치하기 위한 것이고, 상기 제2 판독 클럭 신호의 레벨 상태 변화 에지는 상기 판독 데이터 신호 중의 유효 데이터의 종료 시간을 지시한다.In some embodiments, the memory receives a data read command; configured to output a read data signal based on the data read command and output the target read clock signal through the clock processing circuit; Here, the target read clock signal is for latching the read data signal, and the level state change edge of the second read clock signal indicates the end time of valid data in the read data signal.

일부 실시예에 있어서, 상기 메모리는 또한, 상기 데이터 판독 명령어가 제1 판독 명령어인 경우, 상기 선택 지시 신호를 제1 상태로 설정하고; 또는, 상기 데이터 판독 명령어가 제2 판독 명령어인 경우, 상기 선택 지시 신호를 제2 상태로 설정하도록 구성되며; 여기서, 상기 제2 판독 명령어는 상기 클럭 처리 회로에서 모드 레지스터의 듀티 사이클 파라미터를 획득하도록 지시하고, 상기 제1 판독 명령어는 상기 제2 판독 명령어를 제외한 데이터 판독 명령어를 가리킨다.In some embodiments, the memory further sets the selection instruction signal to a first state when the data read command is a first read command; Alternatively, when the data read command is a second read command, it is configured to set the selection instruction signal to a second state; Here, the second read command instructs the clock processing circuit to obtain a duty cycle parameter of the mode register, and the first read command indicates a data read command excluding the second read command.

일부 실시예에 있어서, 상기 메모리는 또한, 상기 데이터 판독 명령어가 제1 판독 명령어인 경우, 상기 선택 지시 신호를 제1 상태로 설정하고; 또는, 상기 데이터 판독 명령어가 제2 판독 명령어이고 상기 내부 클럭 신호의 듀티 사이클이 기설정 범위에 위치한 경우, 상기 선택 지시 신호를 제1 상태로 설정하며; 또는, 상기 데이터 판독 명령어가 제2 판독 명령어이고 상기 내부 클럭 신호의 듀티 사이클이 기절정 범위에 위치하지 않는 경우, 상기 선택 지시 신호를 제2 상태로 설정하도록 구성된다.In some embodiments, the memory further sets the selection instruction signal to a first state when the data read command is a first read command; Alternatively, if the data read command is a second read command and the duty cycle of the internal clock signal is within a preset range, setting the selection instruction signal to the first state; Alternatively, when the data read command is a second read command and the duty cycle of the internal clock signal is not within the preset range, the selection instruction signal is set to the second state.

일부 실시예에 있어서, 상기 제1 판독 클럭 신호는 8 개의 클럭 주기를 포함하고, 상기 제2 판독 클럭 신호의 레벨 상태 변화 에지와 상기 제1 판독 클럭 신호 중의 다섯 번째 클럭 주기의 상승 에지는 정렬되며; 여기서, 상기 제2 판독 클럭 신호의 레벨 상태 변화 에지는 상기 제2 판독 클럭 신호가 낮은 레벨 상태로부터 높은 레벨 상태로의 변화를 가리킨다.In some embodiments, the first read clock signal includes eight clock cycles, and the level state change edge of the second read clock signal is aligned with the rising edge of the fifth clock cycle of the first read clock signal. ; Here, the level state change edge of the second read clock signal indicates the change of the second read clock signal from a low level state to a high level state.

일부 실시예에 있어서, 상기 듀티 사이클 모듈은, 외부로부터 상기 데이터 클럭 신호를 수신하고 출력하도록 구성된 수신 모듈; 및 상기 데이터 클럭 신호에 대해 듀티 사이클 조절을 수행하여, 상기 내부 클럭 신호를 출력하도록 구성된 조절 모듈을 포함한다.In some embodiments, the duty cycle module includes: a receiving module configured to receive and output the data clock signal from an external source; and an adjustment module configured to perform duty cycle adjustment on the data clock signal and output the internal clock signal.

일부 실시예에 있어서, 상기 데이터 클럭 신호는 쓰기 클럭 신호이다.In some embodiments, the data clock signal is a write clock signal.

제2 측면에 있어서, 본 발명의 실시예는 제어 장치를 제공하고, 상기 제어 장치는 메모리에 연결되며; 여기서, In a second aspect, an embodiment of the present invention provides a control device, the control device being connected to a memory; here,

상기 제어 장치는, 상기 메모리에 데이터 판독 명령어를 송신하고; 상기 메모리에 의해 리턴된 판독 데이터 신호와 타깃 판독 클럭 신호를 수신하고, 상기 타깃 판독 클럭 신호를 이용하여 상기 판독 데이터 신호에 대해 래치 처리를 수행하도록 구성되고; The control device transmits a data read command to the memory; configured to receive a read data signal returned by the memory and a target read clock signal, and perform latch processing on the read data signal using the target read clock signal;

여기서, 상기 타깃 판독 클럭 신호는 제1 판독 클럭 신호 또는 제2 판독 클럭 신호이고, 상기 제1 판독 클럭 신호는 펄스 신호이며, 상기 제2 판독 클럭 신호는 하나의 레벨 상태 변화 에지만 존재한다.Here, the target read clock signal is a first read clock signal or a second read clock signal, the first read clock signal is a pulse signal, and the second read clock signal has only one level state change edge.

일부 실시예에 있어서, 상기 제어 장치는 또한, 상기 데이터 판독 명령어가 제1 판독 명령어인 경우, 상기 메모리에 의해 리턴된 제1 판독 클럭 신호를 수신하고, 상기 제1 판독 클럭 신호를 이용하여 상기 판독 데이터 신호에 대해 래치 처리를 수행하고; 또는, 상기 데이터 판독 명령어가 제2 판독 명령어인 경우, 상기 메모리에 의해 리턴된 제2 판독 클럭 신호를 수신하고, 상기 제2 판독 클럭 신호의 레벨 상태 변화 에지를 이용하여 상기 판독 데이터 신호에 대해 래치 처리를 수행하도록 구성되며; 여기서, 상기 메모리는 클럭 처리 회로를 포함하고, 상기 제2 판독 명령어는 상기 클럭 처리 회로 중의 모드 레지스터의 듀티 사이클 파라미터를 획득하도록 지시하며, 상기 제1 판독 명령어는 상기 제2 판독 명령어를 제외한 데이터 판독 명령어를 지시한다.In some embodiments, the control device also receives a first read clock signal returned by the memory when the data read command is a first read command, and uses the first read clock signal to read the read command. perform latch processing on the data signal; Alternatively, when the data read command is a second read command, receive a second read clock signal returned by the memory, and latch the read data signal using a level state change edge of the second read clock signal. configured to perform processing; wherein the memory includes a clock processing circuit, the second read instruction instructs to obtain a duty cycle parameter of a mode register in the clock processing circuit, and the first read instruction reads data excluding the second read instruction. Indicates a command.

일부 실시예에 있어서, 상기 제어 장치는 또한, 상기 데이터 판독 명령어가 제2 판독 명령어인 경우, 상기 메모리에 의해 리턴된 제1 판독 클럭 신호를 수신하고, 상기 제1 판독 클럭 신호의 레벨 상태 변화 에지를 이용하여 상기 판독 데이터 신호에 대해 래치 처리를 수행하도록 구성된다.In some embodiments, the control device also receives a first read clock signal returned by the memory when the data read command is a second read command, and detects a level state change edge of the first read clock signal. It is configured to perform latch processing on the read data signal using .

제3 측면에 있어서, 본 발명의 실시예는 클럭 처리 방법을 제공하고, 메모리에 적용되며, 상기 방법은, In a third aspect, an embodiment of the present invention provides a clock processing method and is applied to a memory, the method comprising:

외부에서 생성되는 데이터 클럭 신호를 수신하는 단계; 상기 데이터 클럭 신호에 대해 듀티 사이클 조절을 수행하여, 내부 클럭 신호를 결정하는 단계; Receiving an externally generated data clock signal; performing duty cycle adjustment on the data clock signal to determine an internal clock signal;

상기 내부 클럭 신호에 기반하여, 제1 판독 클럭 신호를 결정하는 단계 - 상기 제1 판독 클럭 신호는 펄스 신호임 - ; Based on the internal clock signal, determining a first read clock signal, wherein the first read clock signal is a pulse signal;

상기 제1 판독 클럭 신호가 존재하는 동안, 제2 판독 클럭 신호를 생성하는 단계 - 상기 제2 판독 클럭 신호는 하나의 레벨 상태 변화 에지만 존재함 - ; 및 While the first read clock signal is present, generating a second read clock signal, wherein the second read clock signal has only one level state change edge; and

상기 제1 판독 클럭 신호와 상기 제2 판독 클럭 신호 중의 하나를 타깃 판독 클럭 신호로 출력하는 단계를 포함한다.and outputting one of the first read clock signal and the second read clock signal as a target read clock signal.

일부 실시예에 있어서, 상기 메모리는 모드 레지스터를 포함하고, 상기 방법은, In some embodiments, the memory includes a mode register, and the method includes:

상기 내부 클럭 신호에 대해 듀티 사이클 검출을 수행하여, 듀티 사이클 파라미터를 얻는 단계; 및 상기 듀티 사이클 파라미터를 상기 모드 레지스터에 저장하는 단계를 더 포함한다.performing duty cycle detection on the internal clock signal to obtain a duty cycle parameter; and storing the duty cycle parameter in the mode register.

일부 실시예에 있어서, 상기 메모리는 제어 장치에 연결되고, 상기 제1 판독 클럭 신호와 상기 제2 판독 클럭 신호 중의 하나를 타깃 판독 클럭 신호로 출력하는 단계는, In some embodiments, the memory is coupled to a control device, and outputting one of the first read clock signal and the second read clock signal as a target read clock signal includes:

장치에 의해 송신된 제1 판독 명령어를 수신한 경우, 상기 제1 판독 명령어에 기반하여 판독 데이터 신호를 결정하고, 상기 제1 판독 클럭 신호를 타깃 판독 클럭 신호로 결정하는 단계; 및 제어 장치에 의해 송신된 제2 판독 명령어를 수신한 경우, 상기 제2 판독 명령어에 기반하여 상기 판독 데이터 신호를 결정하고, 상기 제2 판독 클럭 신호를 타깃 판독 클럭 신호로 결정하는 단계를 포함하고; 여기서, 상기 타깃 판독 클럭 신호는 상기 판독 데이터 신호를 래치하기 위한 것이고, 상기 제2 판독 명령어는 상기 모드 레지스터의 듀티 사이클 파라미터를 획득하도록 지시하며, 상기 제1 판독 명령어는 상기 제2 판독 명령어를 제외한 데이터 판독 명령어를 지시한다.When receiving a first read command transmitted by a device, determining a read data signal based on the first read command and determining the first read clock signal as a target read clock signal; and when receiving a second read command transmitted by the control device, determining the read data signal based on the second read command and determining the second read clock signal as a target read clock signal. ; Here, the target read clock signal is for latching the read data signal, the second read instruction instructs to obtain the duty cycle parameter of the mode register, and the first read instruction is for latching the read data signal, and the first read instruction is for latching the read data signal. Indicates a data read command.

일부 실시예에 있어서, 상기 메모리는 제어 장치와 연결되고, 상기 제1 판독 클럭 신호와 상기 제2 판독 클럭 신호 중의 하나를 타깃 판독 클럭 신호로 출력하는 단계는,In some embodiments, the memory is connected to a control device, and outputting one of the first read clock signal and the second read clock signal as a target read clock signal includes:

상기 제어 장치에 의해 송신된 제1 판독 명령어를 수신한 경우, 상기 제1 판독 명령어에 기반하여 판독 데이터 신호를 결정하고, 상기 제1 판독 클럭 신호를 타깃 판독 클럭 신호로 결정하는 단계; 상기 제어 장치에 의해 송신된 제2 판독 명령어를 수신하고 상기 듀티 사이클 파라미터가 기설정 범위에 위치하는 경우, 상기 제2 판독 명령어에 기반하여 판독 데이터 신호를 결정하고, 상기 제1 판독 클럭 신호를 타깃 판독 클럭 신호로 결정하는 단계; 및 제어 장치에 의해 송신된 제2 판독 명령어를 수신하고 상기 듀티 사이클 파라미터가 기설정 범위에 위치하지 않는 경우, 상기 제2 판독 명령어에 기반하여 상기 판독 데이터 신호를 결정하고, 상기 제2 판독 클럭 신호를 타깃 판독 클럭 신호로 결정하는 단계를 포함하고; 여기서, 상기 타깃 판독 클럭 신호는 상기 판독 데이터 신호를 래치하기 위한 것이고, 상기 제2 판독 명령어는 상기 모드 레지스터의 듀티 사이클 파라미터를 획득하도록 지시하고, 상기 제1 판독 명령어는 상기 제2 판독 명령어를 제외한 데이터 판독 명령어를 지시한다.When receiving a first read command transmitted by the control device, determining a read data signal based on the first read command and determining the first read clock signal as a target read clock signal; When receiving a second read command sent by the control device and the duty cycle parameter is within a preset range, determine a read data signal based on the second read command, and target the first read clock signal. Determining with a read clock signal; and when receiving a second read command sent by a control device and the duty cycle parameter is not within a preset range, determine the read data signal based on the second read command, and determine the second read clock signal. It includes determining as a target read clock signal; Here, the target read clock signal is for latching the read data signal, the second read instruction instructs to obtain the duty cycle parameter of the mode register, and the first read instruction is for latching the read data signal, and the first read instruction is for latching the read data signal. Indicates a data read command.

제4 측면에 있어서, 본 발명의 실시예는 전자 기기를 제공하고, 상기 전자 기기는 적어도 제1 측면에 따른 메모리와 제2 측면에 따른 제어 장치를 포함한다.In a fourth aspect, an embodiment of the present invention provides an electronic device, the electronic device including at least a memory according to the first aspect and a control device according to the second aspect.

본 발명의 실시예는 메모리, 제어 장치, 클럭 처리 방법과 전자 기기를 제공하고, 메모리는 클럭 처리 회로를 포함하고, 클럭 처리 회로는, 외부에서 생성되는 데이터 클럭 신호를 수신하고; 데이터 클럭 신호에 대해 듀티 사이클 조절을 수행하여, 내부 클럭 신호를 출력하도록 구성된 듀티 사이클 모듈; 내부 클럭 신호를 수신하고, 내부 클럭 신호에 기반하여, 제1 판독 클럭 신호를 출력하도록 구성된 제1 클럭 생성 모듈 - 제1 판독 클럭 신호는 펄스 신호임 - ; 제1 판독 클럭 신호가 존재하는 동안, 제2 판독 클럭 신호를 생성하고 출력하도록 구성된 제2 클럭 생성 모듈 - 제2 판독 클럭 신호는 하나의 레벨 상태 변화 에지만 존재함 - ; 및 제1 판독 클럭 신호와 제2 판독 클럭 신호를 수신하고, 제1 판독 클럭 신호와 제2 판독 클럭 신호 중의 하나를 타깃 판독 클럭 신호로 출력하도록 구성된 선택 모듈을 포함한다. 이로써, 메모리의 내부 클럭 신호에 듀티 사이클 기형 변화가 발생한 경우, 데이터 래치 실패를 피하기 위해, 단일 레벨 변화 에지를 구비하는 제2 판독 클럭 신호를 선택하여 타깃 판독 클럭 신호로 사용할 수 있다.Embodiments of the present invention provide a memory, a control device, a clock processing method, and an electronic device, wherein the memory includes a clock processing circuit, and the clock processing circuit receives an externally generated data clock signal; a duty cycle module configured to perform duty cycle adjustment on a data clock signal and output an internal clock signal; a first clock generation module configured to receive an internal clock signal and, based on the internal clock signal, output a first read clock signal, wherein the first read clock signal is a pulse signal; a second clock generation module configured to generate and output a second read clock signal while the first read clock signal is present, wherein the second read clock signal has only one level state change edge; and a selection module configured to receive the first read clock signal and the second read clock signal, and output one of the first read clock signal and the second read clock signal as the target read clock signal. Accordingly, when a duty cycle abnormality change occurs in the internal clock signal of the memory, the second read clock signal having a single level change edge can be selected and used as the target read clock signal to avoid data latch failure.

도 1은 MRR 명령어의 동작 시퀀스 예시도이다.
도 2는 클럭 처리 회로의 구조 예시도이다.
도 3은 판독 클럭 신호의 파형 예시도이다.
도 4는 본 발명의 실시예에서 제공하는 메모리의 구조 예시도이다.
도 5는 본 발명의 실시예에서 제공하는 클럭 처리 회로의 국부 구조 예시도 1이다.
도 6은 본 발명의 실시예에서 제공하는 클럭 처리 회로의 국부 구조 예시도 2이다.
도 7은 본 발명의 실시예에서 제공하는 데이터 래치 처리의 신호 파형 예시도이다.
도 8은 본 발명의 실시예에서 제공하는 클럭 처리 회로의 작업 과정 예시도이다.
도 9는 본 발명의 실시예에서 제공하는 제어 장치의 구조 예시도이다.
도 10은 본 발명의 실시예에서 제공하는 클럭 처리 방법의 흐름 예시도이다.
도 11은 본 발명의 실시예에서 제공하는 전자 기기의 구조 예시도이다.
Figure 1 is an example operation sequence diagram of the MRR instruction.
Figure 2 is an example structure of a clock processing circuit.
Figure 3 is an example waveform of a read clock signal.
Figure 4 is an exemplary structure diagram of a memory provided in an embodiment of the present invention.
Figure 5 is Figure 1 showing an example of the local structure of a clock processing circuit provided in an embodiment of the present invention.
Figure 6 is Figure 2, an example of the local structure of a clock processing circuit provided in an embodiment of the present invention.
Figure 7 is an example signal waveform of data latch processing provided in an embodiment of the present invention.
Figure 8 is an exemplary work process diagram of a clock processing circuit provided in an embodiment of the present invention.
Figure 9 is an exemplary structural diagram of a control device provided in an embodiment of the present invention.
Figure 10 is an exemplary flow diagram of a clock processing method provided in an embodiment of the present invention.
Figure 11 is an exemplary structural diagram of an electronic device provided in an embodiment of the present invention.

아래에, 본 발명의 실시예의 도면을 결합하여 본 발명의 실시예의 기술방안에 대해 명확하고 완전하게 설명할 것이다. 이해할 수 있는 것은, 여기서 설명된 구체적인 실시예는 다만 관련 출원을 해석하기 위한 것이고, 상기 출원에 대한 한정은 아니다. 또한 설명해야 할 것은, 설명의 편의를 위해, 도면에서는 다만 관련 출원에 연관된 부분만 도시한다.Below, the technical solutions of the embodiments of the present invention will be clearly and completely explained by combining the drawings of the embodiments of the present invention. It should be understood that the specific embodiments described herein are merely for interpreting the related application and are not limiting to the application. It should also be noted that, for convenience of explanation, the drawings only show portions related to the related application.

달리 정의되지 않는 한, 본 발명에서 사용된 모든 기술 및 과학적 용어는 본 발명의 기술분야의 기술자가 일반적으로 이해하는 의미와 동일하다. 본 발명에서 사용된 용어는 다만 본 출원의 실시예의 목적을 설명하기 위한 것일 뿐, 본 발명의 실시예를 한정하기 위한 것이 아니다.Unless otherwise defined, all technical and scientific terms used in the present invention have the same meaning as commonly understood by a person skilled in the art. The terms used in the present invention are merely for explaining the purpose of the embodiments of the present application and are not intended to limit the embodiments of the present invention.

아래의 설명에서, “일부 실시예”가 언급되는데, 이는 모든 가능한 실시예의 서브 세트를 설명하지만, “일부 실시예”는 모든 가능한 실시예의 동일한 서브 세트 또는 상이한 서브 세트일 수 있으며, 충돌하지 않는 한 서로 결합될 수 있음을 이해할 수 있다.In the description below, references are made to “some embodiments”, which describe a subset of all possible embodiments, but “some embodiments” may be the same subset or a different subset of all possible embodiments, provided there is no conflict. It is understandable that they can be combined with each other.

본 발명의 실시예에서 언급되는 용어 “제1/제2/제3”는 다만 유사한 대상을 구별하기 위한 것이고, 대상의 특정 순서를 나타내지 않으며, 이해할 수 있는 것은 “제1/제2/제3”은 허용되는 상황에서 특정된 순서 또는 선후 순서가 상호 교환되어, 여기서 설명한 본 발명의 실시예가 여기에 도시된 것 또는 설명한 것 이외의 순서를 실시 가능하도록 할 수 있다.The terms “first/second/third” mentioned in the embodiments of the present invention are only for distinguishing similar objects and do not indicate a specific order of objects, and can be understood as “first/second/third.” “The specified order or sequence may be interchanged where permitted, so that the embodiments of the invention described herein may be practiced in sequences other than those shown or described herein.

DRAM(Dynamic Random Access Memory): 동적 랜덤 액세스 메모리DRAM (Dynamic Random Access Memory): Dynamic random access memory

SDRAM(Synchronous Dynamic Random Access Memory): 동기식 동적 랜덤 액세스 메모리Synchronous Dynamic Random Access Memory (SDRAM): Synchronous dynamic random access memory

MRR(Mode Register Read): 모드 레지스터 판독 명령어MRR (Mode Register Read): Mode register read command

Mbps(Million bits per second): 초당 메가비트Mbps (Million bits per second): Megabits per second

NMOS(N-Metal-Oxide-Semiconductor): N형 채널 전계 효과 트랜지스터N-Metal-Oxide-Semiconductor (NMOS): N-type channel field-effect transistor

PMOS(P-Metal-Oxide-Semiconductor): N형 채널 전계 효과 트랜지스터PMOS (P-Metal-Oxide-Semiconductor): N-type channel field-effect transistor

메모리(예를 들어 DRAM)에서, MRR 명령어와 정상 판독 명령어는 완전히 동일한 동작 시퀀스를 채택한다. 도 1을 참조하면, MRR 명령어의 동작 시퀀스 예시도를 도시한다. 도 1에 있어서, T0, T1......은 상이한 클럭 주기를 나타내기 위한 것이고, Ck_c와 Ck_t는 한 쌍의 차분 클럭 신호이고, CS는 칩 선택 신호이고, CA는 명령 주소 신호이고, COMMAND는 동작 명령어를 지시하며, DQ[7:0]는 8 비트의 메모리의 데이터 신호이고, DQ[15:0]는 16 비트의 메모리의 데이터 신호이며, 데이터 클럭 신호 WCK는 전자 기기의 호스트(Host)가 메모리에 송신한 외부 쓰기 클럭 신호이며, 상이한 회로 위치에서 단일 신호 또는 한 쌍의 차분 클럭 신호 WCK_c와 WCK_t로 표현될 수 있고; 판독 클럭 신호 RDQS는 메모리가 전자 기기에 출력한 클럭 신호이고, 상이한 회로 위치에서 단일 신호 또는 한 쌍의 차분 클럭 신호 RDQS_c와 RDQS_t로 표현될 수 있다. 구체적으로, 메모리가 CPU에 의해 송신된 MRR 명령어를 수신한 후, 데이터 신호 DQ(판독 데이터 신호로 지칭할 수 있음)를 생성하고, 외부로부터 수신된 데이터 클럭 신호 WCK를 이용하여 판독 클럭 신호 RDQS를 생성할 수 있다. 데이터 판독 명령어의 실행 과정에 있어서, 메모리는 판독 데이터 신호 DQ와 판독 클럭 신호 RDQS를 공동으로 CPU에 리턴하고, 다음 CPU는 판독 클럭 신호 RDQS를 이용하여 판독 데이터 신호 DQ를 래치함으로써, 수요되는 데이터를 획득한다. 또한, 도 1은 전자 장치 공학 설계 협회(JEDEC) 표준에 따라 규정된 표준 시퀀스이고, 그 중 각 신호의 의미, 관련 변화의 원리 및 언급되지 않은 명사 약어의 일부는 업계 표준 문서 JEDEC를 참조하여 이해하고, 본 발명의 실시예의 기술방안과 무관하며, 기술자가 본 발명 실시예에 대한 이해에 영향을 주지 않으므로, 설명하지 않는다.In memory (e.g. DRAM), the MRR instruction and the normal read instruction adopt exactly the same sequence of operations. Referring to Figure 1, an example operation sequence of the MRR instruction is shown. In Figure 1, T0, T1... are intended to represent different clock periods, Ck_c and Ck_t are a pair of differential clock signals, CS is a chip select signal, CA is a command address signal, COMMAND indicates the operation command, DQ[7:0] is the data signal of 8 bits of memory, DQ[15:0] is the data signal of 16 bits of memory, and the data clock signal WCK is the host of the electronic device ( It is an external write clock signal sent by the host to the memory, and can be expressed as a single signal or a pair of differential clock signals WCK_c and WCK_t at different circuit locations; The read clock signal RDQS is a clock signal output from the memory to an electronic device, and can be expressed as a single signal or a pair of differential clock signals RDQS_c and RDQS_t at different circuit locations. Specifically, after the memory receives the MRR instruction sent by the CPU, it generates a data signal DQ (can be referred to as a read data signal) and generates a read clock signal RDQS using the data clock signal WCK received from the outside. can be created. In the process of executing the data read instruction, the memory jointly returns the read data signal DQ and the read clock signal RDQS to the CPU, and then the CPU uses the read clock signal RDQS to latch the read data signal DQ to obtain the required data. Acquire. In addition, Figure 1 is a standard sequence prescribed according to the Electronic Device Engineering Design Council (JEDEC) standard, of which the meaning of each signal, the principles of related changes, and some of the unmentioned noun abbreviations are understood by referring to the industry standard document JEDEC. Since it is unrelated to the technical solution of the embodiments of the present invention and does not affect the technician's understanding of the embodiments of the present invention, it will not be described.

메모리에는 클럭 처리 회로가 설치되어 있고, 데이터 클럭 신호 WCK0(한 쌍의 보완 신호 WCK_c/WCK_t를 포함함)의 듀티 사이클에 대해 조절을 수행하여, 데이터 클럭 신호 WCK0의 듀티 사이클이 요구에 부합되도록 한다. 도 2를 참조하면, 클럭 처리 회로의 구조 예시도를 도시한다. 도 2에 도시된 바와 같이, 클럭 처리 회로에서, 수신 모듈은 외부로부터 데이터 클럭 신호 WCK0를 수신하고, 조절 모듈이 데이터 클럭 신호 WCK에 대해 듀티 사이클 조절을 수행하여 내부 클럭 신호 WCK1을 얻도록 구성되고, 검출 모듈은 내부 클럭 신호 WCK1의 듀티 사이클 파라미터를 검출하고 모드 레지스터에 저장하도록 구성된다. 동시에, 메모리가 듀티 사이클 조절을 수행하는 과정에서, CPU는 MRR 명령어를 송신하여 모드 레지스터에서의 듀티 사이클 파라미터를 판독함으로써, 다음 단계의 동작을 결정한다. 다른 예인 경우, 도 2에 도시된 바와 같이, 외부에서 입력된 데이터 클럭 신호 WCK0의 듀티 사이클을 JEDEC에서 규정한 상한선인 57%인 것으로 가정하면, 듀티 사이클 조절의 초기 단계에서, 듀티 사이클 조절 모듈은 데이터 클럭 신호 WCK0의 듀티 사이클을 7개 단위(JEDEC에서 규정된 상한선이고, 각 단위는 5피코초임)를 증가하고, 즉, 35피코초를 추가하였으며, 이는 8533 Mbps의 속도에서 듀티 사이클을 15% 증가하는 것과 같고, 이때 메모리에서의 내부 클럭 신호 WCK1의 듀티 사이클은 72%에 도달하고, 이를 이용하여 생성된 판독 클럭 신호 RDQS의 듀티 사이클도 72%에 도달한다. 이때, 도 3을 참조하면, 판독 클럭 신호의 파형 예시도를 도시한다. 도 3에 도시된 바와 같이, 듀티 사이클이 72%에 도달하는 판독 클럭 신호 RDQS가 전송 과정에서 채널을 통해 감쇠되고, CPU 수신단에 도달할 때 엄중하게 기형 변화되어, CPU에 의해 정확히 식별되기 어렵도록 초래하며, 즉, MRR 명령어는 잘못된 데이터를 얻으므로, 최종적으로 듀티 사이클의 조절 실패를 초래한다. 메모리의 속도가 더 높으면, 이런 문제는 더욱 엄중해진다.A clock processing circuit is installed in the memory, and adjustments are made to the duty cycle of the data clock signal WCK0 (including a pair of complementary signals WCK_c/WCK_t), so that the duty cycle of the data clock signal WCK0 meets the requirements. . Referring to Figure 2, an example structure of a clock processing circuit is shown. As shown in Figure 2, in the clock processing circuit, the receiving module is configured to receive the data clock signal WCK0 from the outside, and the adjusting module performs duty cycle adjustment on the data clock signal WCK to obtain the internal clock signal WCK1; , the detection module is configured to detect the duty cycle parameter of the internal clock signal WCK1 and store it in the mode register. At the same time, while the memory is performing duty cycle adjustment, the CPU sends an MRR instruction to read the duty cycle parameter in the mode register to determine the next step of operation. As another example, as shown in Figure 2, assuming that the duty cycle of the externally input data clock signal WCK0 is 57%, which is the upper limit specified by JEDEC, in the initial stage of duty cycle adjustment, the duty cycle adjustment module We increased the duty cycle of the data clock signal WCK0 by 7 units (the upper limit specified by JEDEC, each unit being 5 picoseconds), i.e. added 35 picoseconds, which reduces the duty cycle by 15% at a rate of 8533 Mbps. It is the same as increasing, and at this time, the duty cycle of the internal clock signal WCK1 in the memory reaches 72%, and the duty cycle of the read clock signal RDQS generated using this also reaches 72%. At this time, referring to FIG. 3, an exemplary waveform of a read clock signal is shown. As shown in Figure 3, the read clock signal RDQS, whose duty cycle reaches 72%, is attenuated through the channel during transmission and is severely deformed when it reaches the CPU receiving end, making it difficult to accurately identify it by the CPU. That is, the MRR instruction obtains incorrect data, ultimately resulting in duty cycle regulation failure. As memory speeds become higher, this problem becomes more severe.

이에 기반하여, 본 발명의 실시예는 메모리를 제공하고, 상기 메모리는 클럭 처리 회로를 포함하며, 클럭 처리 회로는, 외부에서 생성되는 데이터 클럭 신호를 수신하고; 데이터 클럭 신호에 대해 듀티 사이클 조절을 수행하여, 내부 클럭 신호를 출력하도록 구성된 듀티 사이클 모듈; 내부 클럭 신호를 수신하고, 내부 클럭 신호에 기반하여, 제1 판독 클럭 신호를 출력하도록 구성된 제1 클럭 생성 모듈 - 제1 판독 클럭 신호는 펄스 신호임 - ; 제1 판독 클럭 신호가 존재하는 동안, 제2 판독 클럭 신호를 생성하고 출력하도록 구성된 제2 클럭 생성 모듈 - 제2 판독 클럭 신호는 하나의 레벨 상태 변화 에지만 존재함 - ; 및 제1 판독 클럭 신호와 제2 판독 클럭 신호를 수신하고, 제1 판독 클럭 신호와 제2 판독 클럭 신호 중의 하나를 타깃 판독 클럭 신호로 출력하도록 구성된 선택 모듈을 포함한다. 이로써, 메모리의 내부 클럭 신호가 듀티 사이클 기형 변화가 발생한 경우, 데이터 래치 실패를 피하기 위해, 단일 레벨 변화 에지를 구비하는 제2 판독 클럭 신호를 선택하여 타깃 판독 클럭 신호로 사용할 수 있다.Based on this, an embodiment of the present invention provides a memory, the memory including a clock processing circuit, the clock processing circuit receiving an externally generated data clock signal; a duty cycle module configured to perform duty cycle adjustment on a data clock signal and output an internal clock signal; a first clock generation module configured to receive an internal clock signal and, based on the internal clock signal, output a first read clock signal, wherein the first read clock signal is a pulse signal; a second clock generation module configured to generate and output a second read clock signal while the first read clock signal is present, wherein the second read clock signal has only one level state change edge; and a selection module configured to receive the first read clock signal and the second read clock signal, and output one of the first read clock signal and the second read clock signal as the target read clock signal. Accordingly, when a duty cycle abnormality change occurs in the internal clock signal of the memory, the second read clock signal having a single level change edge can be selected and used as the target read clock signal to avoid data latch failure.

아래에 도면을 결합하여 본 발명의 각 실시예를 설명한다.Each embodiment of the present invention will be described below by combining the drawings.

본 발명의 일 실시예에 있어서, 도 4를 참조하면, 본 발명의 실시예에서 제공하는 메모리(10)의 구조 예시도를 도시한다. 도 4에 도시된 바와 같이, 메모리(10)는 클럭 처리 회로(20)를 포함하고, 클럭 처리 회로(20)는, In one embodiment of the present invention, referring to FIG. 4, an exemplary structure diagram of the memory 10 provided in the embodiment of the present invention is shown. As shown in FIG. 4, the memory 10 includes a clock processing circuit 20, and the clock processing circuit 20 includes,

외부에서 생성되는 데이터 클럭 신호를 수신하고; 데이터 클럭 신호에 대해 듀티 사이클 조절을 수행하여, 내부 클럭 신호를 출력하도록 구성된 듀티 사이클 모듈(21);Receive an externally generated data clock signal; a duty cycle module 21 configured to perform duty cycle adjustment on the data clock signal and output an internal clock signal;

내부 클럭 신호를 수신하고, 내부 클럭 신호에 기반하여, 제1 판독 클럭 신호를 출력하도록 구성된 제1 클럭 생성 모듈(22) - 제1 판독 클럭 신호는 펄스 신호임 - ;A first clock generation module 22 configured to receive an internal clock signal and, based on the internal clock signal, output a first read clock signal, where the first read clock signal is a pulse signal;

제1 판독 클럭 신호가 존재하는 동안, 제2 판독 클럭 신호를 생성하고 출력하도록 구성된 제2 클럭 생성 모듈(23) - 제2 판독 클럭 신호는 하나의 레벨 상태 변화 에지만 존재함 - ; 및A second clock generation module 23 configured to generate and output a second read clock signal while the first read clock signal is present, the second read clock signal having only one level state change edge; and

제1 판독 클럭 신호와 제2 판독 클럭 신호를 수신하고, 제1 판독 클럭 신호와 제2 판독 클럭 신호 중의 하나를 타깃 판독 클럭 신호로 출력하도록 구성된 선택 모듈(24)을 포함한다.and a selection module 24 configured to receive a first read clock signal and a second read clock signal, and output one of the first read clock signal and the second read clock signal as a target read clock signal.

설명해야 할 것은, 본 발명의 실시예에서 메모리(10)는 다양한 타입의 반도체 메모리일 수 있으며, 예를 들어 DRAM, SDRAM, 더블 레이트 DRAM, 저전력 더블 레이트 DRAM 등일 수 있다.It should be noted that, in an embodiment of the present invention, the memory 10 may be various types of semiconductor memory, for example, DRAM, SDRAM, double rate DRAM, low power double rate DRAM, etc.

메모리(10)에 제1 클럭 생성 모듈(22)과 제2 클럭 생성 모듈(23)을 동시에 설치하고, 제1 클럭 생성 모듈(22)은 외부로부터 수신되는 데이터 클럭 신호에 따라 복수 개의 펄스가 존재하는 제1 판독 클럭 신호를 생성할 수 있고, 제2 클럭 생성 모듈(23)은 하나의 레벨 상태 변화 에지만 존재하는 제2 판독 클럭 신호를 생성할 수 있다. 이로써, 상이한 작업 시나리오에서, 제1 판독 클럭 신호 또는 제2 판독 클럭 신호를 타깃 판독 클럭 신호로서 선택하여 CPU에 송신하여, 데이터 래치 처리를 구현할 수 있다. 특히, 제2 판독 클럭 신호는 내부 클럭 신호가 듀티 사이클의 기형 변화 발생의 영향을 받지 않으므로, 내부 클럭 신호의 듀티 사이클의 기형 변화가 비교적 큰 시나리오에서도 여전히 데이터의 정확한 래치를 보장할 수 있다.A first clock generation module 22 and a second clock generation module 23 are installed simultaneously in the memory 10, and the first clock generation module 22 has a plurality of pulses according to a data clock signal received from the outside. A first read clock signal may be generated, and the second clock generation module 23 may generate a second read clock signal having only one level state change edge. Accordingly, in different working scenarios, the first read clock signal or the second read clock signal can be selected as the target read clock signal and sent to the CPU to implement data latch processing. In particular, since the second read clock signal is not affected by the occurrence of abnormal changes in the duty cycle of the internal clock signal, accurate latch of data can still be ensured even in a scenario where the abnormal changes in the duty cycle of the internal clock signal are relatively large.

여기서, 제2 판독 클럭 신호의 구체적인 파형과 생성 과정은 다양한 가능성이 존재하며, 본 발명의 실시예는 향후 다만 예로 사용될 뿐 구체적인 한정을 구성하지 않는다. 특히, 제2 판독 클럭 신호의 레벨 변화 에지와 판독 데이터 신호에서 유효 데이터의 종료 시간은 동기화되고, 또는 제2 판독 클럭 신호의 레벨 변화 에지는 판독 데이터 신호에서 유효 데이터의 종료 시각보다 앞당겨져, 유효 데이터의 정확한 래치를 보장한다. 또한, 레벨 변화 에지는 상승 에지(즉, 제2 판독 클럭 신호가 낮은 레벨로부터 높은 레벨로 변화됨) 또는 하강 에지(즉, 제2 판독 클럭 신호가 높은 레벨로부터 낮은 레벨로 변화됨)일 수 있다.Here, there are various possibilities for the specific waveform and generation process of the second read clock signal, and the embodiments of the present invention are only used as examples in the future and do not constitute specific limitations. In particular, the level change edge of the second read clock signal and the end time of valid data in the read data signal are synchronized, or the level change edge of the second read clock signal is advanced before the end time of valid data in the read data signal, Ensures accurate latch of data. Additionally, the level change edge may be a rising edge (i.e., the second read clock signal changes from a low level to a high level) or a falling edge (i.e., the second read clock signal changes from a high level to a low level).

설명해야 할 것은, 도 5에 도시된 바와 같이, 듀티 사이클 모듈(21)은 수신 모듈(211)과 조절 모듈(212) 두 개의 부분을 포함하고, 구체적 구현은 향후의 설명을 참조할 수 있으며; 제1 클럭 생성 모듈(22)은 논리 소자와 지연 유닛으로 구성될 수 있어, 지연 매칭과 JEDEC 표준에서 규정된 표준 시퀀스를 구현하고; 제2 클럭 생성 모듈(23)은 D-형 트리거와 인버터로 구성된 주파수 분할기로 구성될 수 있고, 선택 모듈(24)는 양자택일 데이터 선택기를 통해 구현될 수 있다.It should be noted that, as shown in Figure 5, the duty cycle module 21 includes two parts: a reception module 211 and an adjustment module 212, the specific implementation can refer to the future description; The first clock generation module 22 may be composed of a logic element and a delay unit to implement delay matching and the standard sequence specified in the JEDEC standard; The second clock generation module 23 may be configured as a frequency divider consisting of a D-type trigger and an inverter, and the selection module 24 may be implemented through an alternative data selector.

일부 실시예에 있어서, 데이터 클럭 신호는 외부로부터 수신된 쓰기 클럭 신호이고, 향후 WCK0으로 나타내고; 내부 클럭 신호는 메모리 내부에서 듀티 사이클 조절을 통한 쓰기 클럭 신호이며, 향후 WCK1로 나타내며; 타깃 판독 클럭 신호는 판독 동작 데이터 스트로브 신호이고, 향후 RDQS로 나타내며; 판독 데이터 신호는 DQ로 나타낼 수 있다.In some embodiments, the data clock signal is a write clock signal received from an external source, hereinafter indicated as WCK0; The internal clock signal is a write clock signal through duty cycle adjustment inside the memory, and will be referred to as WCK1 in the future; The target read clock signal is the read operation data strobe signal, hereinafter referred to as RDQS; The read data signal can be represented as DQ.

일부 실시예에 있어서, 도 5에 도시된 바와 같이, 클럭 처리 회로(20)는 검출 모듈(25)과 모드 레지스터(26)를 더 포함하고; 여기서, 검출 모듈(25)은, 내부 클럭 신호 WCK1을 수신하여, 내부 클럭 신호 WCK1에 대해 듀티 사이클 검출을 수행하여, 듀티 사이클 파라미터를 출력하도록 구성되고; 모드 레지스터(26)는, 듀티 사이클 파라미터를 수신하고 저장하도록 구성된다.In some embodiments, as shown in Figure 5, clock processing circuit 20 further includes a detection module 25 and a mode register 26; Here, the detection module 25 is configured to receive the internal clock signal WCK1, perform duty cycle detection on the internal clock signal WCK1, and output a duty cycle parameter; Mode register 26 is configured to receive and store duty cycle parameters.

설명해야 할 것은, 검출 모듈(25)은 논리 게이트、전송 게이트、커패시턴스 및 신호 비교기로 구성될 수 있다.It should be noted that the detection module 25 may be composed of a logic gate, a transmission gate, a capacitance and a signal comparator.

일부 실시예에 있어서, 도 6에 도시된 바와 같이, 선택 모듈(24)은 또한, 선택 지시 신호를 수신하고, 선택 지시 신호가 제1 상태인 경우, 제1 판독 클럭 신호를 타깃 판독 클럭 신호 RDQS로 출력하고; 또는, 선택 지시 신호가 제2 상태인 경우, 제2 판독 클럭 신호를 타깃 판독 클럭 신호 RDQS로 출력하도록 구성된다.In some embodiments, as shown in Figure 6, the selection module 24 also receives a selection instruction signal, and when the selection instruction signal is in the first state, it converts the first read clock signal to the target read clock signal RDQS. output as; Alternatively, when the selection instruction signal is in the second state, it is configured to output the second read clock signal as the target read clock signal RDQS.

여기서, 선택 모듈(24)은 양자택일 데이터 선택기일 수 있으므로, 선택 지시 신호의 상태에 따라 제1 판독 클럭 신호를 출력하거나 제2 판독 클럭 신호를 출력한다.Here, the selection module 24 may be an alternative data selector and therefore outputs a first read clock signal or a second read clock signal depending on the state of the selection instruction signal.

일부 실시예에 있어서, 메모리(10)는, 데이터 판독 명령어를 수신하고; 데이터 판독 명령어에 기반하여, 판독 데이터 신호 DQ를 출력하고, 클럭 처리 회로(20)를 통해 타깃 판독 클럭 신호 RDQS를 출력하도록 구성되며; 여기서, 타깃 판독 클럭 신호 RDQS는 판독 데이터 신호 DQ를 래치하기 위한 것이고, 제2 판독 클럭 신호의 레벨 상태 변화 에지는 판독 데이터 신호 DQ 중의 유효 데이터의 종료 시간을 지시한다.In some embodiments, memory 10 receives a data read command; Based on the data read command, it is configured to output a read data signal DQ and output a target read clock signal RDQS through the clock processing circuit 20; Here, the target read clock signal RDQS is for latching the read data signal DQ, and the level state change edge of the second read clock signal indicates the end time of valid data in the read data signal DQ.

다시 말해, 메모리(10)를 포함하는 전자 기기에서, 전자 기기의 CPU는 메모리(10)에 동작 명령어를 명령하여, 데이터 쓰기 또는 데이터 읽기를 구현한다. 데이터를 읽는 과정에서, CPU는 메모리(10)에 데이터 판독 명령어를 송신하고, 메모리(10)는 데이터 판독 명령어에 따라 판독 데이터 신호 DQ(CPU에 수요되는 판독 파라미터를 캐리함)를 생성하고, 클럭 처리 회로(20)를 통해 타깃 판독 클럭 신호 RDQS를 생성한다. 이로써, 판독 데이터 신호 DQ와 타깃 판독 클럭 신호 RDQS는 모두 CPU에 송신되어, CPU가 타깃 판독 클럭 신호 RDQS를 이용하여 판독 데이터 신호에 대해 래치를 수행하여, 향후 디코딩을 통해 수요되는 파라미터를 얻는데 편이하다.In other words, in an electronic device including a memory 10, the CPU of the electronic device commands an operation instruction to the memory 10 to implement data writing or data reading. In the process of reading data, the CPU sends a data read command to the memory 10, and the memory 10 generates a read data signal DQ (carrying the read parameters required by the CPU) according to the data read command, and clocks A target read clock signal RDQS is generated through the processing circuit 20. Accordingly, both the read data signal DQ and the target read clock signal RDQS are transmitted to the CPU, and the CPU performs latch on the read data signal using the target read clock signal RDQS, making it convenient to obtain required parameters through decoding in the future. .

본 발명의 실시예에서, 데이터 판독 명령어를 두 가지 타입으로 나누면, 즉 제1 판독 명령어와 제2 판독 명령어이다. 제2 판독 명령어는 클럭 처리 회로(20)에서 모드 레지스터(26)의 듀티 사이클 파라미터를 획득하도록 지시하고, 제1 판독 명령어는 제2 판독 명령어를 제외한 데이터 읽기 명령어를 가리킨다.In an embodiment of the present invention, data read instructions are divided into two types: first read instructions and second read instructions. The second read command instructs the clock processing circuit 20 to obtain the duty cycle parameter of the mode register 26, and the first read command indicates a data read command excluding the second read command.

구체적인 실시예에 있어서, 메모리(10)는 또한, 데이터 판독 명령어가 제1 판독 명령어인 경우, 선택 지시 신호를 제1 상태로 설정하고; 또는, 데이터 판독 명령어가 제2 판독 명령어인 경우, 선택 지시 신호를 제2 상태로 설정하도록 구성된다.In a specific embodiment, the memory 10 also sets the selection instruction signal to the first state when the data read command is the first read command; Alternatively, when the data read command is a second read command, the selection instruction signal is configured to be set to the second state.

전술한 바와 같이, 데이터 판독 명령어가 모드 레지스터(26)에서의 듀티 사이클 파라미터를 판독하기 위한 것일 경우, 메모리(10)는 듀티 사이클 조절의 과정일 수 있고, 특정 경우에서 내부 클럭 신호 WCK1에 기형 변화가 발생하였으면, 예를 들어 내부 클럭 신호 WCK1의 듀티 사이클이 72%에 도달할 때, 제1 판독 클럭 신호에도 기형 변화가 발생하여, CPU가 제1 판독 클럭 신호를 이용하여 판독 데이터 신호 DQ에 대해 래치를 수행하면 착오적인 결과를 얻을 수 있다. 본 발명의 실시예의 경우, 데이터 판독 명령어가 모드 레지스터(26)에서의 듀티 사이클 파라미터를 판독하기 위한 것일 경우, 제2 판독 클럭 신호를 타깃 판독 클럭 신호 RDQS로 출력하고, 제2 판독 클럭 신호에는 하나의 레벨 변화 에지만 존재하므로, 내부 클럭 신호 WCK1의 듀티 사이클의 기형 변화의 영향을 받지 않으므로, CPU는 제2 판독 클럭 신호에서의 레벨 변화 에지를 이용하여 데이터 신호에 대해 래치를 수행함으로써, 정확한 듀티 사이클 파라미터를 획득할 수 있다.As described above, when the data read command is to read the duty cycle parameter in mode register 26, memory 10 may be in the process of adjusting the duty cycle, and in certain cases, may cause abnormal changes to the internal clock signal WCK1. If this occurs, for example, when the duty cycle of the internal clock signal WCK1 reaches 72%, an abnormal change also occurs in the first read clock signal, and the CPU uses the first read clock signal to Performing a latch may produce erroneous results. In an embodiment of the present invention, when the data read command is to read the duty cycle parameter in the mode register 26, the second read clock signal is output as the target read clock signal RDQS, and the second read clock signal has one Since there is only a level change edge of Cycle parameters can be obtained.

또한, 전력 소비를 줄이기 위해, 데이터 판독 명령어가 제1 판독 명령어인 경우, 제2 클럭 생성 모듈(23)은 인에이블이 아닐 수 있고, 즉, 제2 클럭 생성 모듈(23)이 작업하지 않음으로써, 전류와 소비 전력을 감소하려는 목적에 도달할 수 있다.Additionally, in order to reduce power consumption, when the data read command is the first read command, the second clock generation module 23 may not be enabled, that is, the second clock generation module 23 does not work. , the goal of reducing current and power consumption can be reached.

다른 구체적인 실시예에 있어서, 메모리(10)는 또한, 데이터 판독 명령어가 제1 판독 명령어인 경우, 선택 지시 신호를 제1 상태로 설정하고; 또는, 데이터 판독 명령어가 제2 판독 명령어이고 내부 클럭 신호 WCK1의 듀티 사이클이 기설정 범위에 위치하는 경우, 선택 지시 신호를 제1 상태로 설정하며; 또는, 데이터 판독 명령어가 제2 판독 명령어이고 내부 클럭 신호 WCK1의 듀티 사이클이 기설정 범위에 위치하지 않는 경우, 선택 지시 신호를 제2 상태로 설정하도록 구성된다.In another specific embodiment, the memory 10 also sets the selection instruction signal to the first state when the data read command is the first read command; Alternatively, when the data read command is a second read command and the duty cycle of the internal clock signal WCK1 is within the preset range, the selection instruction signal is set to the first state; Alternatively, when the data read command is a second read command and the duty cycle of the internal clock signal WCK1 is not within a preset range, the selection instruction signal is configured to be set to the second state.

다시 말해, 데이터 판독 명령어가 모드 레지스터(26)에서의 듀티 사이클 파라미터를 판독하기 위한 것일 경우, 내부 클럭 신호 WCK1의 듀티 사이클이 요구에 부합되면, 이때 제1 판독 클럭 신호는 기형 변화되지 않고, 이때 CPU는 여전히 제1 판독 클럭 신호를 이용하여 판독 데이터 신호에 대해 래치를 수행한다.In other words, if the data read command is to read the duty cycle parameter in the mode register 26, and the duty cycle of the internal clock signal WCK1 meets the requirement, then the first read clock signal is not abnormally changed; The CPU still uses the first read clock signal to latch on the read data signal.

아래에 DRAM의 버스트 길이를 16이고, 16 개의 DQ 단자를 구비하는 것을 예로, 제2 판독 클럭 신호의 구체적 파형과 판독 데이터 신호의 래치 과정을 설명한다.Below, the specific waveform of the second read clock signal and the latch process of the read data signal will be explained using an example where the DRAM has a burst length of 16 and has 16 DQ terminals.

제2 판독 명령어의 경우, 판독 데이터 신호 DQ의 이전 8 비트는 유효 데이터를 캐리하고, DQ <7:0>로 나타낸다. JEDEC 표준의 규정에 따라, 타깃 판독 클럭 신호 RDQS의 이전 8 비트(이전 4 개의 클럭 주기)는 모드 레지스터의 파라미터 값(MR Content)을 전송하고, 이후 8 비트(이후 4 개의 클럭 주기)는 무관심한 데이터(Valid)를 전송한다. 이때, 제1 판독 클럭 신호는 8 개의 클럭 주기를 포함하고, 제2 판독 클럭 신호의 레벨 상태 변화 에지는 제1 판독 클럭 신호에서의 다섯 번째 클럭 주기의 상승 에지와 정렬되며; 여기서, 제2 판독 클럭 신호의 레벨 상태 변화 에지는 제2 판독 클럭 신호가 낮은 레벨 상태로부터 높은 레벨 상태로의 변화를 가리킨다.For the second read command, the previous 8 bits of the read data signal DQ carry valid data, and are indicated as DQ <7:0>. According to the provisions of the JEDEC standard, the previous 8 bits (previous 4 clock cycles) of the target read clock signal RDQS carry the parameter values of the mode register (MR Content), and the subsequent 8 bits (subsequent 4 clock cycles) carry indifferent data. Send (Valid). At this time, the first read clock signal includes eight clock cycles, and the level state change edge of the second read clock signal is aligned with the rising edge of the fifth clock cycle in the first read clock signal; Here, the level state change edge of the second read clock signal indicates the change of the second read clock signal from a low level state to a high level state.

다시 말해, 도 7의 (1)에 도시된 바와 같이, 제1 판독 클럭 신호를 이용하여 타깃 판독 클럭 신호 RDQS 로 사용하면, CPU는 타깃 판독 클럭 신호 RDQS의 신호 에지를 이용하여 판독 데이터 신호 DQ <7:0>에 대해 래치를 수행하고, 이전 4 개의 클럭 주기에 의해 래치된 데이터는 MR Content이고, 이후 4 개의 클럭 주기에 의해 래치된 데이터 Valid는 사용되지 않으며; 도 7의 (2)에 도시된 바와 같이, 제2 판독 클럭 신호를 이용하여 타깃 판독 클럭 신호 RDQS로 사용하면, CPU는 제2 판독 클럭 신호에서의 상승 에지를 이용하여 판독 데이터 신호 DQ <7:0>에 대해 래치를 수행하여, MR Content를 얻는다.In other words, as shown in (1) of FIG. 7, when the first read clock signal is used as the target read clock signal RDQS, the CPU uses the signal edge of the target read clock signal RDQS to generate the read data signal DQ < 7:0>, the data latched by the previous 4 clock cycles is MR Content, and the data latched by the subsequent 4 clock cycles Valid is not used; As shown in (2) of FIG. 7, when the second read clock signal is used as the target read clock signal RDQS, the CPU uses the rising edge of the second read clock signal to generate the read data signal DQ <7: Perform latch on 0> to obtain MR Content.

일부 실시예에 있어서, 도 5 또는 도 6에 도시된 바와 같이, 듀티 사이클 모듈(21)은, 외부로부터 데이터 클럭 신호 WCK0을 수신하고 출력하도록 구성된 수신 모듈(211); 및 데이터 클럭 신호 WCK0에 대해 듀티 사이클 조절을 수행하여, 내부 클럭 신호 WCK1을 출력하도록 구성된 조절 모듈(212)을 포함한다.In some embodiments, as shown in Figure 5 or Figure 6, the duty cycle module 21 includes a reception module 211 configured to receive and output a data clock signal WCK0 from the outside; and an adjustment module 212 configured to perform duty cycle adjustment on the data clock signal WCK0 to output an internal clock signal WCK1.

설명해야 할 것은, 조절 모듈(212)은 듀티 사이클 조절을 수행하도록 구성된다. 듀티 사이클 조절이 시작될 때, 조절 모듈(212)은 디폴트 설정은 데이터 클럭 신호 WCK0 의 듀티 사이클을 일정하게 증가되도록 초래하며, JEDEC의 규정에 따라, 듀티 사이클의 증가 상한은 7 개 단위(Step), 즉, 35 피코초이다.It should be noted that adjustment module 212 is configured to perform duty cycle adjustment. When duty cycle adjustment is started, the default setting of the adjustment module 212 is to cause the duty cycle of the data clock signal WCK0 to be increased uniformly, and according to the provisions of JEDEC, the upper limit of the increase in duty cycle is 7 units (step), That is, 35 picoseconds.

수신 모듈(211)은 NMOS와 PMOS 등 소자로 구성된 신호 수신기를 통해 구현될 수 있고, 조절 모듈(212)은 캐스케이드된 지연 유닛을 통해 구성될 수 있고, 각 지연 유닛은 NMOS와 PMOS로 구성됨으로써, 데이터 클럭 신호 WCK0 중 상승 에지의 전방/후방 조절을 구현하고, 및/또는, 데이터 클럭 신호 WCK0 중 하강 에지의 전방/후방 조절을 구현하여, 최종적으로 데이터 클럭 신호 WCK0의 듀티 사이클을 조절한다.The receiving module 211 may be implemented through a signal receiver composed of elements such as NMOS and PMOS, and the adjustment module 212 may be implemented through cascaded delay units, and each delay unit is composed of NMOS and PMOS, Forward/backward adjustment of the rising edge of the data clock signal WCK0 is implemented, and/or forward/backward adjustment of the falling edge of the data clock signal WCK0 is implemented, and finally the duty cycle of the data clock signal WCK0 is adjusted.

아래에 제공되는 출현 가능한 작업 시나리오는, 본 발명의 실시예의 기술 효과에 대해 설명한다. 도 8의 (a)에 도시된 바와 같이, 외부에서 생성된 데이터 클럭 신호 WCK0의 듀티 사이클은 57%이고, 듀티 사이클 조절 과정이 시작될 때, 데이터 클럭 신호 WCK0의 듀티 사이클은 디폴트로 7 개의 단위(35피코초)를 증가시키고, 메모리의 속도가 8633Mbps이면, 이때 내부 클럭 신호 WCK1의 듀티 사이클은 데이터 클럭 신호 WCK0의 기초 위에 15%만큼 계속 증가되며, 즉, 내부 클럭 신호 WCK1의 듀티 사이클은 72%에 도달한다. 도 8의 (b)에 도시된 바와 같이, 이때 CPU는 메모리에 제2 판독 명령어를 송신하고, 선택 지시 신호는 제2 상태로 설정되고, 메모리(10)는 단일 신호 에지를 구비하는 제2 판독 클럭 신호를 타깃 판독 클럭 신호 RDQS로 사용함으로써, CPU는 제2 판독 클럭 신호를 이용하여 판독 데이터 신호 DQ <7:0>에 대해 래치를 수행하여, 정확한 듀티 사이클 파라미터를 획득함으로써, 듀티 사이클 조절 동작의 성공을 보장할 수 있다.The possible operation scenarios provided below illustrate the technical effects of the embodiments of the present invention. As shown in (a) of Figure 8, the duty cycle of the externally generated data clock signal WCK0 is 57%, and when the duty cycle adjustment process begins, the duty cycle of the data clock signal WCK0 is defaulted to 7 units ( 35 picoseconds), if the speed of the memory is 8633Mbps, then the duty cycle of the internal clock signal WCK1 continues to increase by 15% on the basis of the data clock signal WCK0, that is, the duty cycle of the internal clock signal WCK1 is 72% reaches. As shown in (b) of FIG. 8, at this time, the CPU transmits a second read command to the memory, the selection instruction signal is set to the second state, and the memory 10 performs a second read command with a single signal edge. By using the clock signal as the target read clock signal RDQS, the CPU uses the second read clock signal to latch on the read data signal DQ <7:0> to obtain the correct duty cycle parameter, thereby performing a duty cycle adjustment operation. success can be guaranteed.

요약하면, 본 발명의 실시예는 메모리를 제공하고, 상기 메모리는 클럭 처리 회로를 포함하며, 클럭 처리 회로는, 외부에서 생성되는 데이터 클럭 신호를 수신하고; 데이터 클럭 신호에 대해 듀티 사이클 조절을 수행하여, 내부 클럭 신호를 출력하도록 구성된 듀티 사이클 모듈; 내부 클럭 신호를 수신하고, 내부 클럭 신호에 기반하여, 제1 판독 클럭 신호를 출력하도록 구성된 제1 클럭 생성 모듈 - 제1 판독 클럭 신호는 펄스 신호임 - ; 제1 판독 클럭 신호가 존재하는 동안, 제2 판독 클럭 신호를 생성하고 출력하도록 구성된 제2 클럭 생성 모듈 - 제2 판독 클럭 신호는 하나의 레벨 상태 변화 에지만 존재함 - ; 및 제1 판독 클럭 신호와 제2 판독 클럭 신호를 수신하고, 제1 판독 클럭 신호와 제2 판독 클럭 신호 중의 하나를 타깃 판독 클럭 신호로 출력하도록 구성된 선택 모듈을 포함한다. 이로써, 내부 클럭 신호에 듀티 사이클 기형 변화가 발생한 경우, 데이터 래치 실패를 피하기 위해, 단일 레벨 변화 에지를 구비하는 제2 판독 클럭 신호를 선택하여 타깃 판독 클럭 신호로 사용할 수 있다.In summary, an embodiment of the present invention provides a memory, the memory including a clock processing circuit, the clock processing circuit receiving an externally generated data clock signal; a duty cycle module configured to perform duty cycle adjustment on a data clock signal and output an internal clock signal; a first clock generation module configured to receive an internal clock signal and, based on the internal clock signal, output a first read clock signal, wherein the first read clock signal is a pulse signal; a second clock generation module configured to generate and output a second read clock signal while the first read clock signal is present, wherein the second read clock signal has only one level state change edge; and a selection module configured to receive the first read clock signal and the second read clock signal, and output one of the first read clock signal and the second read clock signal as the target read clock signal. Accordingly, when a duty cycle abnormality change occurs in the internal clock signal, the second read clock signal having a single level change edge can be selected and used as the target read clock signal to avoid data latch failure.

본 발명의 다른 실시예에 있어서, 도 9를 참조하면, 본 발명의 실시예에서 제공하는 제어 장치(30)의 구조 예시도를 도시한다. 도 9에 도시된 바와 같이, 제어 장치(30)는 메모리(10)에 연결되고; 여기서, In another embodiment of the present invention, referring to FIG. 9, an exemplary structural diagram of a control device 30 provided in an embodiment of the present invention is shown. As shown in Figure 9, the control device 30 is connected to the memory 10; here,

제어 장치(30)는, 메모리(10)에 데이터 판독 명령어를 송신하고; 메모리(10)에 의해 리턴된 판독 데이터 신호 DQ와 타깃 판독 클럭 신호 RDQS를 수신하여, 타깃 판독 클럭 신호 RDQS를 이용하여 판독 데이터 신호 DQ에 대해 래치 처리를 수행하도록 구성되고; 여기서, 타깃 판독 클럭 신호 RDQS는 제1 판독 클럭 신호 또는 제2 판독 클럭 신호이고, 제1 판독 클럭 신호는 펄스 신호이며, 제2 판독 클럭 신호는 하나의 레벨 상태 변화 에지만 존재한다.The control device 30 transmits a data read command to the memory 10; configured to receive the read data signal DQ and the target read clock signal RDQS returned by the memory 10, and perform latch processing on the read data signal DQ using the target read clock signal RDQS; Here, the target read clock signal RDQS is a first read clock signal or a second read clock signal, the first read clock signal is a pulse signal, and the second read clock signal has only one level state change edge.

설명해야 할 것은, 제어 장치(30)는 CPU일 수 있다. 구체적으로, 제어 장치(30)는 메모리(10)의 메모리 컨트롤러(Controller)를 통해 명령어를 송신하여, 메모리(10)에서의 모드 레지스터/메모리 어레이의 데이터를 판독한다. 구체적으로, 메모리(10)의 데이터를 판독할 때, CPU는 명령 버스와 데이터 버스를 통해 데이터 판독 명령어를 메모리에 송신하고, 메모리(10)는 데이터 판독 명령어를 해석하고 상응하는 판독 동작을 실행하여, 판독 데이터 신호를 얻는다. 이외에, 메모리는 또한 타깃 판독 클럭 신호를 생성하여, 제어 장치(30)가 타깃 판독 클럭 신호 RDQS를 이용하여 판독 데이터 신호 DQ에 대해 래치 처리를 수행하여, 수요되는 데이터를 획득하도록 한다.It should be noted that the control device 30 may be a CPU. Specifically, the control device 30 transmits a command through the memory controller of the memory 10 to read data from the mode register/memory array in the memory 10. Specifically, when reading data in the memory 10, the CPU sends a data read command to the memory through the command bus and the data bus, and the memory 10 interprets the data read command and executes the corresponding read operation. , obtain the read data signal. In addition, the memory also generates a target read clock signal, allowing the control device 30 to perform latch processing on the read data signal DQ using the target read clock signal RDQS to obtain the required data.

도 4 내지 도 6을 결하하면, 본 발명의 실시예에서, 제어 장치(30)가 메모리(10)로부터 수신한 타깃 판독 클럭 신호 RDQS는 복수 개의 펄스 또는 하나의 레벨 상태 변화 에지만 구비할 수 있다. 다시 말해, 제1 판독 클럭 신호의 듀티 사이클이 기형 변화될 때, 메모리(10)는 하나의 레벨 상태 변화 에지만 존재하는 제2 판독 클럭 신호를 채택하여 타깃 판독 클럭 신호 RDQS로 사용하여 제어 장치(30)에 송신하여, 판독 데이터 신호 DQ를 정확하게 래치한다.4 to 6, in the embodiment of the present invention, the target read clock signal RDQS received by the control device 30 from the memory 10 may have a plurality of pulses or only one level state change edge. . In other words, when the duty cycle of the first read clock signal changes abnormally, the memory 10 adopts the second read clock signal with only one level state change edge and uses it as the target read clock signal RDQS to control the control device ( 30), the read data signal DQ is accurately latched.

구체적인 실시예에 있어서, 제어 장치(30)는 또한, 데이터 판독 명령어가 제1 판독 명령어인 경우, 메모리(10)에 의해 리턴된 제1 판독 클럭 신호를 수신하고, 제1 판독 클럭 신호를 이용하여 판독 데이터 신호 DQ에 대해 래치 처리를 수행하고; 또는, 데이터 판독 명령어가 제2 판독 명령어인 경우, 메모리(10)에 의해 리턴된 제2 판독 클럭 신호를 수신하고, 제2 판독 클럭 신호의 레벨 상태 변화 에지를 이용하여 판독 데이터 신호 DQ에 대해 래치 처리를 수행하도록 구성된다.In a specific embodiment, the control device 30 also receives the first read clock signal returned by the memory 10 when the data read command is the first read command, and uses the first read clock signal to perform latch processing on the read data signal DQ; Alternatively, when the data read command is a second read command, receive the second read clock signal returned by the memory 10 and latch the read data signal DQ using the level state change edge of the second read clock signal. It is configured to perform processing.

설명해야 할 것은, 메모리(10)는 클럭 처리 회로(20)를 포함하고, 제2 판독 명령어는 클럭 처리 회로(20)에서 모드 레지스터의 듀티 사이클 파라미터를 획득하도록 지시하고, 제1 판독 명령어는 제2 판독 명령어를 제외한 데이터 판독 명령어를 지시한다.It should be noted that the memory 10 includes a clock processing circuit 20, wherein a second read instruction directs the clock processing circuit 20 to obtain a duty cycle parameter of the mode register, and the first read instruction directs the clock processing circuit 20 to obtain the duty cycle parameter of the mode register. 2 Indicates a data read command excluding the read command.

이로써, 데이터 판독 명령어가 제2 판독 명령어인 경우, 메모리(10)는 듀티 사이클 조절의 과정일 수 있고, 메모리(10)에서의 내부 클럭 신호 WCK1은 기형 변화된 것일 수 있으며, 즉, 제1 판독 클럭 신호는 기형 변화된 것으로서, 제2 판독 클럭 신호를 채택하여 타깃 판독 클럭 신호 RDQS로 사용하여, 제어 장치(30)가 정확한 듀티 사이클 파라미터를 얻는데 편이할 수 있다. 반대로, 데이터 판독 명령어가 제1 판독 명령어인 경우, 메모리에서의 내부 클럭 신호 WCK1과 제1 판독 클럭 신호는 모두 정상이며, 따라서, 제1 판독 클럭 신호를 채택하여 타깃 판독 클럭 신호 RDQS로 사용하면, 제어 장치(30)는 정확한 결과를 획득할 수 있다.Accordingly, when the data read command is a second read command, the memory 10 may be in the process of duty cycle adjustment, and the internal clock signal WCK1 in the memory 10 may be abnormally changed, that is, the first read clock The signal is deformed, and the second read clock signal is adopted and used as the target read clock signal RDQS, making it convenient for the control device 30 to obtain accurate duty cycle parameters. Conversely, when the data read command is the first read command, both the internal clock signal WCK1 and the first read clock signal in the memory are normal. Therefore, if the first read clock signal is adopted and used as the target read clock signal RDQS, The control device 30 can obtain accurate results.

다른 구체적 실시예에 있어서, 제어 장치(30)는 또한, 데이터 판독 명령어가 제2 판독 명령어인 경우, 메모리(10)에 의해 리턴된 제1 판독 클럭 신호를 수신하고, 제1 판독 클럭 신호의 레벨 상태 변화 에지를 이용하여 판독 데이터 신호 DQ에 대해 래치 처리를 수행하도록 구성된다.In another specific embodiment, the control device 30 also receives the first read clock signal returned by the memory 10 when the data read command is a second read command and determines the level of the first read clock signal. It is configured to perform latch processing on the read data signal DQ using a state change edge.

이로써, 데이터 판독 명령어가 제2 판독 명령어인 경우, 메모리(10)에서의 내부 클럭 신호 WCK1과 제1 판독 클럭 신호는 여전히 정상일 수 있으므로, 메모리(10)도 여전히 제1 판독 클럭 신호를 채택하여 타깃 판독 클럭 신호 RDQS로 사용할 수 있다.Accordingly, when the data read command is the second read command, the internal clock signal WCK1 and the first read clock signal in the memory 10 may still be normal, so the memory 10 also still adopts the first read clock signal to target It can be used as a read clock signal RDQS.

본 발명의 실시예는 제어 장치를 제공하고, 상기 제어 장치는 메모리에 연결되며; 제어 장치는, 메모리에 데이터 판독 명령어를 송신하고; 메모리에 의해 리턴된 판독 데이터 신호와 타깃 판독 클럭 신호를 수신하고, 타깃 판독 클럭 신호를 이용하여 판독 데이터 신호에 대해 래치 처리를 수행하도록 구성되고; 여기서, 타깃 판독 클럭 신호는 제1 판독 클럭 신호 또는 제2 판독 클럭 신호이고, 제1 판독 클럭 신호는 펄스 신호이고, 제2 판독 클럭 신호는 하나의 레벨 상태 변화 에지만 존재한다. 이로써, 내부 클럭 신호에 듀티 사이클 기형 변화가 발생하는 경우, 단일 레벨 변화 에지를 구비하는 제2 판독 클럭 신호를 이용하여 판독 데이터 신호에 대해 래치를 수행하여, 데이터 래치 실패를 피할 수 있다.An embodiment of the present invention provides a control device, the control device coupled to a memory; The control device sends a data read command to the memory; configured to receive a read data signal returned by the memory and a target read clock signal, and perform latch processing on the read data signal using the target read clock signal; Here, the target read clock signal is a first read clock signal or a second read clock signal, the first read clock signal is a pulse signal, and the second read clock signal has only one level state change edge. Accordingly, when a duty cycle abnormality change occurs in the internal clock signal, the read data signal is latched using the second read clock signal having a single level change edge, thereby avoiding data latch failure.

본 발명의 다른 실시예에 있어서, 도 10을 참조하면, 본 발명의 실시예에서 제공하는 클럭 처리 방법의 흐름 예시도를 도시한다. 도 10에 도시된 바와 같이, 상기 방법은 아래의 단계를 포함한다.In another embodiment of the present invention, referring to FIG. 10, an exemplary flow diagram of a clock processing method provided by the embodiment of the present invention is shown. As shown in Figure 10, the method includes the following steps.

S401에 있어서, 외부에서 생성되는 데이터 클럭 신호를 수신하고; 데이터 클럭 신호에 대해 듀티 사이클 조절을 수행하여, 내부 클럭 신호를 결정한다.In S401, an externally generated data clock signal is received; Duty cycle adjustment is performed on the data clock signal to determine the internal clock signal.

S402에 있어서, 내부 클럭 신호에 기반하여, 제1 판독 클럭 신호를 결정하고; 여기서, 제1 판독 클럭 신호는 펄스 신호이다.In S402, determine a first read clock signal based on the internal clock signal; Here, the first read clock signal is a pulse signal.

S403에 있어서, 제1 판독 클럭 신호가 존재하는 동안, 제2 판독 클럭 신호를 생성하며; 여기서, 제2 판독 클럭 신호는 하나의 레벨 상태 변화 에지만 존재한다.In S403, while the first read clock signal exists, generate a second read clock signal; Here, the second read clock signal has only one level state change edge.

S404에 있어서, 제1 판독 클럭 신호와 제2 판독 클럭 신호 중의 하나를 타깃 판독 클럭 신호로 출력한다.In S404, one of the first read clock signal and the second read clock signal is output as the target read clock signal.

설명해야 할 것은, 상기 방법은 전술한 메모리(10)에 적용된다. 이로써, 메모리(10)는 제1 판독 클럭 신호와 제2 판독 클럭 신호를 동시에 생성할 수 있고, 상이한 작업 시나리오에서, 제1 판독 클럭 신호 또는 제2 판독 클럭 신호를 타깃 판독 클럭 신호 RDQS로서 선택하여 CPU에 송신하여, 데이터 신호의 래치 처리를 구현한다. 특히, 제2 판독 클럭 신호는 내부 클럭 신호 WCK1의 듀티 사이클의 기형 변화의 영향을 받지 않으므로, 내부 클럭 신호 WCK1의 듀티 사이클의 기형 변화가 비교적 큰 시나리오에서도 여전히 데이터 신호의 정확한 래치를 보장할 수 있다.It should be noted that the above method is applied to the memory 10 described above. Thereby, the memory 10 can simultaneously generate the first read clock signal and the second read clock signal, and in different working scenarios, select the first read clock signal or the second read clock signal as the target read clock signal RDQS. It is sent to the CPU to implement latch processing of the data signal. In particular, the second read clock signal is not affected by the irregularity change in the duty cycle of the internal clock signal WCK1, so even in the scenario where the irregularity change in the duty cycle of the internal clock signal WCK1 is relatively large, accurate latch of the data signal can still be guaranteed. .

일부 실시예에 있어서, 전술한 바와 같이, 메모리(10)는 모드 레지스터(26)를 포함하고, 상기 방법은, In some embodiments, as described above, memory 10 includes a mode register 26, and the method includes:

내부 클럭 신호에 대해 듀티 사이클 검출을 수행하여, 듀티 사이클 파라미터를 얻고; 듀티 사이클 파라미터를 모드 레지스터에 저장하는 단계를 더 포함한다.Perform duty cycle detection on the internal clock signal to obtain a duty cycle parameter; It further includes storing the duty cycle parameter in a mode register.

구체적 실시예에 있어서, 전술한 바와 같이, 메모리(10)는 제어 장치(30)에 연결되고, 상기 제1 판독 클럭 신호와 제2 판독 클럭 신호 중의 하나를 타깃 판독 클럭 신호로 출력하는 단계는, In a specific embodiment, as described above, the memory 10 is connected to the control device 30, and outputting one of the first read clock signal and the second read clock signal as a target read clock signal includes:

제어 장치에 의해 송신된 제1 판독 명령어를 수신한 경우, 제1 판독 명령어에 기반하여 판독 데이터 신호를 결정하고, 제1 판독 클럭 신호를 타깃 판독 클럭 신호로 결정하는 단계; 및 제어 장치에서 송신되는 제2 판독 명령어가 수신된 경우, 제2 판독 명령어에 기반하여 판독 데이터 신호를 결정하고, 제2 판독 클럭 신호를 타깃 판독 클럭 신호로 결정하는 단계를 포함한다.When receiving a first read command sent by the control device, determining a read data signal based on the first read command and determining the first read clock signal as a target read clock signal; and when a second read command transmitted from the control device is received, determining a read data signal based on the second read command and determining the second read clock signal as the target read clock signal.

여기서, 타깃 판독 클럭 신호는 판독 데이터 신호를 래치하기 위한 것이고, 제2 판독 명령어는 모드 레지스터의 듀티 사이클 파라미터를 획득하도록 지시하고, 제1 판독 명령어는 제2 판독 명령어를 제외한 데이터 판독 명령어를 지시한다.Here, the target read clock signal is for latching the read data signal, the second read instruction directs obtaining the duty cycle parameter of the mode register, and the first read instruction directs the data read instruction excluding the second read instruction. .

다른 구체적 실시예에 있어서, 상기 제1 판독 클럭 신호와 제2 판독 클럭 신호 중의 하나를 타깃 판독 클럭 신호로 출력하는 단계는, In another specific embodiment, the step of outputting one of the first read clock signal and the second read clock signal as a target read clock signal includes:

제어 장치에 의해 송신된 제1 판독 명령어를 수신한 경우, 제1 판독 명령어에 기반하여 판독 데이터 신호를 결정하고, 제1 판독 클럭 신호를 타깃 판독 클럭 신호로 결정하는 단계; 제어 장치에 의해 송신된 제2 판독 명령어를 수신하고 듀티 사이클 파라미터가 기설정 범위에 위치하는 경우, 제2 판독 명령어에 기반하여 판독 데이터 신호를 결정하고, 제1 판독 클럭 신호를 타깃 판독 클럭 신호로 결정하는 단계; 및 제어 장치에서 송신되는 2 판독 명령어가 수신되고 듀티 사이클 파라미터가 기설정 범위에 위치하지 않는 경우, 제2 판독 명령어에 기반하여 판독 데이터 신호를 결정하고, 제2 판독 클럭 신호를 타깃 판독 클럭 신호로 결정하는 단계를 포함한다.When receiving a first read command sent by the control device, determining a read data signal based on the first read command and determining the first read clock signal as a target read clock signal; When receiving the second read command sent by the control device and the duty cycle parameter is located in the preset range, determine the read data signal based on the second read command, and convert the first read clock signal to the target read clock signal. deciding step; And when a 2 read command transmitted from the control device is received and the duty cycle parameter is not located in the preset range, a read data signal is determined based on the second read command, and the second read clock signal is converted to a target read clock signal. Includes decision-making steps.

본 발명의 실시예는 클럭 처리 방법을 제공하고, 상기 방법은, 외부에서 생성되는 데이터 클럭 신호를 수신하는 단계; 데이터 클럭 신호에 대해 듀티 사이클 조절을 수행하여, 내부 클럭 신호를 결정하는 단계; 내부 클럭 신호에 기반하여, 제1 판독 클럭 신호를 결정하는 단계 - 제1 판독 클럭 신호는 펄스 신호임 - ; 제1 판독 클럭 신호가 존재하는 동안, 제2 판독 클럭 신호를 생성하는 단계 - 제2 판독 클럭 신호는 하나의 레벨 상태 변화 에지만 존재함 - ; 및 제1 판독 클럭 신호와 제2 판독 클럭 신호 중의 하나를 타깃 판독 클럭 신호로 출력하는 단계를 포함한다. 이로써, 내부 클럭 신호에 듀티 사이클 기형 변화가 발생한 경우, 데이터 래치 실패를 피하기 위해, 단일 레벨 변화 에지를 구비하는 제2 판독 클럭 신호를 선택하여 타깃 판독 클럭 신호로 사용할 수 있다.An embodiment of the present invention provides a clock processing method, the method comprising: receiving an externally generated data clock signal; performing duty cycle adjustment on the data clock signal to determine an internal clock signal; Based on the internal clock signal, determining a first read clock signal, the first read clock signal being a pulse signal; generating a second read clock signal while the first read clock signal is present, the second read clock signal having only one level state change edge; and outputting one of the first read clock signal and the second read clock signal as a target read clock signal. Accordingly, when a duty cycle abnormality change occurs in the internal clock signal, the second read clock signal having a single level change edge can be selected and used as the target read clock signal to avoid data latch failure.

본 발명의 다른 실시예에 있어서, 도 11을 참조하면, 본 발명의 실시예에서 제공하는 전자 기기(50)의 구성 구조 예시도이다. 도 11에 도시된 바와 같이, 전자 기기(50)는 적어도 전술한 메모리(10)와 전술한 제어 장치(30)를 포함한다.In another embodiment of the present invention, referring to FIG. 11, it is an exemplary structural diagram of an electronic device 50 provided in an embodiment of the present invention. As shown in FIG. 11, the electronic device 50 includes at least the memory 10 described above and the control device 30 described above.

메모리(10)가 복수 개의 펄스를 구비하는 제1 판독 클럭 신호를 출력할 수 있고, 또는 단일 레벨 변화 에지를 구비하는 제2 판독 클럭 신호를 출력할 수 있으므로, 메모리(10)에서의 내부 클럭 신호에 듀티 사이클 기형 변화가 발생한 경우, 단일 레벨 변화 에지를 구비하는 제2 판독 클럭 신호를 선택하여 타깃 판독 클럭 신호로 사용할 수 있고, 제어 장치(30)는 제2 판독 클럭 신호에서의 레벨 변화 에지를 이용하여 데이터 래치를 수행하여, 잘못된 데이터를 획득하는 것을 피할 수 있다.Since memory 10 can output a first read clock signal having a plurality of pulses, or can output a second read clock signal having a single level change edge, the internal clock signal in memory 10 When a duty cycle abnormality change occurs, a second read clock signal having a single level change edge can be selected and used as the target read clock signal, and the control device 30 selects the level change edge in the second read clock signal. By performing a data latch, you can avoid obtaining incorrect data.

위의 설명은 본 발명의 바람직한 실시예일 뿐이며, 본 발명의 범위를 한정하려는 것은 아니다. 설명해야 할 것은, 본 발명에서, 용어 “포함” 또는 이의 임의의 다른 변형은 비배타적인 포함을 포함하도록 의도됨으로써, 일련의 요소를 포함하는 프로세스, 방법, 물품 또는 장치로 하여금 이러한 요소를 포함하도록 할 뿐만 아니라, 명시적으로 열거되지 않은 다른 요소를 포함하도록 할 수도 있으며, 또는 이러한 프로세스, 방법, 물품, 또는 장치가 고유한 요소를 포함하도록 한다. 더 많은 한정이 없는 경우, 문구 “하나의……을 포함”에 의해 정의된 요소는, 상기 요소를 포함하는 과정, 방법, 물품 또는 장치에 다른 동일한 요소가 존재하는 것을 배제하지 않는다. 상기 본 발명의 실시예의 번호는 다만 설명을 위한 것일 뿐, 실시예의 우열을 나타내는 것은 아니다. 본 발명에서 제공한 몇 개의 방법 실시예에서 언급된 방법은, 충돌되지 않는 경우 임의로 조합되어, 새로운 방법 실시예를 얻을 수 있다. 본 발명에서 제공한 몇 개의 제품 실시예에서 언급된 특징은, 충돌되지 않는 한 임의로 조합되어, 새로운 제품 실시예를 얻을 수 있다. 본 발명에서 제공한 몇 개의 방법 또는 기기 실시예에서 언급된 특징은, 충돌되지 않는 한 임의로 조합되어, 새로운 방법 실시예 또는 기기 실시예를 얻을 수 있다. 이상의 설명은 다만 본 발명의 구체적인 실시 형태일 뿐이고, 본 발명의 보호 범위는 이에 한정되지 않으며, 본 발명이 속하는 기술분야의 통상의 기술자라면, 본 발명에서 개시된 기술적 범위 내의 변화 또는 교체가 모두 본 발명의 보호 범위 내에 속해야 함을 쉽게 알 수 있을 것이다. 따라서, 본 발명의 보호 범위는 특허청구범위의 보호 범위를 기준으로 해야 한다. The above description is only a preferred embodiment of the present invention and is not intended to limit the scope of the present invention. It should be noted that, in the present invention, the term “comprising” or any other variation thereof is intended to include non-exclusive inclusion, thereby allowing a process, method, article or device comprising a set of elements to include such elements. In addition, it may be permitted to include other elements not explicitly listed, or to cause such process, method, article, or apparatus to contain unique elements. In the absence of further qualification, the phrase “one…” … An element defined by “including” does not exclude the presence of other identical elements in a process, method, article or device that includes the element. The numbers of the embodiments of the present invention are only for explanation and do not indicate superiority or inferiority of the embodiments. The methods mentioned in several method embodiments provided by the present invention can be arbitrarily combined if they do not conflict to obtain new method embodiments. The features mentioned in several product embodiments provided by the present invention can be arbitrarily combined as long as they do not conflict to obtain new product embodiments. The features mentioned in several method or device embodiments provided by the present invention can be arbitrarily combined as long as they do not conflict, to obtain new method embodiments or device embodiments. The above description is only a specific embodiment of the present invention, and the scope of protection of the present invention is not limited thereto, and those skilled in the art will understand that all changes or replacements within the technical scope disclosed in the present invention are not limited to the present invention. It will be easy to see that it must fall within the scope of protection. Therefore, the scope of protection of the present invention should be based on the scope of protection of the patent claims.

본 발명의 실시예는 메모리, 제어 장치, 클럭 처리 방법과 전자 기기를 제공하고, 메모리는 클럭 처리 회로를 포함하고, 클럭 처리 회로는, 외부에서 생성되는 데이터 클럭 신호를 수신하고; 데이터 클럭 신호에 대해 듀티 사이클 조절을 수행하여, 내부 클럭 신호를 출력하도록 구성된 듀티 사이클 모듈; 내부 클럭 신호를 수신하고, 내부 클럭 신호에 기반하여, 제1 판독 클럭 신호를 출력하도록 구성된 제1 클럭 생성 모듈 - 제1 판독 클럭 신호는 펄스 신호임 - ; 제1 판독 클럭 신호가 존재하는 동안, 제2 판독 클럭 신호를 생성하고 출력하도록 구성된 제2 클럭 생성 모듈 - 제2 판독 클럭 신호는 하나의 레벨 상태 변화 에지만 존재함 - ; 및 제1 판독 클럭 신호와 제2 판독 클럭 신호를 수신하고, 제1 판독 클럭 신호와 제2 판독 클럭 신호 중의 하나를 타깃 판독 클럭 신호로 출력하도록 구성된 선택 모듈을 포함한다. 이로써, 메모리의 내부 클럭 신호에 듀티 사이클 기형 변화가 발생한 경우, 데이터 래치 실패를 피하기 위해, 단일 레벨 변화 에지를 구비하는 제2 판독 클럭 신호를 선택하여 타깃 판독 클럭 신호로 사용할 수 있다.Embodiments of the present invention provide a memory, a control device, a clock processing method, and an electronic device, wherein the memory includes a clock processing circuit, and the clock processing circuit receives an externally generated data clock signal; a duty cycle module configured to perform duty cycle adjustment on a data clock signal and output an internal clock signal; a first clock generation module configured to receive an internal clock signal and, based on the internal clock signal, output a first read clock signal, wherein the first read clock signal is a pulse signal; a second clock generation module configured to generate and output a second read clock signal while the first read clock signal is present, wherein the second read clock signal has only one level state change edge; and a selection module configured to receive the first read clock signal and the second read clock signal, and output one of the first read clock signal and the second read clock signal as the target read clock signal. Accordingly, when a duty cycle abnormality change occurs in the internal clock signal of the memory, the second read clock signal having a single level change edge can be selected and used as the target read clock signal to avoid data latch failure.

Claims (17)

메모리로서,
클럭 처리 회로를 포함하고, 상기 클럭 처리 회로는,
외부에서 생성되는 데이터 클럭 신호를 수신하고; 상기 데이터 클럭 신호에 대해 듀티 사이클 조절을 수행하여, 내부 클럭 신호를 출력하도록 구성된 듀티 사이클 모듈;
상기 내부 클럭 신호를 수신하고, 상기 내부 클럭 신호에 기반하여, 제1 판독 클럭 신호를 출력하도록 구성된 제1 클럭 생성 모듈 - 상기 제1 판독 클럭 신호는 펄스 신호임 - ;
상기 제1 판독 클럭 신호가 존재하는 동안, 제2 판독 클럭 신호를 생성하고 출력하도록 구성된 제2 클럭 생성 모듈 - 상기 제2 판독 클럭 신호는 하나의 레벨 상태 변화 에지만 존재함 - ; 및
상기 제1 판독 클럭 신호와 상기 제2 판독 클럭 신호를 수신하고, 상기 제1 판독 클럭 신호와 상기 제2 판독 클럭 신호 중의 하나를 타깃 판독 클럭 신호로 출력하도록 구성된 선택 모듈을 포함하는 것을 특징으로 하는 메모리.
As a memory,
A clock processing circuit comprising:
Receive an externally generated data clock signal; a duty cycle module configured to perform duty cycle adjustment on the data clock signal and output an internal clock signal;
a first clock generation module configured to receive the internal clock signal and, based on the internal clock signal, output a first read clock signal, wherein the first read clock signal is a pulse signal;
a second clock generation module configured to generate and output a second read clock signal while the first read clock signal is present, wherein the second read clock signal has only one level state change edge; and
and a selection module configured to receive the first read clock signal and the second read clock signal and output one of the first read clock signal and the second read clock signal as a target read clock signal. Memory.
제1항에 있어서,
상기 클럭 처리 회로는 검출 모듈과 모드 레지스터를 더 포함하고,
상기 검출 모듈은, 상기 내부 클럭 신호를 수신하고, 상기 내부 클럭 신호에 대해 듀티 사이클 검출을 수행하여, 듀티 사이클 파라미터를 출력하도록 구성되고;
상기 모드 레지스터는, 상기 듀티 사이클 파라미터를 수신하고 저장하도록 구성되는 것을 특징으로 하는 메모리.
According to paragraph 1,
The clock processing circuit further includes a detection module and a mode register,
The detection module is configured to receive the internal clock signal, perform duty cycle detection on the internal clock signal, and output a duty cycle parameter;
The mode register is configured to receive and store the duty cycle parameter.
제2항에 있어서,
상기 선택 모듈은 또한, 선택 지시 신호를 수신하고, 상기 선택 지시 신호가 제1 상태인 경우, 상기 제1 판독 클럭 신호를 타깃 판독 클럭 신호로 출력하고; 또는, 상기 선택 지시 신호가 제2 상태인 경우, 상기 제2 판독 클럭 신호를 타깃 판독 클럭 신호로 출력하도록 구성되는 것을 특징으로 하는 메모리.
According to paragraph 2,
The selection module also receives a selection instruction signal, and when the selection instruction signal is in a first state, outputs the first read clock signal as a target read clock signal; Alternatively, when the selection instruction signal is in a second state, the memory is configured to output the second read clock signal as a target read clock signal.
제3항에 있어서,
상기 메모리는, 데이터 판독 명령어를 수신하고; 상기 데이터 판독 명령어에 기반하여, 판독 데이터 신호를 출력하며, 상기 클럭 처리 회로를 통해 상기 타깃 판독 클럭 신호를 출력하도록 구성되고;
상기 타깃 판독 클럭 신호는 상기 판독 데이터 신호를 래치하기 위한 것이고, 상기 제2 판독 클럭 신호의 레벨 상태 변화 에지는 상기 판독 데이터 신호 중의 유효 데이터의 종료 시간을 지시하는 것을 특징으로 하는 메모리.
According to paragraph 3,
The memory receives a data read command; configured to output a read data signal based on the data read command and output the target read clock signal through the clock processing circuit;
The target read clock signal is for latching the read data signal, and a level state change edge of the second read clock signal indicates an end time of valid data in the read data signal.
제4항에 있어서,
상기 메모리는 또한, 상기 데이터 판독 명령어가 제1 판독 명령어인 경우, 상기 선택 지시 신호를 제1 상태로 설정하고; 또는, 상기 데이터 판독 명령어가 제2 판독 명령어인 경우, 상기 선택 지시 신호를 제2 상태로 설정하도록 구성되고;
상기 제2 판독 명령어는 상기 클럭 처리 회로에서 모드 레지스터의 듀티 사이클 파라미터를 획득하도록 지시하고, 상기 제1 판독 명령어는 상기 제2 판독 명령어를 제외한 데이터 판독 명령어를 가리키는 것을 특징으로 하는 메모리.
According to paragraph 4,
The memory also sets the selection instruction signal to a first state when the data read command is a first read command; or, when the data read command is a second read command, configured to set the selection instruction signal to a second state;
wherein the second read command instructs the clock processing circuit to obtain a duty cycle parameter of a mode register, and the first read command indicates a data read command excluding the second read command.
제5항에 있어서,
상기 메모리는 또한, 상기 데이터 판독 명령어가 제1 판독 명령어인 경우, 상기 선택 지시 신호를 제1 상태로 설정하고; 또는,
상기 데이터 판독 명령어가 제2 판독 명령어이고 상기 내부 클럭 신호의 듀티 사이클이 기설정 범위에 위치하는 경우, 상기 선택 지시 신호를 제1 상태로 설정하며; 또는,
상기 데이터 판독 명령어가 제2 판독 명령어이고 상기 내부 클럭 신호의 듀티 사이클이 기설정 범위에 위치하지 않는 경우, 상기 선택 지시 신호를 제2 상태로 설정하도록 구성되는 것을 특징으로 하는 메모리.
According to clause 5,
The memory also sets the selection instruction signal to a first state when the data read command is a first read command; or,
If the data read command is a second read command and the duty cycle of the internal clock signal is within a preset range, set the selection instruction signal to the first state; or,
When the data read command is a second read command and the duty cycle of the internal clock signal is not within a preset range, the memory is configured to set the selection instruction signal to a second state.
제1항 내지 제6항 중 어느 한 항에 있어서,
상기 제1 판독 클럭 신호는 8 개의 클럭 주기를 포함하고, 상기 제2 판독 클럭 신호의 레벨 상태 변화 에지와 상기 제1 판독 클럭 신호 중의 다섯 번째 클럭 주기의 상승 에지는 정렬되고;
상기 제2 판독 클럭 신호의 레벨 상태 변화 에지는 상기 제2 판독 클럭 신호가 낮은 레벨 상태로부터 높은 레벨 상태로의 변화를 가리키는 것을 특징으로 하는 메모리.
According to any one of claims 1 to 6,
The first read clock signal includes eight clock cycles, and the level state change edge of the second read clock signal is aligned with the rising edge of the fifth clock cycle of the first read clock signal;
A memory wherein a level state change edge of the second read clock signal indicates a change of the second read clock signal from a low level state to a high level state.
제7항에 있어서,
상기 듀티 사이클 모듈은,
외부로부터 상기 데이터 클럭 신호를 수신하고 출력하도록 구성된 수신 모듈; 및
상기 데이터 클럭 신호에 대해 듀티 사이클 조절을 수행하여, 상기 내부 클럭 신호를 출력하도록 구성된 조절 모듈을 포함하는 것을 특징으로 하는 메모리.
In clause 7,
The duty cycle module is,
a receiving module configured to receive and output the data clock signal from the outside; and
A memory comprising an adjustment module configured to perform duty cycle adjustment on the data clock signal and output the internal clock signal.
제8항에 있어서,
상기 데이터 클럭 신호는 쓰기 클럭 신호인 것을 특징으로 하는 메모리.
According to clause 8,
A memory, wherein the data clock signal is a write clock signal.
제어 장치로서,
메모리에 연결되고,
상기 제어 장치는, 상기 메모리에 데이터 판독 명령어를 송신하고; 상기 메모리에 의해 리턴된 판독 데이터 신호와 타깃 판독 클럭 신호를 수신하고, 상기 타깃 판독 클럭 신호를 이용하여 상기 판독 데이터 신호에 대해 래치 처리를 수행하도록 구성되고;
상기 타깃 판독 클럭 신호는 제1 판독 클럭 신호 또는 제2 판독 클럭 신호이고, 상기 제1 판독 클럭 신호는 펄스 신호이며, 상기 제2 판독 클럭 신호는 하나의 레벨 상태 변화 에지만 존재하는 것을 특징으로 하는 제어 장치.
As a control device,
connected to memory,
The control device transmits a data read command to the memory; configured to receive a read data signal returned by the memory and a target read clock signal, and perform latch processing on the read data signal using the target read clock signal;
The target read clock signal is a first read clock signal or a second read clock signal, the first read clock signal is a pulse signal, and the second read clock signal has only one level state change edge. controller.
제10항에 있어서,
상기 제어 장치는 또한, 상기 데이터 판독 명령어가 제1 판독 명령어인 경우, 상기 메모리에 의해 리턴된 제1 판독 클럭 신호를 수신하고, 상기 제1 판독 클럭 신호를 이용하여 상기 판독 데이터 신호에 대해 래치 처리를 수행하고; 또는,
상기 데이터 판독 명령어가 제2 판독 명령어인 경우, 상기 메모리에 의해 리턴된 제2 판독 클럭 신호를 수신하고, 상기 제2 판독 클럭 신호의 레벨 상태 변화 에지를 이용하여 상기 판독 데이터 신호에 대해 래치 처리를 수행하도록 구성되고;
상기 메모리는 클럭 처리 회로를 포함하고, 상기 제2 판독 명령어는 상기 클럭 처리 회로에서 모드 레지스터의 듀티 사이클 파라미터를 획득하도록 지시하고, 상기 제1 판독 명령어는 상기 제2 판독 명령어를 제외한 데이터 판독 명령어를 지시하는 것을 특징으로 하는 제어 장치.
According to clause 10,
The control device also receives a first read clock signal returned by the memory when the data read command is a first read command, and performs latch processing on the read data signal using the first read clock signal. Do; or,
When the data read command is a second read command, receive a second read clock signal returned by the memory, and perform latch processing on the read data signal using a level state change edge of the second read clock signal. configured to perform;
The memory includes a clock processing circuit, the second read instruction directs the clock processing circuit to obtain a duty cycle parameter of a mode register, and the first read instruction includes a data read instruction other than the second read instruction. A control device characterized by giving instructions.
제10항에 있어서,
상기 제어 장치는 또한, 상기 데이터 판독 명령어가 제2 판독 명령어인 경우, 상기 메모리에 의해 리턴된 제1 판독 클럭 신호를 수신하고, 상기 제1 판독 클럭 신호의 레벨 상태 변화 에지를 이용하여 상기 판독 데이터 신호에 대해 래치 처리를 수행하도록 구성되는 것을 특징으로 하는 제어 장치.
According to clause 10,
The control device also receives the first read clock signal returned by the memory when the data read command is a second read command, and uses a level state change edge of the first read clock signal to read the read data. A control device configured to perform latch processing on a signal.
클럭 처리 방법으로서,
메모리에 적용되고, 상기 클럭 처리 방법은,
외부에서 생성되는 데이터 클럭 신호를 수신하는 단계; 상기 데이터 클럭 신호에 대해 듀티 사이클 조절을 수행하여, 내부 클럭 신호를 결정하는 단계;
상기 내부 클럭 신호에 기반하여, 제1 판독 클럭 신호를 결정하는 단계 - 상기 제1 판독 클럭 신호는 펄스 신호임 - ;
상기 제1 판독 클럭 신호가 존재하는 동안, 제2 판독 클럭 신호를 생성하는 단계 - 상기 제2 판독 클럭 신호는 하나의 레벨 상태 변화 에지만 존재함 - ; 및
상기 제1 판독 클럭 신호와 상기 제2 판독 클럭 신호 중의 하나를 타깃 판독 클럭 신호로 출력하는 단계를 포함하는 것을 특징으로 하는 클럭 처리 방법.
As a clock processing method,
Applied to memory, the clock processing method is,
Receiving an externally generated data clock signal; performing duty cycle adjustment on the data clock signal to determine an internal clock signal;
Based on the internal clock signal, determining a first read clock signal, wherein the first read clock signal is a pulse signal;
While the first read clock signal is present, generating a second read clock signal, wherein the second read clock signal has only one level state change edge; and
A clock processing method comprising outputting one of the first read clock signal and the second read clock signal as a target read clock signal.
제13항에 있어서,
상기 메모리는 모드 레지스터를 포함하고, 상기 클럭 처리 방법은,
상기 내부 클럭 신호에 대해 듀티 사이클 검출을 수행하여, 듀티 사이클 파라미터를 얻는 단계; 및
상기 듀티 사이클 파라미터를 상기 모드 레지스터에 저장하는 단계를 더 포함하는 것을 특징으로 하는 클럭 처리 방법.
According to clause 13,
The memory includes a mode register, and the clock processing method is:
performing duty cycle detection on the internal clock signal to obtain a duty cycle parameter; and
A clock processing method further comprising storing the duty cycle parameter in the mode register.
제14항에 있어서,
상기 메모리는 제어 장치에 연결되고, 상기 제1 판독 클럭 신호와 상기 제2 판독 클럭 신호 중의 하나를 타깃 판독 클럭 신호로 출력하는 단계는,
상기 제어 장치에 의해 송신된 제1 판독 명령어를 수신한 경우, 상기 제1 판독 명령어에 기반하여 판독 데이터 신호를 결정하고, 상기 제1 판독 클럭 신호를 타깃 판독 클럭 신호로 결정하는 단계; 및
상기 제어 장치에 의해 송신된 제2 판독 명령어를 수신한 경우, 상기 제2 판독 명령어에 기반하여 상기 판독 데이터 신호를 결정하고, 상기 제2 판독 클럭 신호를 타깃 판독 클럭 신호를 결정하는 단계를 포함하며;
상기 타깃 판독 클럭 신호는 상기 판독 데이터 신호를 래치하기 위한 것이고, 상기 제2 판독 명령어는 상기 모드 레지스터의 듀티 사이클 파라미터를 획득하도록 지시하고, 상기 제1 판독 명령어는 상기 제2 판독 명령어를 제외한 데이터 판독 명령어를 지시하는 것을 특징으로 하는 클럭 처리 방법.
According to clause 14,
The memory is connected to a control device, and outputting one of the first read clock signal and the second read clock signal as a target read clock signal includes:
When receiving a first read command transmitted by the control device, determining a read data signal based on the first read command and determining the first read clock signal as a target read clock signal; and
When receiving a second read command transmitted by the control device, determining the read data signal based on the second read command and determining the second read clock signal as a target read clock signal; ;
The target read clock signal is to latch the read data signal, the second read instruction is to obtain a duty cycle parameter of the mode register, and the first read instruction is to read data except the second read instruction. A clock processing method characterized by instructing instructions.
제14항에 있어서,
상기 메모리는 제어 장치에 연결되고, 상기 제1 판독 클럭 신호와 상기 제2 판독 클럭 신호 중의 하나를 타깃 판독 클럭 신호로 출력하는 단계는,
상기 제어 장치에 의해 송신된 제1 판독 명령어를 수신한 경우, 상기 제1 판독 명령어에 기반하여 판독 데이터 신호를 결정하고, 상기 제1 판독 클럭 신호를 타깃 판독 클럭 신호로 결정하는 단계;
상기 제어 장치에 의해 송신된 제2 판독 명령어를 수신하고 상기 듀티 사이클 파라미터가 기설정 범위에 위치하는 경우, 상기 제2 판독 명령어에 기반하여 판독 데이터 신호를 결정하며, 상기 제1 판독 클럭 신호를 타깃 판독 클럭 신호로 결정하는 단계; 및
제어 장치에 의해 송신된 제2 판독 명령어를 수신하고 상기 듀티 사이클 파라미터가 기설정 범위에 위치하지 않는 경우, 상기 제2 판독 명령어에 기반하여 상기 판독 데이터 신호를 결정하고, 상기 제2 판독 클럭 신호를 타깃 판독 클럭 신호로 결정하는 단계를 포함하고;
상기 타깃 판독 클럭 신호는 상기 판독 데이터 신호를 래치하기 위한 것이고, 상기 제2 판독 명령어는 상기 모드 레지스터의 듀티 사이클 파라미터를 획득하도록 지시하고, 상기 제1 판독 명령어는 상기 제2 판독 명령어를 제외한 데이터 판독 명령어를 지시하는 것을 특징으로 하는 클럭 처리 방법.
According to clause 14,
The memory is connected to a control device, and outputting one of the first read clock signal and the second read clock signal as a target read clock signal includes:
When receiving a first read command transmitted by the control device, determining a read data signal based on the first read command and determining the first read clock signal as a target read clock signal;
When receiving a second read command sent by the control device and the duty cycle parameter is within a preset range, determine a read data signal based on the second read command, and target the first read clock signal. determining with a read clock signal; and
When receiving a second read command sent by a control device and the duty cycle parameter is not within a preset range, determine the read data signal based on the second read command, and determine the second read clock signal. determining a target read clock signal;
The target read clock signal is to latch the read data signal, the second read instruction is to obtain a duty cycle parameter of the mode register, and the first read instruction is to read data except the second read instruction. A clock processing method characterized by instructing instructions.
전자 기기로서,
상기 전자 기기는 제1항 내지 제9항 중 어느 한 항에 따른 메모리와 제10항 내지 제12항 중 어느 한 항에 따른 제어 장치를 포함하는 것을 특징으로 하는 전자 기기.
As an electronic device,
The electronic device is characterized in that it includes a memory according to any one of claims 1 to 9 and a control device according to any one of claims 10 to 12.
KR1020227042133A 2022-07-08 2022-08-03 Memory, control units, clock processing methods and electronics KR20240007735A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN202210806176.0A CN117409828A (en) 2022-07-08 2022-07-08 Memory, control device, clock processing method and electronic equipment
CN202210806176.0 2022-07-08
PCT/CN2022/109993 WO2024007399A1 (en) 2022-07-08 2022-08-03 Memory, control apparatus, clock processing method, and electronic device

Publications (1)

Publication Number Publication Date
KR20240007735A true KR20240007735A (en) 2024-01-16

Family

ID=89431245

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020227042133A KR20240007735A (en) 2022-07-08 2022-08-03 Memory, control units, clock processing methods and electronics

Country Status (3)

Country Link
US (1) US20240012444A1 (en)
EP (1) EP4325503A1 (en)
KR (1) KR20240007735A (en)

Also Published As

Publication number Publication date
US20240012444A1 (en) 2024-01-11
EP4325503A1 (en) 2024-02-21

Similar Documents

Publication Publication Date Title
US10120591B2 (en) Memory devices, systems and methods employing command/address calibration
US10482936B2 (en) Signal training for prevention of metastability due to clocking indeterminacy
US8208321B2 (en) Apparatus and method for data strobe and timing variation detection of an SDRAM interface
US8477543B2 (en) Data input circuit with a valid strobe signal generation circuit
US20050270890A1 (en) Circuit and method for detecting frequency of clock signal and latency signal generation circuit of semiconductor memory device with the circuit
US20230009525A1 (en) Signal sampling circuit and semiconductor memory
US11146275B2 (en) Signal generation circuit and a semiconductor apparatus using the signal generation circuit
KR100557636B1 (en) Data strobe circuit using clk signal
US6188640B1 (en) Data output circuits for semiconductor memory devices
CN112789678A (en) Selectively controlling clock transmission to Data (DQ) system
US10127973B2 (en) Training controller, and semiconductor device and system including the same
US8751694B2 (en) Data transfer operation completion detection circuit and semiconductor memory device provided therewith
KR20240007735A (en) Memory, control units, clock processing methods and electronics
KR100427038B1 (en) Device for buffering column address
WO2024007399A1 (en) Memory, control apparatus, clock processing method, and electronic device
EP4325492A1 (en) Control apparatus, memory, signal processing method, and electronic device
US20160196855A1 (en) Cas latency setting circuit and semiconductor memory apparatus including the same
WO2024007398A1 (en) Control apparatus, memory, signal processing method, and electronic device
KR20040110316A (en) Circuit for generating a internal clock signal and a method for the same
KR100935598B1 (en) Circuit for Controlling Column Address and Semiconductor Memory Apparatus Using the Same
US11545200B1 (en) Data control circuit for increasing maximum and minimum tolerance values of skew between DQS signal and clock signal during write operation and associated memory device
CN116741229B (en) Memory data writing method and device, storage medium and electronic equipment
US20240038282A1 (en) Pulse generator, error check and scrub (ecs) circuit and memory

Legal Events

Date Code Title Description
E902 Notification of reason for refusal