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