Compact and efficient GaN diode alternative