Skip to content

Commit

Permalink
minor fix - consistency of parameter names - replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
govardhnn committed Dec 2, 2024
1 parent 53a7bac commit 28f40ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/ICache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace olympia {
const uint32_t l1_line_size = p->l1_line_size;
const uint32_t l1_size_kb = p->l1_size_kb;
const uint32_t l1_associativity = p->l1_associativity;
const std::string& replacement_policy = p->l1_replacement_policy;
const std::string& replacement_policy = p->replacement_policy;
l1_cache_.reset(new CacheFuncModel(getContainer(), l1_size_kb, l1_line_size, replacement_policy, l1_associativity));

sparta::StartupEvent(node, CREATE_SPARTA_HANDLER(ICache, sendInitialCredits_));
Expand Down
2 changes: 1 addition & 1 deletion core/ICache.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ namespace olympia
PARAMETER(uint32_t, l1_line_size, 64, "IL1 line size (power of 2)")
PARAMETER(uint32_t, l1_size_kb, 32, "Size of IL1 in KB (power of 2)")
PARAMETER(uint32_t, l1_associativity, 8, "IL1 associativity (power of 2)")
PARAMETER(std::string, l1_replacement_policy, "TreePLRU", "IL1 cache replacement policy")
PARAMETER(std::string, replacement_policy, "TreePLRU", "IL1 cache replacement policy")
PARAMETER(uint32_t, cache_latency, 1, "Assumed latency of the memory system")
PARAMETER(bool, l1_always_hit, false, "IL1 will always hit")
};
Expand Down

0 comments on commit 28f40ad

Please sign in to comment.