a semiconductor device with three connections