WO2012119401A1 - Method and device for testing signal timing sequence - Google Patents

Method and device for testing signal timing sequence Download PDF

Info

Publication number
WO2012119401A1
WO2012119401A1 PCT/CN2011/078632 CN2011078632W WO2012119401A1 WO 2012119401 A1 WO2012119401 A1 WO 2012119401A1 CN 2011078632 W CN2011078632 W CN 2011078632W WO 2012119401 A1 WO2012119401 A1 WO 2012119401A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
port
output
module
control module
Prior art date
Application number
PCT/CN2011/078632
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 华为技术有限公司
Priority to CN201180001484.6A priority Critical patent/CN102439465B/en
Priority to PCT/CN2011/078632 priority patent/WO2012119401A1/en
Publication of WO2012119401A1 publication Critical patent/WO2012119401A1/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K3/00Circuits for generating electric pulses; Monostable, bistable or multistable circuits
    • H03K3/02Generators characterised by the type of circuit or by the means used for producing pulses
    • H03K3/027Generators characterised by the type of circuit or by the means used for producing pulses by the use of logic circuits, with internal or external positive feedback
    • H03K3/037Bistable circuits
    • H03K3/0375Bistable circuits provided with means for increasing reliability; for protection; for ensuring a predetermined initial state when the supply voltage has been applied; for storing the actual state when the supply voltage fails

