New Cache implementation using Gem5