[go: up one dir, main page]

CN101021739A - Reset system and reset method - Google Patents

Reset system and reset method Download PDF

Info

Publication number
CN101021739A
CN101021739A CN 200710079471 CN200710079471A CN101021739A CN 101021739 A CN101021739 A CN 101021739A CN 200710079471 CN200710079471 CN 200710079471 CN 200710079471 A CN200710079471 A CN 200710079471A CN 101021739 A CN101021739 A CN 101021739A
Authority
CN
China
Prior art keywords
signal
reset
clock
control signal
clock control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200710079471
Other languages
Chinese (zh)
Other versions
CN100498649C (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.)
Via Technologies Inc
Original Assignee
Via Technologies Inc
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 Via Technologies Inc filed Critical Via Technologies Inc
Priority to CNB2007100794716A priority Critical patent/CN100498649C/en
Publication of CN101021739A publication Critical patent/CN101021739A/en
Application granted granted Critical
Publication of CN100498649C publication Critical patent/CN100498649C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electronic Switches (AREA)

Abstract

The invention provides a reset system and a reset method, in particular to a reset system for completing the reset operation of an integrated circuit chip, which comprises the following steps: a delay module for receiving a reset source signal and a reference clock signal to generate a system reset signal and a synchronization signal; the clock control signal generation module receives the system reset signal, the synchronous signal and the reference clock signal to generate a clock control signal, and the clock control signal generation module enables the clock control signal to be effective after the received synchronous signal is changed from an effective state to a failure state; and a latch unit for determining whether to output the system clock signal according to the received reference clock signal and the clock control signal. The invention realizes the synchronous operation of asynchronous reset by controlling the output of the system clock signal sent to the integrated circuit chip, thereby not needing to add a delay buffer in a circuit connection path, further reducing the complexity of circuit design and simultaneously reducing the area of the chip.

Description

复位系统及复位方法Reset system and reset method

技术领域technical field

本发明涉及一种集成电路的设计方法,特别是一种应用在集成电路设计中的复位系统及复位方法。The invention relates to an integrated circuit design method, in particular to a reset system and reset method applied in integrated circuit design.

背景技术Background technique

随着集成电路设计技术的发展,单芯片电路的设计规模变大,而设计复杂度也随之增高。目前在集成电路设计中,特别是以SOC芯片(system on chip,片上系统)为代表的大规模集成电路设计中,通常采用同步时序设计方法来控制芯片各模块的逻辑输出。所述同步时序设计是指在集成电路的芯片内部,所有触发器都工作于相同的时钟信号,而且所有触发器状态的翻转也都发生在同一时刻。With the development of integrated circuit design technology, the design scale of single-chip circuits has become larger, and the design complexity has also increased. At present, in the design of integrated circuits, especially in the design of large-scale integrated circuits represented by SOC chips (system on chip, system on chip), synchronous timing design methods are usually used to control the logic output of each module of the chip. The synchronous timing design means that inside the chip of the integrated circuit, all flip-flops work on the same clock signal, and the inversion of states of all flip-flops also occurs at the same moment.

但是,在实际过程中,由于时钟信号到达各个触发器所经历路径的不同,因而使得各个触发器上时钟信号的延时不相同,从而导致时钟信号到达各个触发器的时间不相同,进而无法保证所有触发器状态的翻转都在同一时刻。因此,很可能造成系统的逻辑状态混乱,由此导致该集成电路设计无法达到预期的要求。如图1所示,为保证时钟信号到达各个触发器的时间相同,现有技术通常会通过插入时钟树的方法对时钟信号clock_in到各个触发器FF1~FFn的传输路径进行补偿,以使时钟信号clock_in可以在同一时刻达到所有的触发器。However, in the actual process, due to the different paths that the clock signal takes to reach each flip-flop, the delay of the clock signal on each flip-flop is different, resulting in the time when the clock signal arrives at each flip-flop is not the same, and thus cannot guarantee All flip-flop states are flipped at the same instant. Therefore, the logical state of the system is likely to be confused, and thus the integrated circuit design cannot meet the expected requirements. As shown in Figure 1, in order to ensure that the clock signal reaches each flip-flop at the same time, the prior art usually compensates the transmission path from the clock signal clock_in to each flip-flop FF1-FFn by inserting a clock tree, so that the clock signal clock_in can reach all flip-flops at the same time.

类似地,如图1所示,现有技术中通常采用类似于插入时钟树的方法来保证复位源信号rst_in同步到达设计芯片1内的各个触发器,即触发器FF1~FFn。每一触发器设有一复位端RST,用以接收复位源信号rst_in,以促使触发器FF1~FFn依据复位源信号rst_in分别进行复位操作。一般来说,由复位源信号rst_in到触发器FF1~FFn的复位端RST的电路连接路径,即P1,P2...Pn并不相同。为方便说明,假设复位源信号rst_in到触发器FF1的路径P1最短,复位源信号rst_in到触发器FFn的路径Pn最长。为使触发器FF1~FFn能够同步进行复位操作,现有技术在路径P1中插入两个延时缓冲器Buf,同时在路径P2中插入一个延时缓冲器Buf,以使复位源信号rst_in经过预定时间的延迟后到达触发器FF1和FF2,并促使触发器FF1~FFn同步进行复位操作。Similarly, as shown in FIG. 1 , in the prior art, a method similar to inserting a clock tree is usually used to ensure that the reset source signal rst_in arrives synchronously at each flip-flop in the design chip 1 , that is, flip-flops FF1˜FFn. Each flip-flop is provided with a reset terminal RST for receiving the reset source signal rst_in, so as to prompt the flip-flops FF1˜FFn to respectively perform reset operations according to the reset source signal rst_in. Generally speaking, the circuit connection paths from the reset source signal rst_in to the reset terminals RST of the flip-flops FF1˜FFn, ie, P1, P2 . . . Pn are different. For convenience of description, it is assumed that the path P1 from the reset source signal rst_in to the flip-flop FF1 is the shortest, and the path Pn from the reset source signal rst_in to the flip-flop FFn is the longest. In order to enable the flip-flops FF1 to FFn to perform reset operations synchronously, in the prior art, two delay buffers Buf are inserted in the path P1, and one delay buffer Buf is inserted in the path P2 at the same time, so that the reset source signal rst_in passes through a predetermined After a time delay, it reaches the flip-flops FF1 and FF2, and prompts the flip-flops FF1-FFn to perform reset operation synchronously.

