[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN112650139B - DDR3 storage protocol-oriented clock controller and control method - Google Patents

DDR3 storage protocol-oriented clock controller and control method Download PDF

Info

Publication number
CN112650139B
CN112650139B CN202011459833.6A CN202011459833A CN112650139B CN 112650139 B CN112650139 B CN 112650139B CN 202011459833 A CN202011459833 A CN 202011459833A CN 112650139 B CN112650139 B CN 112650139B
Authority
CN
China
Prior art keywords
channel mos
mos tube
drain
delay unit
source
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202011459833.6A
Other languages
Chinese (zh)
Other versions
CN112650139A (en
Inventor
郭琨
陈雷
李学武
孙华波
倪劼
王文锋
孙健爽
刘亚泽
赫彩
甄淑琦
张玉
方鑫
单连志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Microelectronic Technology Institute
Mxtronics Corp
Original Assignee
Beijing Microelectronic Technology Institute
Mxtronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Microelectronic Technology Institute, Mxtronics Corp filed Critical Beijing Microelectronic Technology Institute
Priority to CN202011459833.6A priority Critical patent/CN112650139B/en
Publication of CN112650139A publication Critical patent/CN112650139A/en
Application granted granted Critical
Publication of CN112650139B publication Critical patent/CN112650139B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/056Programming the PLC
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/13Plc programming
    • G05B2219/13004Programming the plc

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Abstract

A clock controller and a control method facing a DDR3 storage protocol abandon traditional clock control circuits, adopt a negative feedback structure to reduce the influence of a clock caused by process, temperature and noise, and the structure comprises a digital delay phase-locked loop, a mirror symmetry delay chain, a Gray code phase selector and a Gray code phase interpolator to realize accurate control, lower phase error and less locking time of the clock. The DDR3 storage protocol-oriented clock controller can realize accurate delay of 64-level TAP of a DDR3 clock, guarantee the central position of a sampling clock delay data effective window, improve the stability and reliability of high-frequency clock sampling, and enable the highest frequency of the clock to be as high as 800 MHz.

Description

一种面向DDR3存储协议的时钟控制器及控制方法A clock controller and control method for DDR3 storage protocol

技术领域technical field

本发明涉及一种面向DDR3存储协议的时钟控制器及控制方法,特别是通过可编程逻辑器件针对DDR3应用需求而优化设计的时钟控制电路,属于集成电路领域。The invention relates to a clock controller and a control method oriented to a DDR3 storage protocol, in particular to a clock control circuit optimized for DDR3 application requirements through programmable logic devices, belonging to the field of integrated circuits.

背景技术Background technique

DDR3 SDRAM在DDR2 SDRAM的基础上采用了更先进的生产工艺,其工作电压从1.8V降至1.5V,,并且采用更先进的制程,其内存数据传输速率得到大幅提升,最高可达到1600MHz,可以满足高性能服务器的需求,同时可实现快速、稳定和可靠的系统操作DDR3 SDRAM adopts a more advanced production process on the basis of DDR2 SDRAM, its working voltage is reduced from 1.8V to 1.5V, and using a more advanced process, its memory data transfer rate has been greatly improved, up to 1600MHz, can Meet the needs of high-performance servers while enabling fast, stable and reliable system operation

DDR3 SDRAM中数据为双倍传输,数据采样时钟最高可达到800MHz,即数据时钟的上升沿和下降沿都同时进行采样操作,因此在DDR3 SDRAM控制器中怎样快速准确定位采样时钟就至关重要,能否正确控制准确的采样数据和采样精度成为影响内存控制器性能的重要因素。因此,对面向DDR3协议的时钟控制器的性能和精确度有着很高的要求,DDR3控制器有两个时钟,一个是外部的总线时钟,一个是内部的工作时钟。理论上DDR3控制器的两个时钟应该是同步的,但由于种种原因,如温度、电压波动等而产生延迟就使两者很难同步。如果DDR3内存的内部时钟与外部时钟有偏差,就很可能造成因数据不同步的错误。鉴于外部时钟和内部时钟不会绝对统一,需要根据外部时钟动态修正内部时钟的延迟使其与外部时钟同步,实现对时钟的精准控制和较低的相位误差,并实现对DDR3时钟的64级TAP的精准延时。同时需要较少的锁定时间,较高的灵活性,获得更高的时钟控制器性能。In DDR3 SDRAM, the data is doubled, and the data sampling clock can reach up to 800MHz, that is, both the rising and falling edges of the data clock are sampled at the same time. Therefore, how to quickly and accurately locate the sampling clock in the DDR3 SDRAM controller is very important. Whether the accurate sampling data and sampling precision can be correctly controlled has become an important factor affecting the performance of the memory controller. Therefore, there are high requirements for the performance and accuracy of the clock controller oriented to the DDR3 protocol. The DDR3 controller has two clocks, one is an external bus clock, and the other is an internal working clock. Theoretically, the two clocks of the DDR3 controller should be synchronized, but due to various reasons, such as temperature, voltage fluctuations, etc., delays make it difficult to synchronize the two. If the internal clock of DDR3 memory deviates from the external clock, it is likely to cause errors due to data asynchrony. In view of the fact that the external clock and the internal clock will not be absolutely unified, the delay of the internal clock needs to be dynamically corrected according to the external clock to synchronize with the external clock, so as to achieve precise control of the clock and lower phase error, and to achieve 64-level TAP for the DDR3 clock. precise delay. At the same time, less locking time, higher flexibility, and higher clock controller performance are required.

发明内容SUMMARY OF THE INVENTION

本发明解决的技术问题是:克服现有技术的不足,提供了一种面向DDR3存储协议的时钟控制器及控制方法,解决了温度、电压波动等而产生的DDR3内存内外部时钟不同步问题,改善了延时线性能,解决了DDR3时钟64级TAP的精准延时问题,解决了DDR3时钟控制器采样精度差的问题,解决了DDR3时钟控制器抗干扰能力差、锁定时间长的问题。The technical problem solved by the present invention is: overcoming the deficiencies of the prior art, providing a clock controller and a control method oriented to the DDR3 storage protocol, and solving the problem of asynchrony between the internal and external clocks of the DDR3 memory caused by temperature, voltage fluctuation, etc., Improve the performance of the delay line, solve the problem of accurate delay of 64-level TAP of DDR3 clock, solve the problem of poor sampling accuracy of DDR3 clock controller, and solve the problem of poor anti-interference ability and long locking time of DDR3 clock controller.

本发明的技术解决方案是:一种面向DDR3存储协议的时钟控制器,数字延时锁相环、镜像对称延时链、格雷相位选择器、格雷码相位插值器;The technical solution of the present invention is: a clock controller oriented to the DDR3 storage protocol, a digital delay phase locked loop, a mirror symmetrical delay chain, a Gray phase selector, and a Gray code phase interpolator;

数字延时锁相环,接收外部普通时钟信号CLK_IN,输出时钟信号CLK_FB反馈接入输入,将输出电压信号Vctrl_P和Vctrl_N发送至镜像对称延时链;The digital delay phase-locked loop receives the external common clock signal CLK_IN, outputs the clock signal CLK_FB and feeds back into the input, and sends the output voltage signals Vctrl_P and Vctrl_N to the mirror symmetrical delay chain;

镜像对称延时链,接收外部普通时钟信号CLK_IN,接收数字延时锁相环电压信号Vctrl_P和Vctrl_N后转换成8路输出时钟Clk45、Clk225、Clk90、Clk270、Clk135、Clk315、Clk180、Clk0至格雷码相位选择器;Mirror symmetrical delay chain, receives external ordinary clock signal CLK_IN, receives digital delay phase-locked loop voltage signals Vctrl_P and Vctrl_N and converts them into 8 output clocks Clk45, Clk225, Clk90, Clk270, Clk135, Clk315, Clk180, Clk0 to Gray code phase selector;

格雷码相位选择器,接收外部普通控制信号PS0、PS1、PS2,选择镜像对称延时链的八路输出时钟至格雷码相位插值器;Gray code phase selector, receives external common control signals PS0, PS1, PS2, and selects eight output clocks of the mirror symmetrical delay chain to the Gray code phase interpolator;

格雷码相位插值器,接收外部普通控制信号PI0、PI1、PI2,接收数字延时锁相环的输出Vctrl_P和Vctrl_N电压信号,接收格雷码相位选择器输出,输出外部时钟信号Output_P和Output_N。Gray code phase interpolator, receives external common control signals PI0, PI1, PI2, receives the output Vctrl_P and Vctrl_N voltage signals of the digital delay phase-locked loop, receives the gray code phase selector output, and outputs external clock signals Output_P and Output_N.

进一步地,外部普通时钟信号CLK_IN的频率范围为400MHz~800MHz;外部时钟信号Output_P和Output_N为一对差分的输出时钟信号;外部普通控制信号PS0、PS1、PS2为控制格雷码相位选择器正常控制工作的时钟信号;外部普通控制信PI0、PI1、PI2为控制格雷码相位插值器正常控制工作的时钟信号。Further, the frequency range of the external common clock signal CLK_IN is 400MHz to 800MHz; the external clock signals Output_P and Output_N are a pair of differential output clock signals; the external common control signals PS0, PS1, PS2 are used to control the gray code phase selector to work normally. The external common control signals PI0, PI1, PI2 are the clock signals that control the normal control operation of the Gray code phase interpolator.

进一步地,所述数字延时锁相环包括N沟道mos管K15、P沟道mos管K14、延迟单元K9、延迟单元K10、延迟单元K11、延迟单元K12、延迟单元K13、鉴相器K5、电荷泵K6、滤波器K7、基准电路K8;Further, the digital delay phase-locked loop includes an N-channel mos tube K15, a P-channel mos tube K14, a delay unit K9, a delay unit K10, a delay unit K11, a delay unit K12, a delay unit K13, and a phase detector K5. , charge pump K6, filter K7, reference circuit K8;

外部普通时钟输入端信号CK_IN连接至延迟单元K9的输入端和鉴相器K5的输入端,鉴相器K5的另一个输入端连接反馈时钟信号CK_FB;鉴相器K5的输出端UP和输出端DOWN连接至电荷泵K6输入端,电荷泵输出端Vctrl连接至滤波器K7输入端;滤波器K7输出端Vctrl_A连接至基准电路K8输入端,基准电路输出端口为Vctrl_P和Vctrl_N;延迟单元K9的控制端C24连接至P沟道MOS管漏极,控制端C23连接至N沟道MOS管漏极,输出端连接至下一级延迟单元K10的输入端;延迟单元K10的控制端C27连接至P沟道MOS管漏极,控制端C26连接至N沟道MOS管漏极,输出端连接至下一级延迟单元K11的输入端;延迟单元K11的控制端C30连接至P沟道MOS管漏极,控制端C29连接至N沟道MOS管漏极,输出端连接至下一级延迟单元K12的输入端;延迟单元K12的控制端C33连接至P沟道MOS管漏极,控制端C32连接至N沟道MOS管漏极,输出端连接至下一级延迟单元K13的输入端;延迟单元K13的控制端C35连接至P沟道MOS管漏极,控制端C36连接至N沟道MOS管漏极,输出端连接至反馈时钟输入端CK_FB。The external common clock input terminal signal CK_IN is connected to the input terminal of the delay unit K9 and the input terminal of the phase detector K5, and the other input terminal of the phase detector K5 is connected to the feedback clock signal CK_FB; the output terminal UP and the output terminal of the phase detector K5 DOWN is connected to the input terminal of the charge pump K6, and the output terminal Vctrl of the charge pump is connected to the input terminal of the filter K7; the output terminal Vctrl_A of the filter K7 is connected to the input terminal of the reference circuit K8, and the output terminals of the reference circuit are Vctrl_P and Vctrl_N; the control of the delay unit K9 The terminal C24 is connected to the drain of the P-channel MOS transistor, the control terminal C23 is connected to the drain of the N-channel MOS transistor, and the output terminal is connected to the input terminal of the next stage delay unit K10; the control terminal C27 of the delay unit K10 is connected to the P-channel The drain of the channel MOS transistor, the control terminal C26 is connected to the drain of the N-channel MOS transistor, and the output terminal is connected to the input terminal of the next stage delay unit K11; the control terminal C30 of the delay unit K11 is connected to the drain of the P-channel MOS transistor, The control terminal C29 is connected to the drain of the N-channel MOS transistor, and the output terminal is connected to the input terminal of the next stage delay unit K12; the control terminal C33 of the delay unit K12 is connected to the drain of the P-channel MOS transistor, and the control terminal C32 is connected to N The drain of the channel MOS transistor, the output terminal is connected to the input terminal of the next stage delay unit K13; the control terminal C35 of the delay unit K13 is connected to the drain of the P-channel MOS transistor, and the control terminal C36 is connected to the drain of the N-channel MOS transistor , the output is connected to the feedback clock input CK_FB.

进一步地,鉴相器K5包括触发器K16,触发器K19,反相器K18,与非门K17;Further, the phase detector K5 includes a flip-flop K16, a flip-flop K19, an inverter K18, and a NAND gate K17;

外部普通时钟信号CK_IN连接至触发器K16时钟输入端,普通时钟信号CK_FB连接至触发器K19时钟输入端,触发器K16数据端连接电源VS,触发器K19数据端连接至电源VS,触发器K16的输出端Q和触发器K19输出端连接至与非门K17输入端口,与非门K17的输出端连接反相器K18的输入端,反相器K18的输出端连接至触发器K16和触发器K19的复位端口。The external common clock signal CK_IN is connected to the clock input terminal of the flip-flop K16, the common clock signal CK_FB is connected to the clock input terminal of the flip-flop K19, the data terminal of the flip-flop K16 is connected to the power supply VS, the data terminal of the flip-flop K19 is connected to the power supply VS, and the data terminal of the flip-flop K16 is connected to the power supply VS. The output terminal Q and the output terminal of the flip-flop K19 are connected to the input port of the NAND gate K17, the output terminal of the NAND gate K17 is connected to the input terminal of the inverter K18, and the output terminal of the inverter K18 is connected to the flip-flop K16 and the flip-flop K19. reset port.

进一步地,电荷泵K6包括P沟道MOS管K24,P沟道MOS管K20,P沟道MOS管K22,N沟道MOS管K21,N沟道MOS管K23,N沟道MOS管K25;Further, the charge pump K6 includes a P-channel MOS transistor K24, a P-channel MOS transistor K20, a P-channel MOS transistor K22, an N-channel MOS transistor K21, an N-channel MOS transistor K23, and an N-channel MOS transistor K25;

电源VS连接至P沟道MOS管K24的源极,P沟道MOS管K24的栅极连接至输入端控制信号Vctrl_P,漏极连接至P沟道MOS管K20和P沟道MOS管K22的源极;P沟道MOS管K20栅极连接输入端信号UP,漏极连接至N沟道MOS管K21漏极;N沟道MOS管K25源极连接地GS,栅极连接至输入端控制信号Vctrl_N,漏极连接至N沟道MOS管K21和N沟道MOS管K23的源极;N沟道MOS管K23的栅极连接输入端信号DOWN的反向,漏极连接至P沟道MOS管K22的漏极;P沟道MOS管K22的栅极连接输入端信号UP的反向,P沟道MOS管K20的漏极连接输出端Vctrl。The power supply VS is connected to the source of the P-channel MOS transistor K24, the gate of the P-channel MOS transistor K24 is connected to the input terminal control signal Vctrl_P, and the drain is connected to the sources of the P-channel MOS transistor K20 and the P-channel MOS transistor K22 The gate of the P-channel MOS transistor K20 is connected to the input terminal signal UP, and the drain is connected to the drain of the N-channel MOS transistor K21; the source of the N-channel MOS transistor K25 is connected to the ground GS, and the gate is connected to the input terminal control signal Vctrl_N , the drain is connected to the source of the N-channel MOS transistor K21 and the N-channel MOS transistor K23; the gate of the N-channel MOS transistor K23 is connected to the reverse of the input signal DOWN, and the drain is connected to the P-channel MOS transistor K22 The drain of the P-channel MOS transistor K22 is connected to the reverse of the input signal UP, and the drain of the P-channel MOS transistor K20 is connected to the output terminal Vctrl.

进一步地,滤波器K7包括电容K24,电阻K25,电容K26;Further, the filter K7 includes a capacitor K24, a resistor K25, and a capacitor K26;

电容K24和电容K26一端连接至地GS;输入端Vctrl连接至电容K24另一端,并连接至电阻K25一端,连接至输出端Vctrl_A;电阻K25另一端连接至电容K26另一端;One end of the capacitor K24 and the capacitor K26 is connected to the ground GS; the input end Vctrl is connected to the other end of the capacitor K24, and is connected to one end of the resistor K25, and is connected to the output end Vctrl_A; the other end of the resistor K25 is connected to the other end of the capacitor K26;

基准电路K8包括P沟道MOS管K26,P沟道MOS管K27,P沟道MOS管K32,P沟道MOS管K33,P沟道MOS管K34,P沟道MOS管K35,N沟道MOS管K28,N沟道MOS管K29,N沟道MOS管K30,N沟道MOS管K31,N沟道MOS管K39,N沟道MOS管K36,N沟道MOS管K37,电阻K38;The reference circuit K8 includes a P-channel MOS transistor K26, a P-channel MOS transistor K27, a P-channel MOS transistor K32, a P-channel MOS transistor K33, a P-channel MOS transistor K34, a P-channel MOS transistor K35, and an N-channel MOS transistor Tube K28, N-channel MOS tube K29, N-channel MOS tube K30, N-channel MOS tube K31, N-channel MOS tube K39, N-channel MOS tube K36, N-channel MOS tube K37, resistor K38;

电源VS连接至P沟道MOS管K26的源极,P沟道MOS管K26的栅极连接至电阻K38的输出端,P沟道MOS管K26的漏极连接至P沟道MOS管K27的源极,P沟道MOS管K27的栅极连接地GS,P沟道MOS管K26的漏极连接至N沟道MOS管K28的漏极和栅极,N沟道MOS管K28的栅极连接至N沟道MOS管K30的栅极,N沟道MOS管K28的源极连接至N沟道MOS管K29的漏极和N沟道MOS管K30的源极,N沟道MOS管K29的栅极连接控制信号ctrl,N沟道MOS管K29源极连接地GS;N沟道MOS管K30的源极连接N沟道MOS管K31和N沟道MOS管K39的源极,N沟道MOS管K31的栅极连接输入端控制信号Vctrl_A,N沟道MOS管K31的漏极连接至电阻K38的输入端和P沟道MOS管K33的漏极,N沟道MOS管K39的栅极连接至N沟道MOS管K37的栅极,N沟道MOS管K39的漏极连接至P沟道MOS管K32的栅极和漏极,P沟道MOS管K32的源极连接至电源VS和P沟道MOS管K33的源极,P沟道MOS管K33的漏极连接电阻K38的输入端,电阻K38的输出端连接至P沟道MOS管K34的栅极和输出端Vctrl_P;P沟道MOS管K34的源极连接至电源VS,漏极连接至P沟道MOS管K35的源极,P沟道MOS管K35的栅极连接地GS,P沟道MOS管K35的漏极连接至N沟道MOS管K37的漏极,N沟道MOS管K37的栅极连接至输出端Vctrl_N和N沟道MOS管K36的漏极,N沟道MOS管K36栅极连接控制信号ctrl,源极连接地GS。The power supply VS is connected to the source of the P-channel MOS transistor K26, the gate of the P-channel MOS transistor K26 is connected to the output terminal of the resistor K38, and the drain of the P-channel MOS transistor K26 is connected to the source of the P-channel MOS transistor K27 The gate of the P-channel MOS transistor K27 is connected to the ground GS, the drain of the P-channel MOS transistor K26 is connected to the drain and gate of the N-channel MOS transistor K28, and the gate of the N-channel MOS transistor K28 is connected to The gate of the N-channel MOS transistor K30, the source of the N-channel MOS transistor K28 are connected to the drain of the N-channel MOS transistor K29 and the source of the N-channel MOS transistor K30, and the gate of the N-channel MOS transistor K29 Connect the control signal ctrl, the source of the N-channel MOS transistor K29 is connected to the ground GS; the source of the N-channel MOS transistor K30 is connected to the source of the N-channel MOS transistor K31 and the N-channel MOS transistor K39, and the N-channel MOS transistor K31 The gate of the N-channel MOS transistor K31 is connected to the input terminal control signal Vctrl_A, the drain of the N-channel MOS transistor K31 is connected to the input terminal of the resistor K38 and the drain of the P-channel MOS transistor K33, and the gate of the N-channel MOS transistor K39 is connected to the N-channel MOS transistor K39. The gate of the channel MOS transistor K37, the drain of the N-channel MOS transistor K39 is connected to the gate and drain of the P-channel MOS transistor K32, and the source of the P-channel MOS transistor K32 is connected to the power supply VS and the P-channel MOS transistor The source of the tube K33, the drain of the P-channel MOS tube K33 is connected to the input end of the resistor K38, and the output end of the resistor K38 is connected to the gate of the P-channel MOS tube K34 and the output end Vctrl_P; The source is connected to the power supply VS, the drain is connected to the source of the P-channel MOS transistor K35, the gate of the P-channel MOS transistor K35 is connected to the ground GS, and the drain of the P-channel MOS transistor K35 is connected to the N-channel MOS transistor The drain of K37, the gate of the N-channel MOS transistor K37 are connected to the output terminal Vctrl_N and the drain of the N-channel MOS transistor K36, the gate of the N-channel MOS transistor K36 is connected to the control signal ctrl, and the source is connected to the ground GS.

进一步地,镜像对称延时链包括延时单元K40,延时单元K41,延时单元K42,延时单元K43,延时单元K44,P沟道MOS管K39,N沟道MOS管K45,反相器K46,反相器K47,反相器K48,反相器K49;Further, the mirror-symmetrical delay chain includes a delay unit K40, a delay unit K41, a delay unit K42, a delay unit K43, a delay unit K44, a P-channel MOS transistor K39, an N-channel MOS transistor K45, and an inverting phase. inverter K46, inverter K47, inverter K48, inverter K49;

普通时钟输入端信号CK_IN连接至延时单元K40输入端,延时单元K40控制端C53连接至延时单元K41控制端C56、延时单元K42控制端C58、延时单元K43控制端C62、延时单元K44控制端C64,P沟道MOS管K39栅极连接输入端Vctrl_P,P沟道MOS管K39源极连接电源VS,延时单元K40控制端C52连接至延时单元K41控制端C55、延时单元K42控制端C59、延时单元K43控制端C61、延时单元K44控制端C65、N沟道MOS管K45漏极,N沟道MOS管K45栅极连接输入端Vctrl_N,N沟道MOS管K45源极连接地GS,延时单元K40输出端C54连接下一级延时单元K41输入端、输出端Clk_45、反相器K46输入端,延时单元K41输出端C57连接下一级延时单元K42输入端、输出端Clk90、反相器K47输入端,延时单元K42输出端C60连接下一级延时单元K43输入端、输出端Clk_135、反相器K48输入端,延时单元K43输出端C63连接下一级延时单元K44输入端、输出端Clk180、反相器K49输入端,反相器K46输出端连接输出端Clk_225.反相器K47输出端连接输出端Clk_270,反相器K48输出端连接输出端Clk_315,反相器K49输出端连接输出端Clk_0。The common clock input terminal signal CK_IN is connected to the input terminal of the delay unit K40, and the control terminal C53 of the delay unit K40 is connected to the control terminal C56 of the delay unit K41, the control terminal C58 of the delay unit K42, the control terminal C62 of the delay unit K43, and the delay unit K41. The control terminal C64 of the unit K44, the gate of the P-channel MOS transistor K39 is connected to the input terminal Vctrl_P, the source of the P-channel MOS transistor K39 is connected to the power supply VS, the control terminal C52 of the delay unit K40 is connected to the control terminal C55 of the delay unit K41, and the delay The control terminal C59 of the unit K42, the control terminal C61 of the delay unit K43, the control terminal C65 of the delay unit K44, the drain of the N-channel MOS tube K45, the gate of the N-channel MOS tube K45 is connected to the input terminal Vctrl_N, and the N-channel MOS tube K45 The source is connected to the ground GS, the output terminal C54 of the delay unit K40 is connected to the input terminal of the next stage delay unit K41, the output terminal Clk_45, the input terminal of the inverter K46, the output terminal C57 of the delay unit K41 is connected to the next stage delay unit K42 The input terminal, the output terminal Clk90, the input terminal of the inverter K47, the output terminal C60 of the delay unit K42 is connected to the input terminal of the next stage delay unit K43, the output terminal Clk_135, the input terminal of the inverter K48, the output terminal C63 of the delay unit K43 Connect the input terminal of the next stage delay unit K44, the output terminal Clk180, the input terminal of the inverter K49, the output terminal of the inverter K46 is connected to the output terminal Clk_225, the output terminal of the inverter K47 is connected to the output terminal Clk_270, and the output terminal of the inverter K48 is connected to the output terminal Clk_270. The output terminal Clk_315 is connected, and the output terminal of the inverter K49 is connected to the output terminal Clk_0.

进一步地,格雷码相位选择器连接输入端Clk_45、Clk_225、Clk_90、Clk_270、Clk_135、Clk_315、Clk_180、Clk_0,连接外部输入端PS0、PS1、PS2,连接输出端Out1_P、Out1_N、Out2_P、Out2_N。Further, the Gray code phase selector is connected to input terminals Clk_45, Clk_225, Clk_90, Clk_270, Clk_135, Clk_315, Clk_180, Clk_0, external input terminals PS0, PS1, PS2, and output terminals Out1_P, Out1_N, Out2_P, Out2_N.

进一步地,格雷码相位插值器,包括格雷码译码电路K51,P沟道MOS管K52,P沟道MOS管K53,P沟道MOS管K54,P沟道MOS管K55,P沟道MOS管K56,P沟道MOS管K57,P沟道MOS管K58,P沟道MOS管K59,P沟道MOS管K60,P沟道MOS管K61,P沟道MOS管K611,P沟道MOS管K62,P沟道MOS管K63,P沟道MOS管K64,P沟道MOS管K65,P沟道MOS管K66,P沟道MOS管K67,P沟道MOS管K68,P沟道MOS管K69,P沟道MOS管K70,P沟道MOS管K71,P沟道MOS管K72,P沟道MOS管K73,P沟道MOS管K74,P沟道MOS管K75,P沟道MOS管K76,P沟道MOS管K77,P沟道MOS管K78,P沟道MOS管K79,P沟道MOS管K80,P沟道MOS管K81,N沟道MOS管K82,N沟道MOS管K83;Further, the Gray code phase interpolator includes a Gray code decoding circuit K51, a P-channel MOS transistor K52, a P-channel MOS transistor K53, a P-channel MOS transistor K54, a P-channel MOS transistor K55, and a P-channel MOS transistor K56, P-channel MOS tube K57, P-channel MOS tube K58, P-channel MOS tube K59, P-channel MOS tube K60, P-channel MOS tube K61, P-channel MOS tube K611, P-channel MOS tube K62 , P-channel MOS tube K63, P-channel MOS tube K64, P-channel MOS tube K65, P-channel MOS tube K66, P-channel MOS tube K67, P-channel MOS tube K68, P-channel MOS tube K69, P-channel MOS tube K70, P-channel MOS tube K71, P-channel MOS tube K72, P-channel MOS tube K73, P-channel MOS tube K74, P-channel MOS tube K75, P-channel MOS tube K76, P Channel MOS tube K77, P-channel MOS tube K78, P-channel MOS tube K79, P-channel MOS tube K80, P-channel MOS tube K81, N-channel MOS tube K82, N-channel MOS tube K83;

格雷码译码电路连接输入端PI0、PI1、PI2,输出16个控制信号I0、I1、I2、I3、I4、I5、I6、I7、I8、I9、I10、I11、I12、I13、I14、I15、I16,电源VS连接P沟道MOS管K52的源极,P沟道MOS管K52栅极连接输入端Vctrl_P,P沟道MOS管K52漏极连接P沟道MOS管K61的源极和P沟道MOS管K611的源极,P沟道MOS管K61的栅极连接地GS,P沟道MOS管K611的栅极连接控制信号I0,P沟道MOS管K61的漏极连接P沟道MOS管K62的漏极、P沟道MOS管K64的漏极、P沟道MOS管K66的漏极、P沟道MOS管K68的漏极、P沟道MOS管K70的漏极、P沟道MOS管K72的漏极、P沟道MOS管K74的漏极、P沟道MOS管K76的漏极,P沟道MOS管K78的源极、P沟道MOS管K80的源极,P沟道MOS管K611的漏极连接P沟道MOS管K63的漏极、P沟道MOS管K65的漏极、P沟道MOS管K67的漏极、P沟道MOS管K69的漏极、P沟道MOS管K71的漏极、P沟道MOS管K73的漏极、P沟道MOS管K75的漏极、P沟道MOS管K77的漏极,P沟道MOS管K79的源极、P沟道MOS管K81的源极,电源VS连接P沟道MOS管K53的源极,P沟道MOS管K53栅极连接输入端Vctrl_P,P沟道MOS管K53漏极连接P沟道MOS管K62的源极和P沟道MOS管K63的源极,P沟道MOS管K62的栅极连接控制信号I1,P沟道MOS管K63的栅极连接控制信号I2,电源VS连接P沟道MOS管K54的源极,P沟道MOS管K54栅极连接输入端Vctrl_P,P沟道MOS管K54漏极连接P沟道MOS管K64的源极和P沟道MOS管K65的源极,P沟道MOS管K64的栅极连接控制信号I3,P沟道MOS管K65的栅极连接控制信号I4,电源VS连接P沟道MOS管K55的源极,P沟道MOS管K55栅极连接输入端Vctrl_P,P沟道MOS管K55漏极连接P沟道MOS管K66的源极和P沟道MOS管K67的源极,P沟道MOS管K66的栅极连接控制信号I5,P沟道MOS管K67的栅极连接控制信号I6,电源VS连接P沟道MOS管K56的源极,P沟道MOS管K56栅极连接输入端Vctrl_P,P沟道MOS管K56漏极连接P沟道MOS管K68的源极和P沟道MOS管K69的源极,P沟道MOS管K68的栅极连接控制信号I7,P沟道MOS管K69的栅极连接控制信号I8,电源VS连接P沟道MOS管K57的源极,P沟道MOS管K57栅极连接输入端Vctrl_P,P沟道MOS管K57漏极连接P沟道MOS管K70的源极和P沟道MOS管K71的源极,P沟道MOS管K70的栅极连接控制信号I9,P沟道MOS管K71的栅极连接控制信号I10,电源VS连接P沟道MOS管K58的源极,P沟道MOS管K58栅极连接输入端Vctrl_P,P沟道MOS管K58漏极连接P沟道MOS管K72的源极和P沟道MOS管K73的源极,P沟道MOS管K72的栅极连接控制信号I11,P沟道MOS管K73的栅极连接控制信号I12,电源VS连接P沟道MOS管K59的源极,P沟道MOS管K59栅极连接输入端Vctrl_P,P沟道MOS管K59漏极连接P沟道MOS管K74的源极和P沟道MOS管K75的源极,P沟道MOS管K74的栅极连接控制信号I13,P沟道MOS管K75的栅极连接控制信号I14,电源VS连接P沟道MOS管K60的源极,P沟道MOS管K60栅极连接输入端Vctrl_P,P沟道MOS管K60漏极连接P沟道MOS管K76的源极和P沟道MOS管K77的源极,P沟道MOS管K76的栅极连接控制信号I15,P沟道MOS管K77的栅极连接电源VS,P沟道mos管K78源极、P沟道mos管K79源极、P沟道mos管K80源极连接至电源Vdd输入端K88;P沟道mos管K78漏极、P沟道mos管K79漏极、P沟道mos管K80漏极共同连接至N沟道mos管K81漏极;N沟道mos管K81源极连接至N沟道mos管K82漏极,N沟道mos管K82源极连接至N沟道mos管K83漏极,N沟道mos管K83源极连接至地,P沟道mos管K78栅极连接输入端Out1_P,P沟道mos管K79栅极连接输入端Out2_P,P沟道mos管K80栅极连接输入端Out1_N,P沟道mos管K81栅极连接输入端Out2_N,P沟道mos管K78漏极连接N沟道mos管K82漏极、P沟道mos管K79漏极和输出端Output_N,P沟道mos管K80漏极连接N沟道mos管K81漏极、P沟道mos管K83漏极和输出端Output_P,N沟道mos管K82栅极连接输入端Vctrl_N,源极连接地GS,N沟道mos管K83栅极连接输入端Vctrl_N,源极连接地GS。The Gray code decoding circuit is connected to the input terminals PI0, PI1, PI2, and outputs 16 control signals I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15 , I16, the power supply VS is connected to the source of the P-channel MOS transistor K52, the gate of the P-channel MOS transistor K52 is connected to the input terminal Vctrl_P, the drain of the P-channel MOS transistor K52 is connected to the source of the P-channel MOS transistor K61 and the P-channel The source of the channel MOS transistor K611, the gate of the P-channel MOS transistor K61 is connected to the ground GS, the gate of the P-channel MOS transistor K611 is connected to the control signal I0, and the drain of the P-channel MOS transistor K61 is connected to the P-channel MOS transistor The drain of K62, the drain of P-channel MOS transistor K64, the drain of P-channel MOS transistor K66, the drain of P-channel MOS transistor K68, the drain of P-channel MOS transistor K70, the drain of P-channel MOS transistor K70, the drain of P-channel MOS transistor K66 The drain of K72, the drain of P-channel MOS transistor K74, the drain of P-channel MOS transistor K76, the source of P-channel MOS transistor K78, the source of P-channel MOS transistor K80, the P-channel MOS transistor The drain of K611 is connected to the drain of P-channel MOS transistor K63, the drain of P-channel MOS transistor K65, the drain of P-channel MOS transistor K67, the drain of P-channel MOS transistor K69, and the drain of P-channel MOS transistor K69. The drain of K71, the drain of the P-channel MOS transistor K73, the drain of the P-channel MOS transistor K75, the drain of the P-channel MOS transistor K77, the source of the P-channel MOS transistor K79, the P-channel MOS transistor The source of K81, the power supply VS is connected to the source of the P-channel MOS transistor K53, the gate of the P-channel MOS transistor K53 is connected to the input terminal Vctrl_P, the drain of the P-channel MOS transistor K53 is connected to the source of the P-channel MOS transistor K62 and The source of the P-channel MOS transistor K63, the gate of the P-channel MOS transistor K62 is connected to the control signal I1, the gate of the P-channel MOS transistor K63 is connected to the control signal I2, and the power supply VS is connected to the source of the P-channel MOS transistor K54 , the gate of the P-channel MOS transistor K54 is connected to the input terminal Vctrl_P, the drain of the P-channel MOS transistor K54 is connected to the source of the P-channel MOS transistor K64 and the source of the P-channel MOS transistor K65, and the The gate is connected to the control signal I3, the gate of the P-channel MOS transistor K65 is connected to the control signal I4, the power supply VS is connected to the source of the P-channel MOS transistor K55, the gate of the P-channel MOS transistor K55 is connected to the input terminal Vctrl_P, and the P-channel The drain of the MOS transistor K55 is connected to the source of the P-channel MOS transistor K66 and the source of the P-channel MOS transistor K67, the gate of the P-channel MOS transistor K66 is connected to the control signal I5, and the gate of the P-channel MOS transistor K67 is connected to The control signal I6, the power supply VS is connected to the source of the P-channel MOS transistor K56, the gate of the P-channel MOS transistor K56 is connected to the input terminal Vctrl_P, the drain of the P-channel MOS transistor K56 is connected to the source of the P-channel MOS transistor K68 and P ditch The source of the channel MOS transistor K69, the gate of the P-channel MOS transistor K68 is connected to the control signal I7, the gate of the P-channel MOS transistor K69 is connected to the control signal I8, the power supply VS is connected to the source of the P-channel MOS transistor K57, P The gate of the channel MOS transistor K57 is connected to the input terminal Vctrl_P, the drain of the P-channel MOS transistor K57 is connected to the source of the P-channel MOS transistor K70 and the source of the P-channel MOS transistor K71, and the gate of the P-channel MOS transistor K70 The control signal I9 is connected, the gate of the P-channel MOS transistor K71 is connected to the control signal I10, the power supply VS is connected to the source of the P-channel MOS transistor K58, the gate of the P-channel MOS transistor K58 is connected to the input terminal Vctrl_P, and the P-channel MOS transistor The drain of K58 is connected to the source of the P-channel MOS transistor K72 and the source of the P-channel MOS transistor K73, the gate of the P-channel MOS transistor K72 is connected to the control signal I11, and the gate of the P-channel MOS transistor K73 is connected to the control signal I12, the power supply VS is connected to the source of the P-channel MOS transistor K59, the gate of the P-channel MOS transistor K59 is connected to the input terminal Vctrl_P, the drain of the P-channel MOS transistor K59 is connected to the source of the P-channel MOS transistor K74 and the P-channel The source of the MOS transistor K75, the gate of the P-channel MOS transistor K74 is connected to the control signal I13, the gate of the P-channel MOS transistor K75 is connected to the control signal I14, the power supply VS is connected to the source of the P-channel MOS transistor K60, and the P-channel The gate of the channel MOS transistor K60 is connected to the input terminal Vctrl_P, the drain of the P-channel MOS transistor K60 is connected to the source of the P-channel MOS transistor K76 and the source of the P-channel MOS transistor K77, and the gate of the P-channel MOS transistor K76 is connected to Control signal I15, the gate of the P-channel MOS tube K77 is connected to the power supply VS, the source of the P-channel MOS tube K78, the source of the P-channel MOS tube K79, and the source of the P-channel MOS tube K80 are connected to the power supply Vdd input terminal K88 ; The drain of the P-channel mos tube K78, the drain of the P-channel mos tube K79, and the drain of the P-channel mos tube K80 are commonly connected to the drain of the N-channel mos tube K81; the source of the N-channel mos tube K81 is connected to the N-channel mos tube K81. The drain of the channel mos tube K82, the source of the N-channel mos tube K82 is connected to the drain of the N-channel mos tube K83, the source of the N-channel mos tube K83 is connected to the ground, and the gate of the P-channel mos tube K78 is connected to the input terminal Out1_P, the gate of the P-channel mos tube K79 is connected to the input terminal Out2_P, the gate of the P-channel mos tube K80 is connected to the input terminal Out1_N, the gate of the P-channel mos tube K81 is connected to the input terminal Out2_N, and the drain of the P-channel mos tube K78 is connected The drain of the N-channel mos tube K82, the drain of the P-channel mos tube K79 and the output terminal Output_N, the drain of the P-channel mos tube K80 is connected to the drain of the N-channel mos tube K81, the drain of the P-channel mos tube K83 and the output The terminal Output_P, the gate of the N-channel mos tube K82 is connected to the input terminal Vctrl_N, and the source is connected to the ground GS, N The gate of the channel mos tube K83 is connected to the input terminal Vctrl_N, and the source is connected to the ground GS.

根据所述的一种面向DDR3存储协议的时钟控制器实现的时钟控制方法,包括如下步骤:According to a clock control method implemented by a clock controller oriented to a DDR3 storage protocol, the method includes the following steps:

1)数字延时锁相环,接收外部普通时钟信号CLK_IN,输出时钟信号CLK_FB反馈接入输入,将输出电压信号Vctrl_P和Vctrl_N控制镜像对称延时链;1) The digital delay phase-locked loop receives the external ordinary clock signal CLK_IN, and the output clock signal CLK_FB is fed back into the input, and the output voltage signals Vctrl_P and Vctrl_N control the mirror-symmetrical delay chain;

