From a560ba35bdecc7587792cb16cf5a6a8072054d4b Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sat, 21 Mar 2015 18:38:53 +0100 Subject: [PATCH] sdram/module: add AS4C16M16 for minispartan6 --- misoclib/mem/sdram/module.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/misoclib/mem/sdram/module.py b/misoclib/mem/sdram/module.py index d7cefb27..109e51d0 100644 --- a/misoclib/mem/sdram/module.py +++ b/misoclib/mem/sdram/module.py @@ -79,6 +79,24 @@ class MT48LC4M16(SDRAMModule): SDRAMModule.__init__(self, clk_freq, self.geom_settings, self.timing_settings) +class AS4C16M16(SDRAMModule): + geom_settings = { + "nbanks": 4, + "nrows": 8192, + "ncols": 512 + } + timing_settings = { + "tRP": 18, + "tRCD": 18, + "tWR": 12, + "tWTR": 2, + "tREFI": 256*1000*1000/4096, + "tRFC": 60 + } + def __init__(self, clk_freq): + SDRAMModule.__init__(self, clk_freq, self.geom_settings, + self.timing_settings) + # DDR class MT46V32M16(SDRAMModule): geom_settings = { -- 2.30.2