diff --git a/cache_remap/cache_remap_suggestion.cpp b/cache_remap/cache_remap_suggestion.cpp index 58afda23df5e453f8c37c070542a2e8549d8b04b..525d2ac986e2ac3d5c9e7610323387402bc4049f 100644 --- a/cache_remap/cache_remap_suggestion.cpp +++ b/cache_remap/cache_remap_suggestion.cpp @@ -6,7 +6,7 @@ ac_int<1,false> secretBit[16][4]; // one bit per line for secret marking ac_int<1,false> remapBit[16][4]; //one bit per line for remaped on encryption ac_int<32,false> remap_addr[16][4]; -void cache_remap(ac_int <32,false> req_addr, ac_int <32,false> sec_addr, ac_in<32, false> &remapped_address) +void cache_remap(ac_int <32,false> req_addr, ac_int <32,false> sec_addr, ac_int<32, false> &remapped_address) { ac_int<4, false> place = req_addr.slc<4>(8); //try diff --git a/cache_remap/cache_remap_suggestion.h b/cache_remap/cache_remap_suggestion.h index fdca41457d9ff3598227049fef622d7b7d69be18..135c36e76a625ebe62fff5455785c176f32bd658 100644 --- a/cache_remap/cache_remap_suggestion.h +++ b/cache_remap/cache_remap_suggestion.h @@ -6,6 +6,6 @@ -void cache_remap(ac_int <32,false> req_addr, ac_int <32,false> sec_addr, ac_in<32, false> &remapped_address); +void cache_remap(ac_int <32,false> req_addr, ac_int <32,false> sec_addr, ac_int<32, false> &remapped_address); #endif //__CACHE_REMAP_H__ diff --git a/scripts/catapult_asic_cache_remap.tcl b/scripts/catapult_asic_cache_remap.tcl index 8a0b280537905c748fced62c62ae467735fea648..a6dfe0a12ff009fb3b59e9e62b757ab3002ce967 100644 --- a/scripts/catapult_asic_cache_remap.tcl +++ b/scripts/catapult_asic_cache_remap.tcl @@ -10,7 +10,7 @@ solution options set ComponentLibs/SearchPath /opt/PDK/catapult_libs -append solution options set /Input/CompilerFlags {-D __CATAPULT__ -D __HLS__} solution options set /Input/SearchPath $WORKING_DIR/../cache_remap solution options set /Output/GenerateCycleNetlist false -solution file add $WORKING_DIR/../cache_remap/cache_remap.cpp -type C++ +solution file add $WORKING_DIR/../cache_remap/cache_remap_suggestion.cpp -type C++ directive set -DESIGN_GOAL area