2)镜像对称延时链,接收外部普通时钟信号CLK_IN,在数字延时锁相环电压信号Vctrl_P和Vctrl_N控制下将输入的外部普通时钟信号转换成不同相位的8路输出时钟Clk45、Clk225、Clk90、Clk270、Clk135、Clk315、Clk180、Clk0至格雷码相位选择器;2) Mirror symmetrical delay chain, receiving the external common clock signal CLK_IN, and converting the input external common clock signal into 8 output clocks Clk45, Clk225, Clk90 of different phases under the control of the digital delay phase-locked loop voltage signals Vctrl_P and Vctrl_N , Clk270, Clk135, Clk315, Clk180, Clk0 to Gray code phase selector;

3)格雷码相位选择器,接收外部普通控制信号PS0、PS1、PS2,选择镜像对称延时链的不同相位的8路输出时钟至格雷码相位插值器进行相位插值;3) Gray code phase selector, receiving external ordinary control signals PS0, PS1, PS2, and selecting 8 output clocks of different phases of the mirror symmetrical delay chain to the Gray code phase interpolator for phase interpolation;

4)格雷码相位插值器,接收外部普通控制信号PI0、PI1、PI2,接收数字延时锁相环的输出Vctrl_P和Vctrl_N电压信号,接收格雷码相位选择器输出,输出外部时钟信号Output_P和Output_N,这样通过控制信号PS0、PS1、PS2、PI0、PI1、PI2六位控制信号,便可将外部输入时钟进行64级TAP插值,实现精准的相位插值和准确的时钟延时。4) Gray code phase interpolator, receives external common control signals PI0, PI1, PI2, receives the output Vctrl_P and Vctrl_N voltage signals of the digital delay phase-locked loop, receives the gray code phase selector output, and outputs external clock signals Output_P and Output_N, In this way, through the six-bit control signals of PS0, PS1, PS2, PI0, PI1, and PI2, the external input clock can be subjected to 64-level TAP interpolation to achieve accurate phase interpolation and accurate clock delay.

