Simulating hot-carrier effects on circuit performance