An internal clock generator for a synchronous dynamic RAM

Abstract: A first signal (1) is produced from an external clock (CLK). A second signal (2) is produced from a clock enabling signal (CKE) for controlling an internal clock of a SDRAM. A phase compensated signal (3) is produced by advancing the phase angle of the signal (1). A control signal (4) is produced by a D-type flipflop from the signals (1 and 2). A phase-advanced internal clock (6) is produced from the signals (3 and 4) through an RS-type flipflop and an OR gate. So, the phase-advanced internal clock (6) has no hazardous waveform.

Description: The present invention relates to a control system for a synchronous dynamic RAM (SDRAM), and more particularly to an internal clock generator of a SDRAM. Control signals for a SDRAM are synchronized to its internal clock, and data input-output are also performed synchronized to the internal clock. As one of the features of a SDRAM, the internal clock frequency is to be easily changed according to operational speeds of output devices, for example, even when data are consecutively read out in a burst operation. Various proposals have been disclosed for increasing the easiness of application of the SDRAM. For an example, in a Japanese patent application entitled "Synchronous Type Semiconductor Memory" and laid open as a Provisional Publication No. 290583/'94, an internal clock generator shown by FIG. 8 has been disclosed. In the prior art, an external system clock CLK 101 is received by a first primary stage circuit 103, which is controlled by a clock enabling signal CKE 102 received by a second primary stage circuit 104 for matching operational speed of a SDRAM to output devices or for providing a power save operation of a SDRAM. FIG. 9 shows a circuit diagram of the first or the second primary stage circuit 103 or 104. In FIG. 9, p-channel transistors Q3, Q4 and n-channel transistors Q5, Q6 constitute a conventional mirror circuit. When an enabling signal e is at logic HIGH, the p-channel transistors Q1 and Q2 are OFF, and the n-channel transistor Q9 is ON, malting the logic of the output signal out at LOW regardless of an input signal in. When the enabling signal e is at logic LOW, the p-channel transistors Q1 and Q2 are ON, and the n-channel transistor Q9 is OFF enabling the mirror circuit. The logic of the signal out is an inverted logic of the input signal in, determined by comparison with a reference signal r by the mirror circuit. FIG. 11 shows signal waveforms in the internal clock generator of FIG. 8. The waveform of a first signal 1 output of the first primary stage circuit 103 is similar to that of the CLK 101, inverted and delayed by a circuit operational delay, and the waveform of a second signal 2 output of the second primary stage circuit 104 is similar to that of the CKE 102, inverted and delayed by the circuit operational delay. A first control circuit 502 consisting of a D-type flipflop 502a and a D-type latch 502b as shown in FIG. 10, stores logic of the second signal 2 at each rising edge of the first signal 1, latches the stored signal at the succeeding falling edge of the first signal 1 and holds the latched signal until the next falling edge. Thus, a control signal 54 is output of the first control circuit 502 as shown by a waveform 54 in FIG. 11. A second control circuit 508 of the prior art suppresses the first signal 1 during logic HIGH of the control signal 54 to be output as an internal clock 56. Thus, an internal clock having a waveform as shown by 56 in FIG. 11 is obtained from output of the second control circuit 508, suppressed with logic LOW of the asynchronous clock enabling signal CKE 102 making an effective clock period elongated. The primary stage circuit shown by FIG. 9 with a current mirror is excellent as a high speed and small amplitude signal interface, but somewhat dissipative. In another Japanese patent application entitled "Primary Stage System for Semiconductor Memory" and laid open as a Provisional Publication No. 065574/'95, another internal clock generator is disclosed wherein the current mirror type primary stage circuits are disabled with the enabling signal e of FIG. 9 at logic HIGH and a CMOS type primary stage circuit is rest enabled for watching a mode change while the SDRAM is controlled in a self-refresh mode, still decreasing its power consumption. In these days, with the increasing operational speed of the systems equipped with SDRAMs, the frequency of the system clock and operational speeds of peripheral circuits are increased. In these environs, the delay time between the external clock CLK 101 and the internal clock 56 has become a problem for high speed operation, when data are read out from the SDRAM, for example. As a solution of this problem, the phase angle of the internal clock is advanced from the phase angle of the external clock. FIG. 12 shows a block diagram of a heretofore known internal clock generator wherein an internal clock of an advanced phase is generated. In FIG. 12, an external clock CLK 101, a clock enabling signal CKE 102, a first and a second primary stage circuits 103, 104, and a first and a second control circuits 502, 508 are the same with the parts of the same numerals in the circuit of FIG. 8 respectively, and generates same first and second signals 1, 2 and same control signal 54 as the signals described in connection with FIG. 9 respectively. In the prior art of FIG. 12, a timing compensation circuit 106 as a PLL (phase-locked loop) for example, or a circuit proposed in a paper entitled "A 2.5ns Clock Access 250MHz 256Mb SDRAM with a Synchronous Mirror Delay", by Saeki et al, ISSCC96/SESSION 23/DRAM/PAPER SP 23.4, February 1996, can be used here when continuous clock signal is not available, is provided for advancing the phase angle of the first signal 1 to produce a third signal 3 phase-advanced. FIG. 13 is a waveform diagram illustrating waveforms of signals in the prior art of FIG. 12. Waveforms of the first, the second signals 1, 2, and the control signal 54 are the same with the waveforms of the corresponding signals in FIG. 11. The phase of the third signal 3 is advanced from the first signal 1. A second control circuit 508 suppresses the third signal 3 while the control signal 54 is at logic HIGH. Thus an internal clock with phase angle relatively advanced can be controlled with a clock enabling signal. But, when the phase angle is advanced more than π as in the example 3 shown in FIG. 13, waveform of the output signal 86 of the second control circuit 508 will be as shown by 86 in FIG. 13. A narrow width rectangular waveform of the signal 86 may make a hazard of operation. Therefore, a primary object of the invention is to provide an internal clock generator for a SDRAM, wherein a phase-advanced internal clock stably controlled with an asynchronous clock enabling signal, is obtained without producing a hazard for operation, resulting a SDRAM easily applicable for a high-speed system. In order to achieve the object, an internal clock generator of an embodiment comprises: a first primary stage circuit for receiving an external clock signal and producing a first signal synchronized to said external clock signal; a second primary stage circuit for receiving a clock enabling signal and producing a second signal synchronized to said clock enable signal; a first control circuit for generating a control signal from said first and said second signals, said control signal becoming at logic HIGH with a first rising edge of said first signal during logic HIGH of said second signal and turning to logic LOW with a first rising edge of said first signal after turning to logic LOW of said second signal; a timing compensation circuit for generating a phase compensated signal from said first signal, said phase compensated signal being a phase-advanced signal of said first signal; and a second control circuit for generating a phase-advanced internal clock from said phase compensated and said control signals, said phase-advanced internal clock being set and reset at each rising and falling edges of said phase compensated signal when said control signal is at logic LOW and setting of said phase-advanced internal clock inhibited when said control signal is at logic HIGH. Therefore, a phase-advanced internal clock for a SDRAM without hazardous signal is obtained with a simple circuit configuration. An internal clock generator of another embodiment of the invention comprises: a first primary stage circuit for receiving an external clock signal and producing a first signal synchronized to said external clock signal; a second primary stage circuit for receiving a clock enabling signal and producing a second signal synchronized to said clock enable signal; a first control circuit for generating a control signal from said first and said second signals, said control signal becoming at logic HIGH with a first rising edge of said first signal during logic HIGH of said second signal and turning to logic LOW with a first rising edge of said first signal after turning to logic LOW of said second signal; a third primary stage circuit for receiving said external clock signal and a power saving signal, said third primary stage circuit enabled for producing a third signal synchronized to said external clock signal when said power saving signal is at logic LOW and disabled maintainning said third signal at logic LOW when said power saving signal is at logic HIGH; a fourth control circuit for generating a fourth signal from said first and said power saving signals, said fourth signal becoming at logic LOW with a first rising edge of said first signal during logic LOW of said power saving signal and turning to logic HIGH with a first rising edge of said first signal after turning to logic HIGH of said power saving signal; a second control circuit for generating a fifth signal from said third and said fourth signals, said fifth signal being set and reset at each rising and falling edges of said third signal when said fourth signal is at logic LOW and setting of said fifth signal inhibited when said fourth signal is at logic HIGH; a timing compensation circuit for generating a phase-compensated signal from said fifth signal, said phase-compensated signal being a phase-advanced signal of said fifth signal; a selector for selecting one of said fifth signal and said phase-compensated signal according to a select signal as a timing signal; and a third control circuit for generating a phase-advaned internal clock from said control and said timing signals, said phase-advanced internal clock being set and reset at each rising and falling edges of said timing signal when said control signal is at logic LOW and setting of said phase-advanced internal clock inhibited when one of said control signal and said fourth signal is at logic HIGH. Therefore, an internal clock generator which can generate a controllable phase-advanced internal clock in addition to an ordinary internal clock is realized in the present invention, wherein effective clock periode of the internal clocks are elongated controlled by a clock enabling signal, resulting a SDRAM of low dissipation easily applicable for a high-speed system. The objects, features, and advantages of this invention will become apparent from a consideration of the following description, the appended claims, and the accompanying drawings in which the same numerals indicate the same or the corresponding parts. FIG. 1 is a block diagram illustrating a first embodiment of the invention. FIG. 2 is a circuit diagram of a control circuit consisting of a D-type flip-flop. FIG. 3 is a circuit diagram of a control circuit comprising an RS-type flipflop. FIG. 4 is a waveform diagram of waveforms in the circuit of FIG. 1. FIG. 5 is a block diagram illustrating a second embodiment of the invention. FIG. 6 is a circuit diagram of a control circuit 118 in FIG. 5. FIG. 7 is a waveform diagram of waveforms in the circuit of FIG. 5. FIG. 8 is a block diagram illustrating a prior art. FIG. 9 is a circuit diagram of a primary stage circuit. FIG. 10 is a circuit diagram of the control circuit of FIG. 8. FIG. 11 is a waveform diagram of waveforms in the circuit of FIG. 8. FIG. 12 is a block diagram illustrating another prior art. FIG. 13 is a waveform diagram of waveforms in the circuit of FIG. 12. Now, referring to the drawings, embodiments of the present invention will be described. FIG. 1 is a block diagram of an embodiment of the present invention. An internal clock generator of FIG. 1 comprises a first and a second primary stage circuits 103, 104, and a timing compensation circuit 106, each of which has a same circuit configration with each corresponding circuit in FIG. 12 respectively, and produces same first, second and third signals 1, 2, 3 as signals shown in FIG. 13 from an external clock signal CLK 101 and a clock enable signal CKE 102. A first control circuit 105 consists of a D-type flipflop as shown in FIG. 2. At each rising edge of the first signal 1, logic of the second signal 2 is stored and held until the next rising edge of the first signal 1. Thus a control signal 4 as shown in FIG. 4 is produced at the output of the first control circuit 105. A second and a third control circuit 107 and 108 of FIG. 1 have a same circuit configulation which is illustrated in FIG. 3, comprising an OR gate 201 supplied with the first and the control signals 1 and 4 and a RS-type flipflop 202 being set by the first signal 1 and reset by the output of the OR gate 201. When the control signal 4 is at logic LOW, it has no influence on the second control circuit 107, and setting and resetting are controlled by the rising and the falling edges of the first signal 1 which arrives to reset terminal a little later than to set terminal of the RS-type flipflop 202 delaied by the OR gate 201. When the control signal 4 is at logic HIGH, the output logic of the OR gate 201 is maintained at HIGH irrespective of the logic of the first signal 1, inhibiting the setting of the flipflop 202. FIG. 4 is a waveform diagram of the waveforms in the circuit of FIG. 1. The rising edge of the control signal 4 coincides with a rising edge of the first signal 1, and the falling edge of the control signal 4 coincides with the succeeding rising edge of the first signal 1. The logic of the control signal 4 is the same with the logic of the second signal 2 at the corresponding rising edges of the first signal 1. The second control circuit 107 produces a first internal clock 5 from the first and the control signals 1 and 4, and the third control circuit 108 produces a second internal clock 6 from the third and the control signals 3 and 4. As seen from FIG. 4, the second internal clock 6 is phase-advanced from the first internal clock 5 for synchronizing output timing of data read out of the SDRAM, for example. Now a second embodiment of the present invention is described. FIG. 5 is a block diagram of the second embodiment, wherein a select signal 11 for selecting phase of a second internal clock 16 and a power saving signal 8 for suppressing the second internal clock 16, when unnesessary, is supplied. FIG. 7 is a waveform diagram of signals in the circuit of FIG. 5. Here, three sets of primary stage circuits and five sets of control circuits are provided. A first and a second primary stage circuits 103 and 104, and a first and a fifth control circuit 105 and 107 have the same configuration with the first and the second primary stage circuits 103 and 104 and the first and the second control circuits 105 and 107 of FIG. 1, and generates a same first, second and control signals 1, 2 and 4 from an external clock signal CLK 101 and a clock enable signal CKE 102 in the same way as described in connection with FIG. 4. A third primary stage circuit 113 receives the power saving signal 8 at its enabling input terminal e (refer to FIG. 9). Since the power saving signal 8 is independent to the external clock signal CLK 101, an output 7 of the third primary stage circuit 113 may have a hazardous waveform as shown by 7 in FIG. 7. This hazardous waveform is eliminated by a second control circuit 115 having same configuration with the control circuit of FIG. 3. A fourth control circuit 119 has same configuration with the first control circuit 105 consisting of a D-type flipflop as shown in FIG. 2. The power saving signal 8 is delivered to the data input terminal and the first signal 1 is delivered to the clock input terminal of the fourth control circuit 119. The output 9 of the fourth control circuit 119 is shown by a waveform 9 in FIG. 7, coincident with a rising edge of the first signal 1. The output 10 of the second control circuit 115 is shown by a waveform 10 in FIG. 7. A timing compensation circuit 106 advances the phase angle of the output 10 of the second control circuit 115 as shown in FIG. 7 for producing a phase compensated signal 12. A selector 117 selects the output 10 of the second control circuit 115 or the phase compensated signal 12 according to logic of the select signal 11 as a timing signal 13 to be supplied to a third control circuit 118, circuit of which is illustrated in FIG. 6 comprising a RS-type flipflop 202 with a reset terminal supplied from a three input OR gate 203. From the timing signal 13, the control signal 4 and the output 9 of the fourth control circuit 119, the second internal clock 16 shown in FIG. 7 is generated with no hazardous waveforn even controlled by asynchronous signals, namely, the clock enable signal CKE 102, the power saving signal 8 or the select signal 11. When the logic of the select signal 11 is HIGH, the phase compensated signal 12 is selected as the timing signal 13 and the phase of the second internal clock 16 is advanced as shown in FIG. 7. In case when the phase-advanced internal clock does not match with an output device, for example, the select signal 11 is controlled to logic LOW for the selector 117 selecting the output 10 of the second control circuit 115 as the timing signal 13 and the phase of the second internal clock 16 is put back to the phase of the first internal clock 5. When the second internal clock 16 is not necessary, during the SDRAM is controlled by the clock enable signal CKE 102 for outputting stored data to a low speed device for example, the power saving signal 8 is controlled at logic HIGH to disable the current mirror of the third primary stage circuit 113, eliminating unnecessary dissipation. Thus, an internal clock generator which can generate a controllable phase-advanced internal clock in addition to an ordinary internal clock is realized in the second embodiment, wherein effective clock periode of the internal clocks are elongated controlled by a clock enabling signal, resulting a SDRAM of low dissipation easily applicable for a high-speed system.

