[go: up one dir, main page]

CN1523763A - Method and system capable of synchronizing clock signal sources of semiconductor components - Google Patents

Method and system capable of synchronizing clock signal sources of semiconductor components Download PDF

Info

Publication number
CN1523763A
CN1523763A CNA031063047A CN03106304A CN1523763A CN 1523763 A CN1523763 A CN 1523763A CN A031063047 A CNA031063047 A CN A031063047A CN 03106304 A CN03106304 A CN 03106304A CN 1523763 A CN1523763 A CN 1523763A
Authority
CN
China
Prior art keywords
clock
signal source
phase
clock signal
signal
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.)
Granted
Application number
CNA031063047A
Other languages
Chinese (zh)
Other versions
CN1235341C (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.)
BenQ Corp
Original Assignee
BenQ 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 BenQ Corp filed Critical BenQ Corp
Priority to CN 03106304 priority Critical patent/CN1235341C/en
Publication of CN1523763A publication Critical patent/CN1523763A/en
Application granted granted Critical
Publication of CN1235341C publication Critical patent/CN1235341C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Semiconductor Integrated Circuits (AREA)

Abstract

A method for synchronizing clock signal source of each semiconductor module includes assigning a semiconductor module with clock signal source with lowest frequency as main module, calibrating each clock signal source in it to zero, outputting the lowest clock signal source of main module calibrated to zero to each slave module for synchronizing output of clock signal source of each slave module, setting a phase checker in each semiconductor module for ensuring clock synchronization between each semiconductor module and in each semiconductor module by using said phase checker.

Description

可同步各半导体组件时钟信号源的方法及系统Method and system capable of synchronizing clock signal sources of semiconductor components

技术领域technical field

本发明关于一种时钟同步机制,特别地,关于一种可同步各半导体组件时钟信号源的方法及系统,其使用主从配置,配合相位检查器的使用,使得各半导体组件的时钟同步并正确地输出所需的各倍频时钟信号,以确保系统操作时的可靠性。The present invention relates to a clock synchronization mechanism, in particular, a method and system for synchronizing the clock signal sources of each semiconductor component, which uses a master-slave configuration and cooperates with the use of a phase checker to make the clocks of each semiconductor component synchronized and correct Output the required multiplied clock signals to ensure the reliability of the system operation.

背景技术Background technique

目前,在时钟同步上的设计,大多是针对单一芯片的时钟作设计。例如,在美国专利号5999025及美国专利号6304582中,前者是将一外部时钟信号与一芯片内的压控振荡器时钟信号同步,而后者则是将一芯片内部的各倍频时钟信号与一振荡器时钟信号同步。因此,缺乏对于多芯片间的时钟同步的处理机制,尤其是针对各半导体组件间的时钟同步的处理机制,其中,时钟信号源是使用DLL(delay locked loop,延迟锁定环)电路或DCM(digital clockmanager,数字时钟管理器)。At present, most of the clock synchronization designs are designed for the clock of a single chip. For example, in U.S. Patent No. 5,999,025 and U.S. Patent No. 6,304,582, the former synchronizes an external clock signal with a voltage-controlled oscillator clock signal in a chip, while the latter synchronizes each multiplied clock signal in a chip with a The oscillator clock signal is synchronized. Therefore, there is a lack of processing mechanism for clock synchronization between multiple chips, especially for the processing mechanism of clock synchronization between semiconductor components, wherein the clock signal source is a DLL (delay locked loop, delay locked loop) circuit or DCM (digital clockmanager, digital clock manager).

发明内容Contents of the invention

因此,本发明的一目的为提供一种可同步各半导体组件时钟信号源的方法及系统,其使用主从配置的配置方式,将DLL或DCM所产生的各时钟信号源准确地对准(align),使得各半导体组件或芯片能够同时取得同步。Therefore, an object of the present invention is to provide a method and system capable of synchronizing clock signal sources of various semiconductor components, which uses a master-slave configuration configuration to accurately align each clock signal source generated by a DLL or DCM. ), so that each semiconductor component or chip can be synchronized at the same time.

本发明提供一种可同步各半导体组件时钟信号源的方法,包括下列步骤:The present invention provides a method capable of synchronizing clock signal sources of various semiconductor components, comprising the following steps:

(a)多个半导体组件内部的时钟产生器产生多时钟信号源;(b)当各时钟产生器所产生的多时钟信号源稳定时,指定该多个半导体组件中,具有最低频率时钟信号源的一半导体组件做为一主要组件,其余半导体组件则为从属组件;(c)指定该主要组件的最低频率时钟信号源做为一参考时钟信号源;(d)根据该参考时钟信号源,对主要组件内部的各时钟信号源执行相位对准检查,使得主要组件内部的各时钟信号源与该参考时钟信号源产生时钟同步,以输出一归零信号;(e)根据该归零信号,对从属组件内部的最低时钟信号源执行相位对准检查,使得主要组件的最低时钟信号源与各从属组件的最低时钟信号源产生时钟同步,以分别输出一校准信号;及(f)根据各从属组件的校准信号,分别对其内部的各时钟信号源执行相位对准检查,使得各从属组件内部的各时钟信号源与各从属组件内部相对应的最低时钟信号源产生时钟同步,因而完成各半导体组件的时钟同步。(a) The clock generators inside multiple semiconductor components generate multiple clock signal sources; (b) When the multiple clock signal sources generated by each clock generator are stable, specify the clock signal source with the lowest frequency among the multiple semiconductor components A semiconductor component of the main component is used as a main component, and the remaining semiconductor components are slave components; (c) specifying the lowest frequency clock signal source of the main component as a reference clock signal source; (d) according to the reference clock signal source, to Each clock signal source inside the main component performs a phase alignment check, so that each clock signal source inside the main component generates clock synchronization with the reference clock signal source to output a return-to-zero signal; (e) according to the return-to-zero signal, to The lowest clock signal source inside the slave device performs a phase alignment check so that the lowest clock signal source of the master device is clocked synchronously with the lowest clock signal source of each slave device to output a calibration signal respectively; and (f) according to each slave device Calibration signal, each internal clock signal source is checked for phase alignment, so that each clock signal source inside each slave component is clock-synchronized with the corresponding lowest clock signal source inside each slave component, thus completing each semiconductor component clock synchronization.

本发明还提供一种可同步各半导体组件时钟信号源的系统,包括:一第一半导体组件,其具有一相位检查器及一可产生包括最低频率时钟信号源在内的多时钟信号源的时钟产生器,其中,所述相位检查器根据该最低频率时钟信号源进行相位对准,使得该第一半导体组件的多时钟信号源产生时钟同步,因而输出一归零信号;及多个第二半导体组件,分别具有一外部相位检查器、一内部相位检查器及一可产生一对准时钟信号源在内的多时钟信号源的时钟产生器,其中,该外部相位检查器根据该归零信号进行相位对准,使得该最低时钟信号源与该对准时钟信号源的相位同步,并输出一校准信号至该内部相位检查器,以进行相位对准,使得各第二半导体组件内的多时钟信号源分别产生时钟同步,因而达成所有半导体组件的时钟同步。The present invention also provides a system capable of synchronizing clock signal sources of various semiconductor components, comprising: a first semiconductor component having a phase checker and a clock capable of generating multiple clock signal sources including the lowest frequency clock signal source generator, wherein the phase checker performs phase alignment according to the lowest frequency clock signal source, so that the multiple clock signal sources of the first semiconductor component generate clock synchronization, thereby outputting a return-to-zero signal; and a plurality of second semiconductor components Components respectively having an external phase checker, an internal phase checker and a clock generator capable of generating a multi-clock signal source including an alignment clock signal source, wherein the external phase checker performs according to the return-to-zero signal phase alignment, so that the lowest clock signal source is synchronized with the phase of the alignment clock signal source, and output a calibration signal to the internal phase checker to perform phase alignment, so that multiple clock signals in each second semiconductor device The sources respectively generate clock synchronization, thus achieving clock synchronization of all semiconductor components.

本发明提供的可同步各半导体组件时钟信号源的方法及系统,其使用主从配置,指定一具有最低速率时钟信号源的半导体组件做为主要组件,并将其内的时钟信号利用一相位检查器做校准归零后,再将已校准归零的主要组件的最低时钟信号源,输出至各从属组件的外部相位检查器,以取得各半导体组件的时钟信号源的时钟同步,接着,再利用各从属组件的内部相位检查器,取得其内部的各时钟信号源的时钟同步,以正确地输出所需的各倍频时钟信号给各半导体组件内部电路使用。The method and system for synchronizing the clock signal sources of each semiconductor component provided by the present invention uses a master-slave configuration, designates a semiconductor component with the lowest rate clock signal source as the main component, and checks the clock signal in it using a phase After the calibration and zeroing of the device, the lowest clock signal source of the main component that has been calibrated and zeroed is output to the external phase checker of each slave component to obtain the clock synchronization of the clock signal source of each semiconductor component. Then, use The internal phase checker of each slave component obtains the clock synchronization of each internal clock signal source, so as to correctly output the required multiplied clock signals to the internal circuits of each semiconductor component.

附图说明Description of drawings

为让本发明的上述及其它目的、特征、与优点能更显而易见,下文特举一优选实施例,并配合附图,作详细说明如下:In order to make the above-mentioned and other purposes, features, and advantages of the present invention more obvious, a preferred embodiment is specifically cited below, together with the accompanying drawings, and described in detail as follows:

图1是本发明具有主从配置的半导体组件时钟同步配置方式的方块图;Fig. 1 is the block diagram that the present invention has the semiconductor component clock synchronization configuration mode of master-slave configuration;

图2是本发明图1中所指定的主要组件的内部方块图;Figure 2 is an internal block diagram of the main components specified in Figure 1 of the present invention;

图3是本发明图1中任一从属组件的内部方块图;Fig. 3 is the internal block diagram of any slave assembly in Fig. 1 of the present invention;

图4是第2及3图中延迟锁定环时钟产生器的内部方块图;Fig. 4 is the internal block diagram of the delay locked loop clock generator in Fig. 2 and Fig. 3;

图5是一本发明相位检查器举例;Fig. 5 is an example of a phase checker of the present invention;