本发明与现有技术相比的优点在于:The advantages of the present invention compared with the prior art are:

(1)本发明通过采用数字延时锁相环结构实现时钟的精确延时,能够提升时钟控制器的灵活性,采用负反馈结构减少时钟受工艺、温度、噪声引起的影响,提供时钟控制器的抗干扰能力。(1) The present invention can improve the flexibility of the clock controller by adopting the digital delay phase-locked loop structure to realize the precise delay of the clock, and adopt the negative feedback structure to reduce the influence of the clock caused by technology, temperature and noise, and provide a clock controller. anti-interference ability.

(2)本发明通过采用镜像对称延时链结构,能够确保镜像对称延时链与带有负反馈结构的数字延时锁相环相位精准一致,提高高频时钟采样的稳定性和可靠性,同时也可与数字延时锁相环实现同样快速的锁定,满足DDR3采样稳定性和高性能的需求。(2) The present invention adopts a mirror-symmetrical delay chain structure to ensure that the mirror-symmetrical delay chain and the digital delay phase-locked loop with a negative feedback structure are precisely in phase, thereby improving the stability and reliability of high-frequency clock sampling. At the same time, it can also achieve the same fast locking as the digital delay phase-locked loop to meet the requirements of DDR3 sampling stability and high performance.

(3)本发明通过使用格雷码相位选择器结构,可以减少传统相位选择技术带来的相位抖动,能够快速准确的进行相位选择,减少相位选择的误差,实现DDR3准确的相位精度和范围。(3) The present invention can reduce the phase jitter caused by the traditional phase selection technology by using the Gray code phase selector structure, can perform phase selection quickly and accurately, reduce the error of phase selection, and realize the accurate phase precision and range of DDR3.

