The disclosure of Japanese Patent Application No. 2011-43717 filed on Mar. 1, 2011 including the specification, drawings, and abstract is incorporated herein by reference in its entirety.
The present invention relates to a semiconductor device, and a method for fetching data, and in particular, to a semiconductor device including a switching circuit for repeating periodical ON/OFF, and a method for fetching data thereof.
In order to meet requirements for miniaturization of a semiconductor device, lower power consumption, and so forth, a power source making use of the switching circuit for repeating periodical ON/OFF, the so-called switching power source, has lately been in heavy use. For example, a dc-to-dc (DCDC) converter, and so forth are well known, the DCDC converter making use of a pulse width modulation (PWM) control for adjusting a duty ratio of a pulse signal inputted to the switching circuit.
With the use of the DCDC converter described as above, a supply voltage can be controlled according to an operation state of, for example, an electronic device. Further, such a DCDC converter as described, serving as a power management IC (PMIC: Power Management Integrated Circuit) can be formed in a chip to be mounted in a variety of electronic devices in order to reduce power consumption. Further, a similar switching technology is adopted in a class-D amp for driving a speaker in various electronic devices.
On the other hand, with the switching circuit, there occurs a power-source noise accompanying ON/OFF of a switch. Accordingly, countermeasures for preventing a malfunction caused by the power-source noise will be required. Needless to say, with the switching circuit, strenuous efforts have been underway in order to reduce the power-source noise by use of various noise filters and a decoupling capacitor. However, results have been unsatisfactory.
In Japanese Unexamined Patent Publication No. 2000-004147, there is disclosed a technology for removing a glitch noise contained in an asynchronous signal by use of an input circuit. Further, in Japanese Unexamined Patent Publication No. 2000-163173, there is disclosed a technology for reducing noise by staggering respective output timing of a signal and noise because the noise will increase if the signal and the noise are concurrently outputted from an output buffer of a digital circuit.
The inventors have found out the following problem. In the case where a digital signal is inputted to a semiconductor device with a switching circuit mounted therein, the digital signal is fetched by a signal holding circuit such as a latch circuit, and so forth. It has been found out that if fetching timing of the digital signal coincidentally agrees with generation timing of the power-source noise at that point in time, an erroneous signal will be fetched (a fetching error), whereupon malfunction occurs.
In accordance with a first aspect of the invention, there is provided a semiconductor device including a switching circuit for executing a switching operation according to a pulse control signal, and a digital signal hold circuit for fetching a digital signal. The digital signal hold circuit includes a mask signal generation circuit for generating a mask signal from the pulse control signal, the mask signal being for use in keeping the digital signal from being fetched during a time period of power-source noise occurrence caused by the switching operation, and the digital signal is not fetched during the time period of power-source noise occurrence while the digital signal is fetched during a time period of power-source noise nonoccurrence.
In accordance with a second aspect of the invention, there is provided a semiconductor device semiconductor device including a microcomputer for generating a digital signal corresponding to an operation state of the microcomputer itself, and a DCDC converter for executing a switching operation corresponding to a pulse control signal, a duty ratio thereof being adjusted on the basis of the digital signal, thereby generating a voltage to be supplied to the microcomputer. The DCDC converter does not fetch the digital signal on the basis of the pulse control signal during a time period of power-source noise occurrence caused by the switching operation while it fetches the digital signal during a time period of power-source noise nonoccurrence.
The invention in its third aspect provides a method for fetching data of a semiconductor device provided with a switching circuit for executing a switching operation according to a pulse control signal. The method includes the steps of generating a mask signal from the pulse control signal, the mask signal being for use in keeping a digital signal from being fetched during a time period of power-source noise occurrence caused by the switching operation, and fetching the digital signal during a time period of power-source noise nonoccurrence without fetching the digital signal during the time period of power-source noise occurrence.
With the present invention, the digital signal is not fetched on the basis of the pulse control signal during the time period of power-source noise occurrence caused by the switching operation while the digital signal is fetching during the time period of power-source noise nonoccurrence. Hence, it is possible to reduce occurrence of a fetching error of the digital signal, caused by a power-source noise.
Thus, the invention can provide a semiconductor device implementing reduction in the occurrence a fetching error of a digital signal, caused by a power-source noise.
There are described in detail specific embodiments of the invention hereinafter with reference to the accompanying drawings. However, it is to be understood that the invention is not limited to the embodiments described hereunder. Further, for the sake of clarity, description given hereunder and drawings are simplified where appropriate.
There is described hereinafter a semiconductor device according to a first embodiment of the invention with reference to
As shown in
Further, the circuit board 10 is provided with a power-source terminal and a ground terminal. A power supply voltage VDD1 is applied to the power-source terminal, and a ground voltage GND is applied to the ground terminal. As shown in
The duty control circuit 110 controls a duty ratio of a switching pulse signal SP outputted on the basis of a digital control signal Dctr outputted from the MCU 130 to be inputted to an input terminal TI of the PMIC 100. The switching circuit 120 outputs an output pulse signal that is the switching pulse signal SP inputted thereto to be then buffered. The duty control circuit 110 and the switching circuit 120, provided in the PMIC 100, are described in detail later on.
The output pulse signal outputted from the switching circuit 120 is smoothed by an LC filter made up of the coil L, and the capacitor C. By so doing, the power supply voltage VDD2 is generated. The power supply voltage VDD2 generated by the DCDC converter, and the ground voltage GND are applied to the MCU 130 via respective interconnects. The MCU 130 generates a digital control signal Dctr according to, for example, an operation state thereof to output the same to the PMIC 100. The MCU 130 is described in detail later on.
The digital control signal hold circuit 111 holds the digital control signal Dctr inputted via the input terminal TI of the PMIC 100. Further, the switching pulse signal SP outputted from the PWM signal generation circuit 113 is fed back to the digital control signal hold circuit 111.
At this point in time, an output pulse signal is generated from the switching pulse signal SP, whereupon there occurs a power-source noise caused by the output pulse signal. For this reason, the digital control signal hold circuit 111 is able to find out generation timing of the power-source noise on the basis of the switching pulse signal SP that is inputted. More specifically, the power-source noise occurs immediately after a signal transition (“rising”, or “falling”) of the output pulse signal on a transition-by-transition basis.
Accordingly, the digital control signal hold circuit 111 does not fetch the digital control signal Dctr for a predetermined time period in order to prevent occurrence of a fetching error, caused by the power-source noise. That is, the digital control signal hold circuit 111 fetches the digital control signal Dctr during a time period unaffected by power-source noise (a power-source noise nonoccurrence time period) before outputting the same. The digital control signal hold circuit 111 includes a logic circuit and a register, as described in detail later on.
The DAC 112 converts a digital control signal outputted from the digital control signal hold circuit 111 into an analog signal. The PWM signal generation circuit 113 controls a duty ratio of the switching pulse signal (a PWM signal) SP outputted on the basis of the analog signal outputted from the DAC 112 and the power supply voltage VDD2 fed back from an output side via a feedback terminal TF.
The drive circuit 121 outputs a drive pulse to respective gates of the PMOS transistor P1 and the NMOS transistor N1 according to the switching pulse signal SP outputted from the PWM signal generation circuit 113.
The PMOS transistor P1 and the NMOS transistor N1 make up an inverter. More specifically, the PMOS transistor P1 has a source coupled to a power source (the power supply voltage VDD1) via the power source terminal TP. The PMOS transistor P1 has a drain coupled to a drain of the NMOS transistor N1. The NMOS transistor N1 has a source coupled to a ground (the ground voltage GND) via the ground terminal TG. Respective gates of the PMOS transistor P1 and the NMOS transistor N1 are coupled to the drive circuit 121.
Upon the drive pulse being inputted to the respective gates of the PMOS transistor P1 and the NMOS transistor N1, the PMOS transistor P1 and the NMOS transistor N1 each complementarily repeat ON/OFF. By so doing, the output pulse signal is outputted from an output node to which the respective drains of the PMOS transistor P1 and the NMOS transistor N1 are coupled. This output pulse signal is outputted from the PMIC 100 via an output terminal TO.
An end of the coil L is coupled to the output terminal TO. The other end of the coil L is coupled to an end of the capacitor C. The other end of the capacitor C is coupled to the ground (the ground voltage GND). The coil L and the capacitor C make up the LC filter, as previously described. The power supply voltage VDD2 as an output of the DCDC converter made up of the PMIC 100, the coil L, and the capacitor C is outputted from a node between the coil L and the capacitor C.
Next, an internal configuration of the MCU 130 is described with reference to
The CPU core 131 is the heart of the MCU 130 that executes various processing on the basis of a control program. With the present embodiment, the CPU core 131 generates a digital control signal Dctr corresponding to an operation state of the CPU core 131 itself. This digital control signal Dctr is outputted to the PMIC 100 via the main bus MB and the I/O port 136, respectively.
The cache memory 132 is coupled to the CPU core 131 via a local bus LB1. This will enable high-speed accessing from the CPU core 131 to the cache memory 132. Data that is high in application frequency within, for example, the CPU core 131 is stored in the cache memory 132.
The memory controller 133 controls read, write, refresh, and so forth against a dynamic random access memory (DRAM) serving as an external memory. For example, the memory controller 133 writes data transferred from the cache memory 132 via the main bus MB to the DRAM. Conversely, the memory controller 133 reads data stored in the DRAM. This data as read is transferred to the cache memory 132 via, for example, the main bus MB.
The timer 134 measures time by clock counting. The timer 134 is put to use in the case of executing, for example, periodical interruption processing, and so forth. The clock generation circuit 135 is, for example, a phase-locked loop (PLL) circuit, and so forth, the clock generation circuit 135 generating an operation clock at a predetermined frequency that is a frequency obtained by multiplying a reference clock at which a crystal oscillator oscillates. The operation clock as generated is distributed to the respective function blocks.
The I/O port 136 is an interface for coupling the MCU 130 to the PMIC 100, and peripheral equipment, respectively. The interrupt controller 137 is coupled to the I/O port 136 via a local bus LB2. Accordingly, a highly real-time request for interruption processing, coming from the peripheral equipment, can be smoothly transferred to the CPU core 131. The interrupt controller 137 transfers the request for interruption processing, coming from the peripheral equipment, to the CPU core 131 in adequate sequence on the basis of priority set on an equipment-by-equipment basis.
The GPU core 138 is a processor dedicated for image processing. For example, the GPU core 138 executes processing of image data transferred from the DRAM via the memory controller 133 and the main bus MB before outputting to the display controller 139. The display controller 139 is coupled to the GPU core 138 via a local bus LB3. The display controller 139 outputs the image data received from the GPU core 138 to a display.
As described above, the power supply voltage VDD2 to be applied to the CPU core 131 is generated on the basis of the digital control signal Dctr. That is, a variable power supply voltage VDD2 is applied to the CPU core 131, as shown in FIG. 3. A fixed power supply voltage VDD1 is applied to the function blocks other than the CPU core 131. Herein, with the use of the principle underlying the operation of the PMIC 100 described as above, as to, for example, the GPU core 138 as well, a variable power supply voltage according to an operation state thereof may be applied thereto. Further, with the use of the principle underlying the operation of the PMIC 100 described as above, as to the function blocks other than those, a variable power supply voltage according to an operation state thereof may be similarly applied thereto.
Next, the digital control signal hold circuit 111 is described in detail hereinafter with reference to
Further, a bit count of the digital control signal Dctr is dependent on the number of duty ratio switching steps in the duty control circuit 110. There can be adopted switch-over in two steps in the case of 1 bit, switch-over in four steps in the case of 2 bits, switch-over in eight steps in the case of 3 bits, and so on. In
As shown in
The inversion signal of a signal B outputted from the XOR gate X2 is inputted to one input of the AND gate AN2. A write enable signal WEN is inputted to the other input of the AND gate AN2. The write enable signal WEN is an enable signal undergoing a switch-over from low (L) to high (H) in the case where there occurs a change in value of the digital control signal Dctr to be held at H for only a predetermined time period to be subsequently switched over to L.
A signal C that is the write enable signal WEN delayed by the delay circuit D0 is inputted to one input of the AND gate AN1. A signal D outputted from the AND gate AN2 is inputted to the other input of the AND gate AN1. The write enable signal WEN is inputted to one input of the NOR gate NO2. The signal C that is the write enable signal WEN delayed by the delay circuit D0 is inputted to the other input of the NOR gate NO2.
A signal F outputted from the NOR gate NO2 is inputted to one input of the NOR gate NO3. A signal outputted from the NOR gate NO4 described later on is inputted to the other input of the NOR gate NO3. A signal E outputted from the AND gate AN1 is inputted to one input of the NOR gate NO4. A signal outputted from the NOR gate NO3 is inputted to one input of the NOR gate NO4. Herein, the NOR gates NO3, NO4 make up an RS latch circuit. A signal G outputted from the NOR gate NO4 is inputted to the inverter I1. The inverter I1 outputs a write pulse signal WP that is an inversion signal of the signal G.
The flip-flop FFb is a D flip-flop, and the write pulse signal WP is inputted to a clock input thereof. Further, the digital control signal Dctr is inputted to a delay input thereof. More specifically, if the digital control signal Dctr makes a transition, the digital control signal Dctr is fetched by the flip-flop FFb at timing when the write pulse signal WP makes an L to H transition before being outputted to the DAC 112.
In
In this connection, by feeding back the switching pulse signal SP instead of the output pulse signal, the power-source noise caused by the output pulse signal generated from the switching pulse signal SP can be avoided with certainty. If the output pulse signal is used as a feedback signal, time from transition of the feedback signal to occurrence of the power-source noise will be shorter than that in the case of using the switching pulse signal SP, so that there is a risk that the power-source noise cannot be effectively avoided.
Further, as described later on in the present description, the AND gate AN2 is not essential in the mask signal generation circuit 114. However, the AND gate AN2 is preferably adopted in order to remove noise of the write enable signal WEN itself.
Next, referring to
The digital control signal hold circuit 111c shown in
Now, a signal C in
Next, referring to
At the uppermost level in
At the third level, there is shown a write enable signal WEN. The write enable signal WEN remains at L unless the digital control signal Dctr makes a transition while making a transition to H for a predetermined period of time if the digital control signal Dctr makes a transition. Herein, since the transition of the digital control signal Dctr is accompanied by generation of the write enable signal WEN, rise timing of the write enable signal WEN is delayed from transition timing of the digital control signal Dctr.
At the fourth level, there is shown the signal A that is the switching pulse signal SP delayed by the delay circuit D1 in
At the seventh level, there is shown the signal D outputted from the AND gate AN2 where the write enable signal WEN and the inversion signal of the signal B are inputted in
At the tenth level, there is shown the signal G outputted from the NOR gate NO4 where the signal outputted from the NOR gate NO3 and the signal E are inputted in
At the thirteenth level, there is shown the signal E′ outputted from the AND gate AN1 where the write enable signal WEN, and the signal C are inputted in
At the sixteenth level, there is shown the write pulse signal WP′ that is the inversion signal of the signal G′ in
At this point in time, the signal C is identical in waveform to the write pulse signal WP′ in the comparative example. With the digital control signal hold circuit 111 according to the present embodiment, if the rising edge of the signal C is in the H-time period of the signal B, that is, the power-source noise occurrence time period as shown in
By so doing, occurrence of the fetching error, caused by the power-source noise, can be prevented with certainty. Furthermore, a delay amount D3 of the write pulse signal WP, against the write pulse signal WP′ (that is, the signal C) in the comparative example will be equal to or less than the delay amount D1 of the delay circuit D1, as shown in
Next, referring to
Herein, with the digital control signal hold circuit 111 according to the present embodiment, if the rising edge of the signal C (that is, the write pulse signal WP′ in the comparative example) corresponds to the L-time period of the signal B (that is, the power-source noise nonoccurrence time period), as shown in
As described in the foregoing, with the semiconductor device according to the present embodiment of the invention, at whatever timing the digital control signal Dctr makes a transition to be accompanied by a transition of the write enable signal WEN, the occurrence of the fetching error, caused by the power-source noise, can be prevented with certainty. Furthermore, because it is sufficient to have fetching timing delayed by only one power-source noise occurrence time period at the maximum, the semiconductor device according to the present embodiment is excellent in throughput.
Next, referring to
More specifically, in place of the signal D outputted from the AND gate AN2 in
Now, referring to
As shown in
Further, the digital control signal hold circuit 211 is provided with a write control signal generation circuit 115 for generating a write enable signal WEN from the digital control signal Dctr. As shown in
The signals IN1 to INn, making up the digital control signal Dctr, are each inputted to respective delay inputs of the flip-flops FF1a to FFna. A signal in common use, that is, the write pulse signal WP delayed by a delay circuit D2, is inputted to respective clock inputs of the flip-flops FF1a to FFna. The signals IN1 to INn, making up the digital control signal Dctr, are each inputted to one input of each of the XOR gates X11 to X1n. A noninverting output signal of each of the flip-flops FF1a to FFna is inputted to the other input of each of the XOR gates X11 to X1n.
An output signal from the XOR gate X11 is inputted to one input of the NOR gate NO11 while an output signal from the XOR gate X12 is inputted to the other input of the NOR gate NO11. An output signal from an XOR gate X13 (not shown) is inputted to one input of an NOR gate NO12 (not shown), and an output signal from an XOR gate X14 (not shown) is inputted to the other input of the NOR gate NO12. An output signal from an XOR gate X15 is inputted to one input of an NOR gate NO13, and an output signal from an XOR gate X16 is inputted to the other input of the NOR gate NO13. Thereafter, an output signal from an XOR gate X1n−1 is similarly inputted to one input of the NOR gate NO1k, and an output signal from the XOR gate X1n is similarly inputted to the other input of the NOR gate NO1k. In this case, K=n/2. However, as the NOR gate NO1k does not necessarily have two inputs, a value k represents an optional value.
Respective output signals from the NOR gates NO11 to NO1k are each inputted to the NAND gate NA1, and a write enable signal WEN is outputted from the NAND gate NA1. A configuration of the digital control signal hold circuit 211 is identical in other respects to that of the digital control signal hold circuit 111 shown in
Next, there is described hereinafter a transition of the write enable signal WEN. Unless a transition occurs to any of the signals IN1 to INn making up the digital control signal Dctr, each of the signals IN1 to INn will match each of the noninverting output signals delivered from the flip-flops FF1a to FFna, respectively, so that respective output signals from the XOR gates X11 to X1n will be all at L. Accordingly, respective output signals from the NOR gates NO11 to NO1k will be all at H. In consequence, the write enable signal WEN that is an output signal from the NAND gate NA1 will be at L.
Meanwhile, let us suppose the case where a transition occurs to any of the signals IN1 to INn, making up the digital control signal Dctr. In this case, assuming that a transition occurs to the signal IN1, the noninverting output signal from the flip-flop FF1a is maintained even if the transition occurs to the signal IN1, so that the noninverting output signal does not match the signal IN1. Accordingly, the output signal of the XOR gate X11 will be at H. Meanwhile, the respective output signals of the XOR gates X12 to X1n will all remain at L. In consequence, the output signal of the NOR gate NO11 will be at L. On the other hand, respective output signals of the NOR gates NO12 to NO1k, other than the NOR gate NO11, will all remain at H. Hence, the write enable signal WEN that is an output signal from the NAND gate NA1 will be at H.
Upon the write enable signal WEN making a transition to H, the respective clock inputs of the flip-flops FF1a to FFna subsequently make an L to H transition. By so doing, the signal IN1 will come to match the noninverting output signal of the flip-flop FF1a again, so that the write enable signal WEN makes an H to L transition.
Next, referring to
The digital control signal hold circuit 211c of
Herein, a signal C in
Next, referring to
In
Meanwhile, the noninverting output Q_FF1a of the flip-flop FF1a is shown at the lowermost level in
The same applies to the first embodiment, and a fetching error of a digital signal, caused by power-source noise, can be prevented irrespective of the delay amount D0, as shown in
Now, referring to
The delay amount may be automatically switched during operation according to a current load state of a switching circuit 120. Otherwise, the delay amount may be, for example, manually switched because occurrence timing of a power-source noise varies due to wiring provided at the time of assembling.
Next, referring to
If the enable signal EN is at H, the mask signal generation circuit 414 will operate, and if the enable signal EN is at L, the mask signal generation circuit 414 will stop. More specifically, if the enable signal EN is at L, a signal B will always be at L, thereby holding a relationship of a signal D=a write enable signal WEN. That is, in the figure, a configuration will be identical to that in the case of the comparative example shown in
It is sufficient to switch the enable signal EN according to an operation mode of, for example, the MCU 130. More specifically, in the case of the MCU 130 being in any of modes in which an operation is at a stop, or an operation rate is low, including a sleep mode, a hold mode, a standby mode, and so forth, it is sufficient to cause the enable signal EN to make a transition to L while causing the enable signal EN to make a transition to H in the case of the operation rate being high. An operation state of the MCU 130 may be determined by acquisition of a signal from the MCU 130, or by monitoring an output current of the switching circuit 120.
Next, there is described hereinafter a semiconductor device according to a fifth embodiment of the invention with reference to
Further, the circuit board 50 is provided with a power-source terminal (not shown) and a ground terminal (GND). As shown in
The duty control circuit 510 controls a duty ratio of a switching pulse signal SP outputted on the basis of a digital speech signal Dpcm outputted from the MCU 530 to be inputted to an input terminal TI of the speech processing IC 500. The switching circuit 520 outputs an output pulse signal that is the switching pulse signal SP inputted thereto to be buffered. The duty control circuit 510 and the switching circuit 520, provided in the speech processing IC 500, will be described in detail later on.
The output pulse signal outputted from the switching circuit 520 is smoothed by an LC filter made up of the coil L, and the capacitor C to be inputted to the speaker 51. The MCU 530 generates the digital speech signal Dpcm, outputting the same to the speech processing IC 500.
Herein, the duty control circuit 510L is provided with a digital speech signal hold circuit 511L, a DAC 512L, and a PWM signal generation circuit 513L. Similarly, the duty control circuit 510R is provided with a digital speech signal hold circuit 511R, a DAC 512R, and a PWM signal generation circuit 513R. Further, the switching circuit 520L is provided with a drive circuit 521L, a PMOS transistor P2, and an NMOS transistor N2. Similarly, the switching circuit 520R is provided with a drive circuit 521R, a PMOS transistor P3, and an NMOS transistor N3.
The digital speech signal hold circuit 511L holds a digital speech signal Dpcm 1 inputted via an input terminal TIL of the speech processing IC 500. Further, a switching pulse signal SP1 outputted from the PWM signal generation circuit 513L is fed back to the digital speech signal hold circuit 511L.
Similarly, the digital speech signal hold circuit 511R holds a digital speech signal Dpcm 2 inputted via an input terminal TIR of the speech processing IC 500. Further, switching pulse signal SP2 outputted from the PWM signal generation circuit 513R is fed back to the digital speech signal hold circuit 511R.
At this point in time, an output pulse signal is generated from the switching pulse signals SP1, SP2, whereupon there occurs a power-source noise caused by the output pulse signal. For this reason, the digital speech signal hold circuits 511L, 511R are able to find out generation timing of the power-source noise on the basis of the switching pulse signal SP1, SP2 inputted thereto, respectively.
More specifically, the power-source noise occurs immediately after a signal transition (“rising”, or “falling”) of the output pulse signal on a transition-by-transition basis. Accordingly, a digital speech signal hold circuit 511 does not fetch a digital speech signal Dpcm for a predetermined time period in order to prevent a fetching error caused by the power-source noise. That is, the digital speech signal hold circuits 511L, 511R each fetch the digital speech signal Dpcm during a time period unaffected by the power-source noise (a power-source noise nonoccurrence time period) before outputting the same.
The DAC 512L converts the digital speech signal outputted from the digital speech signal hold circuit 511L into an analog signal. The PWM signal generation circuit 513L controls a duty ratio of the switching pulse signal SP1 outputted on the basis of the analog signal outputted from the DAC 512L.
Similarly, the DAC 512R converts the digital speech signal outputted from the digital speech signal hold circuit 511R into an analog signal. The PWM signal generation circuit 513R controls a duty ratio of the switching pulse signal SP2 outputted on the basis of the analog signal outputted from the DAC 512R.
The drive circuit 521L outputs a drive pulse to respective gates of the PMOS transistor P2 and the NMOS transistor N2 according to the switching pulse signal SP1 outputted from the PWM signal generation circuit 513L. Similarly, the drive circuit drive circuit 521R outputs a drive pulse to respective gates of the PMOS transistor P3 and the NMOS transistor N3 according to the switching pulse signal SP2 outputted from the PWM signal generation circuit 513R.
The PMOS transistor P2 and the NMOS transistor N2 make up an inverter, and respective gates of the PMOS transistor P2 and the NMOS transistor N2 are coupled to the drive circuit 521L. Similarly, PMOS transistor P3 and the NMOS transistor N3 make up an inverter, and respective gates of the PMOS transistor P3 and the NMOS transistor N3 are coupled to the drive circuit 521R.
Upon the drive pulse being inputted to the respective gates of the PMOS transistor P2 and the NMOS transistor N2, the PMOS transistor P2 and the NMOS transistor N2 each complementarily repeat ON/OFF. By so doing, an output pulse signal is outputted from an output node to which the respective drains of the PMOS transistor P2 and the NMOS transistor N2 are coupled. This output pulse signal is outputted from the speech processing IC 500 via an output terminal TOL.
Similarly, upon the drive pulse being inputted to the respective gates of the PMOS transistor P3 and the NMOS transistor N3, the PMOS transistor P3 and the NMOS transistor N3 each complementarily repeat ON/OFF. By so doing, an output pulse signal is outputted from an output node to which the respective drains of the PMOS transistor P3 and the NMOS transistor N3 are coupled. This output pulse signal is outputted from the speech processing IC 500 via an output terminal TOR.
An end of the coil L1 is coupled to the output terminal TOL. The other end of the coil L1 is coupled to an end of the capacitor C1. The other end of the capacitor C1 is coupled to the ground (the ground voltage GND). The coil L1 and the capacitor C1 make up a LC filter, as described in the foregoing. A speaker 51L is coupled to a node between the coil L1 and the capacitor C1.
Similarly, an end of the coil L2 is coupled to the output terminal TOR. The other end of the coil L2 is coupled to an end of the capacitor C2. The other end of the capacitor C2 is coupled to the ground (the ground voltage GND). The coil L2 and the capacitor C2 make up a LC filter, as described in the foregoing. A speaker 51R is coupled to a node between the coil L2 and the capacitor C2.
By applying the circuit configuration shown in
Next, referring to
The switching pulse signal SP1 is fed back to one input of the XOR gates X21, and a signal A1 is inputted to the other input of the XOR gates X21, the signal A1 being the switching pulse signal SP1 that is delayed by the delay circuit D11.
The switching pulse signal SP2 is fed back to one input of the XOR gates X22, and a signal A2 is inputted to the other input of the XOR gates X22, the signal A2 being the switching pulse signal SP2 that is delayed by the delay circuit D12.
Thereafter, the switching pulse signal SPj is similarly fed back to one input of the XOR gates X2j, and a signal Aj is similarly inputted to the other input of the XOR gates X2j, the signal Aj being the switching pulse signal SPj that is delayed by the delay circuit D1j.
Respective signals B1 to Bj outputted from the XOR gates X21 to X2j are all inputted to the OR gate OR1. An inversion signal of a signal Ball outputted from the OR gate OR1 is inputted to one input of the AND gate AN2. A write enable signal WEN is inputted to the other input of the AND gate AN2.
Herein, the respective signals B1 to Bj outputted from the XOR gates X21 to X2j are signals that will be at H in a power-source noise occurrence time period of each of the j switching circuits. The signal Ball outputted from the OR gate OR1 is a signal that will be at H in a power-source noise occurrence time period for all the j switching circuits. With adoption of such a circuit configuration as described, fetching error caused by a power-source noise can be prevented from occurring to the digital signal even if a plurality of switching circuits are included, so that a semiconductor device excellent in throughput can be provided.
It is to be pointed out that the present invention can be applied to not only the DCDC converter and the class-D amp according to any of those embodiments described in the foregoing, but also all semiconductor devices provided with a switching circuit causing occurrence of a power-source noise. Further, the switching circuit may be provided with a function for automatically switching to a PFM control excelling in terms of power consumption at the time of a small load, while automatically switching to a PWM that is small in ripple and noise, and is excellent in conversion efficiency at the time of a medium or large load.
Having described the present invention with reference to those embodiments described in the foregoing, it is to be understood that the invention be not limited thereto, and that various modifications in configuration and details may occur to those skilled in the art without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2011-043717 | Mar 2011 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
6201743 | Kuroki | Mar 2001 | B1 |
20020074609 | Maruyama | Jun 2002 | A1 |
20030179020 | Yoshida et al. | Sep 2003 | A1 |
20060279340 | Toyoshima | Dec 2006 | A1 |
Number | Date | Country |
---|---|---|
2000-004147 | Jan 2000 | JP |
2000-163173 | Jun 2000 | JP |
2003-273715 | Mar 2002 | JP |
Number | Date | Country | |
---|---|---|---|
20120223768 A1 | Sep 2012 | US |