Definitions

  • the present invention relates to the field of testing technologies, and in particular, to a method and apparatus for testing signal timing.
  • Appropriate signal timing is a prerequisite for ensuring normal operation of the hardware. If the signal timing does not meet the requirements of the device, it will inevitably lead to abnormal hardware operation.
  • the setup time and hold time in the signal timing are important parameters of the signal timing test. As shown in Figure 9, for a device that uses the rising edge of the clock, the time from the active level of the measured signal to the rising edge of the clock signal is the settling time of the measured signal; the rising edge of the clock signal The time between the effective level cutoff point of the measured signal is the hold time.
  • the signal timing test method usually uses the two channels of the oscilloscope to simultaneously test the measured signal and the clock signal, and measures the phase difference between the measured signal and the clock signal, thereby obtaining the signal setup time and the hold time.
  • the oscilloscope test has a large workload and a long test time. Especially in some special environments, such as high temperature test, it is very difficult and inaccurate to manually test the signal timing using an oscilloscope, which leads to low hardware development efficiency and impossible signal timing test. .
  • a signal timing test method and device does not require an oscilloscope, and realizes automatic test of signal timing, and has high accuracy, thereby providing work efficiency of signal timing test and reducing hardware development cost.
  • Embodiments of the present invention provide a method for testing signal timing, including:
  • the control module controls the output high level when the signal to be tested is at the rising edge; when the clock signal is at the rising edge, the control module controls the output low level; or
  • test signal is subjected to falling edge sampling, when the signal to be tested is at the rising edge, the control module controls the output high level; when the clock signal is at the falling edge, the control module controls the output low level;
  • the enabling module When the control module outputs a high level, the enabling module outputs a predetermined signal; when the control module outputs a low level, stopping outputting the predetermined signal; the frequency of the predetermined signal is N times of the clock signal, and N is positive Integer
  • the number of rising edges of the predetermined signal continuously output by the statistic enabling module is determined, and the settling time and the holding time of the timing of the signal to be tested are determined according to the counted number of rising edges of the predetermined signal.
  • Embodiments of the present invention provide a signal timing testing apparatus, including:
  • a control module configured to: if the test signal is subjected to rising edge sampling, when the signal to be tested is at a rising edge, the control output is high; when the clock signal is at a rising edge, the control outputs a low level; or, if used to treat When the test signal is sampled on the falling edge, the control output is high when the signal to be tested is at the rising edge; the output is low when the clock signal is at the falling edge; the enable module is used when the control module outputs a high level The enable module outputs a predetermined signal; when the control module outputs a low level, stopping outputting of the predetermined signal; the frequency of the predetermined signal is N times of the clock signal, and N is a positive integer;
  • the timing acquisition module is configured to count the number of rising edges of the predetermined signal continuously output by the enabling module, and determine the setup time and the hold time of the signal timing to be tested according to the counted number of rising edges of the predetermined signal.
  • the embodiment of the invention realizes the automatic test of the signal timing through the control module, the buffer module and the timing acquisition module, and has high accuracy, thereby improving the working efficiency of the signal timing test and reducing the hardware development cost.
  • FIG. 1 is a schematic flowchart diagram of a method for testing signal timing according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a device for testing signal timing according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a circuit structure of a control module 21 in a signal timing test apparatus according to an embodiment of the present invention
  • FIG. 4 is still another circuit structure of a control module 21 in a signal timing test apparatus according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a phase-locked loop frequency multiplying circuit for obtaining an input signal of a buffer module 22 by using a clock signal in a signal timing testing apparatus according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a circuit structure of a counting sub-module 231 in a signal timing testing apparatus according to an embodiment of the present invention
  • FIG. 7 is a latching of a counting sub-module 231 in a signal timing testing apparatus according to an embodiment of the present invention
  • FIG. 8 is a clock signal CLK, an input signal Hclk, and test signals data0, Q 0 according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram showing the setup time and the hold time of the signal timing when the rising edge sampling is used in the prior art. Mode for carrying out the invention
  • the present invention provides a test method for signal timing, as shown in FIG. 1, including:
  • control module controls the output high level when the signal to be tested is at the rising edge; when the clock signal is at the rising edge, the control module controls the output low level; or
  • the control module controls the output high level when the signal to be tested is at the rising edge; when the clock signal is at the falling edge, the control module controls the output low level.
  • the enabling module When the control module outputs a high level, the enabling module outputs a predetermined signal; when the control module outputs a low level, stopping outputting the predetermined signal; the frequency of the predetermined signal is N times of the clock signal, N Is a positive integer.
  • the predetermined signal is obtained by the phase locked loop frequency multiplying circuit of the clock signal.
  • the steps 11 and 12 are specifically implemented to enable the module to output a predetermined signal while the signal to be tested is on the rising edge to the rising edge of the clock signal when the rising edge of the signal to be tested is performed; when the falling edge of the signal to be tested is performed At the time of sampling, the enable module outputs a predetermined signal while the signal to be tested is at the rising edge until the clock signal is at the falling edge.
  • the settling time of the signal to be tested is ⁇ c//
  • the holding time is (1 - "- ji.
  • the embodiment of the present invention provides a signal timing testing device, as shown in FIG. 2, including:
  • the control module 21 is configured to: if the signal to be tested is subjected to rising edge sampling, when the signal to be tested is at a rising edge, the control outputs a high level; when the clock signal is at a rising edge, the control outputs a low level; or, if The falling edge of the test signal is sampled. Then, when the signal to be tested is on the rising edge, the control output is high; when the clock signal is on the falling edge, the control output is low. Further, if the test signal is subjected to rising edge sampling, the control module 21 includes a one-shot and a D flip-flop as shown in FIG.
  • the beta port is the output of the control module.
  • the ⁇ port of the D flip-flop when the CLR port of the D flip-flop is high, the ⁇ port of the D flip-flop outputs the signal to be tested input by the C1 port, and when the CLR port of the D flip-flop is low (only the one-shot of the monoflop)
  • the clock signal input to the port port has a rising edge and the port of the monoflop triggers a low level, that is, the CLR port of the D flip-flop is low level
  • the signal to be tested input by the C1 port of the D flip-flop is High level or low level
  • the ⁇ port of the D flip-flop always outputs low level.
  • the beta port of the D flip-flop can output a high level only when the beta port of the D flip-flop outputs the signal to be tested input by the C1 port and the signal to be tested is high. Therefore, only when the rising edge of the signal to be tested occurs and the clock signal is at the rising edge, the output of the control module outputs a high level, thereby triggering the enabling module 22.
  • the control module 21 includes an inverter, a monostable flip-flop and a D flip-flop as shown in FIG. 4.
  • the input end of the inverter is connected to the clock signal CLK, and the output terminal and the single
  • the ⁇ port of the steady state flip-flop is connected, the R and C ports are input with the power supply voltage VCC, the port is connected to the ground GND, and the port is connected to the CLR port of the D flip-flop;
  • the test signal is input from the CI port of the D flip-flop, the D flip-flop
  • the D port and the SET port input the power supply voltage, and the ⁇ port of the D flip-flop is the output end of the control module.
  • the ⁇ port of the D flip-flop when the CLR port of the D flip-flop is high, the ⁇ port of the D flip-flop outputs the signal to be tested input by the C1 port, and when the CLR port of the D flip-flop is low (only the clock of the inverter input) The signal is on the falling edge, the rising edge of the signal input from the ⁇ port of the monoflop, the port of the monoflop triggers the low level, that is, the CLR port of the D flip flop is low), regardless of the D trigger. Whether the signal to be tested input by the C1 port of the device is high level or low level, the ⁇ port of the D flip-flop always outputs a low level.
  • the ⁇ port of the D flip-flop can output a high level only when the ⁇ port of the D flip-flop outputs the signal to be tested input from the C1 port and the signal to be tested is high. Therefore, the output of the control module will be triggered only when the rising edge of the signal to be tested and the falling edge of the clock signal are at a high level, thereby enabling the triggering of the enabling module 22.
  • the enabling module 22 is configured to: when the control module 21 outputs a high level, the enabling module outputs a predetermined signal; when the control module 21 outputs a low level, the output of the predetermined signal is stopped; the frequency of the predetermined signal is the clock The signal is multiplied by ,, and ⁇ is a positive integer.
  • the enable port of the enable module 22 is connected to the output port of the control module 21, and when the control module 21 outputs a high level, the enable module 22 outputs a predetermined signal, and when the control module 21 outputs a low level, the enable module 22 The output of the predetermined signal is stopped, so that when the control module 21 outputs a high level, it is the setup time period in the signal timing of the signal to be tested.
  • the predetermined signal HCLK outputted in the enabling module 22 is obtained by a phase-locked loop frequency multiplying circuit.
  • the specific phase-locked loop frequency multiplying circuit is shown in FIG. 5, and the clock signal CLK is passed through the low-pass filtering from the phase detector input. After the device outputs a voltage signal, the voltage signal reaches the final stable state under the control of the voltage controlled oscillator and the 1/ ⁇ frequency divider, that is, the frequency of the HCLK is exactly N times the frequency of the clock signal CLK.
  • the timing acquisition module 23 is configured to count the number of rising edges of the predetermined signal continuously output by the enabling module 22, and determine the setup time and the hold time of the signal timing to be tested according to the counted number of rising edges of the predetermined signal.
  • the timing acquisition module 23 includes a counting submodule 231 and an operation submodule 232.
  • the counting sub-module 231 is configured to count the number of rising edges of the predetermined signal continuously output by the enabling module 22.
  • the counting submodule 231 may include (n+1) bit counters composed of (n+1) T flip-flops as shown in FIG. 6, and n is a positive integer, n The specific number can be determined based on the number of rising edges estimated in advance.
  • the counting sub-module 231 is used to increase the output of the (n+1)-bit counter connected in parallel when the predetermined signal output from the enabling module 22 is at the rising edge.
  • the counting sub-module 231 may further include a latch circuit and a parallel-serial conversion circuit as shown in FIG. 7, wherein 0, AI, ...
  • D flip-flops which constitute a data latch circuit, at the clock
  • the output of the (n+1)-bit counter connected in parallel is latched.
  • the clock signal is synchronized with the clock signal in the control module.
  • Select one selector 0, 51... B n , D flip-flop C0, CI... C « and D flip-flops D1 and D2 form a parallel-to-serial conversion circuit.
  • the output of D1 makes 0, 51... ⁇ "output Q 0 , Q x ...
  • Cn will continuously output H serial data SDA under the driving of the clock signal line SCL, which is the number of rising edges of the predetermined signal. If the test signal is sampled on the rising edge, the principle is the same, only the output of the parallel (n+1)-bit counter is latched when the falling edge of the clock signal occurs, and the clock signal is also synchronized with the clock signal in the control module.
  • the operation sub-module 232 is configured to determine a setup time and a hold time of the timing of the signal to be tested according to the number of rising edges of the predetermined signal counted by the counting sub-module 231.
  • the counting sub-module 231 counts that the number of rising edges of the predetermined signal continuously output by the enabling module is m, and the period of the clock signal is 1 UI, the setup time of the signal to be tested is, and the holding time is (1 -) UI.
  • N 10
  • n 3
  • the period of the clock signal is taken as an example, the clock signal CLK, the predetermined signal Hclk output by the enabling module, and the signals to be tested data0, ⁇ .
  • the waveforms of , , , and ft are shown in Fig. 8. From the figure, ⁇ is known.
  • the number of rising edges of the predetermined signal recorded by Q, Q, and 0 3 is 0110, which is 6, so the test signal is established.
  • the control module controls whether a high level is output during a rising edge of the signal to be tested until the rising edge of the clock signal, or when the falling edge of the signal to be tested is sampled,
  • the control module controls to output a high level when the rising edge of the signal to be tested reaches a falling edge of the clock signal; and enables the output frequency of the module to be N times of the clock signal under the enable driving of the high level output of the control module, timing
  • the acquisition module determines the setup time and the hold time in the timing of the test signal by obtaining the number of rising edges of the signal whose frequency is N times the clock signal and the period of the clock signal.
  • the above embodiment can realize automatic test of the timing and is accurate. High degree of efficiency improves the efficiency of signal timing testing and reduces hardware development costs.
  • the test device for the above signal timing can be integrated inside the chip for automatic test of signal timing, for example, integrated synchronous random access memory SDRAM.
  • each module included is only divided according to functional logic, but it is not It is to be limited to the above-mentioned division as long as the corresponding functions can be realized; in addition, the specific names of the respective functional modules are only for the purpose of facilitating mutual differentiation, and are not intended to limit the scope of protection of the present invention.
  • the storage medium may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