(4)本发明通过采用格雷码相位插值器结构,能够在选定的相位中实现64级TAP的精准插值,保证时钟可以延迟到数据有效窗口的中心位置,提高了采样精度,保证DDR3数据获取的正确和建立保持时间的平衡,保证DDR3存储接口可以执行正确的读写操作,保证内外部时钟的同步。(4) By adopting the Gray code phase interpolator structure, the present invention can realize accurate interpolation of 64-level TAP in the selected phase, ensure that the clock can be delayed to the center of the data valid window, improve the sampling accuracy, and ensure the acquisition of DDR3 data The correctness of the DDR3 storage interface and the balance of the setup and hold time ensure that the DDR3 storage interface can perform correct read and write operations and ensure the synchronization of internal and external clocks.

附图说明Description of drawings

图1是本发明面向DDR3存储协议的时钟控制器示意图;1 is a schematic diagram of a clock controller of the present invention oriented to a DDR3 storage protocol;

图2是本发明数字延时锁相环电路示意图;2 is a schematic diagram of a digital delay phase-locked loop circuit of the present invention;

图3是本发明鉴相器K5电路示意图;Fig. 3 is the circuit schematic diagram of phase detector K5 of the present invention;

图4是本发明电荷泵电路示意图;4 is a schematic diagram of a charge pump circuit of the present invention;

图5是本发明滤波器K7电路示意图;Fig. 5 is the circuit schematic diagram of filter K7 of the present invention;

图6是本发明基准电路示意图;6 is a schematic diagram of a reference circuit of the present invention;

图7是本发明镜像对称延时链电路示意图;7 is a schematic diagram of a mirror-symmetrical delay chain circuit of the present invention;

图8是本发明格雷码相位选择器示意图;8 is a schematic diagram of a Gray code phase selector of the present invention;

图9是本发明格雷码相位插值器示意图。FIG. 9 is a schematic diagram of the Gray code phase interpolator of the present invention.

具体实施方式Detailed ways

为了更好的理解上述技术方案,下面通过附图以及具体实施例对本申请技术方案做详细的说明,应当理解本申请实施例以及实施例中的具体特征是对本申请技术方案的详细的说明,而不是对本申请技术方案的限定,在不冲突的情况下,本申请实施例以及实施例中的技术特征可以相互组合。In order to better understand the above technical solutions, the technical solutions of the present application will be described in detail below through the accompanying drawings and specific embodiments. It is not a limitation on the technical solutions of the present application, and the embodiments of the present application and the technical features in the embodiments may be combined with each other under the condition of no conflict.

以下结合说明书附图对本申请实施例所提供的一种面向DDR3存储协议的时钟控制器做进一步详细的说明,具体实现方式可以包括(如图1所示):数字延时锁相环K1,镜像对称延时链K2,格雷码相位选择器K3,格雷码相位插值器K4。A clock controller oriented to the DDR3 storage protocol provided by the embodiments of the present application will be described in further detail below with reference to the accompanying drawings. Symmetrical delay chain K2, Gray code phase selector K3, Gray code phase interpolator K4.

在本申请实施例所提供的方案中,如图1所示,数字延时锁相环输入连接外部普通时钟信号输入CLK_IN,另一个输入(C0)连接数字延时锁相环输出CLK_FB(C1)。两个输出Vctrl_P和Vctrl_N连接至镜像对称延时链。In the solution provided by the embodiment of the present application, as shown in FIG. 1 , the input of the digital delay phase-locked loop is connected to the external ordinary clock signal input CLK_IN, and the other input (C0) is connected to the digital delay phase-locked loop output CLK_FB (C1) . The two outputs Vctrl_P and Vctrl_N are connected to a mirror symmetric delay chain.

镜像对称延时链输入连接外部普通时钟信号输入CLK_IN,另外两个输入连接数字延时锁相环输出Vctrl_P和Vctrl_N,输出连接至格雷码相位选择器Clk45(C5)、Clk225(C6)、Clk90(C7)、Clk270(C8)、Clk135(C12)、Clk315(C11)、Clk180(C10)、Clk0(C9)。The mirror symmetrical delay chain input is connected to the external common clock signal input CLK_IN, the other two inputs are connected to the digital delay phase-locked loop outputs Vctrl_P and Vctrl_N, and the outputs are connected to the Gray code phase selectors Clk45(C5), Clk225(C6), Clk90( C7), Clk270(C8), Clk135(C12), Clk315(C11), Clk180(C10), Clk0(C9).

格雷码相位选择器输入连接外部普通控制信号PS0(C15)、PS1(C14)、PS2(C13),连接镜像对称延时链输入Clk45(C5)、Clk225(C6)、Clk90(C7)、Clk270(C8)、Clk135(C12)、Clk315(C11)、Clk180(C10)、Clk0(C9),输出连接至格雷码相位插值器。Gray code phase selector input is connected to external common control signals PS0(C15), PS1(C14), PS2(C13), and is connected to mirror symmetrical delay chain input Clk45(C5), Clk225(C6), Clk90(C7), Clk270( C8), Clk135(C12), Clk315(C11), Clk180(C10), Clk0(C9), the output is connected to the Gray code phase interpolator.

格雷码相位插值器,输入接收外部普通控制信号PI0(C16)、PI1(C17)、PI2(C18),输入连接格雷码相位选择器的输出,输入还连接数字延时锁相环输出Vctrl_P和Vctrl_N,输出连接外部时钟信号Output_P(C20)和Output_N(C21)。Gray code phase interpolator, the input receives external common control signals PI0 (C16), PI1 (C17), PI2 (C18), the input is connected to the output of the Gray code phase selector, and the input is also connected to the digital delay phase locked loop output Vctrl_P and Vctrl_N , the output is connected to the external clock signals Output_P (C20) and Output_N (C21).

数字延时锁相环,如图2所示,包括:N沟道mos管K15,P沟道mos管K14,延迟单元K9,延迟单元K10,延迟单元K11,延迟单元K12,延迟单元K13,鉴相器K5、电荷泵K6、滤波器K7、基准电路K8。The digital delay phase-locked loop, as shown in Figure 2, includes: N-channel MOS transistor K15, P-channel MOS transistor K14, delay unit K9, delay unit K10, delay unit K11, delay unit K12, delay unit K13, Phaser K5, charge pump K6, filter K7, reference circuit K8.

外部普通时钟输入端信号CK_IN(C37)连接至延迟单元K9的输入端和鉴相器K5的输入端,鉴相器K5的另一个输入端连接反馈时钟信号CK_FB(C38)。鉴相器K5的输出端UP(C39)和DOWN(C40)连接至电荷泵(K6)输入端,电荷泵输出端Vctrl(C41)连接至滤波器K7输入端。滤波器K7输出端Vctrl_A(C42)连接至基准电路(K8)输入端,基准电路输出端口为Vctrl_P(C43)和Vctrl_N(C44)。延迟单元K9的控制端C24连接至P沟道MOS管漏极,控制端C23连接至N沟道MOS管漏极,输出端连接至下一级延迟单元K10的输入端。延迟单元K10的控制端C27连接至P沟道MOS管漏极,控制端C26连接至N沟道MOS管漏极,输出端连接至下一级延迟单元K11的输入端。延迟单元K11的控制端C30连接至P沟道MOS管漏极,控制端C29连接至N沟道MOS管漏极,输出端连接至下一级延迟单元K12的输入端。延迟单元K12的控制端C33连接至P沟道MOS管漏极,控制端C32连接至N沟道MOS管漏极,输出端连接至下一级延迟单元K13的输入端。延迟单元K13的控制端C35连接至P沟道MOS管漏极,控制端C36连接至N沟道MOS管漏极,输出端连接至反馈时钟输入CK_FB(C38)。The external common clock input terminal signal CK_IN (C37) is connected to the input terminal of the delay unit K9 and the input terminal of the phase detector K5, and the other input terminal of the phase detector K5 is connected to the feedback clock signal CK_FB (C38). The output terminals UP (C39) and DOWN (C40) of the phase detector K5 are connected to the input terminal of the charge pump (K6), and the output terminal Vctrl (C41) of the charge pump is connected to the input terminal of the filter K7. The output terminal Vctrl_A (C42) of the filter K7 is connected to the input terminal of the reference circuit (K8), and the output ports of the reference circuit are Vctrl_P (C43) and Vctrl_N (C44). The control terminal C24 of the delay unit K9 is connected to the drain of the P-channel MOS transistor, the control terminal C23 is connected to the drain of the N-channel MOS transistor, and the output terminal is connected to the input terminal of the next stage delay unit K10. The control terminal C27 of the delay unit K10 is connected to the drain of the P-channel MOS transistor, the control terminal C26 is connected to the drain of the N-channel MOS transistor, and the output terminal is connected to the input terminal of the next stage delay unit K11. The control terminal C30 of the delay unit K11 is connected to the drain of the P-channel MOS transistor, the control terminal C29 is connected to the drain of the N-channel MOS transistor, and the output terminal is connected to the input terminal of the next stage delay unit K12. The control terminal C33 of the delay unit K12 is connected to the drain of the P-channel MOS transistor, the control terminal C32 is connected to the drain of the N-channel MOS transistor, and the output terminal is connected to the input terminal of the next stage delay unit K13. The control terminal C35 of the delay unit K13 is connected to the drain of the P-channel MOS transistor, the control terminal C36 is connected to the drain of the N-channel MOS transistor, and the output terminal is connected to the feedback clock input CK_FB (C38).

