increase size of random dcache testing by 10
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 24 Apr 2021 20:18:18 +0000 (21:18 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 24 Apr 2021 20:18:18 +0000 (21:18 +0100)
src/soc/experiment/dcache.py

index 7cd75a79257413d99ab2161b3328f2408abd1452..8853fd6081197279caa583ce6b3ed8b335f7c4fc 100644 (file)
@@ -1714,7 +1714,7 @@ def dcache_random_sim(dut, mem):
     #for i in range(1024):
     #    sim_mem[i] = i
 
-    for i in range(1024):
+    for i in range(10240):
         addr = randint(0, 1023)
         data = randint(0, (1<<64)-1)
         sim_mem[addr] = data