图6是一本发明外部相位检查器的时序图;Fig. 6 is a sequence diagram of an external phase checker of the present invention;

图7是一本发明内部相位检查器的时序图;Fig. 7 is a timing diagram of an internal phase checker of the present invention;

图8是一本发明操作流程图;Fig. 8 is a flowchart of the operation of the present invention;

图9是一根据本发明图8中关于主要组件内部各时钟源产生时钟同步的进一步流程图;Fig. 9 is a further flow chart of clock synchronization generated by each clock source inside the main components in Fig. 8 according to the present invention;

图10是一根据本发明图8中关于从属组件与主要组件产生时钟同步的进一步流程图;FIG. 10 is a further flow chart of generating clock synchronization between the slave component and the master component in FIG. 8 according to the present invention;

图11是一根据本发明图8中关于从属组件内部各时钟源产生时钟同步的进一步流程图。FIG. 11 is a further flowchart of clock synchronization generated by each clock source inside the slave component in FIG. 8 according to the present invention.

[符号说明][Symbol Description]

10:半导体组件内部电路;10: Internal circuit of semiconductor components;

11-14:半导体组件时钟电路;11-14: Semiconductor component clock circuit;

31:外部相位检查器;31: external phase checker;

32:内部相位检查器;32: internal phase checker;

41:可变延迟线路;41: variable delay line;

43:控制逻辑电路;43: control logic circuit;

42:时钟分布网络;42: Clock distribution network;

51、52:D型触发器;51, 52: D-type flip-flop;

53:状态机;53: state machine;

111、121、131、141:时钟产生电路;111, 121, 131, 141: clock generating circuits;

112、122、132、142:相位检查器;112, 122, 132, 142: phase checker;

331、332:DLL。331, 332: DLLs.

具体实施方式Detailed ways

全文中的相同符号系代表相同组件。The same symbol system refers to the same component throughout.

图1是本发明具有主从配置的半导体组件时钟同步配置方式的方块图。在此,举用四个现场可编程门阵列为范例做说明,然而,可应用的半导体组件及数量,并不限于四个现场可编程门阵列,可为任意数量的其它半导体组件,例如,十个专用集成电路。FIG. 1 is a block diagram of a clock synchronization configuration of semiconductor components with a master-slave configuration according to the present invention. Here, four Field Programmable Gate Arrays are used as an example for illustration. However, the applicable semiconductor components and the quantity are not limited to four Field Programmable Gate Arrays, and can be any number of other semiconductor components, for example, ten an application specific integrated circuit.

如图1所示,每一个FPGA的时钟电路包含二个主要功能性方块图,分别为相位检查器111、121、131、141及时钟产生器112、122、132、142。时钟产生器112、122、132、142内部分别包含一些延迟锁定环或数字时钟管理器,以做为所需的时钟信号源。又,相位检查器会检查上述时钟的上升沿或下降沿是否对准,并在发现时钟未对准(未同步)时,发出重置信号,在此为reset11-reset14,以重置时钟产生器,重新发出时钟输出信号。其中,将包含最低速率时钟信号源的FPGA会被指定为主要组件,在此为11,其余FPGA组件则指定成从属组件,在此为12-14,以利用归零后的主要组件输出参考时钟CLKREF,使各半导体组件的时钟同步。现在举用延迟锁定环,进一步说明于下。As shown in FIG. 1 , the clock circuit of each FPGA includes two main functional block diagrams, which are phase checkers 111 , 121 , 131 , 141 and clock generators 112 , 122 , 132 , 142 . The clock generators 112 , 122 , 132 , and 142 respectively include some delay-locked loops or digital clock managers as required clock signal sources. In addition, the phase checker will check whether the rising or falling edges of the above clocks are aligned, and when the clocks are found to be misaligned (unsynchronized), a reset signal, here reset11-reset14, is issued to reset the clock generator , reissue the clock output signal. Among them, the FPGA that will contain the lowest rate clock signal source will be designated as the primary component, here 11, and the remaining FPGA components will be designated as slave components, here 12-14, to use the zeroed primary component to output the reference clock CLKREF, to synchronize the clocks of the various semiconductor components. Now citing the delay locked loop, it will be further explained below.

