From b489611749bec4ed3e4817ec08f52ca243df29ec Mon Sep 17 00:00:00 2001
From: Pepping <pepping>
Date: Wed, 25 Mar 2015 12:20:18 +0000
Subject: [PATCH] Start the block gen already before the DDR is ready to check
 if the flushing works OK.

---
 applications/unb1_reorder/tb/python/tc_unb1_reorder.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/applications/unb1_reorder/tb/python/tc_unb1_reorder.py b/applications/unb1_reorder/tb/python/tc_unb1_reorder.py
index b5b1107ebd..fb935c5804 100644
--- a/applications/unb1_reorder/tb/python/tc_unb1_reorder.py
+++ b/applications/unb1_reorder/tb/python/tc_unb1_reorder.py
@@ -178,14 +178,14 @@ if __name__ == "__main__":
         t=t*2
     
     bg_data = flatten(bg_data)  
+
+    # Enable the blockgenerator
+    bg.write_enable()   
     
     # Wait until the DDR3 model is initialized.
     if tc.sim == True:
         do_until_gt(io.simIO.getSimTime, ms_retry=1000, val=110000, s_timeout=13600)  # 110000 
         
-    # Enable the blockgenerator
-    bg.write_enable()   
-    
     if(c_force_late_sync == 1): 
         if tc.sim == True:
             do_until_gt(io.simIO.getSimTime, ms_retry=1000, val=180000, s_timeout=13600)  # 110000 
-- 
GitLab