From 9cf92379d5fcf0076c25dae0935daab446c992cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 30 Aug 2017 21:37:53 +0200 Subject: Initial commit Adding work done so far. --- qtmips_machine/cache.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 qtmips_machine/cache.h (limited to 'qtmips_machine/cache.h') diff --git a/qtmips_machine/cache.h b/qtmips_machine/cache.h new file mode 100644 index 0000000..280ac05 --- /dev/null +++ b/qtmips_machine/cache.h @@ -0,0 +1,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 -- cgit v1.2.3