US20020070776A1 - Semiconductor device capable of immediately recovering from erroneous state to normal state - Google Patents

Semiconductor device capable of immediately recovering from erroneous state to normal state Download PDF

Info

Publication number
US20020070776A1
US20020070776A1 US09/880,123 US88012301A US2002070776A1 US 20020070776 A1 US20020070776 A1 US 20020070776A1 US 88012301 A US88012301 A US 88012301A US 2002070776 A1 US2002070776 A1 US 2002070776A1
Authority
US
United States
Prior art keywords
circuit
reset
output
clock signal
data
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
US09/880,123
Other versions
US6407597B1 (en
Inventor
Masahiko Ishiwaki
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Assigned to MITSUBISHI DENKI KABUSHIKI KAISHA reassignment MITSUBISHI DENKI KABUSHIKI KAISHA ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: ISHIWAKI, MASAHIKO
Publication of US20020070776A1 publication Critical patent/US20020070776A1/en
Application granted granted Critical
Publication of US6407597B1 publication Critical patent/US6407597B1/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K21/00Details of pulse counters or frequency dividers
    • H03K21/40Monitoring; Error detection; Preventing or correcting improper counter operation
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/099Details of the phase-locked loop concerning mainly the controlled oscillator of the loop
    • H03L7/0995Details of the phase-locked loop concerning mainly the controlled oscillator of the loop the oscillator comprising a ring oscillator
    • H03L7/0997Controlling the number of delay elements connected in series in the ring oscillator
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/16Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop
    • H03L7/18Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop using a frequency divider or counter in the loop
    • H03L7/183Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop using a frequency divider or counter in the loop a time difference being used for locking the loop, the counter counting between fixed numbers or the frequency divider dividing by a fixed number
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/16Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop
    • H03L7/18Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop using a frequency divider or counter in the loop
    • H03L7/197Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop using a frequency divider or counter in the loop a time difference being used for locking the loop, the counter counting between numbers which are variable in time or the frequency divider dividing by a factor variable in time, e.g. for obtaining fractional frequency division
    • H03L7/199Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop using a frequency divider or counter in the loop a time difference being used for locking the loop, the counter counting between numbers which are variable in time or the frequency divider dividing by a factor variable in time, e.g. for obtaining fractional frequency division with reset of the frequency divider or the counter, e.g. for assuring initial synchronisation

Definitions

  • the present invention relates to a semiconductor device, and more particularly to a semiconductor device including a counter circuit.
  • a semiconductor device operating in synchronization with an externally applied clock contains, in many cases, a counter circuit for frequency-dividing the applied external clock.
  • counter circuit for frequency-dividing the applied external clock.
  • a binary counter is such a counter in that outputs of n latches correspond to respective bits, which respectively correspond to 2 0 to 2 n .
  • an external clock is multiplied internally to generate a faster internal clock so that an operation is performed in synchronization therewith.
  • a ring counter which can operate faster than a binary counter may be used.
  • a ring counter is used as a frequency divider of the clock or for creating a timing signal serving as an operational reference of an internal circuit.
  • a ring counter is a counter in which bistable units such as flip-flops are connected in a loop. At any given time, only one flip-flop holds “H”(high) data while the remaining flip-flops hold “L”(low) data. Each time a clock signal is counted, the position of the flip-flop holding “H” data successively circulates around the loop.
  • FIG. 8 is a block diagram showing a schematic configuration of a conventional semiconductor device 452 .
  • semiconductor device 452 includes: an internal clock generating circuit 454 receiving an externally applied clock signal CLK and a reset signal RESET and outputting an internal clock signal at a frequency n-times that of external clock signal CLK; and an internal circuit 456 receiving an externally applied input signal DIN, operating in synchronization with internal clock signal ICLK and outputting an output signal DOUT to the external.
  • an internal clock generating circuit 454 receiving an externally applied clock signal CLK and a reset signal RESET and outputting an internal clock signal at a frequency n-times that of external clock signal CLK
  • an internal circuit 456 receiving an externally applied input signal DIN, operating in synchronization with internal clock signal ICLK and outputting an output signal DOUT to the external.
  • Internal clock generating circuit 454 includes: a PLL (Phase Locked Loop) circuit 458 receiving a clock signal CLK and outputting internal clock signal ICLK; and a ring counter 500 starting an operation after initialized by externally applied reset signal /RESET and frequency-dividing internal clock signal ICLK to output an internal clock signal RCLK.
  • Internal clock signal RCLK has a frequency that is one-nth of clock signal ICLK.
  • Internal clock signal RCLK is compared in phase with externally applied clock signal CLK by PLL circuit 458 .
  • FIG. 9 is a circuit diagram showing a configuration of ring counter 500 shown in FIG. 8.
  • ring counter 500 includes a gate circuit 502 #1 receiving internal clock signal RCLK and reset signal /RESET.
  • Gate circuit 502 #1 has its output driven to H level when reset signal /RESET is activated to L level, and driven to H level when internal clock signal RCLK is set to H level.
  • Ring counter 500 further includes: a D flip-flop 504 #1 receiving an output of gate circuit 502 #1 in synchronization with internal clock signal ICLK; an AND circuit 502 #2 receiving an output of D flip-flop 504 #1 and reset signal /RESET; and a D flip-flop 504 #2 receiving an output of AND circuit 502 #2 in synchronization with internal clock signal ICLK.
  • Ring counter 500 further includes: an AND circuit 502 #3 receiving an output of D flip-flop 504 #2 and reset signal /RESET; a D flip-flop 504 #3 receiving an output of AND circuit 502 #3 in synchronization with internal clock signal ICLK; an AND circuit 502 #4 receiving an output of D flip-flop 504 #3 and reset signal /RESET; and a D flip-flop 504 #4 receiving an output of AND circuit 502 #4 in synchronization with internal clock signal ICLK.
  • Ring counter 500 further includes: an AND circuit 502 #5 receiving an output of D flip-flop 504 #4 and reset signal /RESET; a D flip-flop 504 #5 receiving an output of AND circuit 502 #5 in synchronization with internal clock signal ICLK; an AND circuit 502 #6 receiving an output of D flip-flop 504 #5 and reset signal /RESET; and a D flip-flop 504 #6 receiving an output of AND circuit 502 #6 in synchronization with internal clock signal ICLK.
  • Ring counter 500 further includes: an AND circuit 502 #7 receiving an output of D flip-flop 504 #6 and reset signal /RESET; a D flip-flop 504 #7 receiving an output of AND circuit 502 #7 in synchronization with internal clock signal ICLK; an AND circuit 502 #8 receiving an output of D flip-flop 504 #7 and reset signal /RESET; and a D flip-flop 504 #8 receiving an output of AND circuit 502 #8 in synchronization with internal clock signal ICLK.
  • An output of D flip-flop 504 #8 is provided to PLL circuit 458 in FIG. 8 as internal clock signal RCLK, and compared in phase with clock signal CLK.
  • FIG. 10 is an operational waveform diagram illustrating an operation of ring counter 500 shown in FIG. 9.
  • Q 1 -Q 8 are output signals of D flip-flops 504 #1- 504 #8, respectively. Firstly, in clock cycle #1, signal Q 1 is at H level and signals Q 2 -Q 8 are at L level. Then, in clock cycle #2, signal Q 1 falls to L level in response to a rise of internal clock signal ICLK and instead of signal Q 1 , signal Q 2 rises to H level. Signals Q 3 -Q 8 remain at the state of L level.
  • ring counter as such has a problem, that is, once an error occurs, it cannot recover from the error until a reset signal is input again.
  • FIG. 11 is a waveform diagram illustrating an error of a conventional ring counter.
  • signals Q 1 -Q 8 show outputs signals of D flip-flops 504 #1- 504 #8, respectively.
  • ring counter 500 shown in FIG. 9 can represent the states in only eight ways in normal operation, it can represent the states in 256 ways as a combination. Therefore, there arises a problem in which when the ring counter goes into any of the states of the combination in 248 ways as the abnormal state, it cannot recover to its normal operation. For example, in such an application that is continuously run for a long time and cannot be initialized by power-on, such as a workstation operating all night, an air-conditioner for controlling the temperature in a plant, a security system, a internet server and the like, the occurrence of such an error results in a big problem.
  • An object of the present invention is to provide a reliable semiconductor device which is able to recover to a normal state immediately even if an error occurs.
  • the present invention in summary, provides a semiconductor device including a plurality of holding circuits and a reset circuit.
  • the plurality of holding circuits are connected in series in a ring, each receives data in synchronization with a clock signal and transmits it to the next stage.
  • the reset circuit monitors hold data in the plurality of holding circuits, and when detecting an abnormal state, initializes the hold data.
  • the reset circuit initializes the hold data when data of a first logical value exists in a first portion of the plurality of holding circuits and data of the first logical value exists in a second portion excluding the first portion of the plurality of holding circuits, or when data of the first logical value does not exist in the first portion of the plurality of holding circuits and data of the first logical value does not exist in the second portion excluding the first portion of the plurality of holding circuits.
  • the present invention provides a semiconductor device including a plurality of holding circuits and a reset circuit.
  • the plurality of holding circuits are connected in series in a ring, each receives data in synchronization with a clock signal and transmits it to the next stage.
  • the reset circuit monitors hold data in the plurality of holding circuits, and when detecting an abnormal state, initializes the hold data.
  • the reset circuit includes: a plurality of decode circuits detecting a plurality of states, respectively, which the plurality of holding circuits may take in a normal operational state; and an output circuit outputting a reset signal for initializing the hold data when none of outputs of the plurality of decode circuits are activated.
  • a main advantage of the present invention is that it enhances an operational reliability because of the capability to recover from an erroneous state to the normal operational state even when an error is caused by noise of radiation and the like.
  • FIG. 1 is a schematic block diagram showing a configuration of a semiconductor device 2 in accordance with a first embodiment of the present invention.
  • FIG. 2 is a block diagram showing a configuration of a PLL circuit 8 shown in FIG. 1.
  • FIG. 3 is a circuit diagram showing a configuration of a ring counter 10 shown in FIG. 1.
  • FIG. 4 is a circuit diagram showing a reset circuit 16 a which is an example of a reset circuit 16 in FIG. 3.
  • FIG. 5 is a circuit diagram showing a configuration of an improved reset circuit 16 b.
  • FIG. 6 is an operational waveform diagram illustrating an operation of the reset circuit 16 b shown in FIG. 5.
  • FIG. 7 is a circuit diagram showing a configuration of a reset circuit 16 c used in a semiconductor of a second embodiment.
  • FIG. 8 is a block diagram showing a schematic configuration of a conventional semiconductor device 452 .
  • FIG. 9 is a circuit diagram showing a configuration of the ring counter 500 shown in FIG. 8.
  • FIG. 10 is an operational waveform diagram illustrating the ring counter 500 shown in FIG. 9.
  • FIG. 11 is a waveform diagram illustrating an error of the conventional ring counter.
  • FIG. 1 is a schematic block diagram showing a configuration of a semiconductor device 2 in accordance with the first embodiment of the present invention.
  • semiconductor device 2 includes: an internal clock generating circuit 4 receiving an externally applied clock signal CLK and outputting an internal clock signal ICLK having a frequency n-times that of the external clock signal CLK; and an internal circuit 6 receiving an externally applied input signal DIN, performing an operation in synchronization with internal clock signal ICLK and externally outputting an output signal DOUT.
  • Internal clock generating circuit 4 includes: a PLL (Phase Locked Loop) circuit 8 receiving clock signal CLK and outputting internal clock signal ICLK; and a ring counter 10 determining if an initial value is in normal state when powered, starting an operation after initializing data if it is not the normal state, and frequency-dividing internal clock signal ICLK to output an internal clock signal RCLK.
  • Internal clock signal RCLK has a frequency one n-th that of clock signal ICLK.
  • Internal clock signal RCLK is compared in phase with externally applied clock signal CLK by PLL circuit 8 .
  • FIG. 2 is a block diagram showing a configuration of the PLL circuit 8 in FIG. 1.
  • PLL circuit 8 includes: a clock buffer 8 a receiving clock signal CLK and outputting an internal clock signal ECLK; a phase comparator 8 b comparing a phase of internal clock signal RCLK with a phase of internal clock signal ECLK and outputting control signals UP/DOWN; a shift register 8 c shifting an active bit of a control signal CT (n:0) toward upper direction in response to control signal UP as well as shifting an active bit of control signal CT (n:0) toward lower direction in response to control signal DOWN; and a delay line 8 d having an amount of delay changed in response to control signal CT (n:0).
  • Delay line 8 d is configured with inverting circuits of an odd number of stages, and the number of the delay stages changes by two in response to control signal CT (n:0).
  • Delay line 8 d outputs internal clock signal ICLK which is also input to delay line 8 d, so that delay line 8 d operates as a self-exciting ring oscillator.
  • FIG. 3 is a circuit diagram showing a configuration of ring counter 10 shown in FIG. 1.
  • ring counter 10 includes a gate circuit 12 #1 receiving internal clock signal RCLK and a reset signal /RESET.
  • Gate circuit 12 #1 has its output driven to H level when reset signal /RESET is activated to L level, and also driven to H level when internal clock signal RCLK is set to H level.
  • Ring counter 10 further includes: a D flip-flop 14 #1 receiving an output of gate circuit 12 #1 in synchronization with internal clock signal ICLK; an AND circuit 12 #2 receiving an output of D flip-flop 14 #1 and reset signal /RESET; and a D flip-flop 14 #2 receiving an output of AND circuit 12 #2 in synchronization with internal clock signal ICLK.
  • Ring counter 10 further includes: an AND circuit 12 #3 receiving an output of D flip-flop 14 #2 and reset signal /RESET; a D flip-flop 14 #3 receiving an output of AND circuit 12 #3 in synchronization with internal clock signal ICLK; an AND circuit 12 #4 receiving an output of D flip-flop 14 #3 and reset signal /RESET; and a D flip-flop 14 #4 receiving an output of AND circuit 12 #4 in synchronization with internal clock signal ICLK.
  • Ring counter 10 further includes: an AND circuit 12 #5 receiving an output of D flip-flop 14 #4 and reset signal /RESET; a D flip-flop 14 #5 receiving an output of AND circuit 12 #5 in synchronization with internal clock signal ICLK; an AND circuit 12 #6 receiving an output of D flip-flop 14 #5 and reset signal /RESET; and a D flip-flop 14 #6 receiving an output of AND circuit 12 #6 in synchronization with internal clock signal ICLK.
  • Ring counter 10 further includes: an AND circuit 12 #7 receiving an output of D flip-flop 14 #6 and reset signal /RESET; a D flip-flop 14 #7 receiving an output of AND circuit 12 #7 in synchronization with internal clock signal ICLK; an AND circuit 12 #8 receiving an output of D flip-flop 14 #7 and reset signal /RESET; and a D flip-flop 14 #8 receiving an output of AND circuit 12 #8 in synchronization with internal clock signal ICLK.
  • An output of D flip-flop 14 #8 is provided to PLL circuit 8 in FIG. 1 as internal clock signal RCLK and compared in phase with clock signal CLK.
  • Ring counter 10 further includes a reset circuit 16 receiving signals Q 1 -Q 8 to monitor the state of the shift registers and outputting reset signal /RESET when detecting an abnormality.
  • FIG. 4 is a circuit diagram showing a configuration of a reset circuit 16 a which is an example of the reset circuit 16 in FIG. 3.
  • reset circuit 16 a includes decode circuits 18 #1- 18 #8 and an OR circuit 20 receiving outputs of decode circuits 18 #1- 18 #8 and outputting reset signal /RESET.
  • Decode circuit 18 #1 outputs H level when it detects that output signal Q 1 of D flip-flop 14 #1 shown in FIG. 3 is at H level and the output signals of the other D flip-flops are at L level. Decode circuit 18 #1 outputs L level when output signals Q 1 -Q 8 are in other combinations.
  • Decode circuit 18 #2 outputs H level when it detects that output signal Q 2 of D flip-flop 14 #2 shown in FIG. 3 is at H level and the output signals of the other D flip-flops are at L level. Decode circuit 18 #2 outputs L level when output signals Q 1 -Q 8 are in other combinations.
  • Decode circuit 18 #3 outputs H level when it detects that output signal Q 3 of D flip-flop 14 #3 shown in FIG. 3 is at H level and the output signals of the other D flip-flops are at L level. Decode circuit 18 #3 outputs L level when output signals Q 1 -Q 8 are in other combinations.
  • Decode circuit 18 #4 outputs H level when it detects that output signal Q 4 of D flip-flop 14 #4 shown in FIG. 3 is at H level and the output signals of the other D flip-flops are at L level. Decode circuit 18 #4 outputs L level when output signals Q 1 -Q 8 are in other combinations.
  • Decode circuit 18 #5 outputs H level when it detects that output signal Q 5 of D flip-flop 14 #5 shown in FIG. 3 is at H level and the output signals of the other D flip-flops are at L level. Decode circuit 18 #5 outputs L level when output signals Q 1 -Q 8 are in other combinations.
  • Decode circuit 18 #6 outputs H level when it detects that output signal Q 6 of D flip-flop 14 #6 shown in FIG. 3 is at H level and the output signals of the other D flip-flops are at L level. Decode circuit 18 #6 outputs L level when output signals Q 1 -Q 8 are in other combinations.
  • Decode circuit 18 #7 outputs H level when it detects that output signal Q 7 of D flip-flop 14 #7 shown in FIG. 3 is at H level and the output signals of the other D flip-flops are at L level. Decode circuit 18 #7 outputs L level when output signals Q 1 -Q 8 are in other combinations.
  • Decode circuit 18 #8 outputs H level when it detects that output signal Q 8 of D flip-flop 14 #8 shown in FIG. 3 is at H level and the output signals of the other D flip-flops are at L level. Decode circuit 18 #8 outputs L level when output signals Q 1 -Q 8 are in other combinations.
  • reset circuit 16 a When reset circuit 16 a has such a configuration, a reset signal is output immediately when an error has occurred, and therefore the normal state can be recovered in synchronization with the rising edge of the next signal. It is noted that each of decode circuits 18 #1- 18 #8 and OR circuit 20 inevitably becomes a complex circuit having many input signals, resulting in large circuit scale, which is not economical.
  • FIG. 5 shows a configuration of an improved reset circuit 16 b.
  • reset circuit 16 b includes: an OR circuit 22 receiving signals Q 1 -Q 4 ; an OR circuit 24 receiving signals Q 5 -Q 8 ; and an Exclusive NOR circuit 26 receiving outputs of OR circuits 22 and 24 and outputting reset signal /RESET.
  • the output signal of OR circuit 22 is a reduced signal of signals Q 1 -Q 4 , and set to H level when any one of signals Q 1 -Q 4 is at H level.
  • the output signal of OR circuit 24 is a reduced signal of signals Q 5 -Q 8 , and set to H level when any one of signals Q 5 -Q 8 is at H level.
  • FIG. 6 is a waveform diagram illustrating an operation of reset circuit 16 b shown in FIG. 5.
  • signal Q 1 is at H level while signals Q 2 -Q 8 are at L level.
  • the output of OR circuit 22 receiving signal Q 1 of H level is at H level, while the output of OR circuit 24 receiving all L level signals is at L level. Therefore, as the output of OR circuit 22 and the output of OR circuit 24 do not match, reset signal /RESET is at H level.
  • clock cycles #2-#4 data is successively shifted each time a clock signal is received, so that the signal to be at H level is also shifting as Q 2 , Q 3 , Q 4 . . . , in order. Also in this case, as the output of OR circuit 22 is at H level and the output of OR circuit 24 is at L level, reset signal /RESET is at H level.
  • OR circuit 22 outputs H level, since signal Q 1 is at H level and signals Q 2 -Q 4 are at L level.
  • the original data is transferred to drive signal Q 5 to H level.
  • Signals Q 6 -Q 8 are at L level. Therefore, the output of OR circuit 24 is set to H level. Thus, both the output of OR circuit 22 and the output of OR circuit 24 are set to H level. Since the output of OR circuit 22 and the output of OR circuit 24 match, reset signal /RESET is activated to L level.
  • D flip-flops 14 #1- 14 #8 receive data in the initial state, so that signal Q 1 is driven to H level and signals Q 2 -Q 8 are driven to L level. Therefore, after clock cycle #6, ring counter 10 can perform a normal operation.
  • both the outputs of OR circuit 22 and OR circuit 24 are driven to L level.
  • Exclusive NOR circuit can detect this state as well, the abnormality is detected and ring counter is reset.
  • Reset circuit 16 b may recover to the normal state more quickly, since it can recover to the normal state at most three clocks after an error has occurred.
  • the semiconductor device described with respect to the first embodiment may enable to recover to the normal state quickly even when an error occurs, so that the operational reliability of a semiconductor device can be enhanced.
  • FIG. 7 is a circuit diagram showing a configuration of a reset circuit 16 c for use in a semiconductor device in accordance with the second embodiment.
  • reset circuit 16 c includes an OR circuit 32 receiving signals Q 1 -Q 7 and an Exclusive NOR circuit 34 receiving an output of OR circuit 32 and signal Q 8 .
  • An output signal of OR circuit 32 is a reduced signal of signals Q 1 -Q 7 and set to H level when any one of signals Q 1 -Q 7 is at H level.
  • Exclusive NOR circuit 34 outputs reset signal/RESET.
  • the outputs may be divided into seven outputs and one output, as shown in FIG. 7.
  • the outputs may be divided into three outputs and five outputs or two outputs and six outputs. Any configuration may be employed provided that all the outputs of the flip-flops are divided into two groups to monitor the results.
  • the semiconductor described with respect to the second embodiment can also recover to the normal state immediately at the time of the abnormality, and therefore the operational reliability can be enhanced.

Landscapes

  • Manipulation Of Pulses (AREA)
  • Shift Register Type Memory (AREA)
  • Dram (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Abstract

A reset circuit outputting a reset signal /RESET when detecting an abnormal state in a ring counter is provided. The reset circuit divides the outputs of flip-flops constituting the ring counter into two groups, and check if either of the groups has “H” data When “H” data exists in both of the two groups or when “H” data does not exist in either of the two groups, the reset circuit activates the reset signal /RESET to L level. Therefore, a semiconductor device can detect an erroneous state and recover to a normal state quickly.

Description

    BACKGROUND OF THE INVENTION
  • 1. Field of the Invention [0001]
  • The present invention relates to a semiconductor device, and more particularly to a semiconductor device including a counter circuit. [0002]
  • 2. Description of the Background Art [0003]
  • A semiconductor device operating in synchronization with an externally applied clock contains, in many cases, a counter circuit for frequency-dividing the applied external clock. There are various kinds of counters. The most common one is a binary counter which can represent the state of two to n-th power with n latches. A binary counter is such a counter in that outputs of n latches correspond to respective bits, which respectively correspond to 2[0004] 0 to 2n.
  • In a binary counter, however, operational frequency is limited, since critical path exists from the establishment of lower bits to the establishment of upper bits. Further, in such an application in that pulse signals are output at every certain period, output of each bit needs to be decoded by an AND circuit to be used. A pulse signal generated by such decoding must be once received by D flip-flop, in order to use the signal as an internal clock signal serving as a reference of operation. [0005]
  • Recently, as the speed of operation of a semiconductor device has increased, in some cases, an external clock is multiplied internally to generate a faster internal clock so that an operation is performed in synchronization therewith. In an application that requires such a high-speed operation, a ring counter which can operate faster than a binary counter may be used. A ring counter is used as a frequency divider of the clock or for creating a timing signal serving as an operational reference of an internal circuit. [0006]
  • A ring counter is a counter in which bistable units such as flip-flops are connected in a loop. At any given time, only one flip-flop holds “H”(high) data while the remaining flip-flops hold “L”(low) data. Each time a clock signal is counted, the position of the flip-flop holding “H” data successively circulates around the loop. [0007]
  • FIG. 8 is a block diagram showing a schematic configuration of a [0008] conventional semiconductor device 452.
  • Referring to FIG. 8, [0009] semiconductor device 452 includes: an internal clock generating circuit 454 receiving an externally applied clock signal CLK and a reset signal RESET and outputting an internal clock signal at a frequency n-times that of external clock signal CLK; and an internal circuit 456 receiving an externally applied input signal DIN, operating in synchronization with internal clock signal ICLK and outputting an output signal DOUT to the external.
  • Internal [0010] clock generating circuit 454 includes: a PLL (Phase Locked Loop) circuit 458 receiving a clock signal CLK and outputting internal clock signal ICLK; and a ring counter 500 starting an operation after initialized by externally applied reset signal /RESET and frequency-dividing internal clock signal ICLK to output an internal clock signal RCLK. Internal clock signal RCLK has a frequency that is one-nth of clock signal ICLK. Internal clock signal RCLK is compared in phase with externally applied clock signal CLK by PLL circuit 458.
  • FIG. 9 is a circuit diagram showing a configuration of [0011] ring counter 500 shown in FIG. 8.
  • Referring to FIG. 9, [0012] ring counter 500 includes a gate circuit 502#1 receiving internal clock signal RCLK and reset signal /RESET.
  • [0013] Gate circuit 502#1 has its output driven to H level when reset signal /RESET is activated to L level, and driven to H level when internal clock signal RCLK is set to H level.
  • [0014] Ring counter 500 further includes: a D flip-flop 504#1 receiving an output of gate circuit 502#1 in synchronization with internal clock signal ICLK; an AND circuit 502#2 receiving an output of D flip-flop 504#1 and reset signal /RESET; and a D flip-flop 504#2 receiving an output of AND circuit 502#2 in synchronization with internal clock signal ICLK.
  • [0015] Ring counter 500 further includes: an AND circuit 502#3 receiving an output of D flip-flop 504#2 and reset signal /RESET; a D flip-flop 504#3 receiving an output of AND circuit 502#3 in synchronization with internal clock signal ICLK; an AND circuit 502#4 receiving an output of D flip-flop 504#3 and reset signal /RESET; and a D flip-flop 504#4 receiving an output of AND circuit 502#4 in synchronization with internal clock signal ICLK.
  • [0016] Ring counter 500 further includes: an AND circuit 502#5 receiving an output of D flip-flop 504#4 and reset signal /RESET; a D flip-flop 504#5 receiving an output of AND circuit 502#5 in synchronization with internal clock signal ICLK; an AND circuit 502#6 receiving an output of D flip-flop 504#5 and reset signal /RESET; and a D flip-flop 504#6 receiving an output of AND circuit 502#6 in synchronization with internal clock signal ICLK.
  • [0017] Ring counter 500 further includes: an AND circuit 502#7 receiving an output of D flip-flop 504#6 and reset signal /RESET; a D flip-flop 504#7 receiving an output of AND circuit 502#7 in synchronization with internal clock signal ICLK; an AND circuit 502#8 receiving an output of D flip-flop 504#7 and reset signal /RESET; and a D flip-flop 504#8 receiving an output of AND circuit 502#8 in synchronization with internal clock signal ICLK.
  • An output of D flip-[0018] flop 504#8 is provided to PLL circuit 458 in FIG. 8 as internal clock signal RCLK, and compared in phase with clock signal CLK.
  • FIG. 10 is an operational waveform diagram illustrating an operation of [0019] ring counter 500 shown in FIG. 9.
  • Referring to FIGS. 9 and 10, Q[0020] 1-Q8 are output signals of D flip-flops 504#1-504#8, respectively. Firstly, in clock cycle #1, signal Q1 is at H level and signals Q2-Q8 are at L level. Then, in clock cycle #2, signal Q1 falls to L level in response to a rise of internal clock signal ICLK and instead of signal Q1, signal Q2 rises to H level. Signals Q3-Q8 remain at the state of L level.
  • Afterwards, at every rising edge of the clock signal, the flip-flop outputting H level shifts to the latter stage one by one. When [0021] clock cycle #8 terminates, again in clock cycle #9, signal Q1 is returned to be at H level and signals Q2-Q8 to be at L level. Such a ring counter in that shift registers are connected in a ring enables a high-speed operation, and in addition, the output signal of flip-flop 504#8 can be directly used as a timing reference signal.
  • As explained above, among flip-flops constituting a shift register, only one flip-flop holds H data which is transmitted to the next stage every time internal clock signal ICLK is input. Therefore, when internal clock signal ICLK corresponding to the number of flip-flops is received, a reference pulse signal can be obtained which has a period corresponding to the number of flip-flops in one clock width as internal clock signal RCLK. By changing the number of flip-flops, in such a ring counter, the period of output signal can be changed easily. [0022]
  • However, ring counter as such has a problem, that is, once an error occurs, it cannot recover from the error until a reset signal is input again. [0023]
  • FIG. 11 is a waveform diagram illustrating an error of a conventional ring counter. [0024]
  • Referring to FIGS. 9 and 11, signals Q[0025] 1-Q8 show outputs signals of D flip-flops 504#1-504#8, respectively.
  • In clock cycles #1-#4, the position of D flip-flop outputting H level successively is shifting in order, similar to the operation explained with respect to FIG. 10. [0026]
  • In [0027] clock cycle #5, the output node of D flip-flop 504#1 suffers noise of H level caused, for example, by radiation and the like and that noise may be held.
  • Then, in [0028] clock cycle #6, H data due to the noise is shifted to the next stage, resulting in signal Q2 driven to H level. Therefore, after clock cycle #6, two flip-flops out of eight hold H level data.
  • For example, in [0029] clock cycle #8, signals Q4 and Q8 are brought to be at H level. Thus, after clock cycle #8, internal clock signal RCLK output from ring counter 500 comes to have a frequency twice that of the original one. As a result, PLL circuit 458 in FIG. 8 causes an error in which it generates a clock signal with the frequency reduced to one half that of an internal clock signal to be generated.
  • More specifically, though [0030] ring counter 500 shown in FIG. 9 can represent the states in only eight ways in normal operation, it can represent the states in 256 ways as a combination. Therefore, there arises a problem in which when the ring counter goes into any of the states of the combination in 248 ways as the abnormal state, it cannot recover to its normal operation. For example, in such an application that is continuously run for a long time and cannot be initialized by power-on, such as a workstation operating all night, an air-conditioner for controlling the temperature in a plant, a security system, a internet server and the like, the occurrence of such an error results in a big problem.
  • SUMMARY OF THE INVENTION
  • An object of the present invention is to provide a reliable semiconductor device which is able to recover to a normal state immediately even if an error occurs. [0031]
  • The present invention, in summary, provides a semiconductor device including a plurality of holding circuits and a reset circuit. [0032]
  • The plurality of holding circuits are connected in series in a ring, each receives data in synchronization with a clock signal and transmits it to the next stage. The reset circuit monitors hold data in the plurality of holding circuits, and when detecting an abnormal state, initializes the hold data. The reset circuit initializes the hold data when data of a first logical value exists in a first portion of the plurality of holding circuits and data of the first logical value exists in a second portion excluding the first portion of the plurality of holding circuits, or when data of the first logical value does not exist in the first portion of the plurality of holding circuits and data of the first logical value does not exist in the second portion excluding the first portion of the plurality of holding circuits. [0033]
  • According to another aspect of the present invention, the present invention provides a semiconductor device including a plurality of holding circuits and a reset circuit. [0034]
  • The plurality of holding circuits are connected in series in a ring, each receives data in synchronization with a clock signal and transmits it to the next stage. The reset circuit monitors hold data in the plurality of holding circuits, and when detecting an abnormal state, initializes the hold data. The reset circuit includes: a plurality of decode circuits detecting a plurality of states, respectively, which the plurality of holding circuits may take in a normal operational state; and an output circuit outputting a reset signal for initializing the hold data when none of outputs of the plurality of decode circuits are activated. [0035]
  • Therefore, a main advantage of the present invention is that it enhances an operational reliability because of the capability to recover from an erroneous state to the normal operational state even when an error is caused by noise of radiation and the like. [0036]
  • The foregoing and other objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings.[0037]
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a schematic block diagram showing a configuration of a [0038] semiconductor device 2 in accordance with a first embodiment of the present invention.
  • FIG. 2 is a block diagram showing a configuration of a [0039] PLL circuit 8 shown in FIG. 1.
  • FIG. 3 is a circuit diagram showing a configuration of a [0040] ring counter 10 shown in FIG. 1.
  • FIG. 4 is a circuit diagram showing a [0041] reset circuit 16 a which is an example of a reset circuit 16 in FIG. 3.
  • FIG. 5 is a circuit diagram showing a configuration of an [0042] improved reset circuit 16 b.
  • FIG. 6 is an operational waveform diagram illustrating an operation of the [0043] reset circuit 16 b shown in FIG. 5.
  • FIG. 7 is a circuit diagram showing a configuration of a [0044] reset circuit 16 c used in a semiconductor of a second embodiment.
  • FIG. 8 is a block diagram showing a schematic configuration of a [0045] conventional semiconductor device 452.
  • FIG. 9 is a circuit diagram showing a configuration of the [0046] ring counter 500 shown in FIG. 8.
  • FIG. 10 is an operational waveform diagram illustrating the [0047] ring counter 500 shown in FIG. 9.
  • FIG. 11 is a waveform diagram illustrating an error of the conventional ring counter.[0048]
  • DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • In the following, embodiments of the present invention will be described in detail with reference to the figures. In the figures, the same reference characters denote the same or corresponding portions. [0049]
  • First Embodiment
  • FIG. 1 is a schematic block diagram showing a configuration of a [0050] semiconductor device 2 in accordance with the first embodiment of the present invention.
  • Referring to FIG. 1, [0051] semiconductor device 2 includes: an internal clock generating circuit 4 receiving an externally applied clock signal CLK and outputting an internal clock signal ICLK having a frequency n-times that of the external clock signal CLK; and an internal circuit 6 receiving an externally applied input signal DIN, performing an operation in synchronization with internal clock signal ICLK and externally outputting an output signal DOUT.
  • Internal [0052] clock generating circuit 4 includes: a PLL (Phase Locked Loop) circuit 8 receiving clock signal CLK and outputting internal clock signal ICLK; and a ring counter 10 determining if an initial value is in normal state when powered, starting an operation after initializing data if it is not the normal state, and frequency-dividing internal clock signal ICLK to output an internal clock signal RCLK. Internal clock signal RCLK has a frequency one n-th that of clock signal ICLK. Internal clock signal RCLK is compared in phase with externally applied clock signal CLK by PLL circuit 8.
  • FIG. 2 is a block diagram showing a configuration of the [0053] PLL circuit 8 in FIG. 1.
  • Referring to FIG. 2, [0054] PLL circuit 8 includes: a clock buffer 8 a receiving clock signal CLK and outputting an internal clock signal ECLK; a phase comparator 8 b comparing a phase of internal clock signal RCLK with a phase of internal clock signal ECLK and outputting control signals UP/DOWN; a shift register 8 c shifting an active bit of a control signal CT (n:0) toward upper direction in response to control signal UP as well as shifting an active bit of control signal CT (n:0) toward lower direction in response to control signal DOWN; and a delay line 8 d having an amount of delay changed in response to control signal CT (n:0). Delay line 8 d is configured with inverting circuits of an odd number of stages, and the number of the delay stages changes by two in response to control signal CT (n:0). Delay line 8 d outputs internal clock signal ICLK which is also input to delay line 8 d, so that delay line 8 d operates as a self-exciting ring oscillator.
  • FIG. 3 is a circuit diagram showing a configuration of [0055] ring counter 10 shown in FIG. 1.
  • Referring to FIG. 3, [0056] ring counter 10 includes a gate circuit 12#1 receiving internal clock signal RCLK and a reset signal /RESET.
  • [0057] Gate circuit 12#1 has its output driven to H level when reset signal /RESET is activated to L level, and also driven to H level when internal clock signal RCLK is set to H level.
  • [0058] Ring counter 10 further includes: a D flip-flop 14#1 receiving an output of gate circuit 12#1 in synchronization with internal clock signal ICLK; an AND circuit 12#2 receiving an output of D flip-flop 14#1 and reset signal /RESET; and a D flip-flop 14#2 receiving an output of AND circuit 12#2 in synchronization with internal clock signal ICLK.
  • [0059] Ring counter 10 further includes: an AND circuit 12#3 receiving an output of D flip-flop 14#2 and reset signal /RESET; a D flip-flop 14#3 receiving an output of AND circuit 12#3 in synchronization with internal clock signal ICLK; an AND circuit 12#4 receiving an output of D flip-flop 14#3 and reset signal /RESET; and a D flip-flop 14#4 receiving an output of AND circuit 12#4 in synchronization with internal clock signal ICLK.
  • [0060] Ring counter 10 further includes: an AND circuit 12#5 receiving an output of D flip-flop 14#4 and reset signal /RESET; a D flip-flop 14#5 receiving an output of AND circuit 12#5 in synchronization with internal clock signal ICLK; an AND circuit 12#6 receiving an output of D flip-flop 14#5 and reset signal /RESET; and a D flip-flop 14#6 receiving an output of AND circuit 12#6 in synchronization with internal clock signal ICLK.
  • [0061] Ring counter 10 further includes: an AND circuit 12#7 receiving an output of D flip-flop 14#6 and reset signal /RESET; a D flip-flop 14#7 receiving an output of AND circuit 12#7 in synchronization with internal clock signal ICLK; an AND circuit 12#8 receiving an output of D flip-flop 14#7 and reset signal /RESET; and a D flip-flop 14#8 receiving an output of AND circuit 12#8 in synchronization with internal clock signal ICLK.
  • An output of D flip-[0062] flop 14#8 is provided to PLL circuit 8 in FIG. 1 as internal clock signal RCLK and compared in phase with clock signal CLK.
  • [0063] Ring counter 10 further includes a reset circuit 16 receiving signals Q1-Q8 to monitor the state of the shift registers and outputting reset signal /RESET when detecting an abnormality.
  • FIG. 4 is a circuit diagram showing a configuration of a [0064] reset circuit 16 a which is an example of the reset circuit 16 in FIG. 3.
  • Referring to FIG. 4, reset [0065] circuit 16 a includes decode circuits 18#1-18#8 and an OR circuit 20 receiving outputs of decode circuits 18#1-18#8 and outputting reset signal /RESET.
  • [0066] Decode circuit 18#1 outputs H level when it detects that output signal Q1 of D flip-flop 14#1 shown in FIG. 3 is at H level and the output signals of the other D flip-flops are at L level. Decode circuit 18#1 outputs L level when output signals Q1-Q8 are in other combinations.
  • [0067] Decode circuit 18#2 outputs H level when it detects that output signal Q2 of D flip-flop 14#2 shown in FIG. 3 is at H level and the output signals of the other D flip-flops are at L level. Decode circuit 18#2 outputs L level when output signals Q1-Q8 are in other combinations.
  • [0068] Decode circuit 18#3 outputs H level when it detects that output signal Q3 of D flip-flop 14#3 shown in FIG. 3 is at H level and the output signals of the other D flip-flops are at L level. Decode circuit 18#3 outputs L level when output signals Q1-Q8 are in other combinations.
  • [0069] Decode circuit 18#4 outputs H level when it detects that output signal Q4 of D flip-flop 14#4 shown in FIG. 3 is at H level and the output signals of the other D flip-flops are at L level. Decode circuit 18#4 outputs L level when output signals Q1-Q8 are in other combinations.
  • [0070] Decode circuit 18#5 outputs H level when it detects that output signal Q5 of D flip-flop 14#5 shown in FIG. 3 is at H level and the output signals of the other D flip-flops are at L level. Decode circuit 18#5 outputs L level when output signals Q1-Q8 are in other combinations.
  • [0071] Decode circuit 18#6 outputs H level when it detects that output signal Q6 of D flip-flop 14#6 shown in FIG. 3 is at H level and the output signals of the other D flip-flops are at L level. Decode circuit 18#6 outputs L level when output signals Q1-Q8 are in other combinations.
  • [0072] Decode circuit 18#7 outputs H level when it detects that output signal Q7 of D flip-flop 14#7 shown in FIG. 3 is at H level and the output signals of the other D flip-flops are at L level. Decode circuit 18#7 outputs L level when output signals Q1-Q8 are in other combinations.
  • [0073] Decode circuit 18#8 outputs H level when it detects that output signal Q8 of D flip-flop 14#8 shown in FIG. 3 is at H level and the output signals of the other D flip-flops are at L level. Decode circuit 18#8 outputs L level when output signals Q1-Q8 are in other combinations.
  • When reset [0074] circuit 16 a has such a configuration, a reset signal is output immediately when an error has occurred, and therefore the normal state can be recovered in synchronization with the rising edge of the next signal. It is noted that each of decode circuits 18#1-18#8 and OR circuit 20 inevitably becomes a complex circuit having many input signals, resulting in large circuit scale, which is not economical.
  • FIG. 5 shows a configuration of an [0075] improved reset circuit 16 b.
  • Referring to FIG. 5, reset [0076] circuit 16 b includes: an OR circuit 22 receiving signals Q1-Q4; an OR circuit 24 receiving signals Q5-Q8; and an Exclusive NOR circuit 26 receiving outputs of OR circuits 22 and 24 and outputting reset signal /RESET. The output signal of OR circuit 22 is a reduced signal of signals Q1-Q4, and set to H level when any one of signals Q1-Q4 is at H level. The output signal of OR circuit 24 is a reduced signal of signals Q5-Q8, and set to H level when any one of signals Q5-Q8 is at H level.
  • FIG. 6 is a waveform diagram illustrating an operation of [0077] reset circuit 16 b shown in FIG. 5.
  • Referring to FIGS. 5 and 6, in [0078] clock cycle #1, signal Q1 is at H level while signals Q2-Q8 are at L level. The output of OR circuit 22 receiving signal Q1 of H level is at H level, while the output of OR circuit 24 receiving all L level signals is at L level. Therefore, as the output of OR circuit 22 and the output of OR circuit 24 do not match, reset signal /RESET is at H level.
  • In clock cycles #2-#4, data is successively shifted each time a clock signal is received, so that the signal to be at H level is also shifting as Q[0079] 2, Q3, Q4 . . . , in order. Also in this case, as the output of OR circuit 22 is at H level and the output of OR circuit 24 is at L level, reset signal /RESET is at H level.
  • Now, in [0080] clock cycle #5, assuming that at D flip-flop 14#1 an abnormal state is caused by an error, for example due to radiation and that signal Q1 is driven to H level, OR circuit 22 outputs H level, since signal Q1 is at H level and signals Q2-Q4 are at L level.
  • On the other hand, the original data is transferred to drive signal Q[0081] 5 to H level. Signals Q6-Q8 are at L level. Therefore, the output of OR circuit 24 is set to H level. Thus, both the output of OR circuit 22 and the output of OR circuit 24 are set to H level. Since the output of OR circuit 22 and the output of OR circuit 24 match, reset signal /RESET is activated to L level.
  • Then, in the next [0082] clock cycle #6, D flip-flops 14#1-14#8 receive data in the initial state, so that signal Q1 is driven to H level and signals Q2-Q8 are driven to L level. Therefore, after clock cycle #6, ring counter 10 can perform a normal operation.
  • In the waveform diagram shown in FIG. 6 though it is described that L level data is changed to H level by the error due to radiation, it is possible, for example, that signal Q[0083] 1 which is at H level in clock cycle #1 is caused to L level by the error.
  • In this case, both the outputs of [0084] OR circuit 22 and OR circuit 24 are driven to L level. As Exclusive NOR circuit can detect this state as well, the abnormality is detected and ring counter is reset.
  • Further, it may be possible to provide a circuit that outputs a reset signal every eight cycles, as a reset circuit. [0085] Reset circuit 16 b, , however, may recover to the normal state more quickly, since it can recover to the normal state at most three clocks after an error has occurred.
  • As explained above, the semiconductor device described with respect to the first embodiment may enable to recover to the normal state quickly even when an error occurs, so that the operational reliability of a semiconductor device can be enhanced. [0086]
  • Second Embodiment
  • FIG. 7 is a circuit diagram showing a configuration of a [0087] reset circuit 16 c for use in a semiconductor device in accordance with the second embodiment.
  • Referring to FIG. 7, reset [0088] circuit 16 c includes an OR circuit 32 receiving signals Q1-Q7 and an Exclusive NOR circuit 34 receiving an output of OR circuit 32 and signal Q8. An output signal of OR circuit 32 is a reduced signal of signals Q1-Q7 and set to H level when any one of signals Q1-Q7 is at H level. Exclusive NOR circuit 34 outputs reset signal/RESET.
  • More specifically, in the configuration of [0089] reset circuit 16 b, shown in FIG. 5, the outputs of the flip-flops are divided into four outputs and four outputs which are received by OR circuits 22 and 24, respectively. Then Exclusive NOR circuit 26 checks whether the outputs of OR circuits 22 and 24 match. The outputs of the flip-flops, however, are not necessarily divided into four outputs and four outputs which are received by OR circuits, respectively.
  • More specifically, the outputs may be divided into seven outputs and one output, as shown in FIG. 7. Alternatively, the outputs may be divided into three outputs and five outputs or two outputs and six outputs. Any configuration may be employed provided that all the outputs of the flip-flops are divided into two groups to monitor the results. [0090]
  • As explained above, the semiconductor described with respect to the second embodiment can also recover to the normal state immediately at the time of the abnormality, and therefore the operational reliability can be enhanced. [0091]
  • Although the present invention has been described and illustrated in detail, it is clearly understood that the same is by way of illustration and example only and is not to be taken by way of limitation, the spirit and scope of the present invention being limited only by the terms of the appended claims. [0092]

Claims (9)

What is claimed is:
1. A semiconductor device, comprising:
a plurality of holding circuits connected in series in a ring, each receiving data in synchronization with a clock signal and transmitting the data to a next stage; and
a reset circuit monitoring hold data in said plurality of holding circuits and when detecting an abnormal state of said plurality of holding circuits, initializing said hold data;
said abnormal state including
a first state in which data of a first logical value exists in a first portion of said plurality of holding circuits and data of said first logical value exists in a second portion excluding said first portion of said plurality of holding circuits, and
a second state in which data of said first logical value does not exist in said plurality of holding circuits.
2. The semiconductor device according to claim 1, wherein said reset circuit includes
a first reducing circuit reducing data in said first portion,
a second reducing circuit reducing data in said second portion, and
a match detecting circuit outputting a reset signal for initializing said plurality of holding circuits when outputs of said first reducing circuit and said second reducing circuit match.
3. The semiconductor device according to claim 2, wherein
said first logical value is one,
said first reducing circuit has an OR circuit receiving a first input signal corresponding to hold data in said first portion,
said second reducing circuit has a second OR circuit receiving a second input signal corresponding to hold data in said second portion, and
said match detecting circuit has an Exclusive NOR circuit outputting said reset signal when outputs of said first and second OR circuits match.
4. The semiconductor device according to claim 1, wherein
said second portion includes a first holding circuit,
said first portion includes remaining holding circuits excluding said first holding circuit out of said plurality of holding circuits, and
said reset circuit includes
a reducing circuit reducing hold data in said first portion, and
a match detecting circuit outputting a reset signal for initializing said plurality of holding circuits when an output of said reducing circuit and an output of said first holding circuit match.
5. The semiconductor device according to claim 4, wherein
said first logical value is one,
said reducing circuit has an OR circuit receiving input signals corresponding to hold data in said first portion, and
said match detecting circuit has an Exclusive NOR circuit outputting said reset signal when an output of said OR circuit and an output of said first holding circuit match.
6. The semiconductor device according to claim 1, wherein said plurality of holding circuit includes
a first holding circuit initialized to said first logical value in response to an output of said reset circuit, and
a second holding circuit initialized to a second logical value complementary to said first logical value in response to the output of said reset circuit.
7. The semiconductor device according to claim 1, further comprising:
a clock generating circuit outputting said clock signal having a frequency higher than that of an external clock signal in response to any one of outputs of said plurality of holding circuits and said external clock signal; and
an internal circuit performing an operation in synchronization with said clock signal.
8. A semiconductor device, comprising:
a plurality of holding circuits connected in series in a ring, each receiving data in synchronization with a clock signal and transmitting the data to a next stage; and
a reset circuit monitoring hold data in said plurality of holding circuits and initializing said hold data when detecting an abnormality;
said reset circuit including
a plurality of decode circuits respectively detecting a plurality states in which said plurality of holding circuits can be in a normal operational state, and
an output circuit outputting a reset signal for initializing said hold data when none of outputs of said plurality of decode circuits are activated.
9. The semiconductor device according to claim 8, further comprising:
a clock generating circuit outputting said clock signal having a frequency higher than that of an external clock signal in response to any one of outputs of said plurality of holding circuits and said external clock signal; and
an internal circuit performing an operation in synchronization with said clock signal.
US09/880,123 2000-12-08 2001-06-14 Semiconductor device capable of immediately recovering from erroneous state to normal state Expired - Lifetime US6407597B1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2000-374000(P) 2000-12-08
JP2000374000A JP4497708B2 (en) 2000-12-08 2000-12-08 Semiconductor device
JP2000-374000 2000-12-08

Publications (2)

Publication Number Publication Date
US20020070776A1 true US20020070776A1 (en) 2002-06-13
US6407597B1 US6407597B1 (en) 2002-06-18

Family

ID=18843280

Family Applications (1)

Application Number Title Priority Date Filing Date
US09/880,123 Expired - Lifetime US6407597B1 (en) 2000-12-08 2001-06-14 Semiconductor device capable of immediately recovering from erroneous state to normal state

Country Status (2)

Country Link
US (1) US6407597B1 (en)
JP (1) JP4497708B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070234251A1 (en) * 2006-03-31 2007-10-04 Integrated Device Technology, Inc. Data Output Clock Selection Circuit For Quad-Data Rate Interface
US20120074991A1 (en) * 2009-09-14 2012-03-29 Ravi Kurlagunda Reset signal distribution
US8456203B2 (en) 2010-09-07 2013-06-04 Fujitsu Limited Multiphase clock generation circuit

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7477716B2 (en) 2003-06-25 2009-01-13 Mosaid Technologies, Inc. Start up circuit for delay locked loop
US7275204B2 (en) * 2004-09-30 2007-09-25 Marvell International Ltd. Distributed ring control circuits for Viterbi traceback
US7190201B2 (en) 2005-02-03 2007-03-13 Mosaid Technologies, Inc. Method and apparatus for initializing a delay locked loop
JP2007128611A (en) * 2005-11-04 2007-05-24 Nec Electronics Corp Semiconductor integrated circuit device
US7711940B2 (en) * 2005-12-19 2010-05-04 Samsung Electronics Co., Ltd. Circuit block and circuit system having skew compensation, and skew compensation method
US7671643B2 (en) * 2008-01-03 2010-03-02 Memsic, Inc. Power-on-reset circuit having zero static power consumption
CA2738879C (en) 2008-10-31 2017-02-28 Certicom Corp. System for detecting a reset condition in an electronic circuit
US8493109B2 (en) * 2010-03-31 2013-07-23 Qualcomm Incorporated System and method to control a power on reset signal

Family Cites Families (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3586982A (en) * 1969-02-19 1971-06-22 Westinghouse Electric Corp Pulse count detector having fail-safe features
US3639740A (en) * 1970-07-15 1972-02-01 Collins Radio Co Ring counter apparatus
JPS5534572A (en) * 1978-09-04 1980-03-11 Toshiba Corp Counting circuit
JPS55118553U (en) * 1979-02-13 1980-08-21
JPS6035400A (en) * 1983-08-05 1985-02-23 Sharp Corp Complementary type metal oxide film semiconductor device
JPS61174232U (en) * 1985-04-17 1986-10-30
JPS62192097A (en) * 1986-02-18 1987-08-22 Nec Ic Microcomput Syst Ltd Shift register circuit
JPH0763135B2 (en) * 1986-09-05 1995-07-05 日本電気株式会社 Semiconductor integrated logic circuit
JPS63120523A (en) * 1986-11-07 1988-05-24 Fujitsu Ltd Ring counter circuit
JP2659186B2 (en) * 1987-03-17 1997-09-30 日本電気株式会社 Digital variable frequency divider
JPH01232827A (en) * 1988-03-14 1989-09-18 Matsushita Electric Ind Co Ltd Ring counter device
JPH02181518A (en) * 1989-01-05 1990-07-16 Fujitsu Ltd Rink counter circuit
JPH0410811A (en) * 1990-04-27 1992-01-16 Sanyo Electric Co Ltd Low noise counter and image pickup device provided with the same
JPH0815252B2 (en) * 1991-03-27 1996-02-14 松下電器産業株式会社 Flip-flop circuit
JPH08162946A (en) * 1994-11-30 1996-06-21 Fujitsu Ltd Counter circuit
US5867409A (en) * 1995-03-09 1999-02-02 Kabushiki Kaisha Toshiba Linear feedback shift register
JP3442924B2 (en) * 1996-04-01 2003-09-02 株式会社東芝 Frequency multiplier
JP3323054B2 (en) * 1996-04-01 2002-09-09 株式会社東芝 Frequency multiplier
JP3956062B2 (en) * 1996-07-30 2007-08-08 ソニー株式会社 Playback apparatus and method
JPH1168552A (en) * 1997-08-20 1999-03-09 Sony Corp Circuit for frequency-dividing by 2n
US6091794A (en) * 1997-11-25 2000-07-18 Stmicroelectronics, Inc. Fast synchronous counter
JPH11251924A (en) * 1998-03-02 1999-09-17 Hitachi Ltd Frequency dividing circuit, series-parallel conversion circuit using the circuit and serial data transmission and reception circuit
JPH11355107A (en) * 1998-06-09 1999-12-24 Matsushita Electric Ind Co Ltd High frequency clock generation circuit

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070234251A1 (en) * 2006-03-31 2007-10-04 Integrated Device Technology, Inc. Data Output Clock Selection Circuit For Quad-Data Rate Interface
US7400178B2 (en) * 2006-03-31 2008-07-15 Integrated Device Technology, Inc. Data output clock selection circuit for quad-data rate interface
US20120074991A1 (en) * 2009-09-14 2012-03-29 Ravi Kurlagunda Reset signal distribution
US8305124B2 (en) * 2009-09-14 2012-11-06 Achronix Semiconductor Corporation Reset signal distribution
US8456203B2 (en) 2010-09-07 2013-06-04 Fujitsu Limited Multiphase clock generation circuit

Also Published As

Publication number Publication date
JP4497708B2 (en) 2010-07-07
JP2002176354A (en) 2002-06-21
US6407597B1 (en) 2002-06-18

Similar Documents

Publication Publication Date Title
US7424500B2 (en) Random number generator with ring oscillation circuit
US5748948A (en) Reset signal generator
US5798720A (en) Parallel to serial data converter
US5642069A (en) Clock signal loss detection and recovery apparatus in multiple clock signal system
US5459855A (en) Frequency ratio detector for determining fixed frequency ratios in a computer system
KR0153952B1 (en) Apparatus for retiming high speed digital data
US6104228A (en) Phase aligner system and method
US6407597B1 (en) Semiconductor device capable of immediately recovering from erroneous state to normal state
US8564355B2 (en) Clock device
US7519746B2 (en) Elastic buffer
US7254201B2 (en) Clock and data recovery circuit and method
US6622256B1 (en) System for protecting strobe glitches by separating a strobe signal into pointer path and timing path, filtering glitches from signals on pointer path thereof
US8525597B2 (en) Clock frequency overshoot detection circuit
JP3080341B2 (en) Data match detection circuit
US4328583A (en) Data bus fault detector
US6483389B1 (en) Phase and frequency detector providing immunity to missing input clock pulses
JPH11275168A (en) Data communication equipment
US11411565B2 (en) Clock and data recovery circuit
US5905410A (en) Lock/unlock indicator for PLL circuits
US6246261B1 (en) Circuit for detecting the disappearing of a periodic signal
CN108777576B (en) Phase-locked loop stable clock output circuit during SoC system reset
US5559453A (en) Interlocked restore circuit
US6707319B2 (en) Frequency comparator with malfunction reduced and phase-locked state detecting circuit using the same
JP2000111587A (en) Jitter detection circuit
JPH10135838A (en) Cmi/nrz conversion circuit

Legal Events

Date Code Title Description
AS Assignment

Owner name: MITSUBISHI DENKI KABUSHIKI KAISHA, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:ISHIWAKI, MASAHIKO;REEL/FRAME:011913/0967

Effective date: 20010601

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCF Information on status: patent grant

Free format text: PATENTED CASE

FPAY Fee payment

Year of fee payment: 4

FPAY Fee payment

Year of fee payment: 8

FPAY Fee payment

Year of fee payment: 12