Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

tb/asmicon/asmicon_wb: more complete testing by default

  • Loading branch information...
commit 0c29775a8f184c7ac0bf22838c107b39b458ed1c 1 parent 5ae1b26
Sébastien Bourdeauducq sbourdeauducq authored
Showing with 9 additions and 9 deletions.
  1. +9 −9 tb/asmicon/asmicon_wb.py
18 tb/asmicon/asmicon_wb.py
View
@@ -10,18 +10,18 @@
l2_size = 8192 # in bytes
def my_generator():
- #for x in range(20):
- #t = TWrite(x, x)
- #yield t
- #print(str(t) + " delay=" + str(t.latency))
for x in range(20):
- t = TRead(4194304//4 + x)
+ t = TWrite(x, x)
+ yield t
+ print(str(t) + " delay=" + str(t.latency))
+ for x in range(20):
+ t = TRead(x)
+ yield t
+ print(str(t) + " delay=" + str(t.latency))
+ for x in range(20):
+ t = TRead(x+l2_size//4)
yield t
print(str(t) + " delay=" + str(t.latency))
- #for x in range(20):
- #t = TRead(x+l2_size//4)
- #yield t
- #print(str(t) + " delay=" + str(t.latency))
def main():
controller = ASMIcon(sdram_phy, sdram_geom, sdram_timing)
Please sign in to comment.
Something went wrong with that request. Please try again.