From: Robert Jordens Date: Thu, 19 Mar 2015 17:36:33 +0000 (-0600) Subject: pipistrello: fix flash, ddram pin naming X-Git-Tag: 24jan2021_ls180~2471 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a10875a3b7d16b88007995ecc0e71bbd3cebb172;p=litex.git pipistrello: fix flash, ddram pin naming --- diff --git a/targets/pipistrello.py b/targets/pipistrello.py index c2c58a06..35073b1e 100644 --- a/targets/pipistrello.py +++ b/targets/pipistrello.py @@ -67,7 +67,7 @@ class _CRG(Module): ] clk_sdram_half_shifted = Signal() self.specials += Instance("BUFG", i_I=pll[3], o_O=clk_sdram_half_shifted) - clk = platform.request("sdram_clock") + clk = platform.request("ddram_clock") self.specials += Instance("ODDR2", p_DDR_ALIGNMENT="NONE", p_INIT=0, p_SRTYPE="SYNC", i_D0=1, i_D1=0, i_S=0, i_R=0, i_CE=1, @@ -113,7 +113,7 @@ class BaseSoC(SDRAMSoC): read_time=32, write_time=16 ) - self.submodules.ddrphy = s6ddrphy.S6DDRPHY(platform.request("sdram"), + self.submodules.ddrphy = s6ddrphy.S6DDRPHY(platform.request("ddram"), "LPDDR", rd_bitslip=1, wr_bitslip=3, dqs_ddr_alignment="C1") self.comb += [ self.ddrphy.clk4x_wr_strb.eq(self.crg.clk4x_wr_strb), @@ -124,9 +124,8 @@ class BaseSoC(SDRAMSoC): """) self.register_sdram_phy(self.ddrphy, sdram_geom, sdram_timing) - self.submodules.spiflash = spiflash.SpiFlash(platform.request("spiflash4x"), dummy=11, div=2) + self.submodules.spiflash = spiflash.SpiFlash(platform.request("spiflash4x"), dummy=10, div=4) self.flash_boot_address = 0x180000 - # If not in ROM, BIOS is in SPI flash if not self.with_rom: self.register_rom(self.spiflash.bus)