Provided are a method and device for testing a signal timing sequence, relating to the technical field of testing. In the present invention, if a rising-edge sampling is carried out on a signal to be tested, then when the signal to be tested is at a rising edge, a control module controls to output a high level, and an enable module outputs a predetermined signal; when a clock signal is at a rising edge, the control module controls to output a low level, and the enable module stops outputting the predetermined signal; if a falling-edge sampling is carried out on the signal to be tested, then when the signal to be tested is at a rising edge, the control module controls to output a high level, and the enable module outputs a predetermined signal; and when the clock signal is at a falling edge, the control module controls to output a low level, and the enable module stops outputting. The number of rising edges of the predetermined signal successively outputted by the enable module is counted, and the establishment time and retention time of the timing sequence of the signal to be tested are determined according to the counted number of rising edges of the predetermined signal. The automatic testing of the signal timing sequence is realized with high accuracy, improving the working efficiency of testing the signal timing sequence, and reducing the development cost of hardware.

Description

一种信号时序的测试方法及装置  Method and device for testing signal timing
技术领域 Technical field
本发明涉及测试技术领域, 尤其涉及一种信号时序的测试方法及装置。  The present invention relates to the field of testing technologies, and in particular, to a method and apparatus for testing signal timing.
发明背景 Background of the invention
合适的信号时序是保证硬件正常工作的前提条件, 如果信号时序不满足器件要求, 必定导致硬 件工作异常, 信号时序中建立时间和保持时间是信号时序测试的重要参数。如图 9所示, 对于使用时 钟上升沿采样的器件来说, 从被测信号的有效电平起始点到时钟信号上升沿之间的时间就是被测信 号的建立时间; 从时钟信号的上升沿到被测信号有效电平截止点之间的时间就是保持时间。  Appropriate signal timing is a prerequisite for ensuring normal operation of the hardware. If the signal timing does not meet the requirements of the device, it will inevitably lead to abnormal hardware operation. The setup time and hold time in the signal timing are important parameters of the signal timing test. As shown in Figure 9, for a device that uses the rising edge of the clock, the time from the active level of the measured signal to the rising edge of the clock signal is the settling time of the measured signal; the rising edge of the clock signal The time between the effective level cutoff point of the measured signal is the hold time.
目前, 信号时序的测试方法通常使用示波器的两个通道同时测试被测信号和时钟信号, 测量被 测信号与时钟信号的相位差, 进而得到信号的建立时间和保持时间。 但通过示波器测试工作量大, 测试时间较长, 特别在一些特殊环境下例如高温测试时, 使用示波器手工测试信号时序非常困难且 不准确, 从而导致硬件开发效率低以及信号时序测试无法进行等问题。  At present, the signal timing test method usually uses the two channels of the oscilloscope to simultaneously test the measured signal and the clock signal, and measures the phase difference between the measured signal and the clock signal, thereby obtaining the signal setup time and the hold time. However, the oscilloscope test has a large workload and a long test time. Especially in some special environments, such as high temperature test, it is very difficult and inaccurate to manually test the signal timing using an oscilloscope, which leads to low hardware development efficiency and impossible signal timing test. .
发明内容 Summary of the invention
本发明实施例所述的一种信号时序测试方法及装置, 无需示波器, 实现了信号时序的自动测试, 准确度高, 从而提供了信号时序测试的工作效率, 降低了硬件开发成本。  A signal timing test method and device according to an embodiment of the present invention does not require an oscilloscope, and realizes automatic test of signal timing, and has high accuracy, thereby providing work efficiency of signal timing test and reducing hardware development cost.
本发明实施例提供了一种信号时序的测试方法, 包括:  Embodiments of the present invention provide a method for testing signal timing, including:
若对待测试信号进行上升沿采样, 则当待测试信号处于上升沿时, 控制模块控制输出高电平; 当时钟信号处于上升沿时, 控制模块控制输出低电平; 或者,  If the test signal is subjected to rising edge sampling, the control module controls the output high level when the signal to be tested is at the rising edge; when the clock signal is at the rising edge, the control module controls the output low level; or
若对待测试信号进行下降沿采样, 则当待测试信号处于上升沿时, 控制模块控制输出高电平; 当时钟信号处于下降沿时, 控制模块控制输出低电平;  If the test signal is subjected to falling edge sampling, when the signal to be tested is at the rising edge, the control module controls the output high level; when the clock signal is at the falling edge, the control module controls the output low level;
当控制模块输出高电平时, 使能模块输出预定信号; 当控制模块输出低电平时, 停止对所述预 定信号的输出; 所述预定信号的频率为所述时钟信号的 N倍, N为正整数;  When the control module outputs a high level, the enabling module outputs a predetermined signal; when the control module outputs a low level, stopping outputting the predetermined signal; the frequency of the predetermined signal is N times of the clock signal, and N is positive Integer
统计使能模块连续输出的预定信号的上升沿的个数, 并根据统计的所述预定信号的上升沿的个 数确定待测试信号时序的建立时间和保持时间。  The number of rising edges of the predetermined signal continuously output by the statistic enabling module is determined, and the settling time and the holding time of the timing of the signal to be tested are determined according to the counted number of rising edges of the predetermined signal.
本发明实施例提供了一种信号时序的测试装置, 包括:  Embodiments of the present invention provide a signal timing testing apparatus, including:
控制模块, 用于若对待测试信号进行上升沿采样, 则当待测试信号处于上升沿时, 控制输出高 电平; 当时钟信号处于上升沿时, 控制输出低电平; 或者, 用于若对待测试信号进行下降沿采样, 则当待测试信号处于上升沿时, 控制输出高电平; 当时钟信号处于下降沿时, 控制输出低电平; 使能模块, 用于当控制模块输出高电平时, 使能模块输出预定信号; 当控制模块输出低电平时, 停止所述预定信号的输出; 所述预定信号的频率为所述时钟信号的 N倍, N为正整数;  a control module, configured to: if the test signal is subjected to rising edge sampling, when the signal to be tested is at a rising edge, the control output is high; when the clock signal is at a rising edge, the control outputs a low level; or, if used to treat When the test signal is sampled on the falling edge, the control output is high when the signal to be tested is at the rising edge; the output is low when the clock signal is at the falling edge; the enable module is used when the control module outputs a high level The enable module outputs a predetermined signal; when the control module outputs a low level, stopping outputting of the predetermined signal; the frequency of the predetermined signal is N times of the clock signal, and N is a positive integer;
时序获取模块, 用于统计使能模块连续输出的预定信号的上升沿的个数, 并根据统计的所述预 定信号的上升沿的个数确定待测试信号时序的建立时间和保持时间。  The timing acquisition module is configured to count the number of rising edges of the predetermined signal continuously output by the enabling module, and determine the setup time and the hold time of the signal timing to be tested according to the counted number of rising edges of the predetermined signal.
本发明实施例通过控制模块、缓存模块和时序获取模块实现了信号时序的自动测试, 准确度高, 从而提高了信号时序测试的工作效率, 降低了硬件开发成本。 附图简要说明 The embodiment of the invention realizes the automatic test of the signal timing through the control module, the buffer module and the timing acquisition module, and has high accuracy, thereby improving the working efficiency of the signal timing test and reducing the hardware development cost. BRIEF DESCRIPTION OF THE DRAWINGS
图 1为本发明实施例提供的一种信号时序的测试方法的流程示意图;  FIG. 1 is a schematic flowchart diagram of a method for testing signal timing according to an embodiment of the present invention;
图 2为本发明实施例提供的一种信号时序的测试装置的结构示意图;  2 is a schematic structural diagram of a device for testing signal timing according to an embodiment of the present invention;
图 3为本发明实施例提供的一种信号时序的测试装置中控制模块 21的电路结构示意图; 图 4为本发明实施例提供的一种信号时序的测试装置中控制模块 21的又一电路结构示意图; 图 5为本发明实施例提供的一种信号时序的测试装置中通过时钟信号获得缓存模块 22输入信号 的锁相环倍频电路结构示意图;  FIG. 3 is a schematic diagram of a circuit structure of a control module 21 in a signal timing test apparatus according to an embodiment of the present invention; FIG. 4 is still another circuit structure of a control module 21 in a signal timing test apparatus according to an embodiment of the present invention; FIG. 5 is a schematic structural diagram of a phase-locked loop frequency multiplying circuit for obtaining an input signal of a buffer module 22 by using a clock signal in a signal timing testing apparatus according to an embodiment of the present invention;
图 6为本发明实施例提供的一种信号时序的测试装置中计数子模块 231的电路结构示意图; 图 7为本发明实施例提供的一种信号时序的测试装置中计数子模块 231的锁存电路和并串转换 电路结构示意图;  FIG. 6 is a schematic diagram of a circuit structure of a counting sub-module 231 in a signal timing testing apparatus according to an embodiment of the present invention; FIG. 7 is a latching of a counting sub-module 231 in a signal timing testing apparatus according to an embodiment of the present invention; Schematic diagram of circuit and parallel-serial conversion circuit structure;
图 8为本发明实施例提供的时钟信号 CLK、缓存模块将输入的信号 Hclk、测试信号 data0、 Q0FIG. 8 is a clock signal CLK, an input signal Hclk, and test signals data0, Q 0 according to an embodiment of the present invention.
0、 ¾和03的波形图; Waveforms of 0, 3⁄4 , and 0 3 ;
图 9为现有技术中当采用上升沿采样时信号时序的建立时间和保持时间示意图。 实施本发明的方式  FIG. 9 is a schematic diagram showing the setup time and the hold time of the signal timing when the rising edge sampling is used in the prior art. Mode for carrying out the invention
本发明试试提供了一种信号时序的测试方法, 如图 1所示, 包括:  The present invention provides a test method for signal timing, as shown in FIG. 1, including:
11、 若对待测试信号进行上升沿采样, 则当待测试信号处于上升沿时, 控制模块控制输出高电 平; 当时钟信号处于上升沿时, 控制模块控制输出低电平; 或者,  11. If the test signal is subjected to rising edge sampling, the control module controls the output high level when the signal to be tested is at the rising edge; when the clock signal is at the rising edge, the control module controls the output low level; or
若对待测试信号进行下降沿采样, 则当待测试信号处于上升沿时, 控制模块控制输出高电平; 当时钟信号处于下降沿时, 控制模块控制输出低电平。  If the test signal is subjected to falling edge sampling, the control module controls the output high level when the signal to be tested is at the rising edge; when the clock signal is at the falling edge, the control module controls the output low level.
12、 当控制模块输出高电平时, 使能模块输出预定信号; 当控制模块输出低电平时, 停止对所 述预定信号的输出; 所述预定信号的频率为所述时钟信号的 N倍, N为正整数。  12. When the control module outputs a high level, the enabling module outputs a predetermined signal; when the control module outputs a low level, stopping outputting the predetermined signal; the frequency of the predetermined signal is N times of the clock signal, N Is a positive integer.
具体地, 预定信号是时钟信号通过锁相环倍频电路获得的。  Specifically, the predetermined signal is obtained by the phase locked loop frequency multiplying circuit of the clock signal.
上述步骤 11和 12具体实现的操作为, 当对待测试信号进行上升沿采样时, 实现在待测试信号 处于上升沿到时钟信号处于上升沿期间使能模块输出预定信号;当对待测试信号进行下降沿采样时, 实现在待测试信号处于上升沿到时钟信号处于下降沿期间使能模块输出预定信号。  The steps 11 and 12 are specifically implemented to enable the module to output a predetermined signal while the signal to be tested is on the rising edge to the rising edge of the clock signal when the rising edge of the signal to be tested is performed; when the falling edge of the signal to be tested is performed At the time of sampling, the enable module outputs a predetermined signal while the signal to be tested is at the rising edge until the clock signal is at the falling edge.
13、 统计使能模块连续输出的预定信号的上升沿的个数, 并根据统计的所述预定信号的上升沿 的个数确定待测试信号时序的建立时间和保持时间。  13. Counting the number of rising edges of the predetermined signal continuously output by the enabling module, and determining the settling time and the holding time of the signal timing to be tested according to the counted number of rising edges of the predetermined signal.
进一步, 若统计使能模块连续输出的预定信号的上升沿的个数为 m, 且所述时钟信号的周期为 υι , 则待测试信号的建立时间为 ^c//, 保持时间为(1 -" - ji。  Further, if the number of rising edges of the predetermined signal continuously output by the statistic enabling module is m, and the period of the clock signal is υι, the settling time of the signal to be tested is ^c//, and the holding time is (1 - "- ji.
N N 本发明实施例提供了一种信号时序的测试装置, 如图 2所示, 包括:  N N The embodiment of the present invention provides a signal timing testing device, as shown in FIG. 2, including:
控制模块 21, 用于若对待测试信号进行上升沿采样, 则当待测试信号处于上升沿时, 控制输出 高电平; 当时钟信号处于上升沿时, 控制输出低电平; 或者, 用于若对待测试信号进行下降沿采样, 则当待测试信号处于上升沿时, 控制输出高电平; 当时钟信号处于下降沿时, 控制输出低电平。 进一步, 若对待测试信号进行上升沿采样, 则控制模块 21如图 3所示, 包括单稳态触发器和 D 触发器, 所述单稳态触发器的 B端口输入时钟信号 CLK, R和 C端口输入电源电压 VCC, A端口 接地 GND, 端口与 D触发器的 CLR端口相连; 所述测试信号从 D触发器的 CI端口输入, D触 发器的 D端口与 SET端口输入电源电压, D触发器的 β端口为所述控制模块的输出端。 具体当 D 触发器的 CLR端口为高电平时, D触发器的 β端口输出的是 C1端口输入的待测试信号,而当 D触 发器的 CLR端口为低电平(只有单稳态触发器的 Β端口输入的时钟信号出现上升沿,单稳态触发器 的 端口才输出低电平, 即 D触发器的 CLR端口为低电平) 时, 无论 D触发器的 C1端口输入的 待测试信号是高电平还是低电平, D触发器的 β端口始终输出低电平。 因此只有当 D触发器的 β端 口输出的是 C1 端口输入的待测试信号且该待测试信号为高电平时, D触发器的 β端口才能输出高 电平。 故只有在待测试信号出现上升沿到时钟信号处于上升沿期间控制模块的输出端才会输出高电 平, 从而实现对使能模块 22的触发。 The control module 21 is configured to: if the signal to be tested is subjected to rising edge sampling, when the signal to be tested is at a rising edge, the control outputs a high level; when the clock signal is at a rising edge, the control outputs a low level; or, if The falling edge of the test signal is sampled. Then, when the signal to be tested is on the rising edge, the control output is high; when the clock signal is on the falling edge, the control output is low. Further, if the test signal is subjected to rising edge sampling, the control module 21 includes a one-shot and a D flip-flop as shown in FIG. 3, and the B-port input clock signals CLK, R and C of the one-shot The port input power voltage VCC, the A port is grounded to GND, and the port is connected to the CLR port of the D flip-flop; the test signal is input from the CI port of the D flip-flop, the D port of the D flip-flop is input with the power supply voltage of the SET port, and the D flip-flop The beta port is the output of the control module. Specifically, when the CLR port of the D flip-flop is high, the β port of the D flip-flop outputs the signal to be tested input by the C1 port, and when the CLR port of the D flip-flop is low (only the one-shot of the monoflop) When the clock signal input to the port port has a rising edge and the port of the monoflop triggers a low level, that is, the CLR port of the D flip-flop is low level, the signal to be tested input by the C1 port of the D flip-flop is High level or low level, the β port of the D flip-flop always outputs low level. Therefore, the beta port of the D flip-flop can output a high level only when the beta port of the D flip-flop outputs the signal to be tested input by the C1 port and the signal to be tested is high. Therefore, only when the rising edge of the signal to be tested occurs and the clock signal is at the rising edge, the output of the control module outputs a high level, thereby triggering the enabling module 22.
若对待测试信号进行下降沿采样, 则控制模块 21如图 4所示, 包括反相器、单稳态触发器和 D 触发器, 反相器的输入端与时钟信号 CLK相连, 输出端与单稳态触发器的 Β端口相连, R和 C端 口输入电源电压 VCC, Α端口接地 GND, 端口与 D触发器的 CLR端口相连; 所述测试信号从 D 触发器的 CI端口输入, D触发器的 D端口与 SET端口输入电源电压, D触发器的 β端口为所述控 制模块的输出端。具体当 D触发器的 CLR端口为高电平时, D触发器的 β端口输出的是 C1端口输 入的待测试信号, 而当 D触发器的 CLR端口为低电平 (只有反相器输入的时钟信号处于下降沿, 单稳态触发器的 Β端口输入的信号出现上升沿, 单稳态触发器的 端口才输出低电平, 即 D触发器 的 CLR端口为低电平)时, 无论 D触发器的 C1端口输入的待测试信号是高电平还是低电平, D触 发器的 β端口始终输出低电平。 因此只有当 D触发器的 β端口输出的是 C1端口输入的待测试信号 且该待测试信号为高电平时, D触发器的 β端口才能输出高电平。 故只有在待测试信号出现上升沿 到时钟信号处于下降沿期间控制模块的输出端才会输出高电平, 从而实现对使能模块 22的触发。  If the test signal is subjected to falling edge sampling, the control module 21 includes an inverter, a monostable flip-flop and a D flip-flop as shown in FIG. 4. The input end of the inverter is connected to the clock signal CLK, and the output terminal and the single The Β port of the steady state flip-flop is connected, the R and C ports are input with the power supply voltage VCC, the port is connected to the ground GND, and the port is connected to the CLR port of the D flip-flop; the test signal is input from the CI port of the D flip-flop, the D flip-flop The D port and the SET port input the power supply voltage, and the β port of the D flip-flop is the output end of the control module. Specifically, when the CLR port of the D flip-flop is high, the β port of the D flip-flop outputs the signal to be tested input by the C1 port, and when the CLR port of the D flip-flop is low (only the clock of the inverter input) The signal is on the falling edge, the rising edge of the signal input from the Β port of the monoflop, the port of the monoflop triggers the low level, that is, the CLR port of the D flip flop is low), regardless of the D trigger. Whether the signal to be tested input by the C1 port of the device is high level or low level, the β port of the D flip-flop always outputs a low level. Therefore, the β port of the D flip-flop can output a high level only when the β port of the D flip-flop outputs the signal to be tested input from the C1 port and the signal to be tested is high. Therefore, the output of the control module will be triggered only when the rising edge of the signal to be tested and the falling edge of the clock signal are at a high level, thereby enabling the triggering of the enabling module 22.
使能模块 22, 用于当控制模块 21输出高电平时, 使能模块输出预定信号; 当控制模块 21输出 低电平时, 停止所述预定信号的输出; 所述预定信号的频率为所述时钟信号的 Ν倍, Ν为正整数。  The enabling module 22 is configured to: when the control module 21 outputs a high level, the enabling module outputs a predetermined signal; when the control module 21 outputs a low level, the output of the predetermined signal is stopped; the frequency of the predetermined signal is the clock The signal is multiplied by ,, and Ν is a positive integer.
具体地, 使能模块 22的使能端口与控制模块 21 的输出端口相连, 当控制模块 21输出高电平 时, 使能模块 22输出预定信号, 当控制模块 21输出低电平时, 使能模块 22停止对预定信号的输 出, 故控制模块 21输出高电平时即为待测试信号时序中的建立时间段。 使能模块 22中输出的所述 预定信号 HCLK是时钟信号通过锁相环倍频电路获得的, 具体锁相环倍频电路如图 5所示, 时钟信 号 CLK从鉴相器输入通过低通滤波器后输出一个电压信号,该电压信号通过压控振荡器和 1/Ν分频 器的控制下达到最终稳定的状态, 即 HCLK的频率刚好是时钟信号 CLK频率的 N倍。  Specifically, the enable port of the enable module 22 is connected to the output port of the control module 21, and when the control module 21 outputs a high level, the enable module 22 outputs a predetermined signal, and when the control module 21 outputs a low level, the enable module 22 The output of the predetermined signal is stopped, so that when the control module 21 outputs a high level, it is the setup time period in the signal timing of the signal to be tested. The predetermined signal HCLK outputted in the enabling module 22 is obtained by a phase-locked loop frequency multiplying circuit. The specific phase-locked loop frequency multiplying circuit is shown in FIG. 5, and the clock signal CLK is passed through the low-pass filtering from the phase detector input. After the device outputs a voltage signal, the voltage signal reaches the final stable state under the control of the voltage controlled oscillator and the 1/Ν frequency divider, that is, the frequency of the HCLK is exactly N times the frequency of the clock signal CLK.
时序获取模块 23, 用于统计使能模块 22连续输出的预定信号的上升沿的个数, 并根据统计的 所述预定信号的上升沿的个数确定待测试信号时序的建立时间和保持时间。 具体地, 时序获取模块 23包括计数子模块 231和运算子模块 232, The timing acquisition module 23 is configured to count the number of rising edges of the predetermined signal continuously output by the enabling module 22, and determine the setup time and the hold time of the signal timing to be tested according to the counted number of rising edges of the predetermined signal. Specifically, the timing acquisition module 23 includes a counting submodule 231 and an operation submodule 232.
计数子模块 231, 用于对使能模块 22连续输出的预定信号的上升沿的个数进行统计。  The counting sub-module 231 is configured to count the number of rising edges of the predetermined signal continuously output by the enabling module 22.
具体地, 若对待测试信号进行上升沿采样, 计数子模块 231可以包括如图 6所示的(n+1 )个 T 触发器并联构成的 (n+1 )位计数器, n为正整数, n的具体个数可以根据预先估计的上升沿的个数 来确定。计数子模块 231用于当使能模块 22输出的预定信号处于上升沿时则并联的(n+1 )位计数 器的输出端 便会增加 1。作为可选的, 计数子模块 231还可以包括如图 7所示的锁存电路 和并串转换电路, 其中 0、 AI…… ^均为 D触发器, 它们构成了数据锁存电路, 在时钟信号出 现上升沿时将并联的 (n+1 )位计数器的输出端 锁存下来, 该时钟信号与控制模块中的时 钟信号同步; 二选一选择器 0、 51…… Bn、 D触发器 C0、 CI…… C«以及 D触发器 D1和 D2 构成并串转换电路,具体在时钟信号出现上升沿时, D1的输出使得 0、 51…… Β"输出 Q0、 QxSpecifically, if the test signal is subjected to rising edge sampling, the counting submodule 231 may include (n+1) bit counters composed of (n+1) T flip-flops as shown in FIG. 6, and n is a positive integer, n The specific number can be determined based on the number of rising edges estimated in advance. The counting sub-module 231 is used to increase the output of the (n+1)-bit counter connected in parallel when the predetermined signal output from the enabling module 22 is at the rising edge. Alternatively, the counting sub-module 231 may further include a latch circuit and a parallel-serial conversion circuit as shown in FIG. 7, wherein 0, AI, ... are all D flip-flops, which constitute a data latch circuit, at the clock When the rising edge of the signal occurs, the output of the (n+1)-bit counter connected in parallel is latched. The clock signal is synchronized with the clock signal in the control module. Select one selector 0, 51... B n , D flip-flop C0, CI... C« and D flip-flops D1 and D2 form a parallel-to-serial conversion circuit. When the rising edge of the clock signal occurs, the output of D1 makes 0, 51... Β"output Q 0 , Q x ...
Qn,最终在时钟信号线 SCL的驱动下 Cn将连续输出 H 的串行数据 SDA,该串行数据 SDA 即为预定信号的上升沿的个数。 若对待测试信号进行上升沿采样, 原理相同, 只是在时钟信号出现 下降沿时将并联的 (n+1 )位计数器的输出端 锁存下来, 该时钟信号也与控制模块中的时 钟信号同步。 Q n , finally, Cn will continuously output H serial data SDA under the driving of the clock signal line SCL, which is the number of rising edges of the predetermined signal. If the test signal is sampled on the rising edge, the principle is the same, only the output of the parallel (n+1)-bit counter is latched when the falling edge of the clock signal occurs, and the clock signal is also synchronized with the clock signal in the control module.
所述运算子模块 232, 用于根据计数子模块 231统计的预定信号的上升沿的个数确定待测试信 号时序的建立时间和保持时间。  The operation sub-module 232 is configured to determine a setup time and a hold time of the timing of the signal to be tested according to the number of rising edges of the predetermined signal counted by the counting sub-module 231.
进一步, 若计数子模块 231 统计出使能模块连续输出的预定信号的上升沿的个数为 m,, 且所 述时钟信号的周期为 1 UI, 则待测试信号的建立时间为 , 保持时间为(1 -) UI。  Further, if the counting sub-module 231 counts that the number of rising edges of the predetermined signal continuously output by the enabling module is m, and the period of the clock signal is 1 UI, the setup time of the signal to be tested is, and the holding time is (1 -) UI.
N N  N N
本发明实施例以 N为 10, n = 3 , 时钟信号的周期为 为例, 时钟信号 CLK、 使能模块输 出的预定信号 Hclk、待测试信号 data0、 β。、 、 ^和 ft的波形图如图 8所示, 由图可知 β。、 Q、 和03最后记录的预定信号上升沿的个数为 0110 即为 6, 故测试信号的建立时间为 In the embodiment of the present invention, N is 10, n = 3, and the period of the clock signal is taken as an example, the clock signal CLK, the predetermined signal Hclk output by the enabling module, and the signals to be tested data0, β. The waveforms of , , , and ft are shown in Fig. 8. From the figure, β is known. The number of rising edges of the predetermined signal recorded by Q, Q, and 0 3 is 0110, which is 6, so the test signal is established.
—UI = 0.6UI, 保持时间为(1 - 0.6)UI = 0AUI。 —UI = 0.6UI, hold time is (1 - 0.6) UI = 0AUI.
10 10
本发明实施例当对待测试信号进行上升沿采样时, 通过控制模块控制在待测试信号出现上升沿 到时钟信号处于上升沿期间输出高电平, 或者, 当对待测试信号进行下降沿采样时, 通过控制模块 控制在待测试信号出现上升沿到时钟信号处于下降沿期间输出高电平; 并在控制模块输出的高电平 的使能驱动下使能模块输出频率为时钟信号 N倍的信号, 时序获取模块通过获得该输出的频率为时 钟信号 N倍的信号的上升沿的个数以及时钟信号的周期确定测试信号的时序中的建立时间和保持时 间, 上述实施例可以实现时序的自动测试且准确度高, 提高了信号时序测试的工作效率, 降低了硬 件开发成本。 上述信号时序的测试装置可以集成在芯片内部, 用于完成对信号时序的自动测试, 例 如可以集成同步动态随机存储器 SDRAM中。  When the rising edge of the signal to be tested is sampled by the control module, the control module controls whether a high level is output during a rising edge of the signal to be tested until the rising edge of the clock signal, or when the falling edge of the signal to be tested is sampled, The control module controls to output a high level when the rising edge of the signal to be tested reaches a falling edge of the clock signal; and enables the output frequency of the module to be N times of the clock signal under the enable driving of the high level output of the control module, timing The acquisition module determines the setup time and the hold time in the timing of the test signal by obtaining the number of rising edges of the signal whose frequency is N times the clock signal and the period of the clock signal. The above embodiment can realize automatic test of the timing and is accurate. High degree of efficiency improves the efficiency of signal timing testing and reduces hardware development costs. The test device for the above signal timing can be integrated inside the chip for automatic test of signal timing, for example, integrated synchronous random access memory SDRAM.
值得注意的是, 上述节点实施例中, 所包括的各个模块只是按照功能逻辑进行划分的, 但并不 局限于上述的划分, 只要能够实现相应的功能即可; 另外, 各功能模块的具体名称也只是为了便于 相互区分, 并不用于限制本发明的保护范围。 It should be noted that, in the above node embodiment, each module included is only divided according to functional logic, but it is not It is to be limited to the above-mentioned division as long as the corresponding functions can be realized; in addition, the specific names of the respective functional modules are only for the purpose of facilitating mutual differentiation, and are not intended to limit the scope of protection of the present invention.
另外, 本领域普通技术人员可以理解实现上述各方法实施例中的全部或部分步骤是可以通过程 序来指令相关的硬件完成, 相应的程序可以存储于一种计算机可读存储介质中, 上述提到的存储介 质可以是只读存储器, 磁盘或光盘等。  In addition, those skilled in the art may understand that all or part of the steps in implementing the above method embodiments may be performed by a program to instruct related hardware, and the corresponding program may be stored in a computer readable storage medium. The storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并不局限于此, 任何熟悉本 技术领域的技术人员在本发明实施例揭露的技术范围内, 可轻易想到的变化或替换, 都应涵盖在本 发明的保护范围之内。 因此, 本发明的保护范围应该以权利要求的保护范围为准。  The above is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of it within the technical scope disclosed by the embodiments of the present invention. Variations or substitutions are intended to be covered by the scope of the invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

