The present invention relates to semiconductor equipment comprising an internal circuit operating in synchronization with a system clock signal.
In an internal circuit of conventional semiconductor equipment, internal elements repeat high-speed switching in synchronization with a signal called a system clock. As a result, harmonic current passes through the internal circuit and flows to the outside, resulting in electromagnetic interference and so on (Japanese Patent Laid-Open No. 5-152908).
A semiconductor chip 101 serving as semiconductor equipment comprises an oscillator circuit 2 to which an oscillator or a radiator is connected and an internal circuit 4 which operates in synchronization with a system clock S191 outputted from the oscillator circuit 2.
To be specific, circuit elements constituting the internal circuit 4 start signal changes simultaneously at the rising edge of the system clock S191 having been generated in the oscillator circuit 2. In a CMOS circuit constituting the internal circuit 4, through current and charge/discharge current required for a voltage change of a signal line are generated during the transition of a signal, and the current is consumed at the rising edge of the system clock.
Under present circumstances, in semiconductor equipment where internal elements repeat high-speed switching in synchronization of a system clock, high-order harmonics are generated and result in electromagnetic interference.
It is an object of the present invention to provide semiconductor equipment which hardly causes electromagnetic interference.
In the present invention, a source clock is inputted to a delay circuit, a counter circuit is operated in response to a delay clock which is the output of the delay circuit, and a clock used as a system clock is selected from the source clock and the delay clock based on the value of the counter circuit. With this configuration, it is possible to easily change the duty cycle of the system clock, thereby achieving semiconductor equipment hardly causing electromagnetic interference.
Semiconductor equipment according to the first aspect of the present invention comprises an oscillator circuit which is connected to an oscillator or a radiator and outputs a source clock, an internal circuit operating in synchronization with a system clock, a delay circuit for generating a delay clock delayed by a specified time from the source clock outputted from the oscillator circuit, a counter circuit for counting the delay clock, and a selector circuit which selects the source clock and the delay clock based on the value of the counter circuit and outputs the system clock to the internal circuit. With this configuration, the clock is selected in response to a selection signal controlled by the delay clock, so that it is possible to obtain semiconductor equipment which can simplify timing control, can readily change the duty cycle of the system clock, and hardly causes electromagnetic interference.
According to the second aspect of the present invention, the semiconductor equipment according to the first aspect is characterized in that only the least significant bit has an initial value of “1” and other bits have initial values of “0” in the counter circuit. With this configuration, the counter circuit can be shared with a timer circuit in the semiconductor equipment. It is possible to obtain semiconductor equipment which hardly causes electromagnetic interference while further suppressing an increase in circuit size.
Semiconductor equipment according to the third aspect of the present invention comprises an oscillator circuit which is connected to an oscillator or a radiator and outputs a source clock, an internal circuit operating in synchronization with a system clock, a first delay circuit for generating a first delay clock delayed by a specified time from the source clock outputted from the oscillator circuit, a second delay circuit for generating a second delay clock delayed more than the first delay clock from the source clock outputted from the oscillator circuit, a delay clock selector circuit which selects the first delay clock or the second delay clock and outputs the selected clock as a delay clock, a counter circuit for counting the output clock of the delay clock selector circuit, and a selector circuit for selecting the source clock or the delay clock based on the value of the counter circuit and outputs the system clock to the internal circuit.
Semiconductor equipment according to the fourth aspect of the present invention comprises an oscillator circuit which is connected to an oscillator or a radiator and outputs a source clock, an internal circuit operating in synchronization with a system clock, a first delay circuit for generating a first delay clock delayed by a specified time from the source clock outputted from the oscillator circuit, a second delay circuit for generating a second delay clock delayed from the first delay clockby the specified time, a delay clock selector circuit which selects and outputs the first delay clock or the second delay clock, a counter circuit for counting the second delay clock, and a selector circuit for selecting the source clock and the output clock of the delay clock selector circuit based on the value of the counter circuit and outputs the system clock to the internal circuit. With this configuration, by switching delay values, harmonic noise in a specific frequency band can be reduced, thereby obtaining semiconductor equipment hardly causing electromagnetic interference.
A compiler according to the fifth aspect of the present invention comprises a phase for inputting a frequency to be avoided in harmonic noise generated from semiconductor equipment, a phase for calculating the optimum delay value based on the frequency, and a phase for determining a value of a delay clock outputted from the selector circuit of claim 3 or 4 based on the calculated delay value. With this configuration, it is possible to automatically set a proper delay value according to a frequency band avoided by a customer, thereby achieving semiconductor equipment hardly causing electromagnetic interference.
As described above, the present invention makes it possible to easily achieve a semiconductor equipment which hardly causes electromagnetic interference with a simple circuit configuration.
Referring to FIGS. 1 to 9, the following will describe embodiments of the present invention.
FIGS. 1 to 4 show (Embodiment 1) of the present invention.
In semiconductor equipment 1 having an internal circuit 4 operating in synchronization with a system clock, a logic circuit constituted of a delay circuit 3, a counter circuit 6, and a selector circuit 5 is interposed between the clock input of the internal circuit 4 and an oscillator circuit 2 which is connected to an oscillator or a radiator and outputs a source clock S101. The source clock S101 has a frequency of f0 and a period of T.
The delay circuit 3 outputs a delay clock S102 which is obtained by delaying the source clock S101 from the oscillator circuit 2 by a specified time d.
The counter circuit 6 is a 2-stage counter circuit for counting the delay clock S102 outputted from the delay circuit 3. As shown in
The selector circuit 5 is a circuit for controlling a switching operation in response to the output signal S103 of the counter circuit 6. When the output signal S103 is “L”, the selector circuit 5 selects the source clock S101 and outputs the clock as a system clock S104. When the output signal S103 is “H”, the selector circuit 5 selects the delay clock S102 and outputs the clock as the system clock S104. The system clock S104 is supplied to the clock input of the internal circuit 4.
The semiconductor equipment operates as follows:
First, the following will discuss a state in which the output signal S103 of the counter circuit 6 is “L” (t1).
As shown in
Thus, the system clock changes to “H” at time t2.
Then, the counter circuit 6 makes a count at time t3 which is delayed from time t2 by the specified time d. The output signal S103 is kept at “L”. Thus, the selector circuit 5 selects the source clock S101 and outputs the clock as the system clock S104. Hence, the system clock changes to “L” at time t4 and changes to “H” at time t6.
Thereafter, the counter circuit 6 makes another count at time t7 which is delayed from time t6 by the specified time d. The output signal S103 changes to “H”. Thus, the selector circuit 5 selects the delay clock S102 and outputs the clock as the system clock S104. Hence, at time t7, the system clock S104 is kept at “H” but does not change at time t8 and time t10. The system clock S104 changes to “L” at time t9 and changes to “H” at time t11.
The counter circuit 6 simultaneously makes another count at time t11 and the output signal S103 is kept at “H”. Thus, the selector circuit 5 selects the delay clock S102 and outputs the clock as the system clock S104. Hence, the system clock changes to “L” at time t13 and changes to “H” at time t15.
The counter circuit 6 simultaneously makes another count at time t15 and the output changes to “L”. Thus, the selector circuit 5 selects the source clock S101 and outputs the clock as the system clock S104. Hence, at time t15, the system clock S104 is kept at “H”, changes to “L” at time t16, and changes to “H” at time t18 which is the same state as time t2.
In this case, the system clock S104 rises at times t2, t6, t11, t15, and t18. The transition period of the system clock S104 changes to T, (T+d), T, and (T−d).
Harmonics have a fundamental period of 4T according to the change of the system clock S104 and a base frequency of f0/4. Since the transition period includes (T+d) and (T−d), n-th components (nf0=4n·f0/4) included in harmonics of f0 are offset and thus the harmonics are reduced.
When the specified time d is 2 ns in (Embodiment 1), it is possible to achieve semiconductor equipment which can reduce the harmonic components of current I and hardly causes electromagnetic interference.
In
In
A flip-flop 29 is fed with an overflow signal outputted from the counter circuit 6 and uses a system clock S104 as a clock.
The following will discuss the operations of the semiconductor equipment configured thus according to (Embodiment 2).
A source clock S101 with a frequency of f0 and a period T generates a delay clock S102 delayed by a specified time by the delay circuit 3. In response to an output signal S123 of the counter circuit 6, the selector circuit 5 outputs the source clock S101 or the delay clock S102 to the internal circuit 4 as a system clock S104.
The counter circuit 6 counts the delay clock S102. The following will first describe the case where the counter circuit 6 counts (2n−2) clocks.
The initial value of the counter circuit 6 is “1”, and then (2n−2) delay clocks are counted. Thus, the internal register of the counter circuit has (2n−2).
In response to the delay clock S102, the counter circuit 6 makes another count, the internal counter has a value of 2n, and an overflow signal is generated. Subsequently, the overflow signal is outputted from the flip-flop 29 by the operation of the system clock S104.
With this configuration, the counter circuit can be shared with a timer circuit in the semiconductor equipment and an adding circuit can be eliminated. Further, the output of a timer counter is operated by the flip-flop 29 in synchronization with the system clock, so that the system clocks can be accurately counted without interfering with the original operation of the timer circuit.
Therefore, it is possible to obtain semiconductor equipment which further suppresses an increase in circuit size and hardly causes electromagnetic interference.
Reference numerals 33a and 33b denote first and second delay circuits. A source clock S101 is inputted to the first delay circuit 33a where a delay value is a specified time d1. A delay clock S132a generated on the output of the first delay circuit 33a is outputted as a delay clock S132b through the second delay circuit 33b where a delay value is a specified time d2.
Reference numeral 34 denotes a delay clock selector circuit. The delay clocks S132a and S132b are inputted to the input of the delay clock selector circuit 34. One of the delay clocks S132a and S132b is selected in response to a selection signal S136 and is outputted as a delay clock S132.
The counter circuit 6 counts the delay clock S132b and outputs an output signal S103. The selector circuit 5 outputs one of the delay clock S132 and the source clock S101 as a system clock S104 in response to the output signal S103.
The operations of the semiconductor equipment of (Embodiment 3) will be discussed below.
The following will first discuss the case where the delay clock S132a is selected in response to the selection signal S136.
The delay clock S132a is obtained by delaying the source clock S101 by the specified time d1 in the first delay circuit 33a. In this case, the delay clock S132a is outputted as the delay clock S132.
The source clock S101 and the delay clock S132a are inputted to the selector circuit 5. Harmonics have a fundamental period of 4T according to the change of the system clock S104. The transition period of the system clock S104 changes to T, T+d1, T, and T−d1.
Assuming that the internal circuit 4 operates only at the rising edge of the system clock and a circuit size at each rising edge is equal, a current I0(t) at each time is determined by Equation 1 below and a current I(t) consumed over the semiconductor equipment is determined by Equation 2:
As described above, in the semiconductor equipment according to (Embodiment 3) of the present invention, two or more delay values are prepared for the delay circuits, a different effect of reducing high-frequency waves can be selected for each of the delay values, high-frequency noise can be reduced in a specific frequency band, and electromagnetic interference hardly occurs.
In
The present embodiment will describe a compiler capable of determining the optimum delay value in semiconductor equipment of (Embodiment 3).
The compiler has a phase for inputting a frequency to be avoided in high-frequency noise generated from the semiconductor equipment, a phase for calculating the optimum delay value based on the frequency, and a phase for determining a selection signal S136 to a delay clock selector circuit 34 of the semiconductor equipment based on the calculated delay value.
To be specific, as shown in
Thereafter, the optimum delay value is calculated using Equation 2 (phase F2).
Finally, along with the compilation result, the calculated delay value is set in a register which is disposed in semiconductor equipment 1 and determines the delay values of the first and second delay circuits 33a and 33b (phase F3).
With this configuration, it is possible to automatically set a proper delay value according to a frequency band avoided by a customer, thereby achieving semiconductor equipment hardly causing electromagnetic interference.
The present invention is applicable to various kinds of semiconductor equipment comprising an internal circuit operating in synchronization with a system clock signal.
Number | Date | Country | Kind |
---|---|---|---|
2004-215053 | Jul 2004 | JP | national |