图2是本发明图1中的主要组件11的内部方块图。在图2中,本主要组件11的时钟产生器112进一步是由多个DLL组件所构成。如图2所示,在主要组件11内,必须先执行归零动作,也就是,先利用相位检查器111来确定时钟产生器112的输出时钟信号源CLKREF、clkf1-clkfn的上升沿或下降沿是否已经对准,若发现没有对准时,相位检查器111会发出重置信号reset11,使得时钟产生器112重新发出各时钟信号源,以得到相位对准的上升沿或下降沿,完成归零动作。在主要组件11内的各时钟信号源已对准后,相位检查器111会发出一归零时钟信号(aligned clock signal)Phase-OK,并将已对准的最低频率时钟信号源当做各从属组件校准用的参考时钟信号源CLKREF,输出至各从属组件12-14的相位检查器121、131、141,以取得各组件的时钟同步。其余的各频率时钟则提供给其相连接的FPGA内部电路10使用。FIG. 2 is an internal block diagram of the main components 11 in FIG. 1 of the present invention. In FIG. 2 , the clock generator 112 of the main component 11 is further composed of multiple DLL components. As shown in FIG. 2, in the main component 11, the zeroing operation must be performed first, that is, the phase checker 111 is first used to determine the rising edge of the output clock signal source CLKREF of the clock generator 112, clkf 1 -clkf n or Whether the falling edge has been aligned, if it is found that it is not aligned, the phase checker 111 will send a reset signal reset11, so that the clock generator 112 re-sends each clock signal source to obtain the rising or falling edge of the phase alignment, and completes the reset. zero action. After the clock signal sources in the main component 11 have been aligned, the phase checker 111 will send out a reset clock signal (aligned clock signal) Phase-OK, and the aligned lowest frequency clock signal source will be regarded as each slave component The reference clock signal source CLKREF for calibration is output to the phase checkers 121, 131, 141 of the slave components 12-14, so as to obtain the clock synchronization of each component. The remaining frequency clocks are provided to the FPGA internal circuit 10 connected thereto.

类似地,图3为本发明图1中的任一从属组件内部方块图。在图3中,任一从属组件12、13或14的内部皆包含由多个DLL组件所构成的一时钟产生器33及由一外部相位检查器31及一内部相位检查器32所构成的一相位检查器121、131或141。如图3所示,从属组件12、13或14各具有二个检查器31、32:先利用外部相位检查器31,取得本地最低频率时钟信号源clkflowest与来自主要组件11的最低频率时钟信号源CLKREF时钟同步,之后,外部相位检查器31发出一校准信号Phase-In-OK至内部相位检查器32,使得该校准信号Phase-In-OK对准其它本地时钟信号源clkf1-clkfn,产生时钟同步,以正确地提供各DLL所产生的各时钟信号源给相连接的FPGA内部电路使用。另外,若本地最低频率时钟信号源clkflowest与来自主要组件11的最低频率时钟信号源CLKREF时钟未同步时,则外部相位检查器31会发出一重置信号Reset31至具有本地最低频率时钟信号源clkflowest的时钟产生器331,以重新产生时钟信号,又,若校准信号Phase-In-OK与其它本地时钟信号源f1-fn未产生时钟同步时,则内部检查器32会发出一重置信号Reset32至其它本地时钟信号源clkf1-clkfn的时钟产生器332,以重新产生时钟信号。Similarly, FIG. 3 is an internal block diagram of any slave component in FIG. 1 of the present invention. In FIG. 3 , any slave component 12, 13 or 14 includes a clock generator 33 composed of a plurality of DLL components and a clock generator 33 composed of an external phase checker 31 and an internal phase checker 32. Phase checker 121 , 131 or 141 . As shown in Figure 3, each of the slave components 12, 13 or 14 has two checkers 31, 32: first use the external phase checker 31 to obtain the local lowest frequency clock signal source clkf lowest and the lowest frequency clock signal from the master component 11 The source CLKREF clock is synchronized, and then the external phase checker 31 sends a calibration signal Phase-In-OK to the internal phase checker 32, so that the calibration signal Phase-In-OK is aligned with other local clock signal sources clkf 1 -clkf n , Generate clock synchronization to correctly provide each clock signal source generated by each DLL for use by the connected FPGA internal circuit. In addition, if the local lowest frequency clock signal source clkf lowest is not synchronized with the lowest frequency clock signal source CLKREF clock from the main component 11, the external phase checker 31 will send a reset signal Reset31 to the local lowest frequency clock signal source clkf The clock generator 331 of the lowest is to regenerate the clock signal, and if the calibration signal Phase-In-OK does not produce clock synchronization with other local clock signal sources f 1 -f n , the internal checker 32 will send a reset The signal Reset32 is sent to the clock generator 332 of other local clock signal sources clkf 1 -clkf n to regenerate the clock signal.

上述于第2及3图中的DLL组件,其内部方块图进一步显示于图4中。如图4所示,一个DLL组件基本上是由一可变延迟线路41、一时钟分布网络43及一控制逻辑电路42所构成。可变延迟线路41将一外部输入时钟CLK延迟一段时间后输出CLKOUT,时钟分布网络42将时钟CLKOUT转换成所需的各频率时钟信号源Base-fn,传送至所需的相关电路并回馈至控制逻辑电路43。控制逻辑电路43比对的信号CLK及CLKFB的时钟上升沿是否对准,并将比较结果CMP输出至可变延迟线路41,以调整延迟线路至信号CLK及CLKFB的时钟上升沿对准而DLL被锁定为止。如此,可消除输入时钟CLK及负载间的时钟延迟现象,进而取得时钟同步。上述可变延迟线路可使用一压控延迟电路来配置。The internal block diagram of the DLL components shown in Figures 2 and 3 is further shown in Figure 4 . As shown in FIG. 4 , a DLL component is basically composed of a variable delay line 41 , a clock distribution network 43 and a control logic circuit 42 . The variable delay line 41 delays an external input clock CLK for a period of time and outputs CLKOUT, and the clock distribution network 42 converts the clock CLKOUT into the required frequency clock signal source Base-fn, transmits it to the required related circuits and feeds it back to the control logic circuit 43 . The control logic circuit 43 compares whether the clock rising edges of the signals CLK and CLKFB are aligned, and outputs the comparison result CMP to the variable delay line 41, so as to adjust the delay line to align the clock rising edges of the signals CLK and CLKFB and DLL is until locked. In this way, the clock delay phenomenon between the input clock CLK and the load can be eliminated, thereby achieving clock synchronization. The above-mentioned variable delay line can be configured using a voltage-controlled delay circuit.

