aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/qtmipsmachine.h
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-04-08 11:55:52 +0200
committerKarel Kočí <cynerd@email.cz>2018-04-08 11:55:52 +0200
commit15dbd208fa6c1ac4dc0684c95c43cc40b2462cbf (patch)
treec360138011f0312860356ba1ff95387cb468588d /qtmips_machine/qtmipsmachine.h
parent3652d0a13857b7c341fb08a882e12c0b2205c8c0 (diff)
downloadqtmips-15dbd208fa6c1ac4dc0684c95c43cc40b2462cbf.tar.gz
qtmips-15dbd208fa6c1ac4dc0684c95c43cc40b2462cbf.tar.bz2
qtmips-15dbd208fa6c1ac4dc0684c95c43cc40b2462cbf.zip
Integrate cache with rest of the machine core
Diffstat (limited to 'qtmips_machine/qtmipsmachine.h')
-rw-r--r--qtmips_machine/qtmipsmachine.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/qtmips_machine/qtmipsmachine.h b/qtmips_machine/qtmipsmachine.h
index 05e2917..46405e5 100644
--- a/qtmips_machine/qtmipsmachine.h
+++ b/qtmips_machine/qtmipsmachine.h
@@ -23,7 +23,8 @@ public:
const Registers *registers();
const Memory *memory();
- const Cache *cache();
+ const Cache *cache_program();
+ const Cache *cache_data();
const Core *core();
const CoreSingle *core_singe();
const CorePipelined *core_pipelined();
@@ -55,7 +56,7 @@ private:
Registers *regs;
Memory *mem, *mem_program_only;
- Cache *cch;
+ Cache *cch_program, *cch_data;
Core *cr;
QTimer *run_t;