This project was done as a part of minor project for Analog circuit Design course ECE520