Skip to content

Commit

Permalink
targets: update artix 7 ddr phy parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Jan 15, 2018
1 parent 9aea390 commit 1be967a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions targets/arty/base.py
Expand Up @@ -148,8 +148,8 @@ def __init__(self, platform, spiflash="spiflash_1x", **kwargs):
sdram_module = MT41K128M16(self.clk_freq, "1:4")
self.submodules.ddrphy = a7ddrphy.A7DDRPHY(
platform.request("ddram"))
self.add_constant("A7DDRPHY_BITSLIP", 2)
self.add_constant("A7DDRPHY_DELAY", 6)
self.add_constant("READ_LEVELING_BITSLIP", 2)
self.add_constant("READ_LEVELING_DELAY", 6)
controller_settings = ControllerSettings(
with_bandwidth=True,
cmd_buffer_depth=8,
Expand Down
4 changes: 2 additions & 2 deletions targets/netv2/base.py
Expand Up @@ -108,8 +108,8 @@ def __init__(self, platform, **kwargs):
sdram_module = MT41J128M16(self.clk_freq, "1:4")
self.submodules.ddrphy = a7ddrphy.A7DDRPHY(
platform.request("ddram"))
self.add_constant("A7DDRPHY_BITSLIP", 2)
self.add_constant("A7DDRPHY_DELAY", 8)
self.add_constant("READ_LEVELING_BITSLIP", 2)
self.add_constant("READ_LEVELING_DELAY", 8)
controller_settings = ControllerSettings(
with_bandwidth=True,
cmd_buffer_depth=8,
Expand Down
4 changes: 2 additions & 2 deletions targets/netv2/bridge_uart.py
Expand Up @@ -126,8 +126,8 @@ def __init__(self, platform, **kwargs):

# sdram
self.submodules.ddrphy = a7ddrphy.A7DDRPHY(platform.request("ddram"))
self.add_constant("A7DDRPHY_BITSLIP", 2)
self.add_constant("A7DDRPHY_DELAY", 8)
self.add_constant("READ_LEVELING_BITSLIP", 2)
self.add_constant("READ_LEVELING_DELAY", 8)
sdram_module = MT41J128M16(self.clk_freq, "1:4")
self.register_sdram(self.ddrphy,
sdram_module.geom_settings,
Expand Down
4 changes: 2 additions & 2 deletions targets/nexys_video/base.py
Expand Up @@ -127,8 +127,8 @@ def __init__(self, platform, spiflash="spiflash_1x", **kwargs):

# sdram
self.submodules.ddrphy = a7ddrphy.A7DDRPHY(platform.request("ddram"))
self.add_constant("A7DDRPHY_BITSLIP", 3)
self.add_constant("A7DDRPHY_DELAY", 14)
self.add_constant("READ_LEVELING_BITSLIP", 3)
self.add_constant("READ_LEVELING_DELAY", 14)
sdram_module = MT41K256M16(self.clk_freq, "1:4")
self.register_sdram(self.ddrphy,
sdram_module.geom_settings,
Expand Down

0 comments on commit 1be967a

Please sign in to comment.