权利要求 Rights request
1、 一种信号时序的测试方法, 其特征在于, 包括:  A method for testing signal timing, characterized in that it comprises:
若对待测试信号进行上升沿采样, 则当待测试信号处于上升沿时, 控制模块控制输出高电平; 当时钟信号处于上升沿时, 控制模块控制输出低电平; 或者,  If the test signal is subjected to rising edge sampling, the control module controls the output high level when the signal to be tested is at the rising edge; when the clock signal is at the rising edge, the control module controls the output low level; or
若对待测试信号进行下降沿采样, 则当待测试信号处于上升沿时, 控制模块控制输出高电平; 当时钟信号处于下降沿时, 控制模块控制输出低电平;  If the test signal is subjected to falling edge sampling, when the signal to be tested is at the rising edge, the control module controls the output high level; when the clock signal is at the falling edge, the control module controls the output low level;
当控制模块输出高电平时, 使能模块输出预定信号; 当控制模块输出低电平时, 停止对所述预 定信号的输出; 所述预定信号的频率为所述时钟信号的 N倍, N为正整数;  When the control module outputs a high level, the enabling module outputs a predetermined signal; when the control module outputs a low level, stopping outputting the predetermined signal; the frequency of the predetermined signal is N times of the clock signal, and N is positive Integer
统计使能模块连续输出的预定信号的上升沿的个数, 并根据统计的所述预定信号的上升沿的个 数确定待测试信号时序的建立时间和保持时间。  The number of rising edges of the predetermined signal continuously output by the statistic enabling module is determined, and the settling time and the holding time of the timing of the signal to be tested are determined according to the counted number of rising edges of the predetermined signal.
2、根据权利要求 1所述的测试方法, 其特征在于, 所述使能模块输出的预定信号是时钟信号通 过锁相环倍频电路获得的。  The test method according to claim 1, wherein the predetermined signal output by the enabling module is obtained by a clock signal through a phase locked loop frequency multiplier circuit.
3、根据权利要求 1所述的测试方法, 其特征在于, 根据统计的所述预定信号的上升沿的个数确 定待测试信号时序的建立时间和保持时间具体包括:  The test method according to claim 1, wherein determining the setup time and the hold time of the signal sequence to be tested according to the number of rising edges of the predetermined signal includes:
若统计使能模块连续输出的预定信号的上升沿的个数为 m, 且所述时钟信号的周期为 1 UI, 则 待测试信号的建立时间为^ , 保持时间为 ( )υι。  If the number of rising edges of the predetermined signal continuously output by the statistical enable module is m, and the period of the clock signal is 1 UI, the setup time of the signal to be tested is ^, and the hold time is ( ) υι.
N N  N N
4、 一种信号时序的测试装置, 其特征在于, 包括: 4. A signal timing test apparatus, comprising:
控制模块, 用于若对待测试信号进行上升沿采样, 则当待测试信号处于上升沿时, 控制输出高 电平; 当时钟信号处于上升沿时, 控制输出低电平; 或者, 用于若对待测试信号进行下降沿采样, 则当待测试信号处于上升沿时, 控制输出高电平; 当时钟信号处于下降沿时, 控制输出低电平; 使能模块, 用于当控制模块输出高电平时, 使能模块输出预定信号; 当控制模块输出低电平时, 停止所述预定信号的输出; 所述预定信号的频率为所述时钟信号的 N倍, N为正整数;  a control module, configured to: if the test signal is subjected to rising edge sampling, when the signal to be tested is at a rising edge, the control output is high; when the clock signal is at a rising edge, the control outputs a low level; or, if used to treat When the test signal is sampled on the falling edge, the control output is high when the signal to be tested is at the rising edge; the output is low when the clock signal is at the falling edge; the enable module is used when the control module outputs a high level The enable module outputs a predetermined signal; when the control module outputs a low level, stopping outputting of the predetermined signal; the frequency of the predetermined signal is N times of the clock signal, and N is a positive integer;
时序获取模块, 用于统计使能模块连续输出的预定信号的上升沿的个数, 并根据统计的所述预 定信号的上升沿的个数确定待测试信号时序的建立时间和保持时间。  The timing acquisition module is configured to count the number of rising edges of the predetermined signal continuously output by the enabling module, and determine the setup time and the hold time of the signal timing to be tested according to the counted number of rising edges of the predetermined signal.
5、根据权利要求 4所述的测试装置, 其特征在于, 所述使能模块输出的预定信号是时钟信号通 过锁相环倍频电路获得的。  The test apparatus according to claim 4, wherein the predetermined signal output by the enabling module is obtained by a clock signal through a phase locked loop frequency multiplier circuit.
6、 根据权利要求 4所述的测试装置, 其特征在于, 若对待测试信号进行上升沿采样, 则所述控 制模块包括单稳态触发器和 D触发器,所述单稳态触发器的 B端口输入时钟信号, R和 C端口输入 电源电压, A端口接地, 端口与 D触发器的 CLR端口相连; 所述测试信号从 D触发器的 CI端口 输入, D触发器的 D端口与 SET端口输入电源电压, D触发器的 β端口为所述控制模块的输出端; 若对待测试信号进行下降沿采样, 则所述控制模块包括反相器、 单稳态触发器和 D触发器, 反 相器的输入端与时钟信号 CLK相连, 输出端与单稳态触发器的 Β端口相连, R和 C端口输入电源 电压 VCC, A端口接地 GND, β端口与 D触发器的 CLR端口相连; 所述测试信号从 D触发器的 CI端口输入, D触发器的 D端口与 SET端口输入电源电压, D触发器的 β端口为所述控制模块的 输出端。 The test apparatus according to claim 4, wherein, if the test signal is subjected to rising edge sampling, the control module comprises a monostable flip-flop and a D flip-flop, and the B of the monostable flip-flop Port input clock signal, R and C ports input power supply voltage, A port is grounded, port is connected to CLR port of D flip-flop; the test signal is input from CI port of D flip-flop, D port of D flip-flop and input of SET port The power supply voltage, the beta port of the D flip-flop is the output end of the control module; if the test signal is subjected to falling edge sampling, the control module includes an inverter, a monostable flip-flop and a D flip-flop, and the inverter The input is connected to the clock signal CLK, the output is connected to the Β port of the monoflop, and the R and C ports are input. Voltage VCC, A port is grounded to GND, β port is connected to the CLR port of the D flip-flop; the test signal is input from the CI port of the D flip-flop, the D port of the D flip-flop is input with the power supply voltage of the SET port, and the D flip-flop is β. The port is the output of the control module.
7、根据权利要求 4所述的测试装置, 其特征在于, 所述时序获取模块包括计数子模块和运算子 模块,  The test apparatus according to claim 4, wherein the timing acquisition module comprises a counting submodule and an operation submodule,
所述计数子模块, 用于对使能模块连续输出的预定信号的上升沿的个数进行统计; 所述运算子模块, 用于根据计数子模块统计的预定信号的上升沿的个数确定待测试信号时序的 建立时间和保持时间。  The counting sub-module is configured to perform statistics on the number of rising edges of the predetermined signal continuously output by the enabling module; the operation sub-module is configured to determine, according to the number of rising edges of the predetermined signal, which is counted by the counting sub-module Test setup time and hold time of signal timing.
8、 根据权利要求 7所述的测试装置, 其特征在于, 所述运算子模块, 具体用于若计数子模块统 计出使能模块连续输出的预定信号的上升沿的个数为 m, 且所述时钟信号的周期为 1 £//, 则待测试 信号的建立时间为^ , 保持时间为 ( ω。  The test device according to claim 7, wherein the operation sub-module is specifically configured to: if the counting sub-module counts, the number of rising edges of the predetermined signal continuously output by the enabling module is m, and The period of the clock signal is 1 £//, and the settling time of the signal to be tested is ^, and the holding time is (ω).
Ν Ν  Ν Ν
PCT/CN2011/078632 2011-08-19 2011-08-19 Method and device for testing signal timing sequence WO2012119401A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201180001484.6A CN102439465B (en) 2011-08-19 2011-08-19 Method and device for testing signal sequence
PCT/CN2011/078632 WO2012119401A1 (en) 2011-08-19 2011-08-19 Method and device for testing signal timing sequence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/078632 WO2012119401A1 (en) 2011-08-19 2011-08-19 Method and device for testing signal timing sequence

