s6ddrphy: fix DFI interface data width computation
authorSebastien Bourdeauducq <sb@m-labs.hk>
Fri, 8 Aug 2014 11:14:15 +0000 (19:14 +0800)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Fri, 8 Aug 2014 11:14:15 +0000 (19:14 +0800)
misoclib/sdramphy/s6ddrphy.py

index bdd9d6be041812f40e3db0fbf3a02cceb69d425c..d4f9aa2f332f1e04e913ed1f7f28706aa39e2ced 100644 (file)
@@ -42,7 +42,7 @@ class S6DDRPHY(Module):
                        write_latency=0
                )
 
-               self.dfi = Interface(a, ba, nphases*d, nphases)
+               self.dfi = Interface(a, ba, self.phy_settings.dfi_d, nphases)
                self.clk4x_wr_strb = Signal()
                self.clk4x_rd_strb = Signal()