Circuit Design Using Logic Gates