Nanoscale characterization and simulation of advanced CMOS and emerging devices variability