On-wafer integrated system for fast characterization and parametric test of new-generation Non Volatile Memories