WO2019033682A1 - Clock signal analysis method - Google Patents

Clock signal analysis method Download PDF

Info

Publication number
WO2019033682A1
WO2019033682A1 PCT/CN2017/119624 CN2017119624W WO2019033682A1 WO 2019033682 A1 WO2019033682 A1 WO 2019033682A1 CN 2017119624 W CN2017119624 W CN 2017119624W WO 2019033682 A1 WO2019033682 A1 WO 2019033682A1
Authority
WO
WIPO (PCT)
Prior art keywords
clock signal
clock
signal
rule
maximum
Prior art date
Application number
PCT/CN2017/119624
Other languages
French (fr)
Chinese (zh)
Inventor
刘法志
Original Assignee
郑州云海信息技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 郑州云海信息技术有限公司 filed Critical 郑州云海信息技术有限公司
Publication of WO2019033682A1 publication Critical patent/WO2019033682A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4027Coupling between buses using bus bridges
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • G06F13/4291Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a clocked protocol
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/32Circuit design at the digital level
    • G06F30/33Design verification, e.g. functional simulation or model checking
    • G06F30/3308Design verification, e.g. functional simulation or model checking using simulation
    • G06F30/3312Timing analysis

Definitions

  • the embodiments of the present application relate to the technical field of circuit board design, and in particular, to a method for analyzing a clock signal.
  • the clock signal is an integral part of every board and is used to control the timing of the entire system.
  • the clock signal is usually generated by a crystal oscillator, which is a crystal that converts electrical energy and mechanical energy into a resonant state to provide stable, accurate single-frequency oscillation.
  • the environmental factors that affect the operation of the clock signal are electromagnetic interference (EMI), mechanical shock and shock, humidity and temperature. These factors increase the output frequency, increase instability, and in some cases, It will also cause the crystal to stop vibrating.
  • EMI electromagnetic interference
  • mechanical shock and shock humidity and temperature.
  • the clock signal performance is affected by environmental conditions and circuit component selection, in order to ensure the stability of the clock signal, the component selection and circuit board layout of the clock circuit must be taken seriously.
  • the analysis and research of the clock signal basically starts to measure the clock signal after the printed circuit board is completed. If a problem is found, the board needs to be scrapped and redesigned. This retirement process may be Repeated several times, resulting in resource loss and increased design costs.
  • an embodiment of a method for analyzing a clock signal analyzes a clock signal from a design stage of a circuit board to ensure that a design scheme that is as complete as possible is obtained during the design phase, thereby avoiding resource loss and reducing Design cost.
  • An embodiment of the present invention provides a method for analyzing a clock signal, where the method includes:
  • step S4 Bring the data obtained in step S3 into the formula of the setup time and the hold time, and judge whether the clock signal of the system has a problem according to the calculation result.
  • step S1 is:
  • step S13 Among all the wirings obtained in step S12, two wirings having the longest length and the shortest length are selected as the link structure in which the clock signal is located.
  • step S2 is:
  • step S3 is:
  • step S31 is:
  • step S32 is:
  • the minimum flight time and maximum flight time of the target electronic component clock signal are measured multiple times, and then enter the measurement module to extract the minimum number of minimum flight times as the minimum flight time of the target electronic component clock signal.
  • the maximum number of maximum flight times is extracted as the maximum flight time of the target electronic component clock signal.
  • step S4 is:
  • the entire link structure of the clock system is extracted, and the longest and shortest paths are intercepted as analysis objects, and the simulation software is used to simulate the actual running state, and the maximum and minimum clock signals of the clock signal source and the target electronic component are obtained.
  • the flight time data is then verified by the obtained data whether the value of the whole clock system setup time and hold time is positive, which enables accurate analysis of the clock system wiring design, ensuring the best possible design in the design phase, avoiding resource loss. , reduce design costs.
  • FIG. 1 is a flow chart of a method according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of circuit board wiring in an embodiment of the present invention.
  • an embodiment of a method for analyzing a clock signal includes:
  • step S13 Among all the wirings obtained in step S12, two wirings having the longest length and the shortest length are selected as the link structure in which the clock signal is located.
  • a common PCIe bus is provided.
  • the PCIe bus is composed of a south bridge chip U49 with three PCI slots, a PCI chip U9, and a clock driver U39.
  • the system clock is clocked by the clock driver U39 to generate a 33 MHz clock that provides synchronized clock signals for each device on the PCI bus.
  • CLK_33M_SB, CLK_33M_VGA, PCI_LO0_AD14, and PCI_LO0_AD25 represent wirings for connecting electronic components, respectively.
  • U39 is the clock signal source
  • U9 and U49 are the target electronic components
  • CLK_33M_SB, CLK_33M_VGA, PCI_LO0_AD14, PCI_LO0_AD25 four wirings represent the wiring of the entire clock system.
  • the topology can be extracted by the signal manipulation function in the SigXplorer simulation software.
  • step S2 the clock signal source is set as the signal transmitting end, and the target electronic component is set as the signal receiving end. Then set the cutoff frequency and measurement period of the entire signal transmission. For example, the Default Cutoff Frequency is set to 10 GHz and the Measurement Cycle is 5-8 (s). Third, a standard pulse waveform is applied to the signal transmitting end, and a simulated waveform of the clock signal is obtained at the signal input end and the signal output end.
  • S32 Obtain the maximum and minimum flight time of the target electronic component clock signal, and the specific implementation process is: using the signal simulation software to perform multiple measurements on the minimum flight time and the maximum flight time of the target electronic component clock signal, and then enter the measurement module.
  • the SigXplorer simulation software it is the measurement window, extracting the minimum value in the minimum flight time as the minimum flight time of the target electronic component clock signal, and extracting the maximum value in the maximum flight time as the maximum flight time of the target electronic component clock signal.
  • step S4 Bring the data obtained in step S3 into the formula of the setup time and the hold time, and judge whether the clock signal of the system has a problem according to the calculation result.
  • the specific implementation process is:
  • the minimum time-of-flight Switch Delay of the south bridge chip clock signal obtained by the CLK_33M_VGA measurement window is 1.77586 ns and the maximum flight time Settle Delay is 2.13682 ns.
  • the minimum Switch Delay and the maximum Settle Delay flight time of the clock signal of the PCI chip U9 can be obtained from the measurement window to be 1.46884 ns and 1.85385 ns, respectively.
  • the maximum clock difference is:
  • T flt_clkB is the maximum flight time of the south bridge chip clock signal
  • T flt_clkA is the minimum flight time of the clock signal of the PCI chip.
  • T flt_clkB is the minimum flight time of the south bridge chip clock signal
  • T flt_clkA is the maximum flight time of the clock signal of the PCI chip.
  • the setup time of the entire clock system is:
  • T cycle is a clock cycle.
  • T fitter is the clock jitter
  • T CO_drive_max is the maximum value of the south bridge chip timing parameter
  • T setup is the PCI chip setup time timing parameter.
  • the hold time of the entire clock system is:
  • T CO_drive_min South Bridge chip timing parameter minimum For the clock chip parameters, T hold is the PCI chip hold time timing parameter.