图5是一本发明相位检查器范例。在图5中,为了方便说明,本相位检查器只包含二个D型触发器51、52及一个FSM(finite state machine,有限状态机)53。实务上,D型触发器的配置数量视所需的时钟信号频率而定,基本上,一种时钟信号频率需要一个D型触发器。如图5所示,当时钟线为逻辑0时,一频率时钟信号fn及一最低频率时钟信号flowest会分别输入并传送至组件51、52的输出端,以输出取样信号CLKSAMPLE1、CLKSAMPLE2至该组件53进行相位检查。其中,在主要组件的相位检查器中,该最低频率时钟信号flowest代表该信号CLKREF,而信号phase-ok代表归零信号Phase-OK;在一从属组件的外部相位检查器中,该最低频率时钟信号flowest代表该信号CLKREF,而信号phase-ok代表校准信号Phase-In-OK;以及在该从属组件的内部检查器中,该最低频率时钟信号flowest代表该从属组件的本地最低频率时钟信号clkflowesr而信号phase-ok代表归零信号Phase-OK。下列将进一步说明内部及外部相位检查器的时序。Fig. 5 is an example of a phase checker of the present invention. In FIG. 5 , for convenience of illustration, the phase checker only includes two D-type flip-flops 51 , 52 and one FSM (finite state machine, finite state machine) 53 . In practice, the number of configurations of D-type flip-flops depends on the required clock signal frequency. Basically, one D-type flip-flop is required for one clock signal frequency. As shown in Figure 5, when the clock line is logic 0, a frequency clock signal fn and a minimum frequency clock signal flowest are respectively input and transmitted to the output terminals of components 51 and 52 to output sampling signals CLKSAMPLE1 and CLKSAMPLE2 to the components 53 to perform a phase check. Wherein, in the phase checker of the main component, the lowest frequency clock signal flowest represents the signal CLKREF, and the signal phase-ok represents the zero return signal Phase-OK; in the external phase checker of a slave component, the lowest frequency clock The signal flowest represents the signal CLKREF, and the signal phase-ok represents the calibration signal Phase-In-OK; and in the internal checker of the slave component, the lowest frequency clock signal flowest represents the local lowest frequency clock signal clkf lowesr of the slave component The signal phase-ok represents the zeroing signal Phase-OK. The timing of the internal and external phase checker is further described below.

图6为一外部相位检查器的时序图。图7为一内部相位检查器的时序图。如图6所示,在每一个本地输入时钟CLK的下降沿中,该相位检查器检查从属组件及主要组件两者的最低频率时钟(划圈圈标记处)CLKREF、clkflowest是否具有相同值,若发现两者的值不同时,输出重置信号Reset,藉此重新输入两者的最低时钟信号源,以重新校准两时钟信号源。当两最低时钟信号源的值皆相同时,则代表主要组件11已归零或相连接的从属组件的相位已被校准。此时,如图7所示,该外部检查器会将已校准的本地最低时钟信号源(aligned clkflowest)当做一校准信号Phase-In-OK,输入至内部相位检查器,以执行图6所述及的各校准步骤,使得提供给现场可编程门阵列内部电路所需的各本地频率时钟信号源被校准,在此为f1-f3,以取得各半导体组件的时钟同步。Figure 6 is a timing diagram of an external phase checker. Fig. 7 is a timing diagram of an internal phase checker. As shown in Figure 6, in each falling edge of the local input clock CLK, the phase checker checks whether the lowest frequency clocks (marked with a circle) CLKREF and clkf lowest of both the slave component and the master component have the same value, If the values of the two are found to be different, a reset signal Reset is output to re-input the lowest clock signal source of the two to recalibrate the two clock signal sources. When the values of the two lowest clock signal sources are the same, it means that the master device 11 has been zeroed or the phase of the connected slave device has been calibrated. At this time, as shown in FIG. 7 , the external checker will take the calibrated local lowest clock signal source (aligned clkf lowest ) as a calibration signal Phase-In-OK, and input it to the internal phase checker to perform the operation described in FIG. 6 . The calibration steps mentioned above make the local frequency clock signal sources provided to the internal circuits of the FPGA calibrated, here f 1 -f 3 , so as to obtain the clock synchronization of the semiconductor components.