然而,由于上述的复位系统中必须依据复位源信号到触发器的电路连接路径的长短插入一定数量的延时缓冲器,从而增加了集成电路芯片设计的复杂度以及芯片的面积。尤其对于大规模集成电路芯片设计来说,若仍然通过增加延时缓冲器来使接收的复位源信号同步,将大大增加集成电路芯片的设计难度与成本。However, since a certain number of delay buffers must be inserted in the above-mentioned reset system according to the length of the circuit connection path from the reset source signal to the flip-flop, the complexity of IC chip design and chip area are increased. Especially for large-scale integrated circuit chip design, if the received reset source signal is still synchronized by adding a delay buffer, it will greatly increase the design difficulty and cost of the integrated circuit chip.

发明内容Contents of the invention

本发明的目的在于提供一种集成电路复位系统及集成电路复位方法,其可以应用于大规模集成电路,且具有较低的成本。The object of the present invention is to provide an integrated circuit reset system and an integrated circuit reset method, which can be applied to large-scale integrated circuits and have lower cost.

本发明提供了一种用于完成集成电路芯片的复位操作的复位系统,其包括:一延迟模块,接收一复位源信号及一参考时钟信号,以产生一系统复位信号及一同步信号;一时钟控制信号产生模块,接收所述系统复位信号和同步信号及参考时钟信号,以产生一时钟控制信号,所述时钟控制信号产生模块在接收到的同步信号由有效状态变为失效状态后,使所述时钟控制信号有效;以及一锁存单元,依据接收的参考时钟信号和时钟控制信号决定是否输出系统时钟信号。The present invention provides a reset system for completing the reset operation of an integrated circuit chip, which includes: a delay module receiving a reset source signal and a reference clock signal to generate a system reset signal and a synchronization signal; a clock The control signal generation module receives the system reset signal, the synchronization signal and the reference clock signal to generate a clock control signal, and the clock control signal generation module makes all the The above clock control signal is valid; and a latch unit determines whether to output the system clock signal according to the received reference clock signal and the clock control signal.

本发明提供了一种用于完成集成电路芯片的复位操作的复位方法,其包括:依据复位源信号产生一与参考时钟信号同步的同步信号;对同步信号进行延时操作,以获得一系统复位信号;依据所述同步信号和系统复位信号产生一时钟控制信号,以决定是否输出一系统时钟信号;以及输出该系统复位信号,以进行复位操作,其中当所述同步信号由有效状态变为失效状态后,使所述时钟控制信号有效,以使输出的系统时钟信号为无效状态。The invention provides a reset method for completing the reset operation of an integrated circuit chip, which includes: generating a synchronization signal synchronized with a reference clock signal according to a reset source signal; performing a delay operation on the synchronization signal to obtain a system reset signal; generate a clock control signal according to the synchronization signal and the system reset signal to determine whether to output a system clock signal; and output the system reset signal to perform a reset operation, wherein when the synchronization signal changes from a valid state to an invalid After the state, make the clock control signal valid, so that the output system clock signal is in an invalid state.

本发明通过控制发送到集成电路芯片的系统时钟信号的输出来实现异步复位的同步化操作,因而不需要在电路连接路径中添加延迟缓冲器,进而可以降低电路设计的复杂度,同时减少芯片的面积。The present invention realizes the synchronous operation of the asynchronous reset by controlling the output of the system clock signal sent to the integrated circuit chip, so there is no need to add a delay buffer in the circuit connection path, thereby reducing the complexity of the circuit design and reducing the chip's area.

附图说明Description of drawings

图1为现有技术的复位系统的结构示意图。FIG. 1 is a schematic structural diagram of a reset system in the prior art.

图2为依据本发明一实施例的复位系统的结构示意图。FIG. 2 is a schematic structural diagram of a reset system according to an embodiment of the present invention.

图3为图2所示复位系统的控制信号时序图。FIG. 3 is a timing diagram of control signals of the reset system shown in FIG. 2 .

图4为依据本发明另一实施例的复位系统的结构示意图。FIG. 4 is a schematic structural diagram of a reset system according to another embodiment of the present invention.

具体实施方式Detailed ways

通过下面结合示例性地示出一例的附图进行的描述,本发明的上述和其它目的和特点将会变得更加清楚。The above and other objects and features of the present invention will become more apparent from the following description taken in conjunction with the accompanying drawings exemplarily showing an example.

本发明通过控制系统时钟信号的输出来完成集成电路的异步复位的同步化操作。以下将结合附图具体说明本发明的复位系统。The invention completes the synchronous operation of the asynchronous reset of the integrated circuit by controlling the output of the system clock signal. The reset system of the present invention will be described in detail below with reference to the accompanying drawings.

请参阅图2,依据本发明一实施例的复位系统100依据接收的复位源信号rst_in和参考时钟信号clock_in产生一系统复位信号111与一系统时钟信号311至设计芯片500,以使设计芯片500中的触发器FF1~FFn进行复位操作。Please refer to FIG. 2 , the reset system 100 according to an embodiment of the present invention generates a system reset signal 111 and a system clock signal 311 to the design chip 500 according to the received reset source signal rst_in and the reference clock signal clock_in, so that the design chip 500 The flip-flops FF1 ~ FFn of the reset operation.