Claims: An internal clock generator for a synchronous dynamic RAM comprising: a first primary stage circuit (103) for receiving an external clock signal (CLK 101) and producing a first signal (1) synchronized to said external clock signal (CLK 101); a second primary stage circuit (104) for receiving a clock enabling signal (CKE 102) and producing a second signal (2) synchronized to said clock enable signal (CKE 102); a first control circuit (105) for generating a control signal (4) from said first and said second signals (1, 2), characterised in that said control signal (4) becomes at logic HIGH with a first rising edge of said first signal (1) during logic HIGH of said second signal (2) and turnes to logic LOW with a first rising edge of said first signal (1) after turning to logic LOW of said second signal (2); said internal lock generator further comprising: a timing compensation circuit (106) for generating a phase compensated signal (3) from said first signal (1), said phase compensated signal (3) being a phase-advanced signal of said first signal (1); and a second control circuit (108) for generating a phase-advanced internal clock (6) from said phase compensated and said control signals (3, 4), said phase-advanced internal clock (6) being set and reset at each rising and falling edges of said phase compensated signal (3) when said control signal (4) is at logic LOW and setting of said phase-advanced internal clock (6) inhibited when said control signal (4) is at logic HIGH. An internal clock generator recited in claim 1 wherein said first control circuit (105) consists of a D-type flipflop, a data terminal of said D-type flipflop supplied with said second signal (2) and a clock terminal of said D-type flipflop supplied with said first signal (1). An internal clock generator recited in claim 1 wherein said second control circuit (108) comprises an RS-type flipflop (202), a set terminal of said RS-type flipflop (202) supplied with said phase compensated signal (3) and a reset terminal of said RS-type flipflop (202) supplied with an OR logic of said phase compensated and said control signals (3, 4). An internal clock generator for a synchronous dynamic RAM comprising: a first primary stage circuit (103) for receiving an external clock signal (CLK 101) and producing a first signal (1) synchronized to said external clock signal (CLK 101); a second primary stage circuit (104) for receiving a clock enabling signal (CKE 102) and producing a second signal (2) synchronized to said clock enable signal (CKE 102); a first control circuit (105) for generating a control signal (4) from said first and said second signals (1, 2), said control signal (4) becoming at logic HIGH with a first rising edge of said first signal (1) during logic HIGH of said second signal (2) and turning to logic LOW with a first rising edge of said first signal (1) after turning to logic LOW of said second signal (2); a third primary stage circuit (113) for receiving said external clock signal (CLK 101) and a power saving signal (8), said third primary stage circuit (113) enabled for producing a third signal (7) synchronized to said external clock signal (CLK 101) when said power saving signal (8) is at logic LOW and disabled maintainning said third signal (7) at logic LOW when said power saving signal (8) is at logic HIGH; a fourth control circuit (119) for generating a fourth signal (9) from said first and said power saving signals (1, 8), said fourth signal (9) becoming at logic LOW with a first rising edge of said first signal (1) during logic LOW of said power saving signal (8) and turning to logic HIGH with a first rising edge of said first signal (1) after turning to logic HIGH of said power saving signal (8); a second control circuit (115) for generating a fifth signal (10) from said third and said fourth signals (7, 9), said fifth signal (10) being set and reset at each rising and falling edges of said third signal (7) when said fourth signal (9) is at logic LOW and setting of said fifth signal (10) inhibited when said fourth signal (9) is at logic HIGH. a timing compensation circuit (106) for generating a phase-compensated signal (12) from said fifth signal (10), said phase-compensated signal (12) being a phase-advanced signal of said fifth signal (10); a selector (117) for selecting one of said fifth signal (10) and said phase-compensated signal (12) according to a select signal (11) as a timing signal (13); and a third control circuit (118) for generating a phase-advaned internal clock (16) from said control, said fourth and said timing signals (4, 9, 13), said phase-advanced internal clock (16) being set and reset at each rising and falling edges of said timing signal (13) when said control signal (4) is at logic LOW and setting of said phase-advanced internal clock (16) inhibited when one of said control signal (4) and said fourth signal (9) is at logic HIGH. An internal clock generator recited in claim 4 wherein said second control circuit (115) comprises an RS-type flipflop (202), a set terminal of said RS-type flipflop (202) supplied with said third signal (7) and a reset terminal of said RS-type flipflop (202) supplied with an OR logic of said third and said fourth signals (7, 9). An internal clock generator recited in claim 4 wherein said third control circuit (118) comprises an RS-type flipflop (202), a set terminal of said RS-type flipflop (202) supplied with said timing signal (13) and a reset terminal of said RS-type flipflop (202) supplied with an OR logic of said control, said fifth and said timing signals (4, 9, 13). An internal clock generator recited in claim 4 wherein said first control circuit 105 consists of a D-type flipflop, a data terminal of said D-type flipflop supplied with said second signal (2) and a clock terminal of said D-type flipflop supplied with said first signal (1). An internal clock generator recited in claim 4 wherein said fourth control circuit (119) consists of a D-type flipflop, a data terminal of said D-type flipflop supplied with said power saving signal (8) and a clock terminal of said D-type flipflop supplied with said first signal (1).

Inventors: SAEKI TAKANORI, SAEKI, TAKANORI
Applicants: NIPPON ELECTRIC CO, NEC CORPORATION
Application year: 1996
Main classification: G11C7
IPC codes: G11C7