Surface plasmons are electromagnetic waves originating from electrons and light oscillations at metallic surfaces. Since freely propagating light cannot be coupled directly into surface-plasmon modes, a compact, semiconductor electrical device capable of generating SPs on the device top metallic surface would represent an advantage: not only SP manipulation would become easier, but Au-metalized surfaces can be easily functionalized for applications. Here, we report a demonstration of such a device. The direct proof of surface-plasmon generation is obtained with apertureless near-field scanning optical microscopy, which detects the presence of an intense, evanescent electric field above the device metallic surface upon electrical injection.