鉴相器K5,如图3所示,包括:触发器K16,触发器K19,反相器K18,与非门K17。The phase detector K5, as shown in Figure 3, includes a flip-flop K16, a flip-flop K19, an inverter K18, and a NAND gate K17.

外部普通时钟信号CK_IN(C45)连接至触发器K16时钟输入端,普通时钟信号CK_FB(C46)连接至触发器K19时钟输入端,触发器K16数据端连接电源VS,触发器K19数据端连接至电源VS,触发器K16的输出端Q和触发器K19输出端连接至与非门K17输入端口,与非门K17的输出端连接反相器K18的输入端,反相器K18的输出端连接至触发器K16和触发器K19的复位端口。The external common clock signal CK_IN (C45) is connected to the clock input terminal of the flip-flop K16, the common clock signal CK_FB (C46) is connected to the clock input terminal of the flip-flop K19, the data terminal of the flip-flop K16 is connected to the power supply VS, and the data terminal of the flip-flop K19 is connected to the power supply VS, the output terminal Q of the flip-flop K16 and the output terminal of the flip-flop K19 are connected to the input port of the NAND gate K17, the output terminal of the NAND gate K17 is connected to the input terminal of the inverter K18, and the output terminal of the inverter K18 is connected to the trigger Reset port of device K16 and flip-flop K19.

电荷泵,如图4所示,包括:P沟道MOS管K24,P沟道MOS管K20,P沟道MOS管K22,N沟道MOS管K21,N沟道MOS管K23,N沟道MOS管K25。The charge pump, as shown in Figure 4, includes: P-channel MOS transistor K24, P-channel MOS transistor K20, P-channel MOS transistor K22, N-channel MOS transistor K21, N-channel MOS transistor K23, N-channel MOS transistor Tube K25.

电源VS连接至P沟道MOS管K24的源极,P沟道MOS管K24的栅极连接至输入端控制信号Vctrl_P,漏极连接至P沟道MOS管K20和P沟道MOS管K22的源极。P沟道MOS管K20栅极连接输入端信号UP,漏极连接至N沟道MOS管K21漏极。N沟道MOS管K25源极连接地GS,栅极连接至输入端控制信号Vctrl_N,漏极连接至N沟道MOS管K21和N沟道MOS管K23的源极。N沟道MOS管K23的栅极连接输入端信号DOWN的反向,漏极连接至P沟道MOS管K22的漏极。P沟道MOS管K22的栅极连接输入端信号UP的反向,P沟道MOS管K20的漏极连接输出端Vctrl。The power supply VS is connected to the source of the P-channel MOS transistor K24, the gate of the P-channel MOS transistor K24 is connected to the input terminal control signal Vctrl_P, and the drain is connected to the sources of the P-channel MOS transistor K20 and the P-channel MOS transistor K22 pole. The gate of the P-channel MOS transistor K20 is connected to the input signal UP, and the drain is connected to the drain of the N-channel MOS transistor K21. The source of the N-channel MOS transistor K25 is connected to the ground GS, the gate is connected to the input terminal control signal Vctrl_N, and the drain is connected to the sources of the N-channel MOS transistor K21 and the N-channel MOS transistor K23. The gate of the N-channel MOS transistor K23 is connected to the reverse of the input signal DOWN, and the drain is connected to the drain of the P-channel MOS transistor K22. The gate of the P-channel MOS transistor K22 is connected to the reverse of the input terminal signal UP, and the drain of the P-channel MOS transistor K20 is connected to the output terminal Vctrl.

滤波器K7,如图5所示,包括:电容K24,电阻K25,电容K26。The filter K7, as shown in Figure 5, includes: a capacitor K24, a resistor K25, and a capacitor K26.

电容K24和电容K26一端连接至地GS。输入端Vctrl(C49)连接至电容K24另一端,并连接至电阻K25一端,连接至输出端Vctrl_A。电阻K25另一端连接至电容K26另一端。One end of the capacitor K24 and the capacitor K26 is connected to the ground GS. The input end Vctrl (C49) is connected to the other end of the capacitor K24, and is connected to one end of the resistor K25, and is connected to the output end Vctrl_A. The other end of the resistor K25 is connected to the other end of the capacitor K26.

基准电路,如图6所示,包括:P沟道MOS管K26,P沟道MOS管K27,P沟道MOS管K32,P沟道MOS管K33,P沟道MOS管K34,P沟道MOS管K35,N沟道MOS管K28,N沟道MOS管K29,N沟道MOS管K30,N沟道MOS管K31,N沟道MOS管K39,N沟道MOS管K36,N沟道MOS管K37,电阻K38。The reference circuit, as shown in Figure 6, includes: P-channel MOS tube K26, P-channel MOS tube K27, P-channel MOS tube K32, P-channel MOS tube K33, P-channel MOS tube K34, P-channel MOS tube Tube K35, N-channel MOS tube K28, N-channel MOS tube K29, N-channel MOS tube K30, N-channel MOS tube K31, N-channel MOS tube K39, N-channel MOS tube K36, N-channel MOS tube K37, resistor K38.

电源VS连接至P沟道MOS管K26的源极,P沟道MOS管K26的栅极连接至电阻K38的输出端,P沟道MOS管K26的漏极连接至P沟道MOS管K27的源极,P沟道MOS管K27的栅极连接地GS,P沟道MOS管K26的漏极连接至N沟道MOS管K28的漏极和栅极,N沟道MOS管K28的栅极连接至N沟道MOS管K30的栅极,N沟道MOS管K28的源极连接至N沟道MOS管K29的漏极和N沟道MOS管K30的源极,N沟道MOS管K29的栅极连接控制信号ctrl,N沟道MOS管K29源极连接地GS。N沟道MOS管K30的源极连接N沟道MOS管K31和N沟道MOS管K39的源极,N沟道MOS管K31的栅极连接输入端控制信号Vctrl_A,N沟道MOS管K31的漏极连接至电阻K38的输入端和P沟道MOS管K33的漏极,N沟道MOS管K39的栅极连接至N沟道MOS管K37的栅极,N沟道MOS管K39的漏极连接至P沟道MOS管K32的栅极和漏极,P沟道MOS管K32的源极连接至电源VS和P沟道MOS管K33的源极,P沟道MOS管K33的漏极连接电阻K38的输入端,电阻K38的输出端连接至P沟道MOS管K34的栅极和输出端Vctrl_P。P沟道MOS管K34的源极连接至电源VS,漏极连接至P沟道MOS管K35的源极,P沟道MOS管K35的栅极连接地GS,P沟道MOS管K35的漏极连接至N沟道MOS管K37的漏极,N沟道MOS管K37的栅极连接至输出端Vctrl_N和N沟道MOS管K36的漏极,N沟道MOS管K36栅极连接控制信号ctrl,源极连接地GS。The power supply VS is connected to the source of the P-channel MOS transistor K26, the gate of the P-channel MOS transistor K26 is connected to the output terminal of the resistor K38, and the drain of the P-channel MOS transistor K26 is connected to the source of the P-channel MOS transistor K27 The gate of the P-channel MOS transistor K27 is connected to the ground GS, the drain of the P-channel MOS transistor K26 is connected to the drain and gate of the N-channel MOS transistor K28, and the gate of the N-channel MOS transistor K28 is connected to The gate of the N-channel MOS transistor K30, the source of the N-channel MOS transistor K28 are connected to the drain of the N-channel MOS transistor K29 and the source of the N-channel MOS transistor K30, and the gate of the N-channel MOS transistor K29 The control signal ctrl is connected, and the source of the N-channel MOS transistor K29 is connected to the ground GS. The source of the N-channel MOS transistor K30 is connected to the sources of the N-channel MOS transistor K31 and the N-channel MOS transistor K39, the gate of the N-channel MOS transistor K31 is connected to the input terminal control signal Vctrl_A, and the The drain is connected to the input terminal of the resistor K38 and the drain of the P-channel MOS transistor K33, the gate of the N-channel MOS transistor K39 is connected to the gate of the N-channel MOS transistor K37, and the drain of the N-channel MOS transistor K39 Connected to the gate and drain of the P-channel MOS transistor K32, the source of the P-channel MOS transistor K32 is connected to the power supply VS and the source of the P-channel MOS transistor K33, and the drain of the P-channel MOS transistor K33 is connected to the resistor The input terminal of K38 and the output terminal of the resistor K38 are connected to the gate of the P-channel MOS transistor K34 and the output terminal Vctrl_P. The source of the P-channel MOS transistor K34 is connected to the power supply VS, the drain is connected to the source of the P-channel MOS transistor K35, the gate of the P-channel MOS transistor K35 is connected to the ground GS, and the drain of the P-channel MOS transistor K35 Connected to the drain of the N-channel MOS transistor K37, the gate of the N-channel MOS transistor K37 is connected to the output terminal Vctrl_N and the drain of the N-channel MOS transistor K36, the gate of the N-channel MOS transistor K36 is connected to the control signal ctrl, The source is connected to ground GS.

镜像对称延时链,如图7所示,包括延时单元K40,延时单元K41,延时单元K42,延时单元K43,延时单元K44,P沟道MOS管K39,N沟道MOS管K45,反相器K46,反相器K47,反相器K48,反相器K49。The mirror-symmetrical delay chain, as shown in Figure 7, includes a delay unit K40, a delay unit K41, a delay unit K42, a delay unit K43, a delay unit K44, a P-channel MOS transistor K39, and an N-channel MOS transistor K45, inverter K46, inverter K47, inverter K48, inverter K49.

普通时钟输入端信号CK_IN(C51)连接至延时单元K40输入端,延时单元K40控制端C53连接至延时单元K41控制端C56、延时单元K42控制端C58、延时单元K43控制端C62、延时单元K44控制端C64,P沟道MOS管K39栅极连接输入端Vctrl_P,P沟道MOS管K39源极连接电源VS,延时单元K40控制端C52连接至延时单元K41控制端C55、延时单元K42控制端C59、延时单元K43控制端C61、延时单元K44控制端C65、N沟道MOS管K45漏极,N沟道MOS管K45栅极连接输入端Vctrl_N,N沟道MOS管K45源极连接地GS,延时单元K40输出端C54连接下一级延时单元K41输入端、输出端Clk_45、反相器K46输入端,延时单元K41输出端C57连接下一级延时单元K42输入端、输出端Clk90、反相器K47输入端,延时单元K42输出端C60连接下一级延时单元K43输入端、输出端Clk_135、反相器K48输入端,延时单元K43输出端C63连接下一级延时单元K44输入端、输出端Clk180、反相器K49输入端,反相器K46输出端连接输出端Clk_225.反相器K47输出端连接输出端Clk_270,反相器K48输出端连接输出端Clk_315,反相器K49输出端连接输出端Clk_0。The common clock input terminal signal CK_IN (C51) is connected to the input terminal of the delay unit K40, and the control terminal C53 of the delay unit K40 is connected to the control terminal C56 of the delay unit K41, the control terminal C58 of the delay unit K42, and the control terminal C62 of the delay unit K43. , the control terminal C64 of the delay unit K44, the gate of the P-channel MOS tube K39 is connected to the input terminal Vctrl_P, the source of the P-channel MOS tube K39 is connected to the power supply VS, the control terminal C52 of the delay unit K40 is connected to the control terminal C55 of the delay unit K41 , the control terminal C59 of the delay unit K42, the control terminal C61 of the delay unit K43, the control terminal C65 of the delay unit K44, the drain of the N-channel MOS tube K45, the gate of the N-channel MOS tube K45 is connected to the input terminal Vctrl_N, the N-channel The source of the MOS tube K45 is connected to the ground GS, the output terminal C54 of the delay unit K40 is connected to the input terminal of the next stage delay unit K41, the output terminal Clk_45, and the input terminal of the inverter K46, and the output terminal C57 of the delay unit K41 is connected to the next stage delay unit. Time unit K42 input terminal, output terminal Clk90, inverter K47 input terminal, delay unit K42 output terminal C60 is connected to the next stage delay unit K43 input terminal, output terminal Clk_135, inverter K48 input terminal, delay unit K43 The output terminal C63 is connected to the input terminal of the next stage delay unit K44, the output terminal Clk180, and the input terminal of the inverter K49. The output terminal of the inverter K46 is connected to the output terminal Clk_225. The output terminal of the inverter K47 is connected to the output terminal Clk_270. The output terminal of K48 is connected to the output terminal Clk_315, and the output terminal of the inverter K49 is connected to the output terminal Clk_0.

格雷码相位选择器,如图8所示,包括:格雷码相位选择器K50Gray code phase selector, as shown in Figure 8, includes: Gray code phase selector K50

