Skip to content

Commit

Permalink
cores/sdram_phy: update S6QuarterRateDDRPHY to new migen
Browse files Browse the repository at this point in the history
enjoy-digital committed Mar 29, 2016
1 parent 9fd5840 commit 42e17a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion misoc/cores/sdram_phy/s6ddrphy.py
Original file line number Diff line number Diff line change
@@ -21,6 +21,7 @@

from migen import *
from migen.genlib.record import *
from migen.fhdl.decorators import ClockDomainsRenamer

from misoc.interconnect.dfi import *
from misoc.cores import sdram_settings
@@ -399,7 +400,7 @@ def __init__(self, pads, memtype, rd_bitslip, wr_bitslip, dqs_ddr_alignment):
class S6QuarterRateDDRPHY(Module):
def __init__(self, pads, rd_bitslip, wr_bitslip, dqs_ddr_alignment):
half_rate_phy = S6HalfRateDDRPHY(pads, "DDR3", rd_bitslip, wr_bitslip, dqs_ddr_alignment)
self.submodules += RenameClockDomains(half_rate_phy, {"sys" : "sys2x"})
self.submodules += ClockDomainsRenamer("sys2x")(half_rate_phy)

addressbits = len(pads.a)
bankbits = len(pads.ba)

0 comments on commit 42e17a4

Please sign in to comment.