Publications (1)

Publication Number Publication Date
WO2012119401A1 true WO2012119401A1 (en) 2012-09-13

Family

ID=45986230

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/078632 WO2012119401A1 (en) 2011-08-19 2011-08-19 Method and device for testing signal timing sequence

Country Status (2)

Country Link
CN (1) CN102439465B (en)
WO (1) WO2012119401A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210030425A (en) * 2018-09-30 2021-03-17 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 Test method and system of the time parameter of the adapter, computer storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105759195A (en) * 2016-02-24 2016-07-13 复旦大学 Setup-hold time test system and setup-hold time test method based on fine phase modulation
CN107561432A (en) * 2017-07-27 2018-01-09 中国船舶重工集团公司第七二四研究所 A kind of clock signal fault detection method based on even-odd check
CN112526326B (en) * 2020-11-24 2022-08-19 海光信息技术股份有限公司 Time sequence testing method, system, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6622107B1 (en) * 2000-08-25 2003-09-16 Nptest Llc Edge placement and jitter measurement for electronic elements
CN1713155A (en) * 2004-06-22 2005-12-28 上海环达计算机科技有限公司 PCI test card and test thereof
CN101771400A (en) * 2008-12-29 2010-07-07 台湾积体电路制造股份有限公司 Method and system for setup/hold characterization in sequential cells

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1547360A (en) * 1975-12-01 1979-06-13 Gen Electric Co Ltd Apparatus for indicating the sequence of alternating current signals
JPS5926072A (en) * 1982-08-04 1984-02-10 Nec Corp High precision phase difference measuring device
CN101551418B (en) * 2008-04-02 2011-04-13 贵州航天凯山石油仪器有限公司 Method for detecting phase difference between two channels of square wave input signals by using D trigger
JP5666813B2 (en) * 2010-03-15 2015-02-12 株式会社テセック Time width measuring device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6622107B1 (en) * 2000-08-25 2003-09-16 Nptest Llc Edge placement and jitter measurement for electronic elements
CN1713155A (en) * 2004-06-22 2005-12-28 上海环达计算机科技有限公司 PCI test card and test thereof
CN101771400A (en) * 2008-12-29 2010-07-07 台湾积体电路制造股份有限公司 Method and system for setup/hold characterization in sequential cells

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210030425A (en) * 2018-09-30 2021-03-17 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 Test method and system of the time parameter of the adapter, computer storage medium
JP2021533654A (en) * 2018-09-30 2021-12-02 オッポ広東移動通信有限公司Guangdong Oppo Mobile Telecommunications Corp., Ltd. Command time test methods and systems, as well as computer storage media
JP7223835B2 (en) 2018-09-30 2023-02-16 オッポ広東移動通信有限公司 Command time test method and system, and computer storage medium
US11614484B2 (en) 2018-09-30 2023-03-28 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and system for testing time parameters of adaptor
KR102557374B1 (en) * 2018-09-30 2023-07-20 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 Testing method and system of time parameters of adapter, computer storage medium