图8为一本发明操作流程图。如图8所示,多个半导体组件内部的时钟产生器产生多时钟信号源(S1);当各时钟产生器所产生的多时钟信号源稳定时,指定该多个半导体组件中,具有最低频率时钟信号源的一半导体组件做为一主要组件,其余组件则为从属组件(S2);指定该主要组件的最低频率时钟信号源做为一参考时钟信号源(S3);根据该参考时钟信号源,对主要组件内部的各时钟信号源执行相位对准检查,使得主要组件内部的各时钟信号源与该参考时钟信号源产生时钟同步,以产生一归零信号(S4);根据该归零信号,对从属组件内部的最低时钟信号源执行相位对准检查,使得主要组件的最低时钟信号源与各从属组件的最低时钟信号源产生时钟同步,以分别产生一对准信号(S5);根据各从属组件的该对准信号,分别对其内部的各时钟信号源执行相位对准检查,使得各从属组件内部的各时钟信号源与相对应的各从属组件内部的最低时钟信号源产生时钟同步(S6),因而完成各半导体组件的时钟同步。Fig. 8 is a flowchart of the operation of the present invention. As shown in Figure 8, the clock generators inside a plurality of semiconductor components generate multiple clock signal sources (S1); when the multiple clock signal sources generated by each clock generator are stable, specify the one with the lowest frequency among the multiple semiconductor components A semiconductor component of the clock signal source is used as a main component, and all the other components are slave components (S2); the lowest frequency clock signal source of the main component is designated as a reference clock signal source (S3); according to the reference clock signal source , performing a phase alignment check on each clock signal source inside the main component, so that each clock signal source inside the main component is synchronized with the reference clock signal source to generate a return-to-zero signal (S4); according to the return-to-zero signal , perform a phase alignment check on the lowest clock signal source inside the slave components, so that the lowest clock signal source of the master component and the lowest clock signal source of each slave component generate clock synchronization to generate an alignment signal respectively (S5); The alignment signal of the slave component performs a phase alignment check on each clock signal source inside it respectively, so that each clock signal source inside each slave component is clock-synchronized with the lowest clock signal source inside each corresponding slave component ( S6), thus completing the clock synchronization of the semiconductor components.

在上述步骤S4中,进一步包含图9所示的步骤:经由一外部输入时钟信号源的上升沿或下降沿触发主要组件的相位检查器,取样内部的各时钟信号源进行对准比对(S41);若是所有相位皆对准,则发出所述归零信号Phase-OK,以通知各从属组件(S42);反之,则发出一重置信号reset,以重新产生多时钟信号源并重新执行上述相位对准的步骤(S43)。In the above-mentioned step S4, the step shown in FIG. 9 is further included: the phase checker of the main component is triggered by the rising edge or falling edge of an external input clock signal source, and each internal clock signal source is sampled for alignment comparison (S41 ); if all the phases are aligned, then send the reset signal Phase-OK to notify each slave component (S42); otherwise, send a reset signal reset to regenerate the multi-clock signal source and re-execute the above Step of phase alignment (S43).

在上述步骤S5中,进一步包含图10所示的步骤:从属组件的外部相位检查器检查主要组件的最低频率时钟信号源是否已发出该归零信号(S51);当接收到该归零信号且来自各从属组件内部相对应的各时钟信号源已稳定时,外部相位检查器各自执行相位对准检查(S52);若是所有相位皆对准,则分别发出该校准信号Phase-In-OK,以通知相对应的各从属组件,其主要组件的最低时钟信号源与相对应从属组件的最低时钟信号源相位已对准,产生时钟同步(S53);反之,则分别发出一重置信号reset,以重新产生相对应从属组件的最低时钟信号源多时钟信号源并重新执行上述相位对准的步骤(S54)。In above-mentioned step S5, further comprise the step shown in Figure 10: whether the external phase checker of slave component checks the lowest frequency clock signal source of main component has sent this return-to-zero signal (S51); When receiving this return-to-zero signal and When the corresponding clock signal sources from each slave component are stable, the external phase checkers perform phase alignment checks (S52); if all phases are aligned, the calibration signal Phase-In-OK is sent out respectively to Notify the corresponding slave components that the lowest clock signal source of the main component is aligned with the lowest clock signal source of the corresponding slave component to generate clock synchronization (S53); otherwise, a reset signal reset is sent respectively to Regenerate the lowest clock signal source multi-clock signal source corresponding to the slave component and re-execute the above step of phase alignment (S54).

在上述步骤S6中,进一步包含图11所示的步骤:当各从属组件内的内部相位检查器收到该校准信号且各时钟信号源已稳定(S61)时,内部相位检查器各自执行相位对准检查(S62);若是所有相位皆对准,则分别发出该归零信号Phase-OK,以各自告知相对应的的从属组件内的各时钟信号源相位已对准,产生时钟同步,因而达成各半导体组件的时钟同步(S63);反之,则分别发出一重置信号reset,以重新产生各从属组件内最低时钟信号源外的多时钟信号源并重新执行上述相位对准的步骤(S64)。In the above-mentioned step S6, the steps shown in Fig. 11 are further included: when the internal phase checkers in each slave assembly receive the calibration signal and each clock signal source is stable (S61), the internal phase checkers perform phase alignment respectively. Alignment check (S62); if all phases are all aligned, then send out the reset signal Phase-OK respectively, to notify each clock signal source phase in the corresponding slave component that the phases are aligned, and clock synchronization is generated, thus achieving The clock synchronization of each semiconductor component (S63); otherwise, then send a reset signal reset respectively, to regenerate multiple clock signal sources outside the lowest clock signal source in each slave component and re-execute the above-mentioned step of phase alignment (S64) .

