CN103809104B - Scan clock generator and method for generating scan clock - Google Patents

Scan clock generator and method for generating scan clock Download PDF

Info

Publication number
CN103809104B
CN103809104B CN201210447504.9A CN201210447504A CN103809104B CN 103809104 B CN103809104 B CN 103809104B CN 201210447504 A CN201210447504 A CN 201210447504A CN 103809104 B CN103809104 B CN 103809104B
Authority
CN
China
Prior art keywords
scanning
chip
seasonal pulse
pulse
seasonal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210447504.9A
Other languages
Chinese (zh)
Other versions
CN103809104A (en
Inventor
陈莹晏
林振东
李日农
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Realtek Semiconductor Corp
Original Assignee
Realtek Semiconductor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Priority to CN201210447504.9A priority Critical patent/CN103809104B/en
Publication of CN103809104A publication Critical patent/CN103809104A/en
Application granted granted Critical
Publication of CN103809104B publication Critical patent/CN103809104B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

The invention discloses a scanning clock generator and a scanning clock generation method, which are used for providing a plurality of on-chip scanning clocks required by testing a plurality of elements to be tested, and the scanning clock generator comprises: a receiving circuit for receiving an off-chip scan clock; and a clock processing circuit, coupled to the receiving circuit, for generating the plurality of on-chip scanning clocks according to the received off-chip scanning clock; wherein the clock edges of the scan clocks in the chips are staggered, and the scan clock generator and the plurality of devices to be tested are arranged in the same chip. The scanning clock generator can reduce the condition that pins are occupied because a chip needs a plurality of scanning clocks to input in a scanning test mode, and can generate a plurality of groups of internal scanning clocks with different phases to achieve the purpose of reducing the instantaneous test power.

Description

扫描时脉产生器以及扫描时脉产生方法Scan clock generator and method for generating scan clock

技术领域technical field

本发明所揭示的实施例相关于扫描时脉的产生,尤指一种可以产生多个扫描时脉的扫描时脉产生器以及相关方法。The embodiments disclosed in the present invention relate to the generation of scan clocks, in particular to a scan clock generator capable of generating multiple scan clocks and related methods.

背景技术Background technique

扫描测试(scan test)对于工艺缺陷(process defect)的检测能力极佳,且不论电路大小或功能为何,都能提供一个准确且单一的评分数字,因此扫描测试已经成为芯片量产测试不可或缺的重要指标。然而,为了缩短测试时间,扫描测试通常会让电路在机台上尽可能地被触发(toggle),以期望能在最少时间之内检测到最大部分的电路,因此,测试耗能(test power)往往会远大于电路正常运作时的耗能,严重时,过大的电流可能会造成芯片烧毁或是造成测试误宰(over-kill)。为了避免这样的缺点,传统上会将电路分割成几个较小的区块,每个区块有自己的独立扫描时脉,每个扫描时脉在测试时不会同时启动,而是彼此有一相位偏差(phase skew),换句话说,每个扫描时脉的时脉缘在测试时都是彼此错开的。这种作法有效地解决了测试耗能过大的问题,不过,随着电路复杂度增加,电路尺寸也不断的成长,因此一待测芯片中的待测电路需要被细切成更多的小区块,代表需要更多由测试机台提供的扫描时脉信号从芯片的扫描时脉输入端口输入至内部电路,然而,芯片封装后的针脚(pin)数量以及测试机台能提供的信号数量都是固定的,因此持续成长的扫描时脉信号数目将面临针脚(或测试信号)不够用的问题。Scan test has excellent detection ability for process defects, and can provide an accurate and single scoring number regardless of circuit size or function, so scan test has become an indispensable part of chip mass production test important indicators. However, in order to shorten the test time, the scan test usually allows the circuit to be triggered (toggle) as much as possible on the machine, hoping to detect the largest part of the circuit in the least time. Therefore, the test power consumption (test power) It is often much greater than the energy consumption during normal operation of the circuit. In severe cases, the excessive current may cause the chip to burn or cause test over-kill. In order to avoid such disadvantages, the circuit is traditionally divided into several smaller blocks, each block has its own independent scan clock, and each scan clock will not be started at the same time during the test, but have a relationship with each other. Phase skew, in other words, the clock edges of each scan clock are staggered from each other during testing. This approach effectively solves the problem of excessive power consumption in testing. However, as the circuit complexity increases, the circuit size also continues to grow. Therefore, the circuit under test in a chip under test needs to be finely divided into more cells. Block, which means that more scan clock signals provided by the test machine are required to be input from the scan clock input port of the chip to the internal circuit. However, the number of pins (pins) after the chip is packaged and the number of signals that the test machine can provide are different. is fixed, so the continuously growing number of scan clock signals will face the problem of insufficient pins (or test signals).

考量到上述需求,故需要一个创新的设计以便能够使用简单的芯片内电路来有效地减少扫描测试时所需要用到的芯片针脚(或测试信号)。Considering the above requirements, an innovative design is needed to effectively reduce the number of chip pins (or test signals) required for scan testing by using simple on-chip circuits.

发明内容Contents of the invention

本发明的目的之一在于提供一种可以产生多个扫描时脉的扫描时脉产生器以及相关方法来解决上述问题。One of the objectives of the present invention is to provide a scan clock generator capable of generating multiple scan clocks and a related method to solve the above problems.

根据本发明的第一实施例,揭示一种扫描时脉产生器,用以提供测试多个待测元件所需的多个芯片内扫描时脉,该扫描时脉产生器包含有一接收电路,用来接收一芯片外扫描时脉;以及一时脉处理电路,耦接于该接收电路,用来根据所接收的该芯片外扫描时脉来产生该多个芯片内扫描时脉;其中该多个芯片内扫描时脉的时脉缘彼此错开,以及该扫描时脉产生器与该多个待测元件设置于同一芯片中。According to the first embodiment of the present invention, a scan clock generator is disclosed, which is used to provide a plurality of on-chip scan clocks required for testing a plurality of DUTs. The scan clock generator includes a receiving circuit for to receive an off-chip scan clock; and a clock processing circuit, coupled to the receiving circuit, for generating the plurality of on-chip scan clocks according to the received off-chip scan clock; wherein the plurality of chips The clock edges of the internal scan clocks are staggered from each other, and the scan clock generator and the plurality of DUTs are arranged in the same chip.

根据本发明的第二实施例,揭示一种用以提供测试多个待测元件所需的多个芯片内扫描时脉的扫描时脉产生方法,包含有接收一芯片外扫描时脉;以及根据所接收的该芯片外扫描时脉来产生该多个芯片内扫描时脉;其中该多个芯片内扫描时脉的时脉缘彼此错开。According to the second embodiment of the present invention, a scan clock generation method for providing a plurality of on-chip scan clocks required for testing a plurality of DUTs is disclosed, including receiving an off-chip scan clock; and according to The received off-chip scan clocks are used to generate the plurality of on-chip scan clocks; wherein the clock edges of the plurality of on-chip scan clocks are staggered from each other.

通过采用本发明所提出的扫描时脉产生器以及扫描时脉产生方法,可以使用由一芯片外部输入的一外部扫描时脉来产生出多组不同相位的多个内部扫描时脉,减少芯片在扫描测试模式下因为需要多个扫描时脉输入而造成针脚被占用的情况,同时本发明的扫描时脉产生器可产生多组不同相位的内部扫描时脉亦可达到降低瞬间测试功率的目的。By adopting the scan clock generator and the scan clock generation method proposed by the present invention, an external scan clock input from a chip can be used to generate multiple groups of multiple internal scan clocks with different phases, reducing the number of chips in the chip. In the scan test mode, pins are occupied due to the need for multiple scan clock inputs, and the scan clock generator of the present invention can generate multiple sets of internal scan clocks with different phases to reduce the instantaneous test power.

附图说明Description of drawings

图1为本发明扫描时脉产生器的第一示范性实施例的架构图。FIG. 1 is a structural diagram of a first exemplary embodiment of a scan clock generator of the present invention.

图2为本发明扫描时脉产生器的第二示范性实施例的架构图。FIG. 2 is a structural diagram of a second exemplary embodiment of the scan clock generator of the present invention.

图3为本发明扫描时脉产生器的第三示范性实施例的架构图。FIG. 3 is a structural diagram of a third exemplary embodiment of the scan clock generator of the present invention.

图4为图3所示的时脉切换电路的一实施例的示意图。FIG. 4 is a schematic diagram of an embodiment of the clock switching circuit shown in FIG. 3 .

图5为图4所示的控制器的一实施例的电路图。FIG. 5 is a circuit diagram of an embodiment of the controller shown in FIG. 4 .

其中,附图标记说明如下:Wherein, the reference signs are explained as follows:

100、200、300 扫描时脉产生器100, 200, 300 scan clock generator

102、202、302 芯片102, 202, 302 chips

104 接收电路104 receiving circuit

106、206、306 时脉处理电路106, 206, 306 clock processing circuit

108_1~108_M 延迟电路108_1~108_M delay circuit

110、210 控制器110, 210 Controller

111 触发器111 triggers

112_1~112_M 扫描时脉域112_1~112_M scan clock domain

208_1~208_M、308_1~308_M 延迟元件208_1~208_M, 308_1~308_M delay elements

310 时脉切换电路310 clock switching circuit

312 控制器312 controller

314 解码器314 decoder

502、504、506 选择器502, 504, 506 selectors

508、510、512 触发器508, 510, 512 flip flops

具体实施方式detailed description

请参考图1,图1为本发明扫描时脉产生器的第一示范性实施例的架构图。本示范性实施例中,扫描时脉产生器100包含有一接收电路104以及耦接于接收电路104的一时脉处理电路106,其中接收电路104是用来接收一芯片外(off-chip)扫描时脉sclkoff_chip并输出扫描时脉sclk至时脉处理电路106,例如,接收电路104中会设置一或多个缓冲器(buffer)/反向器(inverter)。在此实施例中,时脉处理电路106可以依据扫描时脉sclk来产生多个芯片内(on-chip)扫描时脉sclk1、sclk2、…、sclkM,此外,较佳地,这些芯片内扫描时脉sclk1、sclk2、…、sclkM的时脉缘(clock edge)彼此之间互相错开,且分别被用来当作后续多个扫描时脉域(scan clock domain)112_1、112_2、…、112_M的扫描测试时脉。换句话说,多个芯片内扫描时脉sclk1、sclk2、…、sclkM是用来在扫描测试模式之下驱动多个扫描时脉域中的多个待测元件,举例来说(但并非用以限制本发明的范围),该多个待测元件可以包含多个触发器(flip flop)111。另外,扫描时脉产生器100与该多个扫描时脉域设置于同一芯片102中,更具体地说,扫描时脉产生器100与该多个待测元件设置于同一芯片102中。Please refer to FIG. 1 , which is a structural diagram of a first exemplary embodiment of a scan clock generator of the present invention. In this exemplary embodiment, the scan clock generator 100 includes a receiving circuit 104 and a clock processing circuit 106 coupled to the receiving circuit 104, wherein the receiving circuit 104 is used to receive an off-chip scan time pulse sclk off_chip and output the scan clock sclk to the clock processing circuit 106 , for example, one or more buffers/inverters are set in the receiving circuit 104 . In this embodiment, the clock processing circuit 106 can generate multiple on-chip scan clocks sclk 1 , sclk 2 , . . . , sclk M according to the scan clock sclk. In addition, preferably, these chips The clock edges of the internal scan clocks sclk 1 , sclk 2 , . ,..., 112_M scan test clock. In other words, a plurality of on-chip scan clocks sclk 1 , sclk 2 , . Not intended to limit the scope of the present invention), the plurality of DUTs may include a plurality of flip flops 111 . In addition, the scan clock generator 100 and the plurality of scan clock domains are disposed in the same chip 102 , more specifically, the scan clock generator 100 and the plurality of DUTs are disposed in the same chip 102 .

