Two diode circuit