1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef CACHE_H #define CACHE_H #include "memory.h" class Cache : public MemoryAccess { public: Cache(Memory *m); }; class CacheAssociative : public Cache { public: CacheAssociative(Memory *m); }; // TODO other chaches #endif // CACHE_H