Mixed Digital and Analog Gate