Abstract

Disclosed is a clock signal analysis method. The method comprises: S1, acquiring link structures where a clock signal is located; S2, extracting topological structures of all the link structures; S3, calculating, based on the obtained topological structures, the longest and shortest flight time of the clock signal; and S4, substituting the data obtained in step S3 into a formula about a setup time and a holding time, and determining, according to a calculation result, whether a problem exists in the clock signal of a system. According to the method, the clock signal is analysed from a design stage of a circuit board in order to ensure that a design scheme that is as sound as possible is obtained at the design stage, thereby preventing resource losses and reducing design costs.

Description

[根据细则26改正09.02.2018] 一种分析时钟信号的方法[Correct according to Rule 26 09.02.2018] A method of analyzing clock signals
本申请要求于2017年08月15日提交中国专利局、申请号为201710695574.9、发明名称为“一种分析Clock信号的方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 200910695574.9, entitled "A Method for Analyzing Clock Signals", filed on August 15, 2017, the entire contents of which is incorporated herein by reference. .
技术领域Technical field
[根据细则26改正09.02.2018] 
本申请实施例涉及电路板设计技术领域,具体的说是一种分析时钟信号的方法。
[Correct according to Rule 26 09.02.2018]
The embodiments of the present application relate to the technical field of circuit board design, and in particular, to a method for analyzing a clock signal.
背景技术Background technique
在电路板中,时钟(Clock)信号是每一块电路板中必不可少的组成部分,用来控制整个系统的时序。时钟信号通常由晶振产生,晶振是一种能把电能和机械能相互转化的晶体在共振的状态下工作,以提供稳定,精确的单频振荡。In the board, the clock signal is an integral part of every board and is used to control the timing of the entire system. The clock signal is usually generated by a crystal oscillator, which is a crystal that converts electrical energy and mechanical energy into a resonant state to provide stable, accurate single-frequency oscillation.
在实际应用中,影响时钟信号工作的环境因素有电磁干扰(EMI)、机械震动与冲击、湿度和温度等,这些因素会增大输出频率的变化,增加不稳定性,并且在有些情况下,还会造成晶振停振。In practical applications, the environmental factors that affect the operation of the clock signal are electromagnetic interference (EMI), mechanical shock and shock, humidity and temperature. These factors increase the output frequency, increase instability, and in some cases, It will also cause the crystal to stop vibrating.
由于时钟信号性能受环境条件和电路元件选择的影响,因此,为了保证时钟信号的稳定,需认真对待时钟电路的元件选择和线路板布局。目前,对于时钟信号的分析和研究,基本上都是在印刷电路板制作完成后再开始对时钟信号进行测量,如果发现了问题,就需要将该电路板报废重新设计,这种报废过程可能会重复好几次,造成资源损耗,增加了设计成本。Since the clock signal performance is affected by environmental conditions and circuit component selection, in order to ensure the stability of the clock signal, the component selection and circuit board layout of the clock circuit must be taken seriously. At present, the analysis and research of the clock signal basically starts to measure the clock signal after the printed circuit board is completed. If a problem is found, the board needs to be scrapped and redesigned. This retirement process may be Repeated several times, resulting in resource loss and increased design costs.
发明内容Summary of the invention
[根据细则26改正09.02.2018] 
为了解决上述问题,提供了一种分析时钟信号的方法实施例,本方法实施例从电路板的设计阶段对时钟信号进行分析,确保在设计阶段获得尽可能完善的设计方案,避免资源损耗,降低设计成本。
[Correct according to Rule 26 09.02.2018]
In order to solve the above problems, an embodiment of a method for analyzing a clock signal is provided. The method embodiment analyzes a clock signal from a design stage of a circuit board to ensure that a design scheme that is as complete as possible is obtained during the design phase, thereby avoiding resource loss and reducing Design cost.
[根据细则26改正09.02.2018] 
本发明实施例提供了一种分析时钟信号的方法,所述的方法包括:
[Correct according to Rule 26 09.02.2018]
An embodiment of the present invention provides a method for analyzing a clock signal, where the method includes:
[根据细则26改正09.02.2018] 
S1:获取时钟信号所在的链路结构;
[Correct according to Rule 26 09.02.2018]
S1: acquiring a link structure where the clock signal is located;
S2:提取所有链路结构的拓扑结构;S2: extracting the topology of all link structures;
[根据细则26改正09.02.2018] 
S3:基于获得的拓扑结构,计算时钟信号的最大和最小飞行时间;
[Correct according to Rule 26 09.02.2018]
S3: calculating a maximum and minimum flight time of the clock signal based on the obtained topology;
[根据细则26改正09.02.2018] 
S4:将步骤S3所得数据带入建立时间和保持时间的公式中,根据计算结果判断系统的时钟信号是否有问题。
[Correct according to Rule 26 09.02.2018]
S4: Bring the data obtained in step S3 into the formula of the setup time and the hold time, and judge whether the clock signal of the system has a problem according to the calculation result.
进一步的,所述步骤S1的具体实现过程为:Further, the specific implementation process of the step S1 is:
S11:在整个时钟系统中,确定时钟信号源和目标电子元器件;S11: determining a clock signal source and a target electronic component in the entire clock system;
[根据细则26改正09.02.2018] 
S12:提取时钟信号源和目标电子元器件之间所有的时钟信号布线;
[Correct according to Rule 26 09.02.2018]
S12: extracting all clock signal wirings between the clock signal source and the target electronic component;
[根据细则26改正09.02.2018] 
S13:从步骤S12中获取的所有布线中,选取长度最长和长度最短的两条布线作为时钟信号所在的链路结构。
[Correct according to Rule 26 09.02.2018]
S13: Among all the wirings obtained in step S12, two wirings having the longest length and the shortest length are selected as the link structure in which the clock signal is located.
进一步的,所述步骤S2中具体实现过程为:Further, the specific implementation process in the step S2 is:
S21:将步骤S1中获取的链路结构导入信号仿真软件中;S21: Import the link structure acquired in step S1 into the signal simulation software;
S22:利用信号仿真软件,从导入的链路结构中提取相应的拓扑结构。S22: Extract the corresponding topology from the imported link structure by using signal simulation software.
进一步的,所述步骤S3的具体实现过程为:Further, the specific implementation process of the step S3 is:
S31:获取时钟信号源时钟信号的最大和最小飞行时间;S31: Obtain a maximum and minimum flight time of the clock source clock signal;
S32:获取目标电子元器件时钟信号的最大和最小飞行时间。S32: Obtain the maximum and minimum flight time of the target electronic component clock signal.
进一步的,步骤S31的具体实现过程为:Further, the specific implementation process of step S31 is:
[根据细则26改正09.02.2018] 
在信号仿真软件中,首先将时钟信号源设置为信号发送端,将目标电子元 器件设置为信号接收端,然后设置整个信号传输的截止频率和测量周期,第三,在信号发送端施加一个标准脉冲波形,在信号输入端和信号输出端获得时钟信号的仿真波形,最后,提取仿真波形波峰值2/3的数值处对应的横坐标作为时钟信号源时钟信号的最大飞行时间,提取仿真波形波谷值2/3的数值处对应的横坐标作为时钟信号源时钟信号的最小飞行时间。
[Correct according to Rule 26 09.02.2018]
In the signal simulation software, first set the clock signal source as the signal transmitting end, set the target electronic component as the signal receiving end, then set the cutoff frequency and measurement period of the whole signal transmission, and thirdly, apply a standard to the signal transmitting end. Pulse waveform, obtain the simulation waveform of the clock signal at the signal input end and the signal output end. Finally, extract the corresponding abscissa at the value of the peak value of the simulated waveform wave 2/3 as the maximum flight time of the clock signal source clock signal, and extract the simulation waveform trough The corresponding abscissa at the value of 2/3 is used as the minimum time of flight of the clock source clock signal.
进一步的,所述步骤S32的具体实现过程为:Further, the specific implementation process of the step S32 is:
利用信号仿真软件,对目标电子元器件时钟信号的最小飞行时间和最大飞行时间进行多次测量,然后进入测量模块,提取最小飞行时间中的最小数作为目标电子元器件时钟信号的最小飞行时间,提取最大飞行时间中的最大数作为目标电子元器件时钟信号的最大飞行时间。Using signal simulation software, the minimum flight time and maximum flight time of the target electronic component clock signal are measured multiple times, and then enter the measurement module to extract the minimum number of minimum flight times as the minimum flight time of the target electronic component clock signal. The maximum number of maximum flight times is extracted as the maximum flight time of the target electronic component clock signal.
进一步的,步骤S4的具体实现过程为:Further, the specific implementation process of step S4 is:
[根据细则26改正09.02.2018] 
计算整个时钟系统的建立时间,判断计算结果是否为正值,若是,进入下一步,若否,说明时钟信号存在问题;
[Correct according to Rule 26 09.02.2018]
Calculate the setup time of the entire clock system, and determine whether the calculation result is positive. If yes, go to the next step. If no, it indicates that there is a problem with the clock signal;
[根据细则26改正09.02.2018] 
计算整个时钟系统的保持时间,判断计算结果是否为正值,若是,说明时钟信号满足要求,若否,说明时钟信号存在问题。
[Correct according to Rule 26 09.02.2018]
Calculate the hold time of the entire clock system to determine whether the calculation result is positive. If yes, the clock signal meets the requirements. If not, the clock signal has a problem.
发明内容中提供的效果仅仅是实施例的效果,而不是发明所有的全部效果,上述技术方案中的一个技术方案具有如下优点或有益效果:The effects provided in the Summary of the Invention are merely the effects of the embodiments, and not all of the effects of the invention. One of the above technical solutions has the following advantages or benefits:
本发明实施例通过提取时钟系统的整个链路结构,并截取最长和最短路径作为分析对象,利用仿真软件模拟实际运行的状态,得到时钟信号源和目标电子元器件各自时钟信号的最大和最小飞行时间数据,然后通过获得的数据验证整个时钟系统建立时间和保持时间的数值是否为正,实现了对时钟系统布线设计的准确分析,确保在设计阶段获得尽可能完善的设计方案,避免资源损耗, 降低设计成本。In the embodiment of the present invention, the entire link structure of the clock system is extracted, and the longest and shortest paths are intercepted as analysis objects, and the simulation software is used to simulate the actual running state, and the maximum and minimum clock signals of the clock signal source and the target electronic component are obtained. The flight time data is then verified by the obtained data whether the value of the whole clock system setup time and hold time is positive, which enables accurate analysis of the clock system wiring design, ensuring the best possible design in the design phase, avoiding resource loss. , reduce design costs.
附图说明DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对本申请实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些示意性的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments of the present application or the description of the prior art will be briefly described below. Obviously, the drawings in the following description These are merely some of the illustrative embodiments of the present application, and other drawings may be obtained from those of ordinary skill in the art without departing from the scope of the invention.
图1是本发明实施例的方法流程图;1 is a flow chart of a method according to an embodiment of the present invention;
图2是本发明实施例中电路板布线的示意图。2 is a schematic diagram of circuit board wiring in an embodiment of the present invention.
具体实施方式Detailed ways
为能清楚说明本方案的技术特点,下面通过具体实施方式,并结合其附图,对本发明进行详细阐述。下文的公开提供了许多不同的实施例或例子用来实现本发明的不同结构。为了简化本发明的公开,下文中对特定例子的部件和设置进行描述。此外,本发明可以在不同例子中重复参考数字和/或字母。这种重复是为了简化和清楚的目的,其本身不指示所讨论各种实施例和/或设置之间的关系。应当注意,在附图中所图示的部件不一定按比例绘制。本发明省略了对公知组件和处理技术及工艺的描述以避免不必要地限制本发明。In order to clearly illustrate the technical features of the present solution, the present invention will be described in detail below through the specific embodiments and the accompanying drawings. The following disclosure provides many different embodiments or examples for implementing different structures of the present invention. In order to simplify the disclosure of the present invention, the components and arrangements of the specific examples are described below. Furthermore, the present invention may repeat reference numerals and/or letters in different examples. This repetition is for the purpose of simplicity and clarity, and is not in the nature of the description of the various embodiments and/or arrangements discussed. It is noted that the components illustrated in the drawings are not necessarily drawn to scale. The description of the known components and processing techniques and processes is omitted to avoid unnecessarily limiting the present invention.
实施例Example
[根据细则26改正09.02.2018] 
如图1所示,提供了分析时钟信号的方法的一种方法实施例,所述的方法实施例包括:
[Correct according to Rule 26 09.02.2018]
As shown in FIG. 1, an embodiment of a method for analyzing a clock signal is provided. The method embodiment includes:
[根据细则26改正09.02.2018] 
S1:获取时钟信号所在的链路结构,具体步骤为:
[Correct according to Rule 26 09.02.2018]
S1: Obtain the link structure where the clock signal is located. The specific steps are as follows:
S11:在整个时钟系统中,确定时钟信号源和目标电子元器件;S11: determining a clock signal source and a target electronic component in the entire clock system;
[根据细则26改正09.02.2018] 
S12:提取时钟信号源和目标电子元器件之间所有的时钟信号布线;
[Correct according to Rule 26 09.02.2018]
S12: extracting all clock signal wirings between the clock signal source and the target electronic component;
[根据细则26改正09.02.2018] 
S13:从步骤S12中获取的所有布线中,选取长度最长和长度最短的两条布线作为时钟信号所在的链路结构。
[Correct according to Rule 26 09.02.2018]
S13: Among all the wirings obtained in step S12, two wirings having the longest length and the shortest length are selected as the link structure in which the clock signal is located.
如图2所示提供了一组常见的PCIe总线,该PCIe总线由南桥芯片U49带三个PCI槽、一个PCI芯片U9以及一个时钟驱动器U39构成。系统时钟由时钟驱动器U39产生33MHz时钟,为PCI总线上的各器件提供同步时钟信号。CLK_33M_SB、CLK_33M_VGA、PCI_LO0_AD14、PCI_LO0_AD25分别代表连接电子元器件的布线。其中,U39为时钟信号源,U9和U49均为目标电子元器件,CLK_33M_SB、CLK_33M_VGA、PCI_LO0_AD14、PCI_LO0_AD25四条布线代表整个时钟系统的布线。As shown in FIG. 2, a common PCIe bus is provided. The PCIe bus is composed of a south bridge chip U49 with three PCI slots, a PCI chip U9, and a clock driver U39. The system clock is clocked by the clock driver U39 to generate a 33 MHz clock that provides synchronized clock signals for each device on the PCI bus. CLK_33M_SB, CLK_33M_VGA, PCI_LO0_AD14, and PCI_LO0_AD25 represent wirings for connecting electronic components, respectively. Among them, U39 is the clock signal source, U9 and U49 are the target electronic components, CLK_33M_SB, CLK_33M_VGA, PCI_LO0_AD14, PCI_LO0_AD25 four wirings represent the wiring of the entire clock system.
S2:提取所有链路结构的拓扑结构,具体步骤为:S2: Extract the topology of all link structures. The specific steps are as follows:
S21:将步骤S1中获取的链路结构导入信号仿真软件中;S21: Import the link structure acquired in step S1 into the signal simulation software;
S22:通过信号仿真软件,从导入的链路结构中提取相应的拓扑结构。S22: Extract the corresponding topology structure from the imported link structure by using signal simulation software.
在实际操作中,可以通过SigXplorer仿真软件中的信号操作功能来提取拓扑结构。In practice, the topology can be extracted by the signal manipulation function in the SigXplorer simulation software.
[根据细则26改正09.02.2018] 
S3:基于获得的拓扑结构,计算时钟信号的最大和最小飞行时间,具体实现过程为:
[Correct according to Rule 26 09.02.2018]
S3: Calculate the maximum and minimum flight time of the clock signal based on the obtained topology, and the specific implementation process is:
S31:获取时钟信号源时钟信号的最大和最小飞行时间,具体实现过程为:S31: Obtain the maximum and minimum flight time of the clock source clock signal, and the specific implementation process is:
[根据细则26改正09.02.2018] 
在信号仿真软件中,基于步骤S2中获得的链路拓扑结构,首先,将时钟信号源设置为信号发送端,将目标电子元器件设置为信号接收端。然后设置整个信号传输的截止频率和测量周期,例如,Default Cutoff Frequency(默认截止频率)设定为10GHz,Measurement Cycle(测量周期)为5-8(s)。第三,在信号发 送端施加一个标准脉冲波形,在信号输入端和信号输出端获得时钟信号的仿真波形。最后,提取仿真波形波峰值2/3的数值处对应的横坐标作为时钟信号源时钟信号的最大飞行时间,提取仿真波形波谷值2/3的数值处对应的横坐标作为时钟信号源时钟信号的最小飞行时间。
[Correct according to Rule 26 09.02.2018]
In the signal simulation software, based on the link topology obtained in step S2, first, the clock signal source is set as the signal transmitting end, and the target electronic component is set as the signal receiving end. Then set the cutoff frequency and measurement period of the entire signal transmission. For example, the Default Cutoff Frequency is set to 10 GHz and the Measurement Cycle is 5-8 (s). Third, a standard pulse waveform is applied to the signal transmitting end, and a simulated waveform of the clock signal is obtained at the signal input end and the signal output end. Finally, extract the corresponding abscissa at the value of the peak value of the simulated waveform wave 2/3 as the maximum flight time of the clock signal source clock signal, and extract the corresponding abscissa at the value of the simulated waveform trough value 2/3 as the clock source clock signal. Minimum flight time.
S32:获取目标电子元器件时钟信号的最大和最小飞行时间,具体实现过程为:利用信号仿真软件,对目标电子元器件时钟信号的最小飞行时间和最大飞行时间进行多次测量,然后进入测量模块,对于SigXplorer仿真软件而言就是测量窗口,提取最小飞行时间中的最小数值作为目标电子元器件时钟信号的最小飞行时间,提取最大飞行时间中的最大数值作为目标电子元器件时钟信号的最大飞行时间。S32: Obtain the maximum and minimum flight time of the target electronic component clock signal, and the specific implementation process is: using the signal simulation software to perform multiple measurements on the minimum flight time and the maximum flight time of the target electronic component clock signal, and then enter the measurement module. For the SigXplorer simulation software, it is the measurement window, extracting the minimum value in the minimum flight time as the minimum flight time of the target electronic component clock signal, and extracting the maximum value in the maximum flight time as the maximum flight time of the target electronic component clock signal. .
[根据细则26改正09.02.2018] 
S4:将步骤S3所得数据带入建立时间和保持时间的公式中,根据计算结果判断系统的时钟信号是否有问题。具体实现过程为:
[Correct according to Rule 26 09.02.2018]
S4: Bring the data obtained in step S3 into the formula of the setup time and the hold time, and judge whether the clock signal of the system has a problem according to the calculation result. The specific implementation process is:
[根据细则26改正09.02.2018] 
计算整个时钟系统的建立时间,判断计算结果是否为正值,若是,进入下一步,若否,说明时钟信号存在问题;
[Correct according to Rule 26 09.02.2018]
Calculate the setup time of the entire clock system, and determine whether the calculation result is positive. If yes, go to the next step. If no, it indicates that there is a problem with the clock signal;
[根据细则26改正09.02.2018] 
计算整个时钟系统的保持时间,判断计算结果是否为正值,若是,说明时钟信号满足要求,若否,说明时钟信号存在问题。
[Correct according to Rule 26 09.02.2018]
Calculate the hold time of the entire clock system to determine whether the calculation result is positive. If yes, the clock signal meets the requirements. If not, the clock signal has a problem.
以图2所示的时钟系统为例:Take the clock system shown in Figure 2 as an example:
假设通过步骤S31获得一个仿真波形,得到时钟信号源时钟信号最大飞行时间T flt_data_max=1.98217ns,得到时钟信号源时钟信号最小飞行时间T flt_data_min=1.63186ns。另外,由CLK_33M_VGA测量窗口中可以得到南桥芯片时钟信号的最小飞行时间Switch Delay为1.77586ns和最大飞行时间Settle Delay为2.13682ns。同样,由测量窗口可以得到PCI芯片U9的时钟信号的最 小Switch Delay和最大Settle Delay飞行时间分别为1.46884ns和1.85385ns。 It is assumed that a simulation waveform is obtained through step S31, and the maximum flight time T flt_data_max = 1.98217 ns of the clock source clock signal is obtained, and the minimum flight time T flt_data_min = 1.63186 ns of the clock source clock signal is obtained. In addition, the minimum time-of-flight Switch Delay of the south bridge chip clock signal obtained by the CLK_33M_VGA measurement window is 1.77586 ns and the maximum flight time Settle Delay is 2.13682 ns. Similarly, the minimum Switch Delay and the maximum Settle Delay flight time of the clock signal of the PCI chip U9 can be obtained from the measurement window to be 1.46884 ns and 1.85385 ns, respectively.
计算过程如下:The calculation process is as follows:
最大的时钟差为:The maximum clock difference is:
T PCB_skew_max=T flt_clkB-T flt_clkA=2.13682-1.46884=0.66798ns; T PCB_skew_max =T flt_clkB -T flt_clkA =2.13682-1.46884=0.66798ns;
其中,T flt_clkB为南桥芯片时钟信号的最大飞行时间,T flt_clkA为PCI芯片的时钟信号的最小飞行时间。 Where T flt_clkB is the maximum flight time of the south bridge chip clock signal, and T flt_clkA is the minimum flight time of the clock signal of the PCI chip.
最小的时钟差为:The smallest clock difference is:
T PCB_skew_min=T flt_clkB-T flt_clkA=1.77586-1.85385=-0.07799ns; T PCB_skew_min =T flt_clkB -T flt_clkA =1.77586-1.85385=-0.07799ns;
其中,T flt_clkB为南桥芯片时钟信号的最小飞行时间,T flt_clkA为PCI芯片的时钟信号的最大飞行时间。 Where T flt_clkB is the minimum flight time of the south bridge chip clock signal, and T flt_clkA is the maximum flight time of the clock signal of the PCI chip.
整个时钟系统的建立时间为:The setup time of the entire clock system is:
Figure PCTCN2017119624-appb-000001
Figure PCTCN2017119624-appb-000001
其中,T cycle为时钟周期,
Figure PCTCN2017119624-appb-000002
为时钟芯片参数,T fitter为时钟抖动,T CO_drive_max为南桥芯片时序参数最大值,T setup为PCI芯片建立时间时序参数。
Wherein, T cycle is a clock cycle.
Figure PCTCN2017119624-appb-000002
For the clock chip parameters, T fitter is the clock jitter, T CO_drive_max is the maximum value of the south bridge chip timing parameter, and T setup is the PCI chip setup time timing parameter.
整个时钟系统的保持时间为:The hold time of the entire clock system is:
Figure PCTCN2017119624-appb-000003
Figure PCTCN2017119624-appb-000003
其中,T CO_drive_min南桥芯片时序参数最小值,
Figure PCTCN2017119624-appb-000004
为时钟芯片参数,T hold为PCI芯片保持时间时序参数。
Among them, T CO_drive_min South Bridge chip timing parameter minimum,
Figure PCTCN2017119624-appb-000004
For the clock chip parameters, T hold is the PCI chip hold time timing parameter.
从仿真结果以及理论运算后,本文设计的PCI总线的建立、保持时序裕量均为正,满足要求。After the simulation results and theoretical calculations, the establishment and maintenance timing margin of the PCI bus designed in this paper are all positive and meet the requirements.
需要注意的是,上述计算过程仅仅针对图2所示的时钟系统,时钟系统建立时间和保持时间的计算公式为现有技术,技术人员根据需要分析的时钟系统灵活应用。It should be noted that the above calculation process is only for the clock system shown in FIG. 2, and the calculation formula of the clock system setup time and the hold time is the prior art, and the technician can flexibly apply the clock system according to the analysis.
尽管说明书及附图和实施例对本发明创造已进行了详细的说明,但是,本领域技术人员应当理解,仍然可以对本发明创造进行修改或者等同替换;而一切不脱离本发明创造的精神和范围的技术方案及其改进,其均涵盖在本发明创造专利的保护范围当中。While the invention has been described in detail with reference to the embodiments of the embodiments of the present invention, it is understood that the invention may be modified or equivalently substituted without departing from the spirit and scope of the invention. The technical solutions and their improvements are all covered by the scope of protection of the patents of the present invention.

