Compact Modeling And Analysis For Electronic And Thermal Effects of Nanometer Integrated And Packaged Systems