关于时脉处理电路106,其包含有一控制器110以及多个延迟电路108_1、108_2、…、108_M,其中控制器110用来依据扫描时脉sclk、一控制数据序列输入d_in以及一输入控制信号hold来产生M个延迟控制信号SCTR1、SCTR2、…、SCTRM分别输入至多个延迟电路108_1、108_2、…、108_M中,如此一来,延迟电路108_1、108_2、…、108_M可分别依据延迟控制信号SCTR1、SCTR2、…、SCTRM来将相对应的多个延迟量加诸于扫描时脉sclk之上,并且获得后续多个扫描时脉域的多个扫描时脉之间最终所欲达到的相位相对关系,换言之,延迟电路108_1、108_2、…、108_M是以平行处理的方式来个别地延迟所接收的芯片外扫描时脉(亦即sclk),以分别产生所要的芯片内扫描时脉。Regarding the clock processing circuit 106, it includes a controller 110 and a plurality of delay circuits 108_1, 108_2, . to generate M delay control signals S CTR1 , S CTR2 , . . . Signals S CTR1 , S CTR2 , ..., S CTRM to add corresponding multiple delays to the scan clock sclk, and obtain the final desired value between multiple scan clocks in subsequent multiple scan clock domains In other words, the delay circuits 108_1, 108_2, . pulse.