本实施例的复位系统100包括一延迟模块1,一时钟控制信号产生模块2,及一锁存单元3。延迟模块1依据接收的参考时钟信号clock_in对复位源信号rst_in进行同步及延时操作,并输出一同步信号101与一系统复位信号111。设计芯片500中的触发器FF1~FFn依据系统复位信号111进行复位操作。时钟控制信号产生模块2接收同步信号101与系统复位信号111,以输出一时钟控制信号221。锁存单元3接收时钟控制信号221和参考时钟信号clock_in,并根据时钟控制信号221决定是否输出系统时钟信号311。The reset system 100 of this embodiment includes a delay module 1 , a clock control signal generation module 2 , and a latch unit 3 . The delay module 1 performs synchronization and delay operations on the reset source signal rst_in according to the received reference clock signal clock_in, and outputs a synchronization signal 101 and a system reset signal 111 . The flip-flops FF1 - FFn in the design chip 500 perform a reset operation according to the system reset signal 111 . The clock control signal generation module 2 receives the synchronization signal 101 and the system reset signal 111 to output a clock control signal 221 . The latch unit 3 receives the clock control signal 221 and the reference clock signal clock_in, and determines whether to output the system clock signal 311 according to the clock control signal 221 .

延迟模块1可进一步划分为一同步单元10和一延时单元11。同步单元10由触发器D1与触发器D2组成,触发器D1的输入端接收电压VDD以及一参考时钟信号clock_in,复位端RST则接收复位源信号rst_in,以进行复位操作。触发器D2接收触发器D1输出的信号及参考时钟信号clock_in,以输出同步信号101,并依据复位源信号rst_in进行复位操作。如本领域熟练技术人员所知,复位源信号rst_in经过触发器D1与触发器D2的操作后达到与参考时钟信号clock_in同步的效果,且当复位源信号rst_in有效(假设低电平有效)时,触发器D2输出的同步信号101为低电平。延时单元11接收同步信号101、参考时钟信号clock_in以及复位源信号rst_in,以对同步信号101进行延时操作。在本实施例中,延时模块11由三个依次连接的触发器D3、D4、D5组成,从而使得触发器D5输出的系统复位信号111相对于触发器D3接收的同步信号101延迟了3个时钟周期。The delay module 1 can be further divided into a synchronization unit 10 and a delay unit 11 . The synchronization unit 10 is composed of a flip-flop D1 and a flip-flop D2. The input terminal of the flip-flop D1 receives the voltage VDD and a reference clock signal clock_in, and the reset terminal RST receives the reset source signal rst_in for reset operation. The flip-flop D2 receives the signal output by the flip-flop D1 and the reference clock signal clock_in to output the synchronization signal 101 , and performs a reset operation according to the reset source signal rst_in. As known to those skilled in the art, the reset source signal rst_in achieves the effect of synchronizing with the reference clock signal clock_in after the operation of the flip-flop D1 and the flip-flop D2, and when the reset source signal rst_in is active (assuming that the low level is active), The synchronization signal 101 output by the flip-flop D2 is at low level. The delay unit 11 receives the synchronization signal 101 , the reference clock signal clock_in and the reset source signal rst_in to delay the synchronization signal 101 . In this embodiment, the delay module 11 is composed of three sequentially connected flip-flops D3, D4, and D5, so that the system reset signal 111 output by the flip-flop D5 is delayed by 3 times relative to the synchronization signal 101 received by the flip-flop D3 clock cycle.

时钟控制信号产生模块2包括一异或门20、一反相器21以及一触发器22。异或门20对接收的同步信号101和系统复位信号111进行异或操作,以输出一信号201。反相器21对信号201进行反相操作以产生一预锁存信号210。触发器22接收预锁存信号210及参考时钟信号clock_in,以得到与参考时钟信号clock_in同步的时钟控制信号221。The clock control signal generation module 2 includes an exclusive OR gate 20 , an inverter 21 and a flip-flop 22 . The XOR gate 20 performs an XOR operation on the received synchronization signal 101 and the system reset signal 111 to output a signal 201 . The inverter 21 inverts the signal 201 to generate a pre-latch signal 210 . The flip-flop 22 receives the pre-latch signal 210 and the reference clock signal clock_in to obtain a clock control signal 221 synchronized with the reference clock signal clock_in.

锁存单元3由锁存器30和时钟门31组成。锁存器30对时钟控制信号221与参考时钟信号clock_in进行下降沿有效的同步操作,以输出信号301。时钟门31接收锁存器30输出的信号301和参考时钟信号clock_in,以依据信号301来控制系统时钟信号311的输出,本实施例中,时钟门31为与门。由于时钟控制信号221是经过锁存器30的同步处理后输出至时钟门31,因而可以防止时钟门31输出的系统时钟信号311出现毛刺。The latch unit 3 is composed of a latch 30 and a clock gate 31 . The latch 30 performs a falling-edge active synchronous operation on the clock control signal 221 and the reference clock signal clock_in to output the signal 301 . The clock gate 31 receives the signal 301 output by the latch 30 and the reference clock signal clock_in to control the output of the system clock signal 311 according to the signal 301 . In this embodiment, the clock gate 31 is an AND gate. Since the clock control signal 221 is output to the clock gate 31 after being synchronized by the latch 30 , glitches in the system clock signal 311 output by the clock gate 31 can be prevented.

