From 5c8122a540b072f8f21a1df8f1d2436689d93efe Mon Sep 17 00:00:00 2001 From: tqcq Date: Fri, 25 Oct 2024 01:48:43 +0000 Subject: [PATCH] feat update --- drama/src/main.c | 2 +- drama/src/rev-mc.c | 2 +- hammersuite/src/main.c | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/drama/src/main.c b/drama/src/main.c index 289f017..6d7fc12 100644 --- a/drama/src/main.c +++ b/drama/src/main.c @@ -17,7 +17,7 @@ #include "rev-mc.h" #include "utils.h" -#define SETS_std (2 * 16)// 1rk-1ch +#define SETS_std (2 * 16 * 10)// 1rk-1ch #define ROUNDS_std 1000 #define THRESHOLD_std 340 #define MEM_SIZE_std GB(5L) diff --git a/drama/src/rev-mc.c b/drama/src/rev-mc.c index c691f95..4e3d137 100644 --- a/drama/src/rev-mc.c +++ b/drama/src/rev-mc.c @@ -28,7 +28,7 @@ #define ALIGN_TO(X, Y) ((X) & (~((1LL << (Y)) - 1LL)))// Mask out the lower Y bits #define LS_BITMASK(X) ((1LL << (X)) - 1LL) // Mask only the lower X bits -#define SET_SIZE 40// elements per set +#define SET_SIZE 300// elements per set #define VALID_THRESH 0.75f #define SET_THRESH 0.95f #define BITSET_SIZE 256// bitset used to exploit bitwise operations diff --git a/hammersuite/src/main.c b/hammersuite/src/main.c index ee14ec8..a7e4eff 100644 --- a/hammersuite/src/main.c +++ b/hammersuite/src/main.c @@ -27,6 +27,11 @@ ProfileParams *p; // DRAMLayout g_mem_layout = {{{0x4080,0x88000,0x110000,0x220000,0x440000,0x4b300}, 6}, 0xffff80000, ((1<<13)-1)}; // DRAMLayout g_mem_layout = { {{0x2040, 0x44000, 0x88000, 0x110000, 0x220000}, 5}, 0xffffc0000, ((1 << 13) - 1) }; // DRAMLayout g_mem_layout = {{{0x2040,0x24000,0x48000,0x90000},4}, 0xffffe0000, ((1<<13)-1)}; +// DRAMLayout g_mem_layout = { +// {{0x87200}, 1}, +// 0xffff000000, +// ROW_SIZE - 1 +// }; DRAMLayout g_mem_layout = { {{0x5400, 0x82600}, 2}, 0xffff000000,