Claims (7)

  1. [根据细则26改正09.02.2018]
    一种分析时钟信号的方法,其特征是:所述的方法包括:
    S1:获取时钟信号所在的链路结构;
    S2:提取所有链路结构的拓扑结构;
    S3:基于获得的拓扑结构,计算时钟信号的最大和最小飞行时间;
    S4:将步骤S3所得数据带入建立时间和保持时间的公式中,根据计算结果判断系统的时钟信号是否有问题。
    [Correct according to Rule 26 09.02.2018]
    A method for analyzing a clock signal, characterized in that: the method comprises:
    S1: acquiring a link structure where the clock signal is located;
    S2: extracting the topology of all link structures;
    S3: calculating a maximum and minimum flight time of the clock signal based on the obtained topology;
    S4: Bring the data obtained in step S3 into the formula of the setup time and the hold time, and judge whether the clock signal of the system has a problem according to the calculation result.
  2. [根据细则26改正09.02.2018]
    根据权利要求1所述的一种分析时钟信号的方法,其特征是:所述步骤S1的具体实现过程为:
    S11:在整个时钟系统中,确定时钟信号源和目标电子元器件;
    S12:提取时钟信号源和目标电子元器件之间所有的时钟信号布线;
    S13:从步骤S12中获取的所有布线中,选取长度最长和长度最短的两条布线作为时钟信号所在的链路结构。
    [Correct according to Rule 26 09.02.2018]
    A method for analyzing a clock signal according to claim 1, wherein the specific implementation process of the step S1 is:
    S11: determining a clock signal source and a target electronic component in the entire clock system;
    S12: extracting all clock signal wirings between the clock signal source and the target electronic component;
    S13: Among all the wirings obtained in step S12, two wirings having the longest length and the shortest length are selected as the link structure in which the clock signal is located.
  3. [根据细则26改正09.02.2018]
    根据权利要求2所述的一种分析时钟信号的方法,其特征是:所述步骤S2中具体实现过程为:
    S21:将步骤S1中获取的链路结构导入信号仿真软件中;
    S22:利用信号仿真软件,从导入的链路结构中提取相应的拓扑结构。
    [Correct according to Rule 26 09.02.2018]
    A method for analyzing a clock signal according to claim 2, wherein the specific implementation process in the step S2 is:
    S21: Import the link structure acquired in step S1 into the signal simulation software;
    S22: Extract the corresponding topology from the imported link structure by using signal simulation software.
  4. [根据细则26改正09.02.2018]
    根据权利要求3所述的一种分析时钟信号的方法,其特征是:所述步骤S3的具体实现过程为:
    S31:获取时钟信号源时钟信号的最大和最小飞行时间;
    S32:获取目标电子元器件时钟信号的最大和最小飞行时间。
    [Correct according to Rule 26 09.02.2018]
    The method for analyzing a clock signal according to claim 3, wherein the specific implementation process of the step S3 is:
    S31: Obtain a maximum and minimum flight time of the clock source clock signal;
    S32: Obtain the maximum and minimum flight time of the target electronic component clock signal.
  5. [根据细则26改正09.02.2018]
    根据权利要求4所述的一种分析时钟信号的方法,其特征是:步骤 S31的具体实现过程为:
    在信号仿真软件中,首先将时钟信号源设置为信号发送端,将目标电子元器件设置为信号接收端,然后设置整个信号传输的截止频率和测量周期,第三,在信号发送端施加一个标准脉冲波形,在信号输入端和信号输出端获得时钟信号的仿真波形,最后,提取仿真波形波峰值2/3的数值处对应的横坐标作为时钟信号源时钟信号的最大飞行时间,提取仿真波形波谷值2/3的数值处对应的横坐标作为时钟信号源时钟信号的最小飞行时间。
    [Correct according to Rule 26 09.02.2018]
    A method for analyzing a clock signal according to claim 4, wherein the specific implementation process of step S31 is:
    In the signal simulation software, first set the clock signal source as the signal transmitting end, set the target electronic component as the signal receiving end, then set the cutoff frequency and measurement period of the whole signal transmission, and thirdly, apply a standard to the signal transmitting end. Pulse waveform, obtain the simulation waveform of the clock signal at the signal input end and the signal output end. Finally, extract the corresponding abscissa at the value of the peak value of the simulated waveform wave 2/3 as the maximum flight time of the clock signal source clock signal, and extract the simulation waveform trough The corresponding abscissa at the value of 2/3 is used as the minimum time of flight of the clock source clock signal.
  6. [根据细则26改正09.02.2018]
    根据权利要求4所述的一种分析时钟信号的方法,其特征是:所述步骤S32的具体实现过程为:
    利用信号仿真软件,对目标电子元器件时钟信号的最小飞行时间和最大飞行时间进行多次测量,然后进入测量模块,提取最小飞行时间中的最小数作为目标电子元器件时钟信号的最小飞行时间,提取最大飞行时间中的最大数作为目标电子元器件时钟信号的最大飞行时间。
    [Correct according to Rule 26 09.02.2018]
    The method for analyzing a clock signal according to claim 4, wherein the specific implementation process of the step S32 is:
    Using signal simulation software, the minimum flight time and maximum flight time of the target electronic component clock signal are measured multiple times, and then enter the measurement module to extract the minimum number of minimum flight times as the minimum flight time of the target electronic component clock signal. The maximum number of maximum flight times is extracted as the maximum flight time of the target electronic component clock signal.
  7. [根据细则26改正09.02.2018]
    根据权利要求4所述的一种分析时钟信号的方法,其特征是:步骤S4的具体实现过程为:
    计算整个时钟系统的建立时间,判断计算结果是否为正值,若是,进入下一步,若否,说明时钟信号存在问题;
    计算整个时钟系统的保持时间,判断计算结果是否为正值,若是,说明时钟信号满足要求,若否,说明时钟信号存在问题。
    [Correct according to Rule 26 09.02.2018]
    A method for analyzing a clock signal according to claim 4, wherein the specific implementation process of step S4 is:
    Calculate the setup time of the entire clock system, and determine whether the calculation result is positive. If yes, go to the next step. If no, it indicates that there is a problem with the clock signal;
    Calculate the hold time of the entire clock system to determine whether the calculation result is positive. If yes, the clock signal meets the requirements. If not, the clock signal has a problem.
