A GainSwitch with added first-order lowpass filtering.
            gain_input1
          
            gain_input2
          
            corner_frequency
          
compare_to \( \in \{ \)
          
            
            GROUND
          
             \( , \) 
            SECOND_INPUT
          
             \( , \) 
            VARIABLE_REFERENCE
           \( \} \)
          
        
          control_signal_polarity \( \in \{ \)
          
            
            ACTIVE_HIGH
          
             \( , \) 
            ACTIVE_LOW
           \( \} \)
          
        
          comparator_input_phase \( \in \{ \)
          
            
            PHASE1
          
             \( , \) 
            PHASE2
           \( \} \)
          
        
          opamp_mode \( \in \{ \)
          
            
            DEFAULT
          
             \( , \) 
            CHOPPER_STABILIZED
           \( \} \)
          
        
        
      
            input1
            
              Half-Cycle
            
          
            input2
            
              Half-Cycle
            
          
            control
            
              Half-Cycle
            
          
            output
            
              Continuous
            
          
            select
            
              Continuous