Logic Functions, Devices, and Circuits Based on Parametric Nonlinear Processes