From 15dbd208fa6c1ac4dc0684c95c43cc40b2462cbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 8 Apr 2018 11:55:52 +0200 Subject: Integrate cache with rest of the machine core --- qtmips_machine/qtmipsmachine.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'qtmips_machine/qtmipsmachine.h') 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; -- cgit v1.2.3