Title: Switching in semiconductor diodes