Carbon nanotube synthesis, device fabrication, and circuit design for digital logic applications