对于本领域技术人员而言,以上的实施例仅是一个实现本发明的较佳实例。本领域技术人员可通过以上的说明,基于本发明揭露范围可以有不同的实施方式。例如,时钟控制信号产生模块2也可以利用与门或其它逻辑组件组成,而达到时钟控制信号产生模块2在接收到的同步信号101由有效状态变为失效状态后,使所述时钟控制信号221有效的结果。类似地,锁存单元3,依据接收的参考时钟信号clock_in和时钟控制信号221决定是否输出系统时钟信号311,亦可由不同逻辑组件组成而产生相同的效果。For those skilled in the art, the above embodiment is only a preferred example for realizing the present invention. Those skilled in the art can have different implementations based on the disclosure scope of the present invention based on the above description. For example, the clock control signal generation module 2 can also be made up of AND gates or other logic components, so that the clock control signal generation module 2 can make the clock control signal 221 effective results. Similarly, the latch unit 3 , which determines whether to output the system clock signal 311 according to the received reference clock signal clock_in and the clock control signal 221 , can also be composed of different logic components to produce the same effect.

为清楚的揭示本发明,以下将结合上述各控制信号的波形图来描述本发明的复位系统是如何通过控制系统时钟信号的输出来实现设计芯片的同步复位操作的。In order to clearly disclose the present invention, the following will describe how the reset system of the present invention realizes the synchronous reset operation of the designed chip by controlling the output of the system clock signal in combination with the waveform diagrams of the above-mentioned control signals.

请参阅图3,假设复位源信号rst_in低电平有效,且复位源信号rst_in在参考时钟信号clock_in的T3周期由无效状态变为有效状态,即需要对设计芯片500进行复位操作。同步模块10随即依据参考时钟信号clock_in对复位源信号rst_in进行同步操作,以产生与复位源信号rst_in相差一个时钟周期的同步信号101,即同步信号101在时钟周期T3~T5有效。随后,延时单元11的触发器D3、D4、D5依次对同步信号101进行延时操作,从而使得延时单元11输出的系统复位信号111相对于同步信号101延迟3个时钟周期结束,即系统复位信号111在时钟周期T3~T8有效。这时,设计芯片500中的触发器FF1~FFn可依据接收的系统复位信号111进行复位操作。异或门20对同步信号101和系统复位信号111进行异或操作,反相器21将异或门20输出的信号201反相后得到预锁存信号210。显然,当同步信号101与系统复位信号111均为有效状态时,预锁存信号210为高电平;当同步信号101由有效状态变为无效状态,而系统复位信号111仍处于有效状态时,预锁存信号210变为有效状态;当同步信号101与系统复位信号111均为无效状态时,预锁存信号210由有效状态变为无效状态,也就是说预锁存信号在时钟周期T6~T8为有效状态。由于时钟控制信号221是经过触发器22对预锁存信号210作同步处理后得到的,所以时钟控制信号221相对于预锁存信号210延迟一个时钟周期变为有效状态/无效状态,即时钟控制信号221在时钟周期T7~T9有效。由于锁存器30是依据参考时钟信号clock_in对时钟控制信号221进行下降沿有效的锁存,而时钟门31是依据锁存器30输出的信号301来控制系统时钟信号311的输出,因而系统时钟信号311在时钟周期T7的下降沿与时钟周期T10的下降沿之间为无效状态,即保持为低电平状态。Please refer to FIG. 3 , assuming that the reset source signal rst_in is active at low level, and the reset source signal rst_in changes from an inactive state to an active state during the period T3 of the reference clock signal clock_in, that is, the design chip 500 needs to be reset. The synchronization module 10 then performs a synchronous operation on the reset source signal rst_in according to the reference clock signal clock_in to generate a synchronization signal 101 with a difference of one clock period from the reset source signal rst_in, that is, the synchronization signal 101 is valid during clock periods T3-T5. Subsequently, the triggers D3, D4, and D5 of the delay unit 11 sequentially delay the synchronous signal 101, so that the system reset signal 111 output by the delay unit 11 is delayed by 3 clock cycles relative to the synchronous signal 101, that is, the system The reset signal 111 is valid during clock periods T3-T8. At this time, the flip-flops FF1 - FFn in the design chip 500 can perform a reset operation according to the received system reset signal 111 . The XOR gate 20 performs an XOR operation on the synchronization signal 101 and the system reset signal 111 , and the inverter 21 inverts the signal 201 output by the XOR gate 20 to obtain a pre-latch signal 210 . Obviously, when the synchronization signal 101 and the system reset signal 111 are both active, the pre-latch signal 210 is at a high level; when the synchronization signal 101 changes from an active state to an invalid state while the system reset signal 111 is still active, The pre-latch signal 210 becomes active; when the synchronization signal 101 and the system reset signal 111 are both inactive, the pre-latch signal 210 changes from the active state to the invalid state, that is to say, the pre-latch signal is in the clock cycle T6~ T8 is a valid state. Since the clock control signal 221 is obtained after the pre-latch signal 210 is synchronously processed by the flip-flop 22, the clock control signal 221 becomes an active state/inactive state after a clock cycle delay relative to the pre-latch signal 210, that is, the clock control signal 221 Signal 221 is valid during clock periods T7-T9. Since the latch 30 is based on the reference clock signal clock_in to latch the clock control signal 221 on a falling edge, and the clock gate 31 controls the output of the system clock signal 311 based on the signal 301 output by the latch 30, the system clock The signal 311 is in an inactive state between the falling edge of the clock cycle T7 and the falling edge of the clock cycle T10 , that is, remains in a low level state.

