An integrated circuit device

Abstract: An integrated circuit device includes a main active circuit (10) and a metastability detection/prevention circuit (20). The main active circuit (10) may comprise a comparator, a sense amplifier, a differential amplifier or a voltage generating circuit, for example. The metastability detection/prevention circuit (20) performs the function of detecting whether an output (POUT) of the main active circuit (10) has been disposed in a metastable state for a duration in excess of a transition duration. The output of the main active circuit (10) may be considered as being in a metastable state if a potential of the output signal equals V MS , where V MS is in a range between V IL and V IH . If the output signal has been in a metastable state for a duration in excess of the transition duration, then the metastability detection/prevention circuit (20) generates control signal (PC ON) at a designated logic level. This control signal is provided as an input to the main active circuit (10) and causes the output of the main active circuit to be driven out of the metastable state (i.e., to a logic 1 or 0 level). In this manner, prolonged metastability can be prevented even if the values of the input signals to the main active circuit would otherwise dispose the output in a metastable state.

Description: The present invention relates to integrated circuit devices, and more particularly to integrated circuit devices which may be prone to generating metastable output signals. Integrated circuit devices such as comparators, sense amplifiers, differential amplifiers and reference voltage generating circuits may be susceptible to generating output signals that are not always in logic 1 or 0 states. In particular, a differential amplifier which receives input signals at similar analog levels may be prone to generating an output signal in a metastable state (i.e., where the potential of the output signal is greater than a maximum logic 0 level (V IL ) and less than a minimum logic I level (V IH )). Such generation of metastable outputs may result in device failure if devices that are responsive to the output signal interpret the state of the output signal incorrectly. Accordingly, there is a need to develop circuits having less susceptibility to metastable output generation. WO 97/32398 (Philips) describes a circuit for improving metastable resolving time in low power multi-state devices. A binary latch detects whether two nodes are at the same logic levels indicating a metastable condition, and changes the operating point of the circuit to cause faster resolution of the metastable condition when it is detected. US 5017814 describes another metastable sense circuit again detecting when the voltage on two nodes are approximately equal. According to the present invention an integrated circuit device comprises: an active device (10) having a metastable control input and an output which is driven from a metastable state to a first or second logic state whenever the metastable control input is in a first logic state; a metastability detection circuit (20) that is responsive to the output of said active device (10) and drives the metastable control input to the first logic state if the output of said active device (10) is disposed in the metastable state for a duration in excess of a transition duration; wherein said metastability detection circuit (20) comprises: a sensing circuit (21) having an input electrically connected to the output of said active device (10); and, a holding circuit (23) having a first input electrically connected to an output of said sensing circuit (21); and a capacitor (C1) which inhibits noise from being interpreted as a metastable condition. In the present invention, integrated circuit devices include a main active circuit and a metastability detection/prevention circuit. The main active circuit may comprise a comparator, a sense amplifier, a differential amplifier or a voltage generating circuit, for example. The metastability detection/prevention circuit performs the function of detecting whether an output of the main active circuit has been disposed in a metastable state for a duration in excess of a transition duration. The output of the main active circuit may be considered as being in a metastable state if a potential of the output signal (V POUT ) equals V MS , where V MS is in a range between V IL and V IH . If the output signal has been in a metastable state for a duration in excess of the transition duration, then the metastability detection/prevention circuit will generate a control signal at a designated logic level. This control signal is provided as an input to the main active circuit and causes the output of the main active circuit to be driven out of the metastable state (i.e., to a logic 1 or 0 level). In this manner, prolonged metastability can be prevented even if the values of the input signals to the main active circuit would otherwise dispose the output in a metastable state. An example of the present invention will now be described in detail with reference to the accompanying drawings, in which: FIG. 1 is a block diagram of an example of an integrated circuit device according to the present invention. FIG. 2 is an electrical schematic of the device of FIG. 1; FIG. 3 is an electrical schematic of an example of a sensing circuit of FIG. 2; FIG. 4 is an electrical schematic of an example of a holding circuit of FIG. 2; and, FIG. 5 is a diagram which illustrates operation of the device of FIG. 2. Referring now to FIGS. 1 and 2, a preferred embodiment of an integrated circuit device according to the present invention includes a main active circuit 10 and a metastability detection/prevention circuit 20 , connected as illustrated. The main active circuit 10 , which may be responsive to first and second input signals PIN1 and PIN2, may comprise a comparator, a sense amplifier, a differential amplifier 11 (as illustrated by FIG. 2) or a voltage generating circuit, for example. The circuit 10 may also perform the function of converting an analog level signal to a CMOS level signal. Alternatively, the circuit 10 may comprise a data input buffer, an address input buffer, a data output buffer or an analog-to-digital converter, for example. As explained more fully hereinbelow with respect to FIG. 2, the metastability detection/prevention circuit 20 preferably performs the function of detecting whether the output POUT of the main active circuit 10 has been disposed in a metastable state for a duration in excess of a transition duration. As described more fully hereinbelow, the length of the transition duration is dependent on the value of a holding capacitor C1 at an output of a sensing circuit (see, for example, FIG. 3). Here, a signal at the output POUT of the main active circuit 10 may be considered as being in a metastable state if a potential of the signal V POUT equals V MS , where V MS is in a range between V IL and V IH . These aspects of the metastability phenomenon are more fully described at pages 334 and 534-535 of a textbook by Jan M. Rabaey entitled "Digital Integrated Circuits: A Design Perspective", Prentice Hall (1996). If the signal POUT has been in a metastable state for a duration in excess of the transition duration, then the metastability detection/prevention circuit 20 will generate a control signal PCON. This control signal PCON is provided as an input to the main active circuit 10 and causes the output POUT of the main active circuit 10 to be driven to a logic 1 level (or logic 0 level), irrespective of the values of the input signals PIN1 and PIN2. In this manner, prolonged metastability can be prevented even if the values of the input signals would otherwise dispose the output POUT in a metastable state. Referring now specifically to the device of FIG. 2, the main active device 10 is provided as a differential amplifier 11 having an output connected to a buffer circuit 13 . As illustrated, the differential amplifier 11 is responsive to two input signals PIN1 and PIN2 and comprises a plurality of NMOS transistors NI-N3 and a plurality of PMOS transistors P1 and P2. A fixed bias signal BIAS is provided to the gate electrode of NMOS transistor N1 which acts as a current source. According to a preferred aspect of the active device 10 , a PMOS pull-up transistor M1 is provided at the output of the differential amplifier at node A. This PMOS pull-up transistor is responsive to a complementary main circuit control signal PDNB (i.e., /PDN) which acts as a first initialization signal. When the first initialization signal PDNB is driven to a logic 0 level, node A becomes initialized at a logic 1 level. Because the buffer circuit 13 comprises a odd-numbered string of inverters (I1-I3), the output POUT is driven to a logic 0 level whenever the first initialization signal PDNB is driven to a logic 0 level. The active device also includes a metastable control input PCON which enables the output POUT to be driven from a metastable state (where V POUT =V MS ) to a logic 1 state whenever the metastable control input PCON is pulled down to Vss. Alternatively, by changing the number of inverters in the buffer circuit 13 , the output POUT can be driven to a logic 0 state whenever a metastable state is detected. According to a preferred aspect of the present invention, the metastable control input PCON can be disposed in either a logic 0 state (or logic 1 state) or a high impedance state. In particular, the value of the metastable control input PCON is determined by the metastability detection circuit 20 . As illustrated by FIG. 2, the metastability detection circuit 20 is responsive to the output POUT of the active device 10 and drives the metastable control input PCON to a predetermined logic state if the output POUT is disposed in the metastable state for a duration in excess of a transition duration. The preferred metastability detection circuit 20 comprises a sensing circuit 21 , a holding circuit 23 and a compensating device 25. The sensing circuit 21 is responsive to the output POUT of the active device 10 and generates a sensing signal PDICB. The holding circuit 23 is responsive to the sensing signal PDICB as well as a main circuit control signal PDN which acts as a second initialization signal. The holding circuit 23 also generates a state indication signal PDS. This state indication signal PDS is provided to the compensating device 25 which may comprise a single NMOS pull-down transistor N4. When the state indication signal PDS is driven to a logic 1 state, the NMOS pull-down transistor N4 will turn on and pull the metastable control input PCON down to a logic 0 state (e.g., Vss). Referring now to FIG. 3, a preferred configuration of the sensing circuit 21 is illustrated. This sensing circuit 21 comprises a first CMOS inverter formed by PMOS pull-up transistor P3 and NMOS pull-down transistor N5, and a second CMOS inverter 33 . The second CMOS inverter 33 comprises PMOS pull-up transistor P4 and NMOS pull-down transistor N6. An inverter 14 is also provided at the output of the first CMOS inverter. The output of the inverter 14 and the output of the second CMOS inverter 33 are provided as inputs to NAND gate 35. The sensing signal line PDICB at the output of the NAND gate 35 is only driven to a logic 0 state when both inputs thereto (i.e., signal lines RES1 and RES2) are established at logic 1 levels. A capacitor C1 is also provided to prevent normal 0→1 or 1→0 transitions or noise at the output POUT of the active device 10 from inadvertently driving the sensing signal PDICB to a logic 0 level. Nonetheless, when the output POUT is disposed in a metastable state for a duration in excess of a transition duration, the output of the first CMOS inverter will be driven to a logic 0 level and the output of the second CMOS inverter will be driven to a logic 1 level. This is achieved by designing PMOS pull-up transistor P3 to have a higher resistance than NMOS pull-down transistor N5 when V IL < V POUT < V IH (i.e., when the output POUT is metastable), and also by designing NMOS pull-down transistor N6 to have a higher resistance than PMOS pull-up transistor P4 when the output POUT is metastable. Accordingly, the sensing circuit 21 can detect when the output POUT is metastable, by driving both signal lines RES1 and RES2 to logic 1 levels and by driving the sensing signal line PDICB to a logic 0 level. Referring now to FIG. 4, the holding circuit receives the sensing signal PDICB as an input and generates a state indication signal PDS at a logic 1 level when PDICB is at a logic 0 level. This is achieved using the PMOS pull-up transistor P5 and a noninverting latch circuit comprising inverters I5-I7. A logic 1 state indication signal PDS will then cause NMOS pull-down transistor N4 to turn on and pull the control signal line PCON to a logic 0 level. As described above, by pulling the control signal line PCON to a logic 0 level, the output POUT can be driven from the metastability state to a logic 1 state automatically. The state indication signal line PDS can also be clamped at a logic 0 level by disposing the main circuit control signal line PDN in a logic 1 state. When this occurs, the NMOS pull down transistor N7 will turn on and pull the input of inverter I5 to a logic 0 level. The complementary main circuit control signal line PDNB will also be disposed in a logic 0 state so that node A can be held at a logic 1 level and the output POUT can be held at a logic 0 level. Referring now to FIG. 5, the above described operation of a preferred embodiment of the present invention is illustrated by a plot on the y-axis of signal line voltages for signals RES1, RES2, PDICB, PDS and PCON versus the output voltage POUT on the x-axis. As illustrated, the output POUT is in a metastable state when the potential of the output POUT is in the range between "a" and "b". When this metastable state is present, the sensing signal line PDICB will be driven to a logic 0 level and the state indication signal line PDS will be driven to a logic 1 level.

