litedram_gen/lattice: use trellis toolchain and LFE5UM5G-45F device for now.

This commit is contained in:
Florent Kermarrec 2020-03-26 16:32:58 +01:00
parent 6951428af5
commit d4d9ab740e
1 changed files with 1 additions and 1 deletions

View File

@ -563,7 +563,7 @@ def main():
# Generate core -------------------------------------------------------------------------------- # Generate core --------------------------------------------------------------------------------
if core_config["sdram_phy"] in [litedram_phys.ECP5DDRPHY]: if core_config["sdram_phy"] in [litedram_phys.ECP5DDRPHY]:
platform = LatticePlatform("", io=[], toolchain="diamond") platform = LatticePlatform("LFE5UM5G-45F-8BG381C", io=[], toolchain="trellis") # FIXME: allow other devices.
elif core_config["sdram_phy"] in [litedram_phys.A7DDRPHY, litedram_phys.K7DDRPHY, litedram_phys.V7DDRPHY]: elif core_config["sdram_phy"] in [litedram_phys.A7DDRPHY, litedram_phys.K7DDRPHY, litedram_phys.V7DDRPHY]:
platform = XilinxPlatform("", io=[], toolchain="vivado") platform = XilinxPlatform("", io=[], toolchain="vivado")
else: else: