add cache header and memory interface