A cache model that uses HSPICE to get better estimates for energy and delay