<p>The invention relates to a power inverter 200 comprising a power module 500 connected at least to a rotating electric machine, a gate drive circuit board which supplies switching power to the power module 500, and a rotating electric machine control circuit board which supplies a signal for controlling the waveform of the switching power to the gate drive circuit board. A noise reduction board 560 is formed on a board different from the rotating electric machine control circuit board. The configuration of the noise reduction board 560 is such that various signals for forming a signal for controlling the waveform of the switching power by means of the rotating electric machine control circuit board are inputted through the noise reduction board 560 to the rotating electric machine control circuit board.</p>