litedram_gen: Remove device limitation on GENSDRPHY/ECP5DDRPHY.
By specifying FPGA device in .yml files for configs requiring it.
This commit is contained in:
parent
317072a198
commit
a11d1b870d
|
@ -6,8 +6,8 @@
|
|||
|
||||
{
|
||||
# General ------------------------------------------------------------------
|
||||
"cpu": "vexriscv", # Type of CPU used for init/calib (vexriscv, lm32)
|
||||
"speedgrade": -1, # FPGA speedgrade
|
||||
"cpu": "vexriscv", # CPU type (ex vexriscv, serv, None)
|
||||
"memtype": "DDR3", # DRAM type
|
||||
|
||||
# PHY ----------------------------------------------------------------------
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
{
|
||||
# General ------------------------------------------------------------------
|
||||
"cpu": "vexriscv", # Type of CPU used for init/calib (vexriscv, lm32)
|
||||
"speedgrade": -2, # FPGA speedgrade
|
||||
"cpu": "vexriscv", # CPU type (ex vexriscv, serv, None)
|
||||
"memtype": "DDR3", # DRAM type
|
||||
|
||||
# PHY ----------------------------------------------------------------------
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
{
|
||||
# General ------------------------------------------------------------------
|
||||
"cpu": "vexriscv", # Type of CPU used for init/calib (vexriscv, lm32)
|
||||
"speedgrade": -2, # FPGA speedgrade
|
||||
"cpu": "vexriscv", # CPU type (ex vexriscv, serv, None)
|
||||
"memtype": "DDR4", # DRAM type
|
||||
|
||||
# PHY ----------------------------------------------------------------------
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
{
|
||||
# General ------------------------------------------------------------------
|
||||
"cpu": "vexriscv", # Type of CPU used for init/calib (vexriscv, lm32)
|
||||
"speedgrade": -1, # FPGA speedgrade
|
||||
"cpu": "vexriscv", # CPU type (ex vexriscv, serv, None)
|
||||
"memtype": "DDR2", # DRAM type
|
||||
|
||||
# PHY ----------------------------------------------------------------------
|
||||
|
|
|
@ -6,8 +6,9 @@
|
|||
|
||||
{
|
||||
# General ------------------------------------------------------------------
|
||||
"cpu": "serv", # Type of CPU used for init/calib.
|
||||
"memtype": "SDR", # DRAM type.
|
||||
"device": "LFE5U-45F-6BG381C", # FPGA device.
|
||||
"cpu": "serv", # CPU type (ex vexriscv, serv, None)
|
||||
"memtype": "SDR", # DRAM type
|
||||
|
||||
# PHY ----------------------------------------------------------------------
|
||||
"sdram_module": "MT48LC16M16", # SDRAM modules of the board or SO-DIMM
|
||||
|
|
|
@ -6,8 +6,9 @@
|
|||
|
||||
{
|
||||
# General ------------------------------------------------------------------
|
||||
"cpu": "vexriscv", # Type of CPU used for init/calib (vexriscv, lm32)
|
||||
"memtype": "DDR3", # DRAM type
|
||||
"device": "LFE5UM5G-45F-8BG381C", # FPGA device.
|
||||
"cpu": "vexriscv", # CPU type (ex vexriscv, serv, None)
|
||||
"memtype": "SDR", # DRAM type
|
||||
|
||||
# PHY ----------------------------------------------------------------------
|
||||
"sdram_module": "MT41K64M16", # SDRAM modules of the board or SO-DIMM
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
{
|
||||
# General ------------------------------------------------------------------
|
||||
"cpu": "vexriscv", # Type of CPU used for init/calib (vexriscv, lm32)
|
||||
"speedgrade": -2, # FPGA speedgrade
|
||||
"cpu": "vexriscv", # CPU type (ex vexriscv, serv, None)
|
||||
"memtype": "DDR4", # DRAM type
|
||||
|
||||
# PHY ----------------------------------------------------------------------
|
||||
|
|
|
@ -746,9 +746,9 @@ def main():
|
|||
if args.sim:
|
||||
platform = SimPlatform("", io=[])
|
||||
elif core_config["sdram_phy"] in [litedram_phys.GENSDRPHY]:
|
||||
platform = LatticePlatform("LFE5U-45F-6BG381C", io=[], toolchain="trellis") # FIXME: Allow other Vendors/Devices.
|
||||
platform = LatticePlatform(core_config["device"], io=[], toolchain="trellis") # FIXME: Allow other Vendors.
|
||||
elif core_config["sdram_phy"] in [litedram_phys.ECP5DDRPHY]:
|
||||
platform = LatticePlatform("LFE5UM5G-45F-8BG381C", io=[], toolchain="trellis") # FIXME: Allow other Vendors/Devices.
|
||||
platform = LatticePlatform(core_config["device"], io=[], toolchain="trellis")
|
||||
elif core_config["sdram_phy"] in [litedram_phys.A7DDRPHY, litedram_phys.K7DDRPHY, litedram_phys.V7DDRPHY]:
|
||||
platform = XilinxPlatform("", io=[], toolchain="vivado")
|
||||
elif core_config["sdram_phy"] in [litedram_phys.USDDRPHY, litedram_phys.USPDDRPHY]:
|
||||
|
|
Loading…
Reference in New Issue