Skip to content

Commit

Permalink
targets/mlabs_video: rename sdram_module to sdram_modules to reflect …
Browse files Browse the repository at this point in the history
…that we have 2 modules sharing the same characteristics
  • Loading branch information
enjoy-digital committed Mar 21, 2015
1 parent 1c0e306 commit 711540e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions targets/mlabs_video.py
Expand Up @@ -42,15 +42,15 @@ def __init__(self, platform, **kwargs):
self.submodules.crg = mxcrg.MXCRG(_MXClockPads(platform), self.clk_freq)

if not self.with_main_ram:
sdram_module = MT46V32M16(self.clk_freq)
sdram_modules = MT46V32M16(self.clk_freq)
sdram_controller_settings = sdram.ControllerSettings(
req_queue_size=8,
read_time=32,
write_time=16
)
self.submodules.ddrphy = s6ddrphy.S6DDRPHY(platform.request("ddram"), memtype="DDR",
rd_bitslip=0, wr_bitslip=3, dqs_ddr_alignment="C1")
self.register_sdram_phy(self.ddrphy, sdram_module.geom_settings, sdram_module.timing_settings,
self.register_sdram_phy(self.ddrphy, sdram_modules.geom_settings, sdram_modules.timing_settings,
sdram_controller_settings)


Expand Down

0 comments on commit 711540e

Please sign in to comment.