由以上描述可知,在接收到的系统复位信号有效后,设计芯片500中的触发器FF1~FFn开始进行复位操作,而触发器FF1~FFn进行复位操作后的状态将保持不变,直到接收到有效的系统时钟信号311。一般来说,系统时钟信号311在到达设计芯片500的触发器FF1~FFn之前会有一些延迟,同样系统复位信号111也有一些延迟。本系统中在系统复位信号111变为无效状态之前和之后都把系统时钟信号311控制为无效状态是为了保证设计芯片500中的每一个触发器FF1~FFn在系统复位信号111从有效变为无效时不会有时钟沿在此时出现,以保证它们之间的建立和保持时间。这样,在同步的系统时钟信号311发送到设计芯片500之前,触发器FF1~FFn就已经经过复位,因此设计芯片500的触发器在分别收到正常输出的系统时钟信号311后可以进行正常的逻辑运算。另一方面,如图3所示,在复位源信号rst_in变为有效状态后的一段时间内,系统时钟信号311仍然会正常输出,因而本发明复位系统可以通过一些特定的软件来实现设计芯片500的复位操作。例如,可以通过软件来设定系统复位信号保持有效状态的时间。It can be seen from the above description that after the received system reset signal is valid, the flip-flops FF1~FFn in the design chip 500 start to reset, and the state of the flip-flops FF1~FFn after the reset operation will remain unchanged until receiving Valid system clock signal 311 . Generally speaking, the system clock signal 311 has some delay before reaching the flip-flops FF1 - FFn of the design chip 500 , and the system reset signal 111 also has some delay. In this system, before and after the system reset signal 111 becomes invalid, the system clock signal 311 is controlled to be in an invalid state to ensure that each flip-flop FF1-FFn in the design chip 500 changes from valid to invalid when the system reset signal 111 is inactive. There will be no clock edge at this time to ensure the setup and hold time between them. In this way, before the synchronous system clock signal 311 is sent to the design chip 500, the flip-flops FF1-FFn have been reset, so the flip-flops of the design chip 500 can perform normal logic after receiving the normally output system clock signal 311 respectively. operation. On the other hand, as shown in FIG. 3 , within a period of time after the reset source signal rst_in becomes active, the system clock signal 311 will still be output normally, so the reset system of the present invention can be realized by designing the chip 500 through some specific software. reset operation. For example, the time during which the system reset signal remains active can be set by software.

图4所示为依据本发明另一实施例的复位系统的结构示意图。需要说明的是,图4与图2中相同的元件均以相同的标号来标示。FIG. 4 is a schematic structural diagram of a reset system according to another embodiment of the present invention. It should be noted that the same elements in FIG. 4 and FIG. 2 are marked with the same reference numerals.

如本领域技术人员所知,图2所示本发明一实施例的复位系统可以通过改变延时单元11内触发器的数量来调整系统复位信号持续有效的时间。图4所示的复位系统则是通过调整参考时钟信号的频率来改变系统时钟信号的有效时间。如图4所示,参考时钟信号clock_in通过时钟分频单元6的分频处理后输出至延迟模块1和时钟控制信号产生模块2,从而达到增大时钟周期的效果。举例来说,时钟分频单元6对接收的参考时钟信号clock_in进行1/2分频的处理后得到一时钟信号60,即两个参考时钟信号clock_in周期等于一个时钟信号60的周期。这样,同步单元10依据时钟信号60对复位源信号rst_in进行同步操作后输出同步信号101,此时的同步信号101相对于复位源信号rst_in延迟了两个参考时钟信号clock_in周期。很显然,由延时单元11输出的系统复位信号111相对于同步信号101延迟了六个参考时钟信号clock_in周期,因而相对于本发明图2所示的复位系统,本实施例中的系统复位信号111有效的时间增加了一倍,从而使得设计芯片500中的触发器FF1~FFn有更加充裕的时间进行复位操作。As known to those skilled in the art, the reset system of an embodiment of the present invention shown in FIG. 2 can adjust the duration of the system reset signal by changing the number of flip-flops in the delay unit 11 . The reset system shown in FIG. 4 changes the effective time of the system clock signal by adjusting the frequency of the reference clock signal. As shown in FIG. 4 , the reference clock signal clock_in is output to the delay module 1 and the clock control signal generation module 2 after frequency division by the clock frequency division unit 6 , so as to increase the clock period. For example, the clock frequency division unit 6 divides the frequency of the received reference clock signal clock_in by 1/2 to obtain a clock signal 60 , that is, the period of two reference clock signals clock_in is equal to the period of one clock signal 60 . In this way, the synchronization unit 10 performs a synchronization operation on the reset source signal rst_in according to the clock signal 60 and then outputs a synchronization signal 101 . The synchronization signal 101 at this time is delayed by two cycles of the reference clock signal clock_in relative to the reset source signal rst_in. Obviously, the system reset signal 111 output by the delay unit 11 is delayed by six reference clock signal clock_in cycles relative to the synchronous signal 101. Therefore, relative to the reset system shown in FIG. 2 of the present invention, the system reset signal in this embodiment The effective time of 111 is doubled, so that the flip-flops FF1˜FFn in the design chip 500 have more sufficient time for reset operation.

本发明所揭露的复位系统具有下列的优点:The reset system disclosed by the present invention has the following advantages:

1.避免系统复位信号传递到各个触发器的时间延迟,使各触发器完成复位后,再接收到系统时钟信号,进入正常操作模式。该作用可有效提高系统的可靠度。1. To avoid the time delay for the system reset signal to be transmitted to each flip-flop, so that after each flip-flop completes the reset, it receives the system clock signal and enters the normal operation mode. This effect can effectively improve the reliability of the system.

2.系统设计时可以不需考虑系统复位信号传递到各个触发器的时间延迟,简化了电路布线设计的限制。2. The system design does not need to consider the time delay of the system reset signal being transmitted to each flip-flop, which simplifies the limitation of circuit wiring design.