Also Published As

Publication number Publication date
CN102439465A (en) 2012-05-02
CN102439465B (en) 2013-11-06

Similar Documents

Publication Publication Date Title
US7574632B2 (en) Strobe technique for time stamping a digital signal
TWI373621B (en) Device for jitter measurement and method thereof
KR20070051329A (en) Time measurement using phase shifted periodic waveforms
CN107665033B (en) Digital logic circuit module with reset deburring function
WO2012119401A1 (en) Method and device for testing signal timing sequence
CN107562163B (en) Digital logic circuit with stable reset control
US7876873B2 (en) Asynchronous ping-pong counter and thereof method
KR20110082549A (en) Low-power asynchronous counter and method
CN103558753B (en) A kind of high-resolution clock detection method and device
CN107025092A (en) A kind of random number extracting method based on latch structure real random number generators
US8522089B2 (en) Method of testing asynchronous modules in semiconductor device
CN102967819B (en) High speed test circuit and method
CN110955179B (en) Dual-channel shared clock trigger delay adjusting device based on PCI bus
US8334716B1 (en) Digital phase detection circuit and method
CN107565936B (en) Logic implementation device of input clock stabilizing circuit
CN103675383B (en) A kind of circuit measuring waveform
US9768762B2 (en) Integrated circuit and method of testing
US20110234282A1 (en) Method And Circuit For Testing And Characterizing High Speed Signals Using An ON-Chip Oscilloscope
US10156603B1 (en) Apparatus for adding jitters to the edges of a pulse sequence
CN216595393U (en) Time delay testing device
JP3349943B2 (en) Semiconductor device
CN106385253B (en) Based on parameter processing module and the cascade digit time converting system of phaselocked loop
US9389635B2 (en) Selectable phase or cycle jitter detector
JP7214855B2 (en) META STABLE STATE DETECTION APPARATUS AND METHOD, ADC CIRCUIT
US6172544B1 (en) Timing signal generation circuit for semiconductor test system

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180001484.6

Country of ref document: CN

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

Ref document number: 11860641

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: 11860641

Country of ref document: EP

Kind code of ref document: A1