应注意的是,在此示范性实施例当中,为了要同时达到节省芯片102的输入输出端口(I/O port)的目的,控制器110的控制数据序列输入d_in是以序列(serial)的方式输入,并搭配输入控制信号hold以及扫描时脉sclk来作为控制器110辨识控制数据序列输入d_in的依据,更具体地说,使用者可以从芯片外部使用控制数据序列输入d_in来任意设定延迟电路108_1、108_2、…、108_M的延迟时间/延迟量。然而,控制器110的输入方式在此仅作为范例说明,并非本发明的限制条件,举凡任何能够达到类似功能的设计,均属于本发明所涵盖的范围。It should be noted that, in this exemplary embodiment, in order to achieve the purpose of saving the input and output ports (I/O ports) of the chip 102 at the same time, the control data sequence input d_in of the controller 110 is serially (serial) Input, together with the input control signal hold and scan clock sclk as the basis for the controller 110 to identify the control data sequence input d_in, more specifically, the user can use the control data sequence input d_in from outside the chip to arbitrarily set the delay circuit Delay time/delay amount for 108_1, 108_2, ..., 108_M. However, the input method of the controller 110 is only illustrated here as an example, and is not a limitation of the present invention. Any design capable of achieving similar functions falls within the scope of the present invention.

请参考图2,图2为本发明扫描时脉产生器的第二示范性实施例的架构图。本示范性实施例中,扫描时脉产生器200包含有前述的接收器104以及一时脉处理电路206,其中接收电路104用来接收一芯片外扫描时脉sclkoff_chip并输出扫描时脉sclk至时脉处理电路206,以使时脉处理电路206得以依据扫描时脉sclk来产生多个芯片内扫描时脉sclk1、sclk2、…、sclkM,有关于芯片内扫描时脉sclk1、sc lk2、…、sclkM以及后续多个扫描时脉域112_1、112_2、…、112_M之间的操作和观念基本上和前述的示范性实施例相同,故在此便不多作赘述。应注意的是,扫描时脉产生器200与多个扫描时脉域112_1、112_2、…、112_M设置于同一芯片202中,更具体地说,扫描时脉产生器200与多个待测元件设置于同一芯片中。Please refer to FIG. 2 , which is a structural diagram of a second exemplary embodiment of the scan clock generator of the present invention. In this exemplary embodiment, the scan clock generator 200 includes the aforementioned receiver 104 and a clock processing circuit 206, wherein the receiver circuit 104 is used to receive an off-chip scan clock sclk off_chip and output the scan clock sclk off_chip The pulse processing circuit 206, so that the clock processing circuit 206 can generate a plurality of on-chip scanning clocks sclk 1 , sclk 2 , ..., sclk M according to the scanning clock sclk, related to the on-chip scanning clocks sclk 1 , sclk 2 , . . . , sclkM and the operations and concepts among the subsequent multiple scan clock domains 112_1, 112_2, . It should be noted that the scan clock generator 200 and the multiple scan clock domains 112_1, 112_2, . in the same chip.