3.可支持软件所产生的复位请求。软件发生的复位请求必须在硬件仍处于正常操作下才能完成复位。本发明的复位系统在接收到复位源信号时,通过延迟模块仍持续输出系统时钟信号,使下级硬件仍可处于正常操作下,使系统持续工作并完成复位。3. Can support reset request generated by software. A reset request by software must be completed while the hardware is still in normal operation. When the reset system of the present invention receives the reset source signal, it continues to output the system clock signal through the delay module, so that the lower-level hardware can still be in normal operation, so that the system can continue to work and complete the reset.

以上所述仅为本发明较佳实施例,然其并非用以限定本发明的范围,任何熟悉本项技术的人员,在不脱离本发明的精神和范围内,可在此基础上做进一步的改进和变化,因此本发明的保护范围当以本申请的权利要求书所界定的范围为准。The above description is only a preferred embodiment of the present invention, but it is not intended to limit the scope of the present invention. Any person familiar with this technology can make further improvements on this basis without departing from the spirit and scope of the present invention. Improvements and changes, so the protection scope of the present invention should be defined by the claims of the present application.

Claims (14)

1.一种复位系统,用于完成集成电路芯片的复位操作,其特征在于,包括:1. A reset system, used to complete the reset operation of the integrated circuit chip, is characterized in that, comprising: 一延迟模块,接收一复位源信号及一参考时钟信号,以产生一系统复位信号及一同步信号;A delay module, receiving a reset source signal and a reference clock signal to generate a system reset signal and a synchronization signal; 一时钟控制信号产生模块,接收所述系统复位信号、同步信号及参考时钟信号,以产生一时钟控制信号,所述时钟控制信号产生模块在接收到的同步信号由有效状态变为失效状态后,使所述时钟控制信号有效;以及A clock control signal generation module, receiving the system reset signal, synchronization signal and reference clock signal to generate a clock control signal, after the synchronization signal received by the clock control signal generation module changes from the valid state to the invalid state, asserting the clock control signal; and 一锁存单元,依据接收的参考时钟信号和时钟控制信号决定是否输出系统时钟信号。A latch unit decides whether to output the system clock signal according to the received reference clock signal and the clock control signal. 2.根据权利要求1所述的复位系统,其特征在于,当所述时钟控制信号产生模块接收的同步信号和系统复位信号均为有效状态时,所述时钟控制信号产生模块输出的时钟控制信号为无效状态。2. The reset system according to claim 1, characterized in that, when the synchronization signal received by the clock control signal generation module and the system reset signal are both in an active state, the clock control signal output by the clock control signal generation module is invalid. 3.根据权利要求1所述的复位系统,其特征在于,当所述时钟控制信号产生模块接收的同步信号为无效状态,而系统复位信号为有效状态时,所述时钟控制信号产生模块输出的时钟控制信号为有效状态。3. The reset system according to claim 1, wherein when the synchronization signal received by the clock control signal generating module is in an invalid state and the system reset signal is in an active state, the clock control signal generating module outputs The clock control signal is active. 4.根据权利要求1所述的复位系统,其特征在于,当所述时钟控制信号产生模块接收的同步信号和系统复位信号均为无效状态时,所述时钟控制信号产生模块输出的时钟控制信号为无效状态。4. The reset system according to claim 1, wherein when the synchronization signal received by the clock control signal generation module and the system reset signal are both in an invalid state, the clock control signal output by the clock control signal generation module is invalid. 5.根据权利要求1至4中任意一项所述的复位系统,其特征在于,所述时钟控制信号产生模块包括:5. The reset system according to any one of claims 1 to 4, wherein the clock control signal generating module comprises: 一异或门,接收所述同步信号和系统复位信号;以及an exclusive OR gate, receiving the synchronization signal and the system reset signal; and 一反相器,对所述异或门输出的信号进行反相处理后输出一预锁存信号。An inverter for inverting the signal output by the XOR gate and outputting a pre-latch signal. 6.根据权利要求5所述的复位系统,其特征在于,所述时钟控制信号产生模块还包括一触发器,接收所述预锁存信号和参考时钟信号,以输出所述时钟控制信号。6 . The reset system according to claim 5 , wherein the clock control signal generating module further comprises a flip-flop for receiving the pre-latch signal and a reference clock signal to output the clock control signal. 7.根据权利要求1所述的复位系统,其特征在于,所述延迟模块包括:7. The reset system according to claim 1, wherein the delay module comprises: 一同步单元,对所述复位源信号及参考时钟信号进行同步操作,并输出所述同步信号;以及a synchronization unit, which performs a synchronous operation on the reset source signal and the reference clock signal, and outputs the synchronization signal; and 一延时单元,接收所述同步单元输出的同步信号,并且在对同步信号进行延时操作后输出所述系统复位信号。A delay unit receives the synchronization signal output by the synchronization unit, and outputs the system reset signal after delaying the synchronization signal. 8.根据权利要求1所述的复位系统,其特征在于,所述锁存单元包括:8. The reset system according to claim 1, wherein the latch unit comprises: 一锁存器,其控制端接收所述参考时钟信号,其输入端接收所述时钟控制信号;以及a latch whose control terminal receives the reference clock signal and whose input terminal receives the clock control signal; and 一时钟门,接收所述锁存器输出的信号和参考时钟信号。A clock gate receives the signal output by the latch and a reference clock signal. 9.根据权利要求8所述的复位系统,其特征在于,所述其中,当锁存器接收的时钟控制信号为有效状态时,所述时钟门输出的系统时钟信号为无效状态。9. The reset system according to claim 8, wherein, when the clock control signal received by the latch is in an active state, the system clock signal output by the clock gate is in an invalid state. 10.根据权利要求1所述的复位系统,其特征在于,还包括一时钟分频单元,对接收的参考时钟信号进行分频处理后输出至所述延迟模块。10. The reset system according to claim 1, further comprising a clock frequency division unit, which performs frequency division processing on the received reference clock signal and outputs it to the delay module. 11.一种复位方法,用于完成集成电路芯片的复位操作,其特征在于,包括:11. A reset method, used to complete the reset operation of the integrated circuit chip, is characterized in that, comprising: 依据复位源信号产生一与参考时钟信号同步的同步信号;generating a synchronous signal synchronous with the reference clock signal according to the reset source signal; 对同步信号进行延时操作,以获得一系统复位信号;Delaying the synchronization signal to obtain a system reset signal; 依据所述同步信号和系统复位信号产生一时钟控制信号,以决定是否输出一系统时钟信号;以及generating a clock control signal according to the synchronization signal and the system reset signal to determine whether to output a system clock signal; and 输出该系统复位信号,以进行复位操作,其中:Output the system reset signal for reset operation, where: 当所述同步信号由有效状态变为失效状态后,使所述时钟控制信号有效,以使输出的系统时钟信号为无效状态。When the synchronization signal changes from the valid state to the invalid state, the clock control signal is made valid so that the output system clock signal is in the invalid state. 12.根据权利要求11所述的复位方法,其特征在于,当所述同步信号和系统复位信号均为有效状态时,使所述时钟控制信号无效,以输出系统时钟信号。12 . The reset method according to claim 11 , wherein when both the synchronization signal and the system reset signal are active, the clock control signal is disabled to output a system clock signal. 13 . 13.根据权利要求11所述的复位方法,其特征在于,当所述同步信号为无效状态,而系统复位信号为有效状态时,使所述时钟控制信号有效。13. The reset method according to claim 11, wherein when the synchronization signal is in an invalid state and the system reset signal is in an active state, the clock control signal is enabled. 14.根据权利要求11所述的复位方法,其特征在于,当所述同步信号和系统复位信号均为无效状态时,使所述时钟控制信号无效,以输出系统时钟信号。14. The reset method according to claim 11, wherein when both the synchronization signal and the system reset signal are in an invalid state, the clock control signal is invalidated to output a system clock signal.
CNB2007100794716A 2007-03-28 2007-03-28 Reset system and reset method Active CN100498649C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100794716A CN100498649C (en) 2007-03-28 2007-03-28 Reset system and reset method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100794716A CN100498649C (en) 2007-03-28 2007-03-28 Reset system and reset method

