Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

tb/asmicon/asmicon_wb: more complete testing by default

  • Loading branch information...
commit 0c29775a8f184c7ac0bf22838c107b39b458ed1c 1 parent 5ae1b26
Sébastien Bourdeauducq authored November 26, 2012

Showing 1 changed file with 9 additions and 9 deletions. Show diff stats Hide diff stats

  1. 18  tb/asmicon/asmicon_wb.py
18  tb/asmicon/asmicon_wb.py
@@ -10,18 +10,18 @@
10 10
 l2_size = 8192 # in bytes
11 11
 
12 12
 def my_generator():
13  
-	#for x in range(20):
14  
-		#t = TWrite(x, x)
15  
-		#yield t
16  
-		#print(str(t) + " delay=" + str(t.latency))
17 13
 	for x in range(20):
18  
-		t = TRead(4194304//4 + x)
  14
+		t = TWrite(x, x)
  15
+		yield t
  16
+		print(str(t) + " delay=" + str(t.latency))
  17
+	for x in range(20):
  18
+		t = TRead(x)
  19
+		yield t
  20
+		print(str(t) + " delay=" + str(t.latency))
  21
+	for x in range(20):
  22
+		t = TRead(x+l2_size//4)
19 23
 		yield t
20 24
 		print(str(t) + " delay=" + str(t.latency))
21  
-	#for x in range(20):
22  
-		#t = TRead(x+l2_size//4)
23  
-		#yield t
24  
-		#print(str(t) + " delay=" + str(t.latency))
25 25
 
26 26
 def main():
27 27
 	controller = ASMIcon(sdram_phy, sdram_geom, sdram_timing)

0 notes on commit 0c29775

Please sign in to comment.
Something went wrong with that request. Please try again.