From 9713d030bb1696269c3348cac83e13306edd65cf Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Mon, 25 Mar 2019 15:25:59 +0100 Subject: Correct write through spelling. Reported by Richard Susta. Signed-off-by: Pavel Pisa --- qtmips_machine/cache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qtmips_machine/cache.cpp') 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(); -- cgit v1.2.3