格雷码相位选择器连接输入端Clk_45、Clk_225、Clk_90、Clk_270、Clk_135、Clk_315、Clk_180、Clk_0,连接外部输入端PS0、PS1、PS2,连接输出端Out1_P、Out1_N、Out2_P、Out2_N。The Gray code phase selector is connected to input terminals Clk_45, Clk_225, Clk_90, Clk_270, Clk_135, Clk_315, Clk_180, Clk_0, external input terminals PS0, PS1, PS2, and output terminals Out1_P, Out1_N, Out2_P, Out2_N.

格雷码相位插值器,如图9所示,包括格雷码译码电路K51,P沟道MOS管K52,P沟道MOS管K53,P沟道MOS管K54,P沟道MOS管K55,P沟道MOS管K56,P沟道MOS管K57,P沟道MOS管K58,P沟道MOS管K59,P沟道MOS管K60,P沟道MOS管K61,P沟道MOS管K611,P沟道MOS管K62,P沟道MOS管K63,P沟道MOS管K64,P沟道MOS管K65,P沟道MOS管K66,P沟道MOS管K67,P沟道MOS管K68,P沟道MOS管K69,P沟道MOS管K70,P沟道MOS管K71,P沟道MOS管K72,P沟道MOS管K73,P沟道MOS管K74,P沟道MOS管K75,P沟道MOS管K76,P沟道MOS管K77,P沟道MOS管K78,P沟道MOS管K79,P沟道MOS管K80,P沟道MOS管K81,N沟道MOS管K82,N沟道MOS管K83。The Gray code phase interpolator, as shown in Figure 9, includes a Gray code decoding circuit K51, a P-channel MOS transistor K52, a P-channel MOS transistor K53, a P-channel MOS transistor K54, a P-channel MOS transistor K55, a P-channel MOS transistor K55, and a P-channel MOS transistor K55. Channel MOS tube K56, P-channel MOS tube K57, P-channel MOS tube K58, P-channel MOS tube K59, P-channel MOS tube K60, P-channel MOS tube K61, P-channel MOS tube K611, P-channel MOS tube MOS tube K62, P-channel MOS tube K63, P-channel MOS tube K64, P-channel MOS tube K65, P-channel MOS tube K66, P-channel MOS tube K67, P-channel MOS tube K68, P-channel MOS tube Tube K69, P-channel MOS tube K70, P-channel MOS tube K71, P-channel MOS tube K72, P-channel MOS tube K73, P-channel MOS tube K74, P-channel MOS tube K75, P-channel MOS tube K76, P-channel MOS tube K77, P-channel MOS tube K78, P-channel MOS tube K79, P-channel MOS tube K80, P-channel MOS tube K81, N-channel MOS tube K82, N-channel MOS tube K83 .

格雷码译码电路连接输入端PI0、PI1、PI2,输出16个控制信号I0、I1、I2、I3、I4、I5、I6、I7、I8、I9、I10、I11、I12、I13、I14、I15、I16,电源VS连接P沟道MOS管K52的源极,P沟道MOS管K52栅极连接输入端Vctrl_P,P沟道MOS管K52漏极连接P沟道MOS管K61的源极和P沟道MOS管K611的源极,P沟道MOS管K61的栅极连接地GS,P沟道MOS管K611的栅极连接控制信号I0,P沟道MOS管K61的漏极连接P沟道MOS管K62的漏极、P沟道MOS管K64的漏极、P沟道MOS管K66的漏极、P沟道MOS管K68的漏极、P沟道MOS管K70的漏极、P沟道MOS管K72的漏极、P沟道MOS管K74的漏极、P沟道MOS管K76的漏极,P沟道MOS管K78的源极、P沟道MOS管K80的源极,P沟道MOS管K611的漏极连接P沟道MOS管K63的漏极、P沟道MOS管K65的漏极、P沟道MOS管K67的漏极、P沟道MOS管K69的漏极、P沟道MOS管K71的漏极、P沟道MOS管K73的漏极、P沟道MOS管K75的漏极、P沟道MOS管K77的漏极,P沟道MOS管K79的源极、P沟道MOS管K81的源极,电源VS连接P沟道MOS管K53的源极,P沟道MOS管K53栅极连接输入端Vctrl_P,P沟道MOS管K53漏极连接P沟道MOS管K62的源极和P沟道MOS管K63的源极,P沟道MOS管K62的栅极连接控制信号I1,P沟道MOS管K63的栅极连接控制信号I2,电源VS连接P沟道MOS管K54的源极,P沟道MOS管K54栅极连接输入端Vctrl_P,P沟道MOS管K54漏极连接P沟道MOS管K64的源极和P沟道MOS管K65的源极,P沟道MOS管K64的栅极连接控制信号I3,P沟道MOS管K65的栅极连接控制信号I4,电源VS连接P沟道MOS管K55的源极,P沟道MOS管K55栅极连接输入端Vctrl_P,P沟道MOS管K55漏极连接P沟道MOS管K66的源极和P沟道MOS管K67的源极,P沟道MOS管K66的栅极连接控制信号I5,P沟道MOS管K67的栅极连接控制信号I6,电源VS连接P沟道MOS管K56的源极,P沟道MOS管K56栅极连接输入端Vctrl_P,P沟道MOS管K56漏极连接P沟道MOS管K68的源极和P沟道MOS管K69的源极,P沟道MOS管K68的栅极连接控制信号I7,P沟道MOS管K69的栅极连接控制信号I8,电源VS连接P沟道MOS管K57的源极,P沟道MOS管K57栅极连接输入端Vctrl_P,P沟道MOS管K57漏极连接P沟道MOS管K70的源极和P沟道MOS管K71的源极,P沟道MOS管K70的栅极连接控制信号I9,P沟道MOS管K71的栅极连接控制信号I10,电源VS连接P沟道MOS管K58的源极,P沟道MOS管K58栅极连接输入端Vctrl_P,P沟道MOS管K58漏极连接P沟道MOS管K72的源极和P沟道MOS管K73的源极,P沟道MOS管K72的栅极连接控制信号I11,P沟道MOS管K73的栅极连接控制信号I12,电源VS连接P沟道MOS管K59的源极,P沟道MOS管K59栅极连接输入端Vctrl_P,P沟道MOS管K59漏极连接P沟道MOS管K74的源极和P沟道MOS管K75的源极,P沟道MOS管K74的栅极连接控制信号I13,P沟道MOS管K75的栅极连接控制信号I14,电源VS连接P沟道MOS管K60的源极,P沟道MOS管K60栅极连接输入端Vctrl_P,P沟道MOS管K60漏极连接P沟道MOS管K76的源极和P沟道MOS管K77的源极,P沟道MOS管K76的栅极连接控制信号I15,P沟道MOS管K77的栅极连接电源VS,P沟道mos管K78源极、P沟道mos管K79源极、P沟道mos管K80源极连接至电源Vdd输入端K88;P沟道mos管K78漏极、P沟道mos管K79漏极、P沟道mos管K80漏极共同连接至N沟道mos管K81漏极;N沟道mos管K81源极连接至N沟道mos管K82漏极,N沟道mos管K82源极连接至N沟道mos管K83漏极,N沟道mos管K83源极连接至地,P沟道mos管K78栅极连接输入端Out1_P,P沟道mos管K79栅极连接输入端Out2_P,P沟道mos管K80栅极连接输入端Out1_N,P沟道mos管K81栅极连接输入端Out2_N,P沟道mos管K78漏极连接N沟道mos管K82漏极、P沟道mos管K79漏极和输出端Output_N,P沟道mos管K80漏极连接N沟道mos管K81漏极、P沟道mos管K83漏极和输出端Output_P,N沟道mos管K82栅极连接输入端Vctrl_N,源极连接地GS,N沟道mos管K83栅极连接输入端Vctrl_N,源极连接地GS。The Gray code decoding circuit is connected to the input terminals PI0, PI1, PI2, and outputs 16 control signals I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15 , I16, the power supply VS is connected to the source of the P-channel MOS transistor K52, the gate of the P-channel MOS transistor K52 is connected to the input terminal Vctrl_P, the drain of the P-channel MOS transistor K52 is connected to the source of the P-channel MOS transistor K61 and the P-channel The source of the channel MOS transistor K611, the gate of the P-channel MOS transistor K61 is connected to the ground GS, the gate of the P-channel MOS transistor K611 is connected to the control signal I0, and the drain of the P-channel MOS transistor K61 is connected to the P-channel MOS transistor The drain of K62, the drain of P-channel MOS transistor K64, the drain of P-channel MOS transistor K66, the drain of P-channel MOS transistor K68, the drain of P-channel MOS transistor K70, the drain of P-channel MOS transistor K70, the drain of P-channel MOS transistor K66 The drain of K72, the drain of P-channel MOS transistor K74, the drain of P-channel MOS transistor K76, the source of P-channel MOS transistor K78, the source of P-channel MOS transistor K80, the P-channel MOS transistor The drain of K611 is connected to the drain of P-channel MOS transistor K63, the drain of P-channel MOS transistor K65, the drain of P-channel MOS transistor K67, the drain of P-channel MOS transistor K69, and the drain of P-channel MOS transistor K69. The drain of K71, the drain of the P-channel MOS transistor K73, the drain of the P-channel MOS transistor K75, the drain of the P-channel MOS transistor K77, the source of the P-channel MOS transistor K79, the P-channel MOS transistor The source of K81, the power supply VS is connected to the source of the P-channel MOS transistor K53, the gate of the P-channel MOS transistor K53 is connected to the input terminal Vctrl_P, the drain of the P-channel MOS transistor K53 is connected to the source of the P-channel MOS transistor K62 and The source of the P-channel MOS transistor K63, the gate of the P-channel MOS transistor K62 is connected to the control signal I1, the gate of the P-channel MOS transistor K63 is connected to the control signal I2, and the power supply VS is connected to the source of the P-channel MOS transistor K54 , the gate of the P-channel MOS transistor K54 is connected to the input terminal Vctrl_P, the drain of the P-channel MOS transistor K54 is connected to the source of the P-channel MOS transistor K64 and the source of the P-channel MOS transistor K65, and the The gate is connected to the control signal I3, the gate of the P-channel MOS transistor K65 is connected to the control signal I4, the power supply VS is connected to the source of the P-channel MOS transistor K55, the gate of the P-channel MOS transistor K55 is connected to the input terminal Vctrl_P, and the P-channel The drain of the MOS transistor K55 is connected to the source of the P-channel MOS transistor K66 and the source of the P-channel MOS transistor K67, the gate of the P-channel MOS transistor K66 is connected to the control signal I5, and the gate of the P-channel MOS transistor K67 is connected to The control signal I6, the power supply VS is connected to the source of the P-channel MOS transistor K56, the gate of the P-channel MOS transistor K56 is connected to the input terminal Vctrl_P, the drain of the P-channel MOS transistor K56 is connected to the source of the P-channel MOS transistor K68 and P ditch The source of the channel MOS transistor K69, the gate of the P-channel MOS transistor K68 is connected to the control signal I7, the gate of the P-channel MOS transistor K69 is connected to the control signal I8, the power supply VS is connected to the source of the P-channel MOS transistor K57, P The gate of the channel MOS transistor K57 is connected to the input terminal Vctrl_P, the drain of the P-channel MOS transistor K57 is connected to the source of the P-channel MOS transistor K70 and the source of the P-channel MOS transistor K71, and the gate of the P-channel MOS transistor K70 The control signal I9 is connected, the gate of the P-channel MOS transistor K71 is connected to the control signal I10, the power supply VS is connected to the source of the P-channel MOS transistor K58, the gate of the P-channel MOS transistor K58 is connected to the input terminal Vctrl_P, and the P-channel MOS transistor The drain of K58 is connected to the source of the P-channel MOS transistor K72 and the source of the P-channel MOS transistor K73, the gate of the P-channel MOS transistor K72 is connected to the control signal I11, and the gate of the P-channel MOS transistor K73 is connected to the control signal I12, the power supply VS is connected to the source of the P-channel MOS transistor K59, the gate of the P-channel MOS transistor K59 is connected to the input terminal Vctrl_P, the drain of the P-channel MOS transistor K59 is connected to the source of the P-channel MOS transistor K74 and the P-channel The source of the MOS transistor K75, the gate of the P-channel MOS transistor K74 is connected to the control signal I13, the gate of the P-channel MOS transistor K75 is connected to the control signal I14, the power supply VS is connected to the source of the P-channel MOS transistor K60, and the P-channel The gate of the channel MOS transistor K60 is connected to the input terminal Vctrl_P, the drain of the P-channel MOS transistor K60 is connected to the source of the P-channel MOS transistor K76 and the source of the P-channel MOS transistor K77, and the gate of the P-channel MOS transistor K76 is connected to Control signal I15, the gate of the P-channel MOS tube K77 is connected to the power supply VS, the source of the P-channel MOS tube K78, the source of the P-channel MOS tube K79, and the source of the P-channel MOS tube K80 are connected to the power supply Vdd input terminal K88 ; The drain of the P-channel mos tube K78, the drain of the P-channel mos tube K79, and the drain of the P-channel mos tube K80 are commonly connected to the drain of the N-channel mos tube K81; the source of the N-channel mos tube K81 is connected to the N-channel mos tube K81. The drain of the channel mos tube K82, the source of the N-channel mos tube K82 is connected to the drain of the N-channel mos tube K83, the source of the N-channel mos tube K83 is connected to the ground, and the gate of the P-channel mos tube K78 is connected to the input terminal Out1_P, the gate of the P-channel mos tube K79 is connected to the input terminal Out2_P, the gate of the P-channel mos tube K80 is connected to the input terminal Out1_N, the gate of the P-channel mos tube K81 is connected to the input terminal Out2_N, and the drain of the P-channel mos tube K78 is connected The drain of the N-channel mos tube K82, the drain of the P-channel mos tube K79 and the output terminal Output_N, the drain of the P-channel mos tube K80 is connected to the drain of the N-channel mos tube K81, the drain of the P-channel mos tube K83 and the output The terminal Output_P, the gate of the N-channel mos tube K82 is connected to the input terminal Vctrl_N, and the source is connected to the ground GS, N The gate of the channel mos tube K83 is connected to the input terminal Vctrl_N, and the source is connected to the ground GS.

