Working L1/L2 cache implementation.