aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/sw/trng_extract.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sw/trng_extract.py b/src/sw/trng_extract.py
index 0da8ae8..a47fb54 100755
--- a/src/sw/trng_extract.py
+++ b/src/sw/trng_extract.py
@@ -291,8 +291,7 @@ def get_rosc_entropy(dev):
if VERBOSE:
print "Reading rosc entropy data."
-# for i in range(NUM_WORDS):
- for i in range(10):
+ for i in range(NUM_WORDS):
wait_ready(dev, ENT2_PREFIX, ENT2_STATUS)
my_data = dev.read_data(ENT2_PREFIX, ENT2_ENT_DATA)
print_data(my_data)
@@ -314,6 +313,7 @@ def looptest(dev):
if not ent_status[7]:
print("Got: %d" % ent_status[7])
+
#----------------------------------------------------------------
# main
#----------------------------------------------------------------