diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-03-25 15:25:59 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-03-25 15:26:32 +0100 |
commit | 9713d030bb1696269c3348cac83e13306edd65cf (patch) | |
tree | f57970edbc9ef607c4209ebcae7fbf64214bb8a6 /qtmips_machine/cache.cpp | |
parent | 3774592f02121ce749c1d5ac4210bd6772475305 (diff) | |
download | qtmips-9713d030bb1696269c3348cac83e13306edd65cf.tar.gz qtmips-9713d030bb1696269c3348cac83e13306edd65cf.tar.bz2 qtmips-9713d030bb1696269c3348cac83e13306edd65cf.zip |
Correct write through spelling. Reported by Richard Susta.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/cache.cpp')
-rw-r--r-- | qtmips_machine/cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_machine/cache.cpp b/qtmips_machine/cache.cpp index ec6a021..b3afbeb 100644 --- a/qtmips_machine/cache.cpp +++ b/qtmips_machine/cache.cpp @@ -311,7 +311,7 @@ bool Cache::access(std::uint32_t address, std::uint32_t *data, bool write, std:: // Need to find new block if (indx >= cnf.associativity()) { // if write through we do not need to alloecate cache line does not allocate - if (write && cnf.write_policy() == MachineConfigCache::WP_TROUGH_NOALLOC) { + if (write && cnf.write_policy() == MachineConfigCache::WP_THROUGH_NOALLOC) { miss_write++; emit miss_update(miss()); update_statistics(); |