PCT/CN2017/119624 2017-08-15 2017-12-29 Clock signal analysis method WO2019033682A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710695574.9 2017-08-15
CN201710695574.9A CN107480376B (en) 2017-08-15 2017-08-15 Method for analyzing Clock signal

Publications (1)

Publication Number Publication Date
WO2019033682A1 true WO2019033682A1 (en) 2019-02-21

Family

ID=60599506

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/119624 WO2019033682A1 (en) 2017-08-15 2017-12-29 Clock signal analysis method

Country Status (2)

Country Link
CN (1) CN107480376B (en)
WO (1) WO2019033682A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107480376B (en) * 2017-08-15 2021-01-19 苏州浪潮智能科技有限公司 Method for analyzing Clock signal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7966592B2 (en) * 2007-11-29 2011-06-21 Lsi Corporation Dual path static timing analysis
US8887117B1 (en) * 2013-10-07 2014-11-11 Taiwan Semiconductor Manufacturing Company Ltd. Register clustering for clock network topology generation
CN106096171A (en) * 2016-06-22 2016-11-09 深圳市紫光同创电子有限公司 Asynchronous circuit sequential inspection method based on static analysis
CN107480376A (en) * 2017-08-15 2017-12-15 郑州云海信息技术有限公司 A kind of method of analysis Clock signals

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7966582B2 (en) * 2008-05-23 2011-06-21 Synopsys, Inc. Method and apparatus for modeling long-range EUVL flare

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7966592B2 (en) * 2007-11-29 2011-06-21 Lsi Corporation Dual path static timing analysis
US8887117B1 (en) * 2013-10-07 2014-11-11 Taiwan Semiconductor Manufacturing Company Ltd. Register clustering for clock network topology generation
CN106096171A (en) * 2016-06-22 2016-11-09 深圳市紫光同创电子有限公司 Asynchronous circuit sequential inspection method based on static analysis
CN107480376A (en) * 2017-08-15 2017-12-15 郑州云海信息技术有限公司 A kind of method of analysis Clock signals