Claims: An integrated circuit device, comprising: an active device (10) having a metastable control input and an output which is driven from a metastable state to a first or second logic state whenever the metastable control input is in a first logic state; a metastability detection circuit (20) that is responsive to the output of said active device (10) and drives the metastable control input to the first logic state if the output of said active device (10) is disposed in the metastable state for a duration in excess of a transition duration; wherein said metastability detection circuit (20) comprises: a sensing circuit (21) having an input electrically connected to the output of said active device (10); and, a holding circuit (23) having a first input electrically connected to an output of said sensing circuit (21); and a capacitor (C1) which inhibits noise from being interpreted as a metastable condition. A device according to claim 1, wherein said sensing circuit (21) comprises: a first CMOS inverter (P3, N5) that is biased to pull-down an output thereof if an input thereto is in the metastable state; a second CMOS inverter (P4, N6) that is biased to pull-up an output thereof if an input thereto is in the metastable state; a third inverter having an input electrically coupled to the output of said first CMOS inverter; and a NAND gate having the first and second inputs electrically connected to the output of said third inverter and the output of said second CMOS inverter, respectively. A device according to claim 2, wherein said active device (10) comprises a first pull-up/pull-down transistor (M1) having a gate electrode that is responsive to a first initialization signal; and wherein a second input of said holding circuit (23) is responsive to a second initialization signal. A device according to claim 3, wherein the first and second initialization signals are complementary versions of each other. A device according to claim 4, wherein said active device (10) has an intermediate output node (A); wherein the first pull-up/pull-down transistor (M1) is electrically connected in series between the intermediate output node (A) and a first reference potential; and wherein said metastability detection circuit (20) comprises a second pull-up/pull-down transistor (N1) electrically connected in series between the intermediate output node and a second reference potential. A device according to claim 5, wherein a gate electrode of said second pull-up/pull-down transistor (N4), is electrically connected to an output of said holding circuit (23). A device according to claim 6, wherein said first pull-up/pull-down transistor comprises a PMOS transistor; and wherein said second pull-up/pull-down transistor comprises an NMOS transistor. A device according to claim 7, wherein inputs of said first and second CMOS inverters (P3, N5; P4,N6) are electrically connected together and to the output of said active device (10). A device according to any preceding claim, wherein said active device comprises a buffering circuit (13) having an input electrically connected to an intermediate output node (A); and wherein an output of said buffering circuit (13) is the output of said active device.

Inventors: CHANG-HYUN KIM, KI-WHAN SONG, CHANG-HYUN, KIM, KI-WHAN, SONG, Ki-whan, Song, 2-404, Yeoksam Woosung Apt.
Applicants: SAMSUNG ELECTRONICS CO LTD, SAMSUNG ELECTRONICS CO., LTD.
Application year: 1999
Main classification: H03K19
IPC codes: H03K19, H03M1, H03K5, H01L27