关于时脉处理电路206,其包含有一控制器210以及多个延迟元件208_1、208_2、…、208_M,其中控制器210是用来依据扫描时脉sclk、一控制数据序列输入d_in以及一输入控制信号hold来产生M个延迟控制信号SCTR1、SCTR2、…、SCTRM分别输入至延迟元件208_1、208_2、…、208_M中,应注意的是,在此示范性实施例中,延迟元件208_1、208_2、…、208_M是以串接的方式组成,也就是说延迟元件208_1的输出端耦接至下一级的延迟元件208_2的输入端,延迟元件208_2的输出端耦接至下一级的延迟元件208_3的输入端,后续延迟元件的连接方式以此类推。如此一来,延迟元件208_1、208_2、…、208_M可分别依据延迟控制信号SCTR1、SCTR2、…、SCTRM来将相对应的多个延迟量加诸于扫描时脉sclk之上。举例来说,以sclk为基准的话,扫描时脉sclk1相较于sclk的延迟时间即为延迟元件208_1所造成的延迟时间,而扫描时脉sclk2相较于sclk的延迟时间则为延迟元件208_1和延迟元件208_2所造成的延迟时间的总和,依此类推,故最后一个扫描时脉sclkM相较于sclk的延迟时间则为延迟元件208_1、208_2、…、208_M所造成的延迟时间的总和。换言之,延迟元件208_1、208_2、…、208_M是以串接方式来依序地延迟所接收的芯片外扫描时脉(亦即sclk),以分别产生所要的芯片内扫描时脉。除此之外,控制器210的操作流程和前述的示范性实施例相同,在此便不再多作赘述。Regarding the clock processing circuit 206, it includes a controller 210 and a plurality of delay elements 208_1, 208_2, . hold to generate M delay control signals S CTR1 , S CTR2 , . . . , ..., 208_M are composed in series, that is to say, the output end of the delay element 208_1 is coupled to the input end of the delay element 208_2 of the next stage, and the output end of the delay element 208_2 is coupled to the delay element of the next stage The input terminal of 208_3, the connection mode of subsequent delay elements can be deduced by analogy. In this way, the delay elements 208_1 , 208_2 , . . . , 208_M can add corresponding delays to the scan clock sclk according to the delay control signals S CTR1 , S CTR2 , . . . , S CTRM . For example, based on sclk, the delay time of the scan clock sclk 1 compared to sclk is the delay time caused by the delay element 208_1, and the delay time of the scan clock sclk 2 compared to sclk is the delay element The sum of the delay times caused by 208_1 and delay elements 208_2, and so on, so the delay time of the last scan clock sclk M compared to sclk is the sum of the delay times caused by delay elements 208_1, 208_2, . . . , 208_M . In other words, the delay elements 208_1 , 208_2 , . . . , 208_M sequentially delay the received off-chip scan clocks (ie, sclk) in series to generate desired on-chip scan clocks respectively. In addition, the operation process of the controller 210 is the same as that of the aforementioned exemplary embodiment, and will not be repeated here.