虽然本发明已以一优选实施例公开如上,然其并非用以限定本发明,任何本领域技术人员,在不脱离本发明的精神及范围内,当可做更动与改进,因此本发明的保护范围当视后附的权利要求书所定义的为准。Although the present invention has been disclosed above with a preferred embodiment, it is not intended to limit the present invention. Any person skilled in the art can make changes and improvements without departing from the spirit and scope of the present invention. Therefore, the present invention The scope of protection shall prevail as defined in the appended claims.

Claims (9)

1. a method capable of synchronizing clock signal sources of different semiconductor components comprises the following steps:
(a) a plurality of semiconductor subassembly clock internal generators produce the multi-clock signal source;
(b) when stablize in the multi-clock signal source that each clock generator produced, to specify in these a plurality of semiconductor subassemblies, the semiconductor assembly with low-limit frequency signal source of clock is as a primary clustering, and all the other semiconductor subassemblies then are the subordinate assembly;
(c) specify the low-limit frequency signal source of clock of this primary clustering as a reference clock signal source;
(d) according to this reference clock signal source, each signal source of clock excute phase of primary clustering inside is aimed at inspection, make each signal source of clock of primary clustering inside and this reference clock signal source produce clock synchronization, to export a rz signal;
(e) according to this rz signal, the minimum signal source of clock excute phase of subordinate component internal is aimed at inspection, make the minimum signal source of clock of primary clustering and the minimum signal source of clock of each subordinate assembly produce clock synchronization, to export a calibrating signal respectively; And
(f) according to the calibrating signal of each subordinate assembly, respectively each signal source of clock excute phase of its inside is aimed at and checked, make each signal source of clock and the corresponding minimum signal source of clock of each subordinate component internal of each subordinate component internal produce clock synchronization, thereby finish the clock synchronization of each semiconductor subassembly.
2. method capable of synchronizing clock signal sources of different semiconductor components as claimed in claim 1, wherein, these a plurality of semiconductor subassemblies use FPGA (Field Programmable Gate Array, field programmable gate array) or ASIC (Application Specific Integrated Circuit, application-specific integrated circuit (ASIC)).
3. method capable of synchronizing clock signal sources of different semiconductor components as claimed in claim 1, wherein, this clock generator uses DLL (delay locked loop, delay lock loop) or DCM (digital clockmanager, digital dock manager).
4. method capable of synchronizing clock signal sources of different semiconductor components as claimed in claim 1, wherein, in step (d), further comprise the following steps: (d1) via the rising edge in an outside input clock signal source or the phase detector of trailing edge triggering primary clustering, each inner signal source of clock of sampling carries out phase alignment; (d2) if all phase places are all aimed at, then send described rz signal, to notify each subordinate assembly; (d3) otherwise, if the phase place misalignment is arranged, then send a reset signal, to produce the multi-clock signal source again and to re-execute the phase alignment step of above-mentioned (d1).
5. method capable of synchronizing clock signal sources of different semiconductor components as claimed in claim 1, wherein, in step (e), comprise the following steps: that further the outside phase detector in (e1) each subordinate assembly checks whether the low-limit frequency signal source of clock of primary clustering has sent described rz signal; (e2) when receiving described rz signal and having stablized from corresponding each signal source of clock of each subordinate component internal, outside phase detector excute phase is separately aimed at and is checked; (e3) if all phase places are all aimed at, then send described calibrating signal respectively, to notify corresponding each subordinate assembly, the minimum signal source of clock of its primary clustering is aimed at the minimum signal source of clock phase place of corresponding subordinate assembly, produces clock synchronization; (e4) otherwise, if the phase place misalignment is arranged, then send a reset signal respectively, with minimum signal source of clock multi-clock signal source that produces corresponding subordinate assembly again and the phase alignment step that re-executes above-mentioned (e1).
6. method capable of synchronizing clock signal sources of different semiconductor components as claimed in claim 1, wherein, in step (f), further comprise the following steps: in (f1) each subordinate assembly an inner phase detector inspection whether the described visual examination device of each subordinate assembly sent described calibrating signal; (f2) when receiving flexible calibrating signal and stablize from corresponding each signal source of clock of each subordinate component internal, inner phase detector excute phase is separately aimed at inspection; (f3) if all phase places are all aimed at, then send described rz signal respectively, aim at, produce clock synchronization, thereby reach the clock synchronization of each semiconductor subassembly to inform each the signal source of clock phase place in the corresponding subordinate assembly separately; (f4) otherwise, if the phase place misalignment is arranged, then send a reset signal respectively, to produce the outer multi-clock signal source of minimum signal source of clock in each subordinate assembly again and to re-execute the phase alignment step of above-mentioned (f1).
7. system capable of synchronizing clock signal sources of different semiconductor components comprises:
One first semiconductor subassembly, it has the clock generator that a phase detector and can produce the multi-clock signal source that comprises the low-limit frequency signal source of clock, wherein, described phase detector carries out phase alignment according to this low-limit frequency signal source of clock, make the multi-clock signal source of this first semiconductor subassembly produce clock synchronization, thereby export a rz signal; And
A plurality of second semiconductor subassemblies, has an outside phase detector respectively, one inner phase detector and one can produce the clock generator of a pair of punctual clock signal source in interior multi-clock signal source, wherein, this outside phase detector carries out phase alignment according to this rz signal, make this minimum signal source of clock aim at the Phase synchronization of signal source of clock with this, and export a calibrating signal to this inside phase detector, to carry out phase alignment, the multi-clock signal source in each second semiconductor subassembly that makes produces clock synchronization respectively, thereby reaches the clock synchronization of all semiconductor subassemblies.
8. system capable of synchronizing clock signal sources of different semiconductor components as claimed in claim 7, wherein, described semiconductor subassembly is a field programmable gate array or an application-specific integrated circuit (ASIC).
9. method capable of synchronizing clock signal sources of different semiconductor components as claimed in claim 1, wherein, described clock generator is a delay lock loop or a digital dock manager.
CN 03106304 2003-02-21 2003-02-21 Method and system capable of synchronizing clock signal sources of semiconductor components Expired - Fee Related CN1235341C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03106304 CN1235341C (en) 2003-02-21 2003-02-21 Method and system capable of synchronizing clock signal sources of semiconductor components

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03106304 CN1235341C (en) 2003-02-21 2003-02-21 Method and system capable of synchronizing clock signal sources of semiconductor components

