From 08d7e3dabd81e9d6e4f73aa5889a1d709242177c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 3 Jan 2018 17:52:45 +0100 Subject: Allow delay slot disable for non-pipelined core --- qtmips_machine/machineconfig.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'qtmips_machine/machineconfig.h') diff --git a/qtmips_machine/machineconfig.h b/qtmips_machine/machineconfig.h index 8e58d12..d872686 100644 --- a/qtmips_machine/machineconfig.h +++ b/qtmips_machine/machineconfig.h @@ -20,8 +20,8 @@ public: // In default disabled. void set_pipelined(bool); // Configure if we want to do jump prediction - // In default disabled. When enabled it also automatically enables pipelining - void set_jump_prediction(bool); + // In default enabled. When disabled it also automatically disables pipelining. + void set_delay_slot(bool); // Configure cache type // In default CCT_NONE is used. void set_cache(enum CacheType); @@ -29,12 +29,12 @@ public: void set_elf(QString path); bool pipelined() const; - bool jump_prediction() const; + bool delay_slot() const; enum CacheType cache() const; QString elf() const; private: - bool pipeline, jumppred; + bool pipeline, delayslot; enum CacheType cache_type; QString elf_path; }; -- cgit v1.2.3