请参考图3,图3为本发明扫描时脉产生器的第三示范性实施例的架构图。本示范性实施例中,扫描时脉产生器300包含有前述的接收器104以及一时脉处理电路306,其中接收电路104是用来接收一芯片外扫描时脉sclkoff_chip并输出扫描时脉sclk至时脉处理电路306,以使时脉处理电路306得以依据扫描时脉sclk来产生多个芯片内扫描时脉sclk1、sclk2、…、sclkM,有关于芯片内扫描时脉sclk1、sclk2、…、sclkM以及后续多个扫描时脉域112_1、112_2、…、112_M之间的操作和观念基本上和前述的示范性实施例相同,故在此便不多作赘述。应注意的是,扫描时脉产生器300与多个扫描时脉域112_1、112_2、…、112_M是设置于同一芯片202中,更具体地说,扫描时脉产生器300与多个待测元件设置于同一芯片中。Please refer to FIG. 3 , which is a structural diagram of a third exemplary embodiment of the scan clock generator of the present invention. In this exemplary embodiment, the scan clock generator 300 includes the aforementioned receiver 104 and a clock processing circuit 306, wherein the receiver circuit 104 is used to receive an off-chip scan clock sclk off_chip and output the scan clock sclk to The clock processing circuit 306, so that the clock processing circuit 306 can generate a plurality of on-chip scanning clocks sclk 1 , sclk 2 , ..., sclk M according to the scanning clock sclk, related to the on-chip scanning clocks sclk 1 , sclk 2 , . . . , sclkM and the operations and concepts among the subsequent multiple scan clock domains 112_1, 112_2, . It should be noted that the scan clock generator 300 and the multiple scan clock domains 112_1, 112_2, . set in the same chip.

关于时脉处理电路306,其包含有一时脉切换电路310以及多个延迟元件308_1、308_2、…、308_M,其中延迟元件308_1、308_2、…、308_M所输出的扫描时脉sclk1’、sclk2’、…、sclkM’分别输入至时脉切换电路310,请注意,在此示范性实施例中,延迟元件308_1、308_2、…、308_M是以串接的方式组成,也就是说,延迟元件308_1的输出端耦接至下一级的延迟元件308_2的输入端,延迟元件308_2的输出端耦接至下一级的延迟元件308_3的输入端,而后续延迟元件的连接方式以此类推。另外,时脉切换电路310会依据扫描时脉sclk、一控制数据序列输入d_in以及一输入控制信号hold来将由延迟元件308_1、308_2、…、308_M所输入的扫描时脉sclk1’、sclk2’、…、sclkM’作相对应的顺序上的切换,并且再进一步将扫描时脉sclk1’、sclk2’、…、sclkM’以新的顺序输出为芯片内扫描时脉sclk1、sclk2、…、sclkM,如此一来,可以通过扫描时脉sclk、控制数据序列输入d_in以及输入控制信号hold来改变后续多个扫描时脉域112_1、112_2、…、112_M的扫描时脉设定,也就是说,使用者可以从芯片外部来重新设定待测元件的扫描时脉彼此之间的相位关系。Regarding the clock processing circuit 306, it includes a clock switching circuit 310 and a plurality of delay elements 308_1 , 308_2 , . . . ', ..., sclk M ' are respectively input to the clock switching circuit 310, please note that in this exemplary embodiment, the delay elements 308_1, 308_2, ..., 308_M are composed in series, that is to say, the delay elements The output terminal of 308_1 is coupled to the input terminal of the delay element 308_2 of the next stage, the output terminal of the delay element 308_2 is coupled to the input terminal of the delay element 308_3 of the next stage, and the connection of the subsequent delay elements is analogous. In addition, the clock switching circuit 310 will switch the scan clocks sclk 1 ′, sclk 2 ′ input by the delay elements 308_1, 308_2, . . . , 308_M according to the scan clock sclk, a control data sequence input d_in, and an input control signal hold , ..., sclk M ' switch in the corresponding order, and further output the scan clocks sclk 1 ', sclk 2 ', ..., sclk M ' in a new order as the on-chip scan clocks sclk 1 , sclk 2 ,..., sclk M , in this way, the scan clock settings of the subsequent multiple scan clock domains 112_1, 112_2,..., 112_M can be changed through the scan clock sclk, the control data sequence input d_in, and the input control signal hold , that is to say, the user can reset the phase relationship between the scan clocks of the DUT from outside the chip.

