A scheme for photonic generation of ultra-wideband (UWB) pulses using a semiconductor optical amplifier (SOA) and an electro-absorber (EA) in parallel is proposed and numerically demonstrated. By adjusting the time delay between two pump signals incident into the SOA and the EA, we can obtain monocycle pulses with reversed polarities and different bandwidths. The proposed method is flexible in pulse shaping and easy in practical optimization.