整个电路的工作可以在400MHz—800MHz的频率时钟下,可以使用在面向DDR3存储协议DRAM内存接口中。在正常工作条件下,本发明电路采用的是中芯国际公司的28纳米工艺器件,还可以选用按照用户自己的需求选用合适的器件类型,实现对DDR3时钟的64级TAP的精准延时,保证时钟可以延迟到数据有效窗口的中心位置。尤其是在800MHz的频率时钟下,每个TAP最高延迟精度可达到19.53ps,满足DDR3协议DRAM高频性能。The whole circuit can work under the frequency clock of 400MHz-800MHz, and can be used in the DRAM memory interface facing the DDR3 storage protocol. Under normal working conditions, the circuit of the present invention adopts the 28-nanometer process device of SMIC, and the appropriate device type can also be selected according to the user's own needs, so as to realize the precise delay of the 64-level TAP of the DDR3 clock and ensure the The clock can be delayed to the center of the data valid window. Especially under the frequency clock of 800MHz, the maximum delay accuracy of each TAP can reach 19.53ps, which meets the high-frequency performance of DDR3 protocol DRAM.

显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

本发明说明书中未作详细描述的内容属本领域技术人员的公知技术。The content not described in detail in the specification of the present invention belongs to the well-known technology of those skilled in the art.

Claims (9)

1. A DDR3 storage protocol oriented clock controller, comprising: the digital delay phase-locked loop, the mirror symmetry delay chain, the Gray code phase selector and the Gray code phase interpolator;
the digital delay phase-locked loop receives an external common clock signal CLK _ IN, outputs a clock signal CLK _ FB feedback access input, and sends output voltage signals Vctrl _ P and Vctrl _ N to a mirror symmetry delay chain;
the mirror symmetry delay chain receives an external common clock signal CLK _ IN, receives voltage signals Vctrl _ P and Vctrl _ N of the digital delay phase-locked loop and converts the voltage signals into 8 paths of output clocks Clk45, Clk225, Clk90, Clk270, Clk135, Clk315, Clk180 and Clk0 to a Gray code phase selector;
the gray code phase selector receives external common control signals PS0, PS1 and PS2 and selects eight paths of output clocks of the mirror symmetry delay chain to the gray code phase interpolator;
the gray code phase interpolator receives external common control signals PI0, PI1 and PI2, receives Output voltage Vctrl _ P and Vctrl _ N of the digital delay phase-locked loop, receives Output of the gray code phase selector, and outputs external clock signals Output _ P and Output _ N;
the digital delay phase-locked loop comprises an N-channel mos tube K15, a P-channel mos tube K14, a delay unit K9, a delay unit K10, a delay unit K11, a delay unit K12, a delay unit K13, a phase discriminator K5, a charge pump K6, a filter K7 and a reference circuit K8;
an external common clock input end signal CK _ IN is connected to the input end of the delay unit K9 and the input end of the phase detector K5, and the other input end of the phase detector K5 is connected with a feedback clock signal CK _ FB; the output end UP and the output end DOWN of the phase detector K5 are connected to the input end of a charge pump K6, and the output end Vctrl of the charge pump is connected to the input end of a filter K7; an output end Vctrl _ A of the filter K7 is connected to an input end of a reference circuit K8, and output ports of the reference circuit are Vctrl _ P and Vctrl _ N; the control end C24 of the delay unit K9 is connected to the drain electrode of a P-channel MOS tube, the control end C23 is connected to the drain electrode of an N-channel MOS tube, and the output end of the delay unit K3878 is connected to the input end of the next-stage delay unit K10; the control end C27 of the delay unit K10 is connected to the drain electrode of a P-channel MOS tube, the control end C26 is connected to the drain electrode of an N-channel MOS tube, and the output end of the delay unit K3878 is connected to the input end of the next-stage delay unit K11; the control end C30 of the delay unit K11 is connected to the drain electrode of a P-channel MOS tube, the control end C29 is connected to the drain electrode of an N-channel MOS tube, and the output end of the delay unit K3878 is connected to the input end of the next-stage delay unit K12; the control end C33 of the delay unit K12 is connected to the drain electrode of a P-channel MOS tube, the control end C32 is connected to the drain electrode of an N-channel MOS tube, and the output end of the delay unit K3878 is connected to the input end of the next-stage delay unit K13; the control terminal C35 of the delay unit K13 is connected to the drain of the P-channel MOS transistor, the control terminal C36 is connected to the drain of the N-channel MOS transistor, and the output terminal is connected to the feedback clock input terminal CK _ FB.
2. The clock controller for DDR3 storage protocol-oriented memory controller of claim 1, wherein: the frequency range of the external common clock signal CLK _ IN is 400 MHz-800 MHz; the external clock signals Output _ P and Output _ N are a pair of differential Output clock signals; the external common control signals PS0, PS1 and PS2 are clock signals for controlling the gray code phase selector to normally control the working; the external common control signals PI0, PI1, and PI2 are clock signals for controlling the gray code phase interpolator to normally control the operation.
3. The clock controller for DDR3 storage protocol-oriented memory controller of claim 1, wherein: the phase detector K5 comprises a flip-flop K16, a flip-flop K19, an inverter K18 and a NAND gate K17;
an external common clock signal CK _ IN is connected to a clock input end of a flip-flop K16, a common clock signal CK _ FB is connected to a clock input end of a flip-flop K19, a data end of the flip-flop K16 is connected with a power supply VS, a data end of the flip-flop K19 is connected with the power supply VS, an output end Q of a flip-flop K16 and an output end of a flip-flop K19 are connected to an input port of a NAND gate K17, an output end of the NAND gate K17 is connected with an input end of an inverter K18, and an output end of the inverter K18 is connected to reset ports of the flip-flop K16 and the flip-flop K19.
4. The clock controller for DDR3 storage protocol-oriented memory controller of claim 1, wherein: the charge pump K6 comprises a P-channel MOS tube K24, a P-channel MOS tube K20, a P-channel MOS tube K22, an N-channel MOS tube K21, an N-channel MOS tube K23 and an N-channel MOS tube K25;
the power supply VS is connected to the source electrode of the P-channel MOS tube K24, the grid electrode of the P-channel MOS tube K24 is connected to the input end control signal Vctrl _ P, and the drain electrode of the P-channel MOS tube K20 and the source electrode of the P-channel MOS tube K22; the grid electrode of the P-channel MOS tube K20 is connected with an input end signal UP, and the drain electrode of the P-channel MOS tube K20 is connected with the drain electrode of the N-channel MOS tube K21; the source electrode of the N-channel MOS tube K25 is connected with the ground GS, the grid electrode of the N-channel MOS tube K25 is connected with the input end control signal Vctrl _ N, and the drain electrode of the N-channel MOS tube K21 and the source electrode of the N-channel MOS tube K23; the grid electrode of the N-channel MOS tube K23 is connected with the reverse direction of the signal DOWN at the input end, and the drain electrode of the N-channel MOS tube K23 is connected with the drain electrode of the P-channel MOS tube K22; the grid electrode of the P-channel MOS tube K22 is connected with the reverse direction of the signal UP at the input end, and the drain electrode of the P-channel MOS tube K20 is connected with the output end Vctrl.
5. A DDR3 storage protocol oriented clock controller in accordance with claim 1, wherein: the filter K7 comprises a capacitor K24, a resistor K25 and a capacitor K26;
one ends of the capacitor K24 and the capacitor K26 are connected to the ground GS; the input end Vctrl is connected to the other end of the capacitor K24, connected to one end of the resistor K25 and connected to the output end Vctrl _ A; the other end of the resistor K25 is connected to the other end of the capacitor K26;
the reference circuit K8 comprises a P-channel MOS tube K26, a P-channel MOS tube K27, a P-channel MOS tube K32, a P-channel MOS tube K33, a P-channel MOS tube K34, a P-channel MOS tube K35, an N-channel MOS tube K28, an N-channel MOS tube K29, an N-channel MOS tube K30, an N-channel MOS tube K31, an N-channel MOS tube K39, an N-channel MOS tube K36, an N-channel MOS tube K37 and a resistor K38;
a power supply VS is connected to the source electrode of a P-channel MOS tube K26, the gate electrode of a P-channel MOS tube K26 is connected to the output end of a resistor K38, the drain electrode of the P-channel MOS tube K26 is connected to the source electrode of a P-channel MOS tube K27, the gate electrode of a P-channel MOS tube K27 is connected to the ground GS, the drain electrode of the P-channel MOS tube K26 is connected to the drain electrode and the gate electrode of an N-channel MOS tube K28, the gate electrode of the N-channel MOS tube K28 is connected to the gate electrode of an N-channel MOS tube K30, the source electrode of the N-channel MOS tube K28 is connected to the drain electrode of an N-channel MOS tube K29 and the source electrode of an N-channel MOS tube K30, the gate electrode of the N-channel MOS tube K29 is connected to a control signal ctrl, and the source electrode of the N-channel MOS tube K29 is connected to the ground GS; the source of the N-channel MOS transistor K30 is connected to the sources of the N-channel MOS transistor K31 and the N-channel MOS transistor K39, the gate of the N-channel MOS transistor K31 is connected to the input control signal Vctrl _ a, the drain of the N-channel MOS transistor K31 is connected to the input of the resistor K38 and the drain of the P-channel MOS transistor K33, the gate of the N-channel MOS transistor K39 is connected to the gate of the N-channel MOS transistor K37, the drain of the N-channel MOS transistor K39 is connected to the gate and the drain of the P-channel MOS transistor K32, the source of the P-channel MOS transistor K32 is connected to the power supply VS and the source of the P-channel MOS transistor K33, the drain of the P-channel MOS transistor K33 is connected to the input of the resistor K38, and the output of the resistor K38 is connected to the gate of the P-channel MOS transistor K34 and the output Vctrl _ P; the source electrode of the P-channel MOS tube K34 is connected to a power supply VS, the drain electrode is connected to the source electrode of the P-channel MOS tube K35, the grid electrode of the P-channel MOS tube K35 is connected to the GS, the drain electrode of the P-channel MOS tube K35 is connected to the drain electrode of the N-channel MOS tube K37, the grid electrode of the N-channel MOS tube K37 is connected to the output end Vctrl _ N and the drain electrode of the N-channel MOS tube K36, the grid electrode of the N-channel MOS tube K36 is connected to a control signal ctrl, and the source electrode is connected to the GS.
6. The clock controller for DDR3 storage protocol-oriented memory controller of claim 1, wherein: the mirror symmetry delay chain comprises a delay unit K40, a delay unit K41, a delay unit K42, a delay unit K43, a delay unit K44, a P-channel MOS tube K39, an N-channel MOS tube K45, an inverter K46, an inverter K47, an inverter K48 and an inverter K49;
a signal CK _ IN at a common clock input end is connected to an input end of a delay unit K40, a control end C40 of the delay unit K40 is connected to a control end C40 of a delay unit K40, a control end C40 of the delay unit K40, a grid electrode of a P-channel MOS tube K40 is connected to an input end Vctrl _ P, a source electrode of the P-channel MOS tube K40 is connected to a power supply VS, a control end C40 of the delay unit K40 is connected to a control end C40 of the delay unit K40, a source electrode of the N-channel MOS tube K40, a grid electrode of the N-channel MOS tube K40 is connected to a ground, a C40 of the output end of the delay unit K40 is connected to a next stage C40 of the delay unit K40, a drain electrode of the delay unit K40 is connected to a next stage C40, a drain electrode of the delay unit K40, a drain of the delay unit K40 is connected to a lower stage C40, a drain of the delay unit K40, a delay unit K40 is connected to a lower stage C40, a drain of the delay unit K40 is connected to a delay unit K40, a lower stage of the delay unit K40 is connected to a delay unit K40, a drain of the delay unit K40 is connected to a lower stage, a delay unit K40 is connected to a drain of the delay unit K40, a drain of the delay unit K40 is connected to a drain, a drain of the delay unit K40 is connected to a lower stage, a drain, a delay unit K40 is connected to a drain of the delay unit K40 is connected to a delay unit K40, a drain of the delay unit K40 is connected to a delay unit K40, a delay unit K40 is connected to a ground, a delay unit K40 is connected to a delay unit K40, a delay unit K40 is connected to a delay unit K40, a lower stage, a delay unit K40 is connected to a delay unit K40, a delay unit K685, The output end Clk90 and the input end of the inverter K47 are connected, the output end C60 of the delay unit K42 is connected with the input end of the next-stage delay unit K43, the output end Clk _135 and the input end of the inverter K48, the output end C63 of the delay unit K43 is connected with the input end of the next-stage delay unit K44, the output end Clk180 and the input end of the inverter K49, the output end of the inverter K46 is connected with the output end Clk _225, the output end of the inverter K47 is connected with the output end Clk _270, the output end of the inverter K48 is connected with the output end Clk _315, and the output end of the inverter K49 is connected with the output end Clk _ 0.
7. The clock controller for DDR3 storage protocol-oriented memory controller of claim 1, wherein: the gray code phase selector is connected with the input terminals Clk _45, Clk _225, Clk _90, Clk _270, Clk _135, Clk _315, Clk _180 and Clk _0, the external input terminals PS0, PS1 and PS2 and the output terminal Out1_ P, Out1_ N, Out2_ P, Out2_ N.
8. The clock controller for DDR3 storage protocol-oriented memory controller of claim 1, wherein: a gray code phase interpolator, including a gray code decoding circuit K51, a P-channel MOS tube K611, a P-channel MOS tube K51, a P-channel K51, a P-channel K51, and a P-channel K51;
gray code decoding circuit is connected with input terminals PI0, PI1 and PI2, outputs 16 control signals I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15 and I16, a power supply VS is connected with the source of a P-channel MOS tube K52, the grid of the P-channel MOS tube K52 is connected with an input terminal Vctrl _ P, the drain of the P-channel MOS tube K52 is connected with the source of the P-channel MOS tube K61 and the source of the P-channel MOS tube K611, the grid of the P-channel MOS tube K61 is connected with a ground GS, the grid of the P-channel MOS tube K611 is connected with a control signal I0, the drain of the P-channel MOS tube K0 is connected with the drain of the P-channel MOS tube K0, the drain of the P-channel MOS tube K0, the drain of the MOS tube K0 of the MOS tube 0, the drain electrode of the P-channel MOS tube K611 is connected with the drain electrode of the P-channel MOS tube K63, the drain electrode of the P-channel MOS tube K65, the drain electrode of the P-channel MOS tube K67, the drain electrode of the P-channel MOS tube K69, the drain electrode of the P-channel MOS tube K71, the drain electrode of the P-channel MOS tube K73, the drain electrode of the P-channel MOS tube K75, the drain electrode of the P-channel MOS tube K77, the source electrode of the P-channel MOS tube K79 and the source electrode of the P-channel MOS tube K81, the power supply VS is connected with the source electrode of the P-channel MOS tube K53, the grid electrode of the P-channel MOS tube K53 is connected with the input terminal Vctrl _ P, the drain electrode of the P-channel MOS tube K53 is connected with the source electrode of the P-channel MOS tube K62 and the source electrode of the P-channel MOS tube K63, the grid electrode of the P-channel MOS tube K62 is connected with the control signal I1, the grid electrode of the P-channel MOS tube K63, the power supply VS is connected with the source electrode of the P-channel MOS tube K54, the drain electrode of the P-channel MOS tube K46K 386 and the drain electrode of the P-channel MOS tube K463, the grid of the P-channel MOS tube K64 is connected with a control signal I3, the grid of the P-channel MOS tube K65 is connected with a control signal I4, the power supply VS is connected with the source of the P-channel MOS tube K55, the grid of the P-channel MOS tube K55 is connected with an input end Vctrl _ P, the drain of the P-channel MOS tube K55 is connected with the source of the P-channel MOS tube K66 and the source of the P-channel MOS tube K67, the grid of the P-channel MOS tube K66 is connected with a control signal I5, the grid of the P-channel MOS tube K67 is connected with a control signal I6, the power supply VS is connected with the source of the P-channel MOS tube K56, the grid of the P-channel MOS tube K56 is connected with the input end Vctrl _ P, the drain of the P-channel MOS tube K56 is connected with the source of the P-channel MOS tube K68 and the source of the P-channel MOS tube K69, the grid of the P-channel MOS tube K68 is connected with a control signal I7, the grid of the P-channel MOS tube K69, the source of the P-channel MOS tube K387 is connected with the input end Vctrl-channel MOS tube K57, the drain of a P-channel MOS tube K57 is connected with the source of a P-channel MOS tube K70 and the source of a P-channel MOS tube K71, the gate of a P-channel MOS tube K70 is connected with a control signal I9, the gate of a P-channel MOS tube K71 is connected with a control signal I10, a power supply VS is connected with the source of a P-channel MOS tube K58, the gate of a P-channel MOS tube K58 is connected with an input end Vctrl _ P, the drain of a P-channel MOS tube K58 is connected with the source of a P-channel MOS tube K72 and the source of a P-channel MOS tube K73, the gate of a P-channel MOS tube K72 is connected with a control signal I11, the gate of a P-channel MOS tube K73 is connected with a control signal I12, the power supply VS is connected with the source of a P-channel MOS tube K59, the gate of a P-channel MOS tube K59 is connected with an input end Vctrl _ P, the drain of a P-channel MOS tube K59 is connected with the source of a P-channel MOS tube K6852 and the source of a P-channel MOS tube K5475, the gate of a power supply K74 is connected with the source of a power supply control signal I74, the gate of a power supply VS 74, the control signal VS channel MOS tube K74 is connected with the gate of a P-channel MOS tube K74, the grid electrode of the P-channel MOS tube K60 is connected with an input end Vctrl _ P, the drain electrode of the P-channel MOS tube K60 is connected with the source electrode of the P-channel MOS tube K76 and the source electrode of the P-channel MOS tube K77, the grid electrode of the P-channel MOS tube K76 is connected with a control signal I15, the grid electrode of the P-channel MOS tube K77 is connected with a power supply VS, and the source electrode of the P-channel MOS tube K78, the source electrode of the P-channel MOS tube K79 and the source electrode of the P-channel MOS tube K80 are connected with a power supply Vdd input end K88; the drain electrode of the P-channel mos tube K78, the drain electrode of the P-channel mos tube K79 and the drain electrode of the P-channel mos tube K80 are connected to the drain electrode of the N-channel mos tube K81; the source of an N-channel mos tube K81 is connected to the drain of an N-channel mos tube K82, the source of the N-channel mos tube K82 is connected to the drain of the N-channel mos tube K83, the source of the N-channel mos tube K83 is connected to the ground, the gate of a P-channel mos tube K78 is connected to the input end Out1_ P, the gate of a P-channel mos tube K79 is connected to the input end Out2_ P, the gate of the P-channel mos tube K80 is connected to the input end Out1_ N, the gate of the P-channel mos tube K81 is connected to the input end Out2_ N, the drain of the P-channel mos tube K78 is connected to the drain of the N-channel mos tube K82, the drain of the P-channel mos tube K79 and the Output end Output _ N, the drain of the P-channel mos tube K80 is connected to the N-channel mos tube K81, the drain of the P-channel mos tube K83 and the Output end P-channel mos 78, the gate of the N-channel mos tube K82 is connected to the input end Vcgsl, the source is connected to the ground, the source of the input end GS tube K83 and the input end Vcgs.
9. The clock control method implemented by the clock controller facing the DDR3 storage protocol as claimed in claim 1, wherein the method comprises the following steps:
1) the digital delay phase-locked loop receives an external common clock signal CLK _ IN, outputs a clock signal CLK _ FB feedback access input, and controls an output voltage signal Vctrl _ P and Vctrl _ N to be a mirror symmetry delay chain;
2) the mirror symmetry delay chain receives an external common clock signal CLK _ IN, converts the input external common clock signal into 8 paths of output clocks Clk45, Clk225, Clk90, Clk270, Clk135, Clk315, Clk180, Clk0 to Gray code phase selectors with different phases under the control of a digital delay phase-locked loop voltage signal Vctrl _ P and Vctrl _ N;
3) the gray code phase selector receives external common control signals PS0, PS1 and PS2, and selects 8 paths of output clocks with different phases of the mirror symmetry delay chain to the gray code phase interpolator to perform phase interpolation;
4) the gray code phase interpolator receives external common control signals PI0, PI1 and PI2, receives Output voltage signals Vctrl _ P and Vctrl _ N of the digital delay phase-locked loop, receives Output of the gray code phase selector, and outputs external clock signals Output _ P and Output _ N, so that 64-level TAP interpolation can be performed on an external input clock through six control signals PS0, PS1, PS2, PI0, PI1 and PI2, and accurate phase interpolation and accurate clock delay are achieved.
CN202011459833.6A 2020-12-11 2020-12-11 DDR3 storage protocol-oriented clock controller and control method Active CN112650139B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011459833.6A CN112650139B (en) 2020-12-11 2020-12-11 DDR3 storage protocol-oriented clock controller and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011459833.6A CN112650139B (en) 2020-12-11 2020-12-11 DDR3 storage protocol-oriented clock controller and control method