图4为图3所示的时脉切换电路310的一实施例的示意图。时脉切换电路310包含有一控制器312以及一解码器314,其中控制器312根据扫描时脉sclk以及输入控制信号hold来读取外部输入的控制数据序列输入d_in,并将其转换为控制数据平行输出d_out0、d_out1、…、d_outM至解码器314中,以作为改变sclk1’、sclk2’、…、sclkM’的顺序为sclk1、sclk2、…、sclkM的依据。请参考图5,图5为图4所示的控制器312的一实施例的电路图。控制器312包含有根据输入控制信号hold来切换输入的多个选择器(selector/multiplexer)502、504、506,以及由扫描时脉sclk所驱动的多个触发器(例如D型触发器)508、510、512,当控制信号hold从1降为0时,控制数据序列输入d_in的一第一位元会输入至触发器508并储存在其中,直到下一个时脉,第一位元会被输入至触发器510并储存在其中,而控制数据序列输入d_in的一第二位元会输入至触发器508并储存在其中,依此类推,当下一个时脉开始后,控制数据序列输入d_in的第一位元会储存在触发器512中,控制数据序列输入d_in的第二位元会储存在触发器510中,而控制数据序列输入d_in的第三位元会储存在触发器508中。另外,此时控制信号hold会从0升为1以保持触发器508~512中的储存结果,直到下一次需要写入新的控制数据序列输入d_in为止。控制器312的架构以及位元数在此仅作为范例说明,并非本发明的限制条件,位元数可以根据扫描时脉域的各数来决定,而关于架构的设计,举凡任何能够达到类似功能的作法,均属于本发明所涵盖的范围。FIG. 4 is a schematic diagram of an embodiment of the clock switching circuit 310 shown in FIG. 3 . The clock switching circuit 310 includes a controller 312 and a decoder 314, wherein the controller 312 reads the externally input control data sequence input d_in according to the scan clock sclk and the input control signal hold, and converts it into control data parallel Output d_out0, d_out1, ..., d_outM to the decoder 314 as a basis for changing the order of sclk 1 ', sclk 2 ', ..., sclk M ' to sclk 1 , sclk 2 , ..., sclk M. Please refer to FIG. 5 , which is a circuit diagram of an embodiment of the controller 312 shown in FIG. 4 . The controller 312 includes a plurality of selectors (selectors/multiplexers) 502, 504, 506 for switching inputs according to the input control signal hold, and a plurality of flip-flops (such as D-type flip-flops) 508 driven by the scan clock sclk , 510, 512, when the control signal hold decreases from 1 to 0, a first bit of the control data sequence input d_in will be input to the flip-flop 508 and stored therein, until the next clock, the first bit will be Input to the flip-flop 510 and stored therein, and a second bit of the control data sequence input d_in will be input to the flip-flop 508 and stored therein, and so on, when the next clock starts, the control data sequence input d_in The first bit is stored in the flip-flop 512 , the second bit of the control data sequence input d_in is stored in the flip-flop 510 , and the third bit of the control data sequence input d_in is stored in the flip-flop 508 . In addition, at this time, the control signal hold will rise from 0 to 1 to keep the stored results in the flip-flops 508-512 until the next time a new control data sequence input d_in needs to be written. The architecture and the number of bits of the controller 312 are only used as examples here, and are not limitations of the present invention. The number of bits can be determined according to the numbers in the scan clock domain. Regarding the design of the architecture, any similar function can be achieved. The practices all belong to the scope covered by the present invention.

综上所述,通过采用本发明所提出的扫描时脉产生器以及扫描时脉产生方法,可以使用由一芯片外部输入的一外部扫描时脉来产生出多组不同相位的多个内部扫描时脉,减少芯片在扫描测试模式下因为需要多个扫描时脉输入而造成针脚被占用的情况,同时本发明的扫描时脉产生器可产生多组不同相位的内部扫描时脉亦可达到降低瞬间测试功率的目的。In summary, by using the scan clock generator and the scan clock generation method proposed by the present invention, an external scan clock input from a chip can be used to generate multiple sets of multiple internal scan clocks with different phases. Pulse, to reduce the situation that the pins are occupied due to the need for multiple scan clock inputs in the scan test mode of the chip. At the same time, the scan clock generator of the present invention can generate multiple sets of internal scan clocks with different phases, which can also reduce the instantaneous Purpose of testing power.

