Skip to content

Commit 0f9b0c6

Browse files
committedMar 21, 2015
sdram/module: add MT47H128M8 DDR2 (used for a customer)
1 parent 45eb509 commit 0f9b0c6

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
 

Diff for: ‎misoclib/mem/sdram/module.py

+17
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,23 @@ def __init__(self, clk_freq):
138138
self.timing_settings)
139139

140140
# DDR2
141+
class MT47H128M8(SDRAMModule):
142+
geom_settings = {
143+
"nbanks": 8,
144+
"nrows": 16384,
145+
"ncols": 1024
146+
}
147+
timing_settings = {
148+
"tRP": 15,
149+
"tRCD": 15,
150+
"tWR": 15,
151+
"tWTR": 2,
152+
"tREFI": 7800,
153+
"tRFC": 127.5
154+
}
155+
def __init__(self, clk_freq):
156+
SDRAMModule.__init__(self, clk_freq, self.geom_settings,
157+
self.timing_settings)
141158

142159
# DDR3
143160
class MT8JTF12864(SDRAMModule):

0 commit comments

Comments
 (0)
Please sign in to comment.