Towards Multipronged On-chip Memory and Data Protection From Verification to Design and Test