Simulation code for performance comparisons between CNFETs and MOSFETs