Substrate-fed CMOS memory device