Publications (2)

Publication Number Publication Date
CN101021739A true CN101021739A (en) 2007-08-22
CN100498649C CN100498649C (en) 2009-06-10

Family

ID=38709529

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100794716A Active CN100498649C (en) 2007-03-28 2007-03-28 Reset system and reset method

Country Status (1)

Country Link
CN (1) CN100498649C (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102204099A (en) * 2011-04-13 2011-09-28 华为技术有限公司 reset device
CN102957424A (en) * 2011-08-22 2013-03-06 上海华虹集成电路有限责任公司 Groove signal restoring circuit for ISO (international standardization organization) 14443 Type A protocol
CN102955922A (en) * 2011-08-22 2013-03-06 上海华虹集成电路有限责任公司 Automatic restoring circuit for groove signals of contactless card
CN103176576A (en) * 2011-12-26 2013-06-26 联芯科技有限公司 Reset control system and reset control method of on-chip system
CN103675443A (en) * 2012-09-06 2014-03-26 上海航天控制工程研究所 FPGA global clock detection technique for manned spacecraft
CN104345849A (en) * 2013-08-07 2015-02-11 京微雅格(北京)科技有限公司 Method and circuit for generating power-on reset signal
CN104407534A (en) * 2014-10-17 2015-03-11 中国电子科技集团公司第二十四研究所 Diversity type multichip synchronization system
CN104537785A (en) * 2014-12-15 2015-04-22 深圳怡化电脑股份有限公司 Object movement alarm device
CN104574659A (en) * 2014-12-15 2015-04-29 深圳怡化电脑股份有限公司 Anti-theft alarm device applied to ATM (automatic teller machine)
CN106502357A (en) * 2016-10-27 2017-03-15 珠海格力电器股份有限公司 Reset circuit and electronic equipment
CN109799870A (en) * 2018-12-29 2019-05-24 深圳云天励飞技术有限公司 A kind of clock control circuit and control method
CN111399588A (en) * 2020-03-18 2020-07-10 深圳市紫光同创电子有限公司 Clock signal generation circuit, driving method and electronic device
CN111426947A (en) * 2014-12-22 2020-07-17 三星电子株式会社 System on chip comprising logic circuitry
CN116126116A (en) * 2023-02-03 2023-05-16 芯动微电子科技(武汉)有限公司 Clock reset circuit, method, device, system-in-chip and storage medium
WO2024139522A1 (en) * 2022-12-29 2024-07-04 惠州华星光电显示有限公司 Driver and display device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3323045B2 (en) * 1995-11-20 2002-09-09 東芝マイクロエレクトロニクス株式会社 Information processing device
US6529053B2 (en) * 2001-04-05 2003-03-04 Koninklijke Philips Electronics N.V. Reset circuit and method therefor
JP3904859B2 (en) * 2001-07-30 2007-04-11 シャープ株式会社 Power-on reset circuit and IC card having the same
CN1314205C (en) * 2002-06-03 2007-05-02 松下电器产业株式会社 Semiconductor integrated circuit
CN1787350B (en) * 2004-12-09 2010-05-05 尼克森微电子股份有限公司 Pulse width modulation device with power-saving mode

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102204099B (en) * 2011-04-13 2013-04-17 华为技术有限公司 Resetting device
CN102204099A (en) * 2011-04-13 2011-09-28 华为技术有限公司 reset device
CN102957424B (en) * 2011-08-22 2016-08-24 上海华虹集成电路有限责任公司 Groove signal restoring circuit for ISO14443 TypeA agreement
CN102957424A (en) * 2011-08-22 2013-03-06 上海华虹集成电路有限责任公司 Groove signal restoring circuit for ISO (international standardization organization) 14443 Type A protocol
CN102955922A (en) * 2011-08-22 2013-03-06 上海华虹集成电路有限责任公司 Automatic restoring circuit for groove signals of contactless card
CN103176576A (en) * 2011-12-26 2013-06-26 联芯科技有限公司 Reset control system and reset control method of on-chip system
CN103675443A (en) * 2012-09-06 2014-03-26 上海航天控制工程研究所 FPGA global clock detection technique for manned spacecraft
CN103675443B (en) * 2012-09-06 2016-12-21 上海航天控制工程研究所 Manned spacecraft FPGA global clock detection device
CN104345849A (en) * 2013-08-07 2015-02-11 京微雅格(北京)科技有限公司 Method and circuit for generating power-on reset signal
CN104345849B (en) * 2013-08-07 2018-01-09 京微雅格(北京)科技有限公司 A kind of method and its circuit for generating power-on reset signal
CN104407534A (en) * 2014-10-17 2015-03-11 中国电子科技集团公司第二十四研究所 Diversity type multichip synchronization system
CN104537785A (en) * 2014-12-15 2015-04-22 深圳怡化电脑股份有限公司 Object movement alarm device
CN104574659A (en) * 2014-12-15 2015-04-29 深圳怡化电脑股份有限公司 Anti-theft alarm device applied to ATM (automatic teller machine)
CN104537785B (en) * 2014-12-15 2017-06-30 深圳怡化电脑股份有限公司 Object moves alarm device
CN111426947A (en) * 2014-12-22 2020-07-17 三星电子株式会社 System on chip comprising logic circuitry
CN111426947B (en) * 2014-12-22 2022-03-29 三星电子株式会社 System on chip comprising logic circuitry
CN106502357A (en) * 2016-10-27 2017-03-15 珠海格力电器股份有限公司 Reset circuit and electronic equipment
CN106502357B (en) * 2016-10-27 2019-07-26 珠海格力电器股份有限公司 Reset circuit and electronic equipment
WO2020134531A1 (en) * 2018-12-29 2020-07-02 深圳云天励飞技术有限公司 Clock control circuit and method
US11016525B1 (en) 2018-12-29 2021-05-25 Shenzhen Intellifusion Technologies Co., Ltd. Clock control circuit and clock control method
CN109799870A (en) * 2018-12-29 2019-05-24 深圳云天励飞技术有限公司 A kind of clock control circuit and control method
CN111399588A (en) * 2020-03-18 2020-07-10 深圳市紫光同创电子有限公司 Clock signal generation circuit, driving method and electronic device
CN111399588B (en) * 2020-03-18 2021-09-21 深圳市紫光同创电子有限公司 Clock signal generation circuit, driving method and electronic device
WO2024139522A1 (en) * 2022-12-29 2024-07-04 惠州华星光电显示有限公司 Driver and display device
US12361910B2 (en) 2022-12-29 2025-07-15 Huizhou China Star Optoelectronics Display Co., Ltd. Driver and related display device
CN116126116A (en) * 2023-02-03 2023-05-16 芯动微电子科技(武汉)有限公司 Clock reset circuit, method, device, system-in-chip and storage medium
CN116126116B (en) * 2023-02-03 2023-12-01 芯动微电子科技(武汉)有限公司 Clock reset circuit, method, device, system-in-chip and storage medium

Also Published As

Publication number Publication date
CN100498649C (en) 2009-06-10

Similar Documents

Publication Publication Date Title
CN101021739A (en) Reset system and reset method
CN101135921B (en) Multi-clock switching device and switching method thereof
TWI727075B (en) Semiconductor device
CN116521604A (en) A method and related device for synchronizing data
CN114546083B (en) A reset synchronizer circuit and clock gating method thereof
CN111143122A (en) Reliable exchange chip reset structure and reset method thereof
JP3560793B2 (en) Data transfer method
CN114371876B (en) Configuration circuit of register and integrated circuit chip
US20100315134A1 (en) Systems and methods for multi-lane communication busses
US6886106B2 (en) System and method for controlling a multiplexer for selecting between an input clock and an input duty-cycle-corrected clock and outputting the selected clock and an enable signal
US6640277B1 (en) Input staging logic for latching source synchronous data
CN1297866C (en) Reset method and reset system for integrated circuit
WO2024066950A1 (en) Signal processing method, signal processing apparatus, chip, and electronic device
JP3604637B2 (en) Asynchronous transfer device and asynchronous transfer method
WO2022037638A1 (en) Integrated circuit reset method and integrated circuit
JP2000353939A (en) Clock signal synchronous flip flop circuit
JP2004326222A (en) Data processing system
KR100734521B1 (en) IP Module for System-on-Chip
CN108268087B (en) Semiconductor device, semiconductor system and method of operating semiconductor device
CN115167613A (en) Synchronous processing circuit, method and chip from fast clock domain to slow clock domain
CN113168205B (en) Device for transaction-based transmission clock gating for low-power designs
KR102568225B1 (en) Semiconductor device, semiconductor system and method for operating semiconductor device
JPH10112635A (en) Register circuit, sequential circuit using the register circuit, and pipeline circuit
US7143304B2 (en) Method and apparatus for enhancing the speed of a synchronous bus
US7102397B2 (en) Method and system for ensuring the assertion order of signals in a chip independent of physical layout

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant