A copackaged electronic device comprises a diode device having an anode coupled to a drain electrode of a switching device and a cathode capable of being coupled to an external circuit. The switching device may be controlled by an integrated circuit mounted on a source electrode of the switching device and electrically connected such that the integrated circuit is capable of controlling switching of the switching device. For example, the device is used in a power factor correction circuit. The diode device comprises at least one inverted diode having a solderable anode and a wire-bondable cathode.