diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-11-08 21:07:22 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-11-08 21:07:22 -0600 |
| commit | c2d559d927c0f1ace1cbfef698163525c2ea332c (patch) | |
| tree | 41d0cfd57edb5f4bdf1d030cee56436439bce336 /tb/sim/sdram.py | |
| parent | d84b1ef6335007feef8cfa6e4849741d13f015e9 (diff) | |
Add sim: sdram
Diffstat (limited to 'tb/sim/sdram.py')
| -rw-r--r-- | tb/sim/sdram.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tb/sim/sdram.py b/tb/sim/sdram.py new file mode 100644 index 0000000..2225941 --- /dev/null +++ b/tb/sim/sdram.py @@ -0,0 +1,8 @@ +START = 0x0000_1000 +END = 0x0000_2000 + +cycles = 15000 +mem_dumps = [range(START, END)] + +def final(): + assert_mem(START, list(range(0, (END - START) >> 2))) |