Publications (2)

Publication Number Publication Date
CN1523763A true CN1523763A (en) 2004-08-25
CN1235341C CN1235341C (en) 2006-01-04

Family

ID=34282728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03106304 Expired - Fee Related CN1235341C (en) 2003-02-21 2003-02-21 Method and system capable of synchronizing clock signal sources of semiconductor components

Country Status (1)

Country Link
CN (1) CN1235341C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488247A (en) * 2013-09-17 2014-01-01 沈阳东软医疗系统有限公司 Clock calibration method, device and system
CN105187033A (en) * 2015-09-07 2015-12-23 沈阳东软医疗系统有限公司 Clock calibration method and device
CN111614428A (en) * 2020-06-02 2020-09-01 中电科航空电子有限公司 Method and device for improving synchronization precision among multiple clocks
CN112994817A (en) * 2019-12-02 2021-06-18 普源精电科技股份有限公司 System, method and calibration method for realizing synchronization of multiple signal sources based on synchronizer

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488247A (en) * 2013-09-17 2014-01-01 沈阳东软医疗系统有限公司 Clock calibration method, device and system
CN105187033A (en) * 2015-09-07 2015-12-23 沈阳东软医疗系统有限公司 Clock calibration method and device
CN105187033B (en) * 2015-09-07 2018-02-27 沈阳东软医疗系统有限公司 A kind of clock correcting method and device
CN112994817A (en) * 2019-12-02 2021-06-18 普源精电科技股份有限公司 System, method and calibration method for realizing synchronization of multiple signal sources based on synchronizer
CN112994817B (en) * 2019-12-02 2022-07-26 普源精电科技股份有限公司 System, method and calibration method for realizing synchronization of multiple signal sources based on synchronizer
CN111614428A (en) * 2020-06-02 2020-09-01 中电科航空电子有限公司 Method and device for improving synchronization precision among multiple clocks

Also Published As

Publication number Publication date
CN1235341C (en) 2006-01-04

Similar Documents

Publication Publication Date Title
US7295049B1 (en) Method and circuit for rapid alignment of signals
CN101150316B (en) A multi-channel clock synchronization method and system
CN106059574B (en) Circuit for digitizing phase difference, PLL circuit and method therefor
KR100701704B1 (en) Duty cycle correction circuit
US20080111720A1 (en) Cycle time to digital converter
US20080001642A1 (en) Delay-locked loop apparatus adjusting internal clock signal in synchronization with external clock signal
CN210168032U (en) System for aligning sampling instances of a high data rate clock and data recovery deserializer
US10523224B2 (en) Techniques for signal skew compensation
CN101494457A (en) Delay locked loop circuit and method for eliminating jitter and offset between signals
US7210052B2 (en) Method and system for synchronizing all clock sources of semiconductor devices
US6847241B1 (en) Delay lock loop using shift register with token bit to select adjacent clock signals
JPWO2007116695A1 (en) Data signal generator
CN101453210A (en) Delay locked loop circuit and method for eliminating jitter and offset between signals
CN1741384A (en) Clock generating circuit
JP2019213197A (en) Multi-chip timing alignment to common reference signal
CN103780258A (en) Digital double-line delay phase lock loop
CN1523763A (en) Method and system capable of synchronizing clock signal sources of semiconductor components
EP1640736B1 (en) Testing device
US9455823B2 (en) Four-phase clock generator with timing sequence self-detection
US20050210341A1 (en) Test device
US6667638B1 (en) Apparatus and method for a frequency divider with an asynchronous slip
US20050258882A1 (en) Interpolator circuit
CN1543074A (en) Phase locked loop system capable of deskewing
CN102740011B (en) A fine-tuning method for high precision CCD video signal sampling timing
CN117318709A (en) Dynamic phase adjustment for high-speed clock signals

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20060104