Design Of Logic-Compatible Embedded Flash Memories For Moderate Density On-Chip Non-Volatile Memory Applications