以上所述仅为本发明的较佳实施例,凡依本发明申请专利权利要求范围所做的均等变化与修饰,皆应属本发明的涵盖范围。The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the patent claims of the present invention shall fall within the scope of the present invention.

Claims (18)

1. a kind of scanning clock pulse generator, scans seasonal pulse in order to provide in the multiple chips tested needed for multiple element under tests, should Scanning clock pulse generator includes:
One receiving circuit, scans seasonal pulse for receiving outside a chip;And
One seasonal pulse process circuit, is coupled to this receiving circuit, for producing this according to scanning seasonal pulse outside this chip being received Scanning seasonal pulse in multiple chips;
In wherein the plurality of chip, the seasonal pulse edge of scanning seasonal pulse offsets one from another, and this scanning clock pulse generator is to be measured with the plurality of Element is arranged in same chip.
2. scanning clock pulse generator as claimed in claim 1, wherein this seasonal pulse process circuit include:
Multiple delay circuits, in order to postpone respectively to scan seasonal pulse outside this chip being received, to produce scanning in the plurality of chip Seasonal pulse.
3. scanning clock pulse generator as claimed in claim 2, wherein this seasonal pulse process circuit have additionally comprised:
One controller, is coupled to the plurality of delay circuit, in order to adjust a retardation of each delay circuit.
4. scanning clock pulse generator as claimed in claim 3, wherein this controller receive a control data sequence, an input control Scan seasonal pulse outside signal processed and this chip, and sweep according to outside this control data sequence, this input control signal and this chip Retouch seasonal pulse and produce this delay that multiple delayed control signals are separately input into the plurality of delay circuit each delay circuit of adjustment Amount.
5. scanning clock pulse generator as claimed in claim 1, wherein this seasonal pulse process circuit include:
One delay circuit, in order to postpone to scan seasonal pulse outside this chip being received, wherein this delay circuit includes multiple concatenations Delay element, in order to produce in the plurality of chip scanning seasonal pulse respectively.
6. scanning clock pulse generator as claimed in claim 5, wherein this seasonal pulse process circuit have additionally comprised:
One controller, is coupled to the delay element of the plurality of concatenation, in order to adjust a retardation of each delay element.
7. scanning clock pulse generator as claimed in claim 6, wherein this controller receive a control data sequence, an input control Scan seasonal pulse outside signal processed and this chip, and sweep according to outside this control data sequence, this input control signal and this chip Retouch seasonal pulse and produce multiple delayed control signals and be separately input into the delay element of the plurality of concatenation and adjust each delay element This retardation.
8. scanning clock pulse generator as claimed in claim 5, wherein this seasonal pulse process circuit have additionally comprised:
One seasonal pulse switching circuit, is connected with the pairing between the plurality of element under test for switching scanning seasonal pulse in the plurality of chip Mode.
9. scanning clock pulse generator as claimed in claim 8, wherein this seasonal pulse switching circuit receive a control data sequence, one Seasonal pulse is scanned outside input control signal and this chip, and according to this control data sequence, this input control signal and this core Outside piece, scanning seasonal pulse adjusts the pairing connected mode between scanning seasonal pulse and the plurality of element under test in the plurality of chip.
10. scanning clock pulse generator as claimed in claim 9, wherein this seasonal pulse switching circuit comprise:
One controller, for producing a control signal;And
One decoder, is coupled to this controller and the plurality of delay element concatenating, to adjust this in order to decode this control signal Pairing connected mode between scanning seasonal pulse and the plurality of element under test in multiple chips.
11. scanning clock pulse generators as claimed in claim 10, wherein this controller receive multiple control bits, and foundation should Multiple control bits are producing this control signal;And the plurality of control bit by sequence transmission in the way of input this controller.
12. scanning clock pulse generators as claimed in claim 11, wherein controller include to be cut according to this input control signal Change multiple selectores of input and driven and the multiple triggerings corresponding with the plurality of selector by scanning seasonal pulse outside this chip Device.
A kind of 13. scanning seasonal pulse generation sides in order to provide scanning seasonal pulse in the multiple chips tested needed for multiple element under tests Method, includes:
Receive and scan seasonal pulse outside a chip;And
Scanning seasonal pulse in the plurality of chip is produced according to scanning seasonal pulse outside this chip being received;
In wherein the plurality of chip, the seasonal pulse edge of scanning seasonal pulse offsets one from another.
14. scanning clock pulse generation methods as claimed in claim 13, wherein according to outside this chip being received scanning seasonal pulse The step producing scanning seasonal pulse in the plurality of chip includes:
Individually to postpone to scan seasonal pulse, to produce the plurality of chip respectively outside this chip of being received in the way of parallel processing Interior scanning seasonal pulse.
15. scanning clock pulse generation methods as claimed in claim 13, wherein according to outside this chip being received scanning seasonal pulse The step producing scanning seasonal pulse in the plurality of chip includes:
To postpone in order to scan seasonal pulse outside this chip of being received with tandem, to produce scanning in the plurality of chip respectively Seasonal pulse.
16. scanning clock pulse generation methods as claimed in claim 15, wherein according to outside this chip being received scanning seasonal pulse The step producing scanning seasonal pulse in the plurality of chip has additionally comprised:
Switch the pairing connected mode between scanning seasonal pulse and the plurality of element under test in the plurality of chip.
17. scanning clock pulse generation methods as claimed in claim 16, wherein switch scanning seasonal pulse in the plurality of chip many with this The step of the pairing connected mode between individual element under test includes:
Produce a control signal;And
Decode this control signal to adjust the pairing connection side between scanning seasonal pulse and the plurality of element under test in the plurality of chip Formula.
18. scanning clock pulse generation methods as claimed in claim 17, the step wherein producing this control signal comprises:
Receive the multiple control bits being inputted in the way of sequence transmission;And
To produce this control signal according to the plurality of control bit.
CN201210447504.9A 2012-11-09 2012-11-09 Scan clock generator and method for generating scan clock Active CN103809104B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210447504.9A CN103809104B (en) 2012-11-09 2012-11-09 Scan clock generator and method for generating scan clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210447504.9A CN103809104B (en) 2012-11-09 2012-11-09 Scan clock generator and method for generating scan clock

