Reliability characterization issues for nanoscale Flash memories: a case study on 45-nm NOR devices