with a PN homojunction gate