Publications (2)

Publication Number Publication Date
CN103809104A CN103809104A (en) 2014-05-21
CN103809104B true CN103809104B (en) 2017-03-01

Family

ID=50706165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210447504.9A Active CN103809104B (en) 2012-11-09 2012-11-09 Scan clock generator and method for generating scan clock

Country Status (1)

Country Link
CN (1) CN103809104B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI625534B (en) * 2015-12-21 2018-06-01 瑞昱半導體股份有限公司 Debug method executed via scan chain for scan test and related circuitry system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3309782B2 (en) * 1997-06-10 2002-07-29 日本電気株式会社 Semiconductor integrated circuit
US6023778A (en) * 1997-12-12 2000-02-08 Intel Corporation Method and apparatus for utilizing mux scan flip-flops to test speed related defects by delaying an active to inactive transition of a scan mode signal
JP3981281B2 (en) * 2002-02-14 2007-09-26 松下電器産業株式会社 Semiconductor integrated circuit design method and test method
JP4293840B2 (en) * 2003-06-06 2009-07-08 株式会社アドバンテスト Test equipment
US20070255990A1 (en) * 2006-04-12 2007-11-01 Burke Kevin C Test access port switch
CN101478308B (en) * 2009-01-13 2011-03-30 北京时代民芯科技有限公司 Configurable frequency synthesizer circuit based on time-delay lock loop

Also Published As

Publication number Publication date
CN103809104A (en) 2014-05-21

Similar Documents

Publication Publication Date Title
US9222979B2 (en) On-chip controller and a system-on-chip
KR100870037B1 (en) Easy to test semiconductor device, test method of semiconductor device, test clock generation method and device for semiconductor device test
JP5181499B2 (en) SCAN test circuit and semiconductor integrated circuit
US20160349318A1 (en) Dynamic Clock Chain Bypass
CN111624478B (en) A clock signal control circuit and device
US20130111286A1 (en) Scan enable timing control for testing of scan cells
JP2010276479A (en) Semiconductor integrated circuit and test method thereof
TW201537198A (en) Integrated circuit and method for establishing scan test architecture in integrated circuit
US9964596B2 (en) Integrated circuit with low power scan system
TWI461717B (en) Scan clock generator and scan clock generation method
US20130111285A1 (en) Scan test circuitry comprising scan cells with functional output multiplexing
CN107068192B (en) Local clock signal generation circuit for timing measurement of memory
US11262403B2 (en) Semiconductor device
US8793546B2 (en) Integrated circuit comprising scan test circuitry with parallel reordered scan chains
US20140372823A1 (en) Managing ir drop
US20160169965A1 (en) Scan testing with staggered clocks
JP5305134B2 (en) Waveform generation circuit
CN101373639A (en) Memory time sequence measuring circuit and testing method thereof
CN103809104B (en) Scan clock generator and method for generating scan clock
US8422324B2 (en) Method and apparatus for sending test mode signals
TWI684774B (en) Circuit applied for multi-scan mode testing
CN115598492A (en) Delay circuit test method and test circuit
JP6459806B2 (en) Semiconductor integrated circuit
TW201633325A (en) Integrated circuit and method for establishing scan test architecture in integrated circuit
KR20160058501A (en) Semiconductor Apparatus and Operation Method

Legal Events

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