Structure and method for initializing IC devices during unstable power-up
Granted 26 Mar 2002 · 1 office action
Current assignee: Xilinx · originally Advanced Micro Devices, Inc
Law firm: Law firm · Log in to unlock
Attorney: Attorney · Log in to unlock
Inventors: Jack Siu Cheung Lo, Shi-dong Zhou · Examiner: Toan Tran · AU 2816 · TC 2800
Life of the application
7 dated eventsAbstract
A power-on reset (POR) circuit that delays de-assertion a POR control signal in an IC device such that, when unstable power levels are detected, the POR control signal is maintained in an asserted condition until the IC device is fully reset. During a start-up phase of the IC device operation, the POR control circuit maintains the POR control signal in the asserted condition for a delay period whose length is determined, in part, by the amount of noise in the applied power. After the internal voltage of the IC device achieves a steady state for a suitable period of time, the POR control circuit de-asserts the POR control signal, thereby initiating configuration of the IC device. Subsequently, if a low power condition is detected, the POR control circuit asserts the POR control signal, and maintains the POR control signal in the asserted condition for a pre-defined delay period after the low-power event is detected, thereby allowing the IC device to fully reset.
Description
7 parts›FIELD OF THE INVENTION
The present invention relates to integrated circuits, and more particularly to power detection circuits for integrated circuits.
›RELATED ART
In order to successfully initialize an integrated circuit (IC) device, the user of the IC device must supply proper power levels as specified by the device's manufacturer. Power-on reset (POR) control circuits are used in many IC devices, such as programmable logic devices (PLDs), to detect when the internal operating voltage of the IC is within this pre-defined proper power level. For example, a POR control signal generated by the POR circuit may be used to reset selected state elements (e.g., flip-flops) of the IC to a known state. In PLDs, the POR control signal is also used to initiate a configuration operation during which configuration data is written to the various programmable logic elements of the PLD.
FIG. 1 is a schematic diagram showing a simplified conventional integrated circuit (IC) 100 that includes a user logic circuit 110 , a conventional power-on reset (POR) circuit 120 , and a configuration circuit 130 . Logic circuit 110 includes a first combinational logic portion LOGIC1, first and second flip-flops FF 1 and FF 2 , and a second combinational logic portion LOGIC2. Combinational logic portions LOGIC1, and LOGIC2 include combinational logic circuits, such as logic gates and inverters. Flip-flops FF 1 and FF 2 have reset (R) terminals connected to receive the POR control signal generated by POR circuit 120 , set (S) terminals connected to receive configuration data transmitted from configuration circuit 130 , data input (D) terminals for receiving data transmitted from combinational logic circuit LOGIC1, and data output (Q) terminals for transmitting state information to combinational logic circuit LOGIC2. POR circuit 120 includes a p-channel transistor 122 , an n-channel transistor 124 , and a pair of inverters 126 and 127 . The input terminal of inverter 127 is connected to a node 128 , which is located between p-channel transistor 122 and n-channel transistor 124 . The POR control signal is generated at the output terminal of inverter 127 . The components of IC device 100 are for explanatory purposes only, and do not necessarily represent a particular IC device.
FIG. 2 (A) and 3 (A) are timing diagrams showing internal voltage V DD and the POR control signal, respectively, during an ideal power-up operation of IC device 100 . Referring to FIG. 2 (A), the power-up operation is divided into three parts: a power-up/reset phase (time t 0 to t 1 ), a configuration phase (time t 1 to time t 2 ), and a normal operation phase (after time t 2 ). The power-up/reset phase begins when external power supply is initially applied to IC device 100 , thereby causing internal voltage V DD to increase until it reaches a minimum operating voltage (“trip point”) V PT . Referring to FIG. 3 (A), during the power-up/reset phase, the high POR control signal causes IC device 100 to reset. Next, referring to FIG. 3 (A), when internal voltage V DD reaches minimum voltage V PT (at time t 1 ), the POR control signal output from inverter 127 (see FIG. 1) switches to a low voltage level, thereby initiating the configuration phase. The configuration phase, which begins at time ti, involves writing configuration data into selected state elements (e.g., flip-flops FF 1 and FF 2 ; see FIG. 1 ). During the configuration phase, V DD achieves a stable operating voltage level (e.g., 5 Volts, 3.3 Volts, 2.5 Volts), which is within an operating range V OP that is bounded at a lower end by minimum operating voltage V PT and at an upper end by a maximum operating voltage V MAX . Normal operation is initiated at a time t 2 , which occurs after completion of the configuration operation.
As indicated in FIG. 2 (A), an ideal power-up operation is characterized by a linearly increasing internal voltage V DD that passes through minimum voltage V PT only one time (e.g., at time t 1 ). This ideal power-up operation is difficult to achieve when internal voltage V DD is slow to achieve the stable state, or when noise creates power variations when the increasing V DD level passes through trip point V PT .
FIGS. 2 (B) and 3 (B) are timing diagrams showing internal voltage V DD and the POR control signal, respectively, during unstable power-up operations. In particular, minor fluctuations that can occur as internal voltage V DD increases above minimum voltage V PT (e.g., at times ta through te; see FIG. 2 (B)) cause rapid changes (indicated by spikes 310 in FIG. 3 (B)) in the POR control signal before internal voltage V DD reaches the stable operating voltage (shown at time tf in FIG. 2 (B)). These rapid changes in the POR control signal can cause glitches (i.e., erroneous configuration of IC device 100 ) that result in malfunction or improper initialization of IC device 100 . Specifically, propagation of the rapidly changing POR control signal throughout IC device 100 can cause the set (configured) state and reset state of flip-flops FF 1 and FF 2 to become out of synchronization, thereby creating an improper configuration state (e.g., with flip-flop FF 1 in a reset condition and flip-flop FF 2 in a configured (set) condition) that results in erroneous operation of IC device 100 .
What is needed is a POR circuit that eliminates glitches in the POR signal that are caused by unstable power-up operations.
›SUMMARY
The present invention is directed to a power-on reset (POR) circuit that controls a POR control signal in an IC device such that, when unstable power levels are detected, the POR control signal is maintained in an asserted condition until the IC device is fully reset, thereby preventing glitches (i.e., erroneous configuration of the IC device) that can occur with conventional POR circuits (described above). During a start-up phase of the IC device operation, the POR control circuit maintains the POR control signal in the asserted condition for a first delay period whose length is determined, in part, by the amount of noise in the applied power signal. By maintaining the POR control signal in the asserted condition until the applied power achieves a steady state, glitches caused by rapid assertion and de-assertion of the POR control signal in response to noisy start-up conditions are prevented. After the internal voltage of the IC device achieves a steady state for a suitable period of time, the POR control circuit de-asserts the POR control signal, thereby initiating configuration of the IC device. Subsequently, if a low power condition is detected, the POR control circuit asserts the POR control signal, and maintains the POR control signal in the asserted condition for a pre-defined delay period after the low-power event is detected, thereby allowing the IC device to fully reset.
In accordance with an embodiment of the present invention, a POR circuit includes a detector circuit and a control circuit. The detection circuit generates a detection signal having a first voltage level when an internal voltage level of the IC device is less than a predefined voltage level, and a second voltage level when the internal voltage level is greater than the pre-defined voltage level. The control circuit asserts and de-asserts the POR control signal in response to changes in the detection signal. Specifically, the POR control circuit includes an one-shot delay circuit connected in parallel with a power-up delay circuit that maintain the POR control signal in an asserted state for respective delay periods after the detection signal indicates a low-power event, thereby delaying configuration until the IC device is fully reset.
The present invention will be more fully understood in view of the following description and drawings.
›BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a simplified schematic diagram showing an IC device including a conventional power-on reset (POR) detection circuit;
FIGS. 2 (A) and 2 (B) are timing diagrams showing internal voltages of the IC device of FIG. 1 during power-up;
FIGS. 3 (A) and 3 (B) are timing diagrams showing the generation of a POR control signal by the conventional POR control circuit of FIG. 1 during power-up;
FIG. 4 is a simplified schematic diagram showing a POR control circuit according to the present invention;
FIG. 5 is a schematic diagram showing a POR control circuit according to a specific embodiment of the present invention;
FIGS. 6 (A) through 6 (F) are timing diagrams showing various signals generated by the POR control circuit of FIG. during power-up.
›DETAILED DESCRIPTION · 1 of 3
FIG. 4 is a simplified schematic diagram showing a power-on reset (POR) circuit 400 in accordance with the present invention. POR circuit 400 generally includes a detection circuit 405 and a POR control circuit 410 .
Similar to conventional POR circuit 120 (described above), detection circuit 405 generates a detection signal POR 1 having a high (first) voltage level when an internal voltage level V DD of the IC device (not shown) including POR circuit 400 is less than the trip point (pre-defined voltage level) V PT , and a low (second) voltage level when internal voltage level V DD is greater than trip point V PT . However, unlike conventional POR circuit 120 , the detection signal POR 1 output from detector circuit 405 is passed through POR control circuit 410 , which generates a POR control signal that is maintained in an asserted (high) condition until the IC device is fully reset (i.e., even if detection signal POR 1 switches between high and low voltage levels), thereby preventing glitches (i.e., erroneous configuration of the IC device) that can occur with conventional IC device 100 (described above).
The POR control signal generated at the output terminal of POR control circuit 410 is used by an IC device (such as that shown in FIG. 1) in essentially the same way as in conventional IC device 100 . That is, when the POR control signal is asserted (i.e., logic “1” or high), a reset operation of the IC device is initiated, and when the POR control signal is de-asserted (i.e., logic “0” or low), a configuration operation is initiated by the IC device that ends in a normal operating phase when de-asserted. Similar to conventional IC 100 , logic elements of the IC device are reset to a non-configured state during the reset operation initiated by asserting the POR control signal, and the logic elements of the IC device are configured in accordance with pre-defined configuration data during the configuration operation initiated by de-asserting the POR control signal.
Referring again to FIG. 4, POR control circuit 410 generally includes a one-shot delay circuit 420 and a power-up delay circuit 430 that are connected in parallel between detection circuit 405 and an OR gate 440 . The function of one-shot delay circuit 420 is to detect changes in the detection signal POR 1 from the high voltage level to the low voltage level (i.e., indicating that internal voltage V DD is above the trip point V PT ) , and to generate a one-shot pulse that maintains the POR control signal in the asserted state until the end of the one-shot pulse. In contrast, the function of power-up delay circuit 430 is to detect the high-to-low changes in the detection signal POR 1 , and to maintain the POR control signal in the asserted state for a pre-defined delay period. Note that when either of one-shot delay circuit 420 or power-up delay circuit 430 generate a high output signal, the POR control signal generated by OR gate 440 is asserted (high), thereby resetting the IC device incorporating POR circuit 400 . As described with reference to the specific embodiment below, the combined effect of one-shot delay circuit 420 and power-up delay circuit 430 is to maintain the POR control signal in an asserted (high) condition until the IC device is fully reset, thereby preventing glitches that can occur with conventional IC device 100 (described above).
FIG. 5 is a schematic diagram illustrating a POR circuit 500 in accordance with a specific embodiment of the present invention. POR circuit 500 includes a one-shot delay circuit 520 and a power-up delay circuit 530 that are connected in parallel between a detection circuit 120 (which is identical to that described above with reference to FIG. 1) and a NOR gate 540 . An inverter 550 is connected to the output terminal of NOR gate 540 , and generates control signal POR.
One-shot delay circuit 520 includes a (first) inverter 522 connected to an output terminal of detector circuit 120 , a lock circuit (e.g., a NOR gate) 524 having a first input terminal connected to the output terminal of inverter 522 , and a one-shot circuit 526 having an input terminal connected to the output terminal of the lock circuit 524 . In one embodiment, one-shot circuit 526 includes one or more series-connected inverters 527 , and a NOR gate 528 having one input terminal connected to an output terminal of the last series-connected inverters 527 and a second input terminal connected to an output terminal of lock circuit 524 . One-shot delay circuit also includes a feedback line 529 that is connected between an output terminal of the one-shot circuit 526 .
Power-up delay circuit 530 includes two or more series-connected inverters (represented by inverters 532 and 534 ). In one embodiment, inverters 532 and 534 are constructed to delay the transmission of high-to-low changes of detection signal POR 1 for a longer delay period than low-to-high changes. These different delay periods are achieved by constructing inverter 532 with a relatively weak P component (strong N component), and constructing inverter 534 with a relatively strong P component (weak N component) using known techniques. This construction causes inverter 532 to have a relatively low trip point and inverter 534 to have a relatively high trip point, thereby producing the necessary difference in delay periods.
The operation of POR circuit 500 will now be described with reference to FIGS. 5 and FIGS. 6 (A) through 6 (F), which represent timing diagrams showing signal levels of detection signal POR 1 generated by detector circuit 120 , control signal POR generated at the output terminal of inverter 550 , and the voltage levels at nodes A, B, C, D (shown in FIG. 5 ).
The operation begins at time TO, when power (VCC) is applied to the IC device (not shown) including POR circuit 500 . Referring to FIGS. 6 (A), 6 (C), 6 (E), and 6 (F), as internal voltage V DD increases, the voltage levels (logic states) of detection signal POR 1 , control signal POR, and nodes B and D all increase to logic “1”. As indicated in FIGS. 6 (B) and 6 (D), nodes A and C of POR circuit 500 remain low (i.e., logic “0” ) as V DD increases.
›DETAILED DESCRIPTION · 2 of 3
At time T 1 , internal voltage V DD reaches trip point V PT . Referring to FIG. 6 (A), as internal voltage V DD rises above trip point V PT , detection signal POR 1 switches from high to low (i.e., from logic “1” to logic “0”) for reasons similar to those provided above regarding the generation of control signal POR by conventional POR circuit 120 (see FIGS. 1 and 2 (A), described above). In addition, referring to FIG. 6 (E), a delay reset period 610 A begins as the low POR 1 signal propagates through power-up delay circuit 530 (note that node D remains high during delay period 610 A). Referring to FIG. 6 (F), control signal POR remains high due to the logic “1” signal at node D (which forces NOR gate 540 to generate a low output signal, which in turn causes inverter 550 to generate a high control signal POR). That is, power-up delay circuit 530 maintains control signal POR in an asserted state after internal voltage V DD increases above trip point V PT during power-up, thereby avoiding glitches that can be caused when V DD fluctuates about trip point V PT (see FIG. 2 (B)).
Referring to FIG. 6 (B), at time T 2 (i.e., after the low POR 1 signal passes through inverter 522 ; see FIG. 5 ), node A shifts high (to logic “1”), thereby applying a high voltage signal to the lower input terminal of lock circuit 524 (see FIG. 5 ). Referring to FIG. 6 (F), control signal POR remains high at time T 2 due to delay reset period 610 A (i.e., the logic “1” signal is maintained at node D).
Referring to FIG. 6 (C), at time T 3 , after a delay caused by lock circuit 524 , node B shifts high (logic “1”), thereby applying a high signal to one-shot circuit 526 . Again, control signal POR remains high due to delay reset period 610 A (i.e., the logic “1” signal generated at node D).
Referring to FIG. 6 (D), after a short delay caused by NOR gate 528 of one-shot circuit 526 , node C is driven high (time T 4 A). Note that the high signal is fed back to lock circuit 524 , thereby locking the high output signal generated by one-shot circuit 526 for a one-shot delay period 620 A. As discussed above, the length of one-shot delay period 620 A is determined by the construction of one-shot circuit 526 (e.g., the number of series-connected inverters 527 ). Referring to FIG. 6 (F), control signal POR remains high due to delay reset period 610 A, during which a high signal is generated at node D, and also due to one-shot delay period 620 A, during which a high signal is generated at node C. Note that either of the high signals applied to the input terminals of NOR gate 540 would maintain the POR control signal in the asserted state.
Referring to FIG. 6 (E), time T 5 marks the end of delay reset period 610 A, thereby causing node D to shift low. Note that control signal POR remains high (FIG. 6 (F)) at time T 5 due to one-shot delay period 620 A (i.e., the high signal at node C).
Subsequently, at time T 6 , in accordance with the present example, power supply noise is introduced that causes V DD to drop below trip point V PT . This V DD drop is indicated as logic “1” spikes 630 in detection signal POR 1 , shown in FIG. 6 (A). Referring to FIG. 6 (E), a delay period 640 A begins at time T 6 , whose length is determined by the construction of power-up delay circuit 530 . Referring to FIG. 6 (F), even though node D remains low as the high detection signal POR 1 propagates through power-up delay circuit 530 , control signal POR remains high due to one-shot delay period 620 A (see FIG. 6 (D)). Accordingly, glitches caused by noise (indicated by spikes 630 ) that are generated during the power-up/reset phase of an IC's operation are avoided by POR circuit 500 .
Referring to FIG. 6 (B), node A shifts low at time T 7 (i.e., after a short delay caused by the propagation of spikes 630 through inverter 522 ). As shown in FIG. 6 (C), the low voltage at node A is not passed by lock circuit 522 due to the high feedback signal from node C. Accordingly, node B remains low in response to spikes 630 that are generated during one-shot delay period 620 A. As shown in FIG. 6 (F), control signal POR remains high due to one-shot delay period 620 A, which maintains a high (logic “1”) signal at node C.
Referring to FIG. 6 (E), at time T 8 (which may or may not exactly correspond to time T 7 ), short delay period 640 B ends (i.e., the first high spike 630 propagates through power-up delay circuit 530 ), thereby causing the level at node D to shift to logic “1”. Note that control signal POR remains high (FIG. 6 (F)) at time T 8 due to one-shot delay period 620 A (i.e., the high signal at node C), and the high signal at node D.
Referring to FIG. 6 (A), the high-to-low transition of detection signal POR 1 marking the end of spikes 630 is indicated at time T 9 . Referring now to FIG. 6 (E), time T 9 also tolls the beginning of delay reset period 610 B, which maintains node D at a high voltage level until the high-to-low transition of detection signal POR 1 propagates through delay circuit 530 .
Referring to FIG. 6 (D), the end of one-shot delay period 620 A, which in the present example occurs at time T 4 B, causes the signal at node C to shift low. However, according to the present example, because node D remains high (due to delay reset period 610 B; see FIG. 6 (E)), control signal POR remains in the asserted state, as shown in FIG. 6 (F).
Referring to FIG. 6 (E), delay reset period 610 B ends at time T 10 , thereby forcing node D low. Subsequently, as shown in FIG. 6 (F), at time T 11 (i.e., after a delay through NOR gate 540 and inverter 550 ), because the signals at both nodes C and D are low, control signal POR shifts low (i.e., enters a de-asserted state), thereby initiating a configuration operation of the IC device incorporating POR circuit 500 .
As set forth in the above example, the assertion of control signal POR is delayed by POR control circuit 510 throughout the power-up reset phase covering time period T 0 through T 11 , thereby preventing glitches that can be caused, for example, by spikes 630 occurring after internal voltage V DD reaches trip point V PT . Accordingly, instead of attempting to change detection circuit 120 , the present invention addresses this glitching problem not by modifying the detection signal POR 1 generated by detection circuit 120 using POR control circuit 510 .
›DETAILED DESCRIPTION · 3 of 3
Further, as indicated by spike 650 in FIG. 6 (A), if the IC device including POR circuit 500 subsequently experiences a low-power event, POR circuit 500 reliably delays reconfiguration of the IC device until it has time to fully reset. That is, if V DD drops below trip point V PT at time T 12 A, the resulting spike 650 in detection signal POR 1 causes both one-shot delay circuit 510 and power-up delay circuit 530 to generate high output signals that re-assert control signal POR. Specifically, spike 650 causes power-up delay circuit 520 to generate a high node D signal at time T 13 A (i.e., after a short delay through power-up delay circuit 520 ), which is then propagated through NOR gate 540 and inverter 550 to de-assert control signal POR at time T 14 (see FIGS. 6 (E) and 6 (F)). Note that node D is maintained at this high voltage level for a delay reset period 610 C, which begins at time T 12 B (i.e., on the falling edge of spike 650 ; see FIG. 6 (A)). Spike 650 also propagates through inverter 522 to node A at time T 13 B (i.e., after a delay caused by inverter 522 ; see FIGS. 5 and 6 (B)), through lock circuit 524 to produce a high node B signal at time T 15 , and, finally, to one-shot circuit 526 , which generates a high node C signal at time T 16 A. One shot-delay circuit 520 maintains the high node C signal throughout a delay period 620 B, which has the same length as delay period 620 A (discussed above). Subsequently, at time T 17 (FIG. 6 (E)), delay reset period 610 C ends, thereby causing node D to switch to a low voltage level, followed by the end of delay period 620 B at time T 16 B (FIG. 6 (D)). With low signals at both nodes C and node D, control signal POR is subsequently de-asserted at time T 18 (see FIG. 6 (F)), thereby reinitiating configuration of the IC device. Accordingly, by constructing POR control circuit 510 to produce suitable delay periods 610 C and 620 B, POR circuit 500 reliably delays reconfiguration of the IC device after a low-power event until the IC device is fully reset, thereby avoiding the glitches associated with conventional POR circuits.
As suggested above, in addition to the specific embodiments disclosed herein, other modifications are also possible that fall within the spirit and scope of the present invention. Therefore, the invention is limited only by the following claims.
Claims as granted
15 claimsLog in to read the claims of this application.
Log in to unlockClassifications
5 codes- H03K17/22
- H03K3/033
- H03K5/1252
Claim changes
SoonSee which claims were amended, added or cancelled during examination, with every added and removed word marked.
The published claims of this application are not paired with the granted ones in what we hold.
File wrapper
See the full prosecution history — every USPTO and applicant action on this file, in order.
Log in to unlockDocuments
Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.
Log in to unlockChain of title
See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.
Log in to unlock