mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-01-11 23:43:15 +00:00
In the fall of 2020, cmd/clk scan in liblitedram was changed in a way that required reverting cmd_latency being set to 1 in LiteDRAM commit 4e62d28 back to 0. For the default in s7ddrphy.py this revert happened in 496cd27, but for standalone gen the .yml was never updated in neither LiteDRAM nor Microwatt, leading to regression: https://github.com/antonblanchard/microwatt/issues/363 The present commit updates the .yml so DRAM works on Genesys2 again. See also https://github.com/enjoy-digital/litedram/pull/368 for a corresponding update to the .yml in LiteDRAM. Signed-off-by: Boris Shingarov <shingarov@labware.com>
38 lines
1.6 KiB
YAML
38 lines
1.6 KiB
YAML
# This file is Copyright (c) 2018-2019 Florent Kermarrec <florent@enjoy-digital.fr>
|
|
# License: BSD
|
|
|
|
{
|
|
# General ------------------------------------------------------------------
|
|
"cpu": "None", # CPU type (ex vexriscv, serv, None)
|
|
"speedgrade": -2, # FPGA speedgrade
|
|
"memtype": "DDR3", # DRAM type
|
|
|
|
# PHY ----------------------------------------------------------------------
|
|
"cmd_latency": 0, # Command additional latency
|
|
"sdram_module": "MT41J256M16", # SDRAM modules of the board or SO-DIMM
|
|
"sdram_module_nb": 4, # Number of byte groups
|
|
"sdram_rank_nb": 1, # Number of ranks
|
|
"sdram_phy": "K7DDRPHY", # Type of FPGA PHY
|
|
|
|
# Electrical ---------------------------------------------------------------
|
|
"rtt_nom": "60ohm", # Nominal termination
|
|
"rtt_wr": "60ohm", # Write termination
|
|
"ron": "34ohm", # Output driver impedance
|
|
|
|
# Frequency ----------------------------------------------------------------
|
|
"input_clk_freq": 200e6, # Input clock frequency
|
|
"sys_clk_freq": 100e6, # System clock frequency (DDR_clk = 4 x sys_clk)
|
|
"iodelay_clk_freq": 200e6, # IODELAYs reference clock frequency
|
|
|
|
# Core ---------------------------------------------------------------------
|
|
"cmd_buffer_depth": 16, # Depth of the command buffer
|
|
|
|
# User Ports ---------------------------------------------------------------
|
|
"user_ports": {
|
|
"native_0": {
|
|
"type": "native",
|
|
"block_until_ready": False,
|
|
},
|
|
},
|
|
}
|