2020-08-23 09:52:08 -04:00
|
|
|
#
|
|
|
|
# This file is part of LiteDRAM.
|
|
|
|
#
|
|
|
|
# Copyright (c) 2018-2019 Florent Kermarrec <florent@enjoy-digital.fr>
|
|
|
|
# SPDX-License-Identifier: BSD-2-Clause
|
2019-06-23 17:56:50 -04:00
|
|
|
|
2019-08-28 01:08:10 -04:00
|
|
|
{
|
2019-02-21 17:19:52 -05:00
|
|
|
# General ------------------------------------------------------------------
|
|
|
|
"speedgrade": -1, # FPGA speedgrade
|
2021-07-02 03:15:42 -04:00
|
|
|
"cpu": "vexriscv", # CPU type (ex vexriscv, serv, None)
|
2019-02-21 17:32:23 -05:00
|
|
|
"memtype": "DDR3", # DRAM type
|
2021-09-16 10:51:52 -04:00
|
|
|
"uart": "rs232", # Type of UART interface (rs232, fifo)
|
2018-08-31 17:20:47 -04:00
|
|
|
|
2019-02-21 17:19:52 -05:00
|
|
|
# PHY ----------------------------------------------------------------------
|
2019-08-28 01:08:10 -04:00
|
|
|
"cmd_latency": 0, # Command additional latency
|
|
|
|
"sdram_module": "MT41K128M16", # SDRAM modules of the board or SO-DIMM
|
|
|
|
"sdram_module_nb": 2, # Number of byte groups
|
|
|
|
"sdram_rank_nb": 1, # Number of ranks
|
|
|
|
"sdram_phy": "A7DDRPHY", # Type of FPGA PHY
|
2018-08-31 17:20:47 -04:00
|
|
|
|
2019-02-21 17:19:52 -05:00
|
|
|
# Electrical ---------------------------------------------------------------
|
|
|
|
"rtt_nom": "60ohm", # Nominal termination
|
|
|
|
"rtt_wr": "60ohm", # Write termination
|
|
|
|
"ron": "34ohm", # Output driver impedance
|
2018-08-31 17:20:47 -04:00
|
|
|
|
2019-02-21 17:19:52 -05:00
|
|
|
# Frequency ----------------------------------------------------------------
|
|
|
|
"input_clk_freq": 100e6, # Input clock frequency
|
|
|
|
"sys_clk_freq": 100e6, # System clock frequency (DDR_clk = 4 x sys_clk)
|
|
|
|
"iodelay_clk_freq": 200e6, # IODELAYs reference clock frequency
|
2018-08-31 17:20:47 -04:00
|
|
|
|
2019-02-21 17:19:52 -05:00
|
|
|
# Core ---------------------------------------------------------------------
|
|
|
|
"cmd_buffer_depth": 16, # Depth of the command buffer
|
2018-08-31 17:20:47 -04:00
|
|
|
|
2019-02-21 17:19:52 -05:00
|
|
|
# User Ports ---------------------------------------------------------------
|
2020-01-15 06:57:33 -05:00
|
|
|
"user_ports": {
|
|
|
|
"axi_0" : {
|
|
|
|
"type": "axi",
|
|
|
|
"id_width": 32,
|
|
|
|
},
|
|
|
|
"wishbone_0" : {
|
2022-01-13 15:50:55 -05:00
|
|
|
"type": "wishbone",
|
|
|
|
"block_until_ready": True,
|
2020-01-15 06:57:33 -05:00
|
|
|
},
|
|
|
|
"native_0" : {
|
|
|
|
"type": "native",
|
|
|
|
},
|
|
|
|
"fifo_0" : {
|
|
|
|
"type": "fifo",
|
|
|
|
"base": 0x00000000,
|
|
|
|
"depth": 0x01000000,
|
|
|
|
},
|
|
|
|
},
|
2018-08-31 17:20:47 -04:00
|
|
|
}
|