Publications (2)

Publication Number Publication Date
CN112650139A CN112650139A (en) 2021-04-13
CN112650139B true CN112650139B (en) 2022-08-02

Family

ID=75354778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011459833.6A Active CN112650139B (en) 2020-12-11 2020-12-11 DDR3 storage protocol-oriented clock controller and control method

Country Status (1)

Country Link
CN (1) CN112650139B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113325744A (en) * 2021-04-25 2021-08-31 北京时代民芯科技有限公司 DDR3 storage protocol-oriented calibration controller

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1677863A (en) * 2004-03-29 2005-10-05 富士通株式会社 Digital delay-locked loop device, control method and control program
CN1968021A (en) * 2006-08-25 2007-05-23 华为技术有限公司 A delay phase-lock loop, voltage-controlled delay line and delay cell
CN101309079A (en) * 2007-05-14 2008-11-19 深圳艾科创新微电子有限公司 Charge pump construction for phase lock loop circuit
CN101557213A (en) * 2009-03-27 2009-10-14 华为技术有限公司 Delay unit, annular oscillator and PLL circuit
CN107093451A (en) * 2017-03-22 2017-08-25 建荣半导体(深圳)有限公司 DDR SDRAM controls circuit, DDR SDRAM chips, pcb board and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1677863A (en) * 2004-03-29 2005-10-05 富士通株式会社 Digital delay-locked loop device, control method and control program
CN1968021A (en) * 2006-08-25 2007-05-23 华为技术有限公司 A delay phase-lock loop, voltage-controlled delay line and delay cell
CN101309079A (en) * 2007-05-14 2008-11-19 深圳艾科创新微电子有限公司 Charge pump construction for phase lock loop circuit
CN101557213A (en) * 2009-03-27 2009-10-14 华为技术有限公司 Delay unit, annular oscillator and PLL circuit
CN107093451A (en) * 2017-03-22 2017-08-25 建荣半导体(深圳)有限公司 DDR SDRAM controls circuit, DDR SDRAM chips, pcb board and electronic equipment

Also Published As

Publication number Publication date
CN112650139A (en) 2021-04-13

Similar Documents

Publication Publication Date Title
US11451218B2 (en) Data transmission using delayed timing signals
US9679633B2 (en) Circuits and methods for DQS autogating
US8519758B2 (en) Digital DLL including skewed gate type duty correction circuit and duty correction method thereof
US7046056B2 (en) System with dual rail regulated locked loop
US11025255B2 (en) Signal generation circuit synchronized with a clock signal and a semiconductor apparatus using the same
WO2019045785A1 (en) Adjusting instruction delays to the latch path in ddr5 dram
US9543937B2 (en) Multi-phase clock generation
CN105322965B (en) Digital-to-analog converter with delay deviation detection and calibration functions
US9154291B2 (en) Differential signal skew adjustment method and transmission circuit
CN112650139B (en) DDR3 storage protocol-oriented clock controller and control method
ES2881302T3 (en) Clock recovery circuit for multi-wire data signals
US20110006804A1 (en) Circuit for controlling data communication with synchronous storage circuitry and method of operation
CN113325744A (en) DDR3 storage protocol-oriented calibration controller
CN115021725A (en) Timing conversion device, method, write equalization system, and computer-readable medium
US11227642B2 (en) Memory controller, method for read control of memory, and associated storage system
US20050141294A1 (en) Method and apparatus for memory data deskewing
US20170330634A1 (en) Test mode circuit with serialized i/o and semiconductor memory device including the same
US10672437B2 (en) Lower power auto-zeroing receiver incorporating CTLE, VGA, and DFE
WO2017096503A1 (en) Digital-to-analog converter capable of detecting and calibrating delay deviation
US10256795B1 (en) Pipelined latches to prevent metastability
US20230087145A1 (en) Low-power high-speed cmos clock generation circuit
CN110399319B (en) NAND Flash PHY
US7711055B2 (en) System and method for signal alignment when communicating signals
US20200162085A1 (en) Stochastic time-to-digital converter and operating method thereof
CN118971902B (en) Gain-enhanced pseudo-differential amplifying circuit with automatic duty ratio adjustment and chip

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant