Text this: Physics and modeling of tera-and nano-devices