Skip to content

Commit

Permalink
code: Documented everything in the runtime version.
Browse files Browse the repository at this point in the history
This change documents all the changes made to mem_interface.cc file
to implement rowhammer.

Signed-off-by: Kaustav Goswami <[email protected]>
  • Loading branch information
kaustav-goswami committed Feb 28, 2023
1 parent f8f51ad commit 504eb1d
Show file tree
Hide file tree
Showing 2 changed files with 491 additions and 675 deletions.
16 changes: 13 additions & 3 deletions configs/dram/rowhammer/simple_dram_8traficgen.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
from m5.objects import *
import m5
import m5, os

class DRAM_TEST(DDR4_2400_8x8):
ranks_per_channel = 1
device_file = os.path.join(
os.getcwd(),
# "device_map.txt"
# "simple-device-map-prob-15.txt"
"prob-005.json"
)
# rowhammer_threshold = 3
trr_variant = 2
trr_variant = 1
trr_threshold = 16834
counter_table_length = 6
companion_table_length = 6
rh_stat_dump = True
rh_stat_dump = False
half_double_prob = 1e7
double_sided_prob = 1e1
single_sided_prob = 1e1


duration = int(1e11)
Expand Down
Loading

0 comments on commit 504eb1d

Please sign in to comment.