Also Published As

Publication number Publication date
CN107480376A (en) 2017-12-15
CN107480376B (en) 2021-01-19

Similar Documents

Publication Publication Date Title
US9337893B2 (en) Crosstalk analysis methods using superposition
JP2008545332A (en) Jitter compensation and generation in communication device testing
US11929902B2 (en) PCIe signal bandwidth determining method, apparatus and device
CN103955157B (en) A kind of TR assembly debugging instrument assembled pulse method for generation and control method
CN112242169A (en) Method for adjusting sampling phase and serial flash memory controller
WO2019033682A1 (en) Clock signal analysis method
CN115543051A (en) FPGA global reset synchronization circuit, chip, verification simulation system and method
CN108614206B (en) Chip testing device, chip testing method and chip testing board
WO2013160723A1 (en) A semiconductor device arrangement, a method of analysing a performance of a functional circuit on a semiconductor device and a device analysis system
CN107609219B (en) Mixed model signal integrity simulation method
CN107506540B (en) Mixed model signal integrity simulation method
CN103292647A (en) Clock calibration method of electronic detonator control circuit and electronic initiation system
CN114660523A (en) Digital channel output synchronization precision measuring and calibrating method
CN109359010B (en) Method and system for obtaining internal transmission delay of storage module
WO2022109873A1 (en) Slack determination method and apparatus, test circuit system and readable storage medium
CN104951609B (en) A kind of method of synchronous logic structure in processing gate level netlist
US9202006B1 (en) System and method for connecting components in an electronic design
CN109657383B (en) Spice simulation method of time sequence path
CN104280639A (en) Test device and method of high-speed video bus connectors
CN105092968A (en) Test method for realizing chip frequency measurement
US20100063761A1 (en) Clock Jitter Analysis
CN115389857B (en) Signal cable delay detection system based on symmetrical circuit
US20180046747A1 (en) Temperature-dependent printed circuit board trace analyzer
CN103941105A (en) Time series analyzing device and time series analyzing method
CN112131811B (en) FPGA time sequence parameter extraction method

Legal Events

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

Ref document number: 17921624

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17921624

Country of ref document: EP

Kind code of ref document: A1