Design and Simulation Implementation of an Analog multiple input MAX-MIN Circuit in 0.18um CMOS technology