Text this: Compact modeling of carbon nanotube field effect transistor and its circuit performance