From 02143849c6dc0b4fd0fe543f79b60b87967c00fd Mon Sep 17 00:00:00 2001 From: Seonjin Na Date: Tue, 26 Mar 2024 21:47:07 -0400 Subject: [PATCH] add compile codes for replacement policy --- SConscript | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/SConscript b/SConscript index 49315654..755d9c5f 100644 --- a/SConscript +++ b/SConscript @@ -283,7 +283,14 @@ macsim_src = [ 'src/cs_disas.cc', 'src/resource.cc', 'src/mmu.cc', - 'src/tlb.cc' + 'src/tlb.cc', + # Cache replacement policy added + 'src/cache_replacement/rrip.h', + 'src/cache_replacement/rrip.cc', + # 'src/cache_replacement/ucp.h', + # 'src/cache_replacement/ucp.cc', + # 'src/cache_replacement/tadip.h', + # 'src/cache_replacement/tadip.cc', ]