Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

cif : fix 2x autorefresh in get_sdram_phy_header

  • Loading branch information...
commit 3d899f04fd1baf7ab21a88d8e6780ea2398100fc 1 parent 379a48b
EnjoyDigital authored July 12, 2013 sbourdeauducq committed July 12, 2013

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

  1. 4  milkymist/cif.py
4  milkymist/cif.py
@@ -140,6 +140,7 @@ def gen_cmd(comment, a, ba, cmd, delay):
140 140
 				("Load Mode Register / Reset DLL, CL={0:d}, BL={1:d}".format(cl, bl), mr + reset_dll, 0, cmds["MODE_REGISTER"], 200),
141 141
 				("Precharge All", 0x0400, 0, cmds["PRECHARGE_ALL"], 0),
142 142
 				("Auto Refresh", 0x0, 0, cmds["AUTO_REFRESH"], 4),
  143
+				("Auto Refresh", 0x0, 0, cmds["AUTO_REFRESH"], 4),
143 144
 				("Load Mode Register / CL={0:d}, BL={1:d}".format(cl, bl), mr, 0, cmds["MODE_REGISTER"], 200)
144 145
 			]
145 146
 
@@ -156,6 +157,7 @@ def gen_cmd(comment, a, ba, cmd, delay):
156 157
 				("Load Mode Register / Reset DLL, CL={0:d}, BL={1:d}".format(cl, bl), mr + reset_dll, 0, cmds["MODE_REGISTER"], 200),
157 158
 				("Precharge All", 0x0400, 0, cmds["PRECHARGE_ALL"], 0),
158 159
 				("Auto Refresh", 0x0, 0, cmds["AUTO_REFRESH"], 4),
  160
+				("Auto Refresh", 0x0, 0, cmds["AUTO_REFRESH"], 4),
159 161
 				("Load Mode Register / CL={0:d}, BL={1:d}".format(cl, bl), mr, 0, cmds["MODE_REGISTER"], 200)
160 162
 			]
161 163
 
@@ -172,6 +174,7 @@ def gen_cmd(comment, a, ba, cmd, delay):
172 174
 				("Load Mode Register / Reset DLL, CL={0:d}, BL={1:d}".format(cl, bl), mr + reset_dll, 0, cmds["MODE_REGISTER"], 200),
173 175
 				("Precharge All", 0x0400, 0, cmds["PRECHARGE_ALL"], 0),
174 176
 				("Auto Refresh", 0x0, 0, cmds["AUTO_REFRESH"], 4),
  177
+				("Auto Refresh", 0x0, 0, cmds["AUTO_REFRESH"], 4),
175 178
 				("Load Mode Register / CL={0:d}, BL={1:d}".format(cl, bl), mr, 0, cmds["MODE_REGISTER"], 200)
176 179
 			]
177 180
 
@@ -188,6 +191,7 @@ def gen_cmd(comment, a, ba, cmd, delay):
188 191
 				("Load Mode Register / Reset DLL, CL={0:d}, BL={1:d}".format(cl, bl), mr + reset_dll, 0, cmds["MODE_REGISTER"], 200),
189 192
 				("Precharge All", 0x0400, 0, cmds["PRECHARGE_ALL"], 0),
190 193
 				("Auto Refresh", 0x0, 0, cmds["AUTO_REFRESH"], 4),
  194
+				("Auto Refresh", 0x0, 0, cmds["AUTO_REFRESH"], 4),
191 195
 				("Load Mode Register / CL={0:d}, BL={1:d}".format(cl, bl), mr, 0, cmds["MODE_REGISTER"], 200)
192 196
 			]
193 197
 

0 notes on commit 3d899f0

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