Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/boards_inventory.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ python3 .github/scripts/generate_board_inventory.py --write
| `icepi_zero` | icepi_zero | trellis | `50000000.0` | SDCard, SPI SDCard, SPI Flash, Video Terminal, Video Framebuffer | included |
| `intergalaktik_ulx5m_gs` | intergalaktik_ulx5m_gs | colognechip | `20000000.0` | SDCard, SPI SDCard, SPI Flash | included |
| `isx_im1283` | isx_im1283 | vivado | `80000000.0` | SDCard, SPI SDCard | included |
| `jungle_electronics_fireant` | jungle_electronics_fireant | efinity | `33333000.0` | - | toolchain-gated: Require Efinity toolchain. |
| `jungle_electronics_fireant` | jungle_electronics_fireant | efinity | `33330000.0` | - | toolchain-gated: Require Efinity toolchain. |
| `kosagi_fomu` | kosagi_fomu_pvt | icestorm | `12000000.0` | - | included |
| `kosagi_netv2` | kosagi_netv2 | vivado | `100000000.0` | Ethernet, SDCard, SPI SDCard, PCIe | included |
| `krtkl_snickerdoodle` | krtkl_snickerdoodle | vivado | `100000000.0` | - | included |
Expand Down
44 changes: 44 additions & 0 deletions litex_boards/platforms/efinix_t120_f576_dev_kit.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,48 @@ def i2c_pmod_io(pmod):
),
]

# DDR Configuration --------------------------------------------------------------------------------

ddr_config = {
"preset_id" : 173,
"memory_type" : "LPDDR3",
"controller_width" : 32,
"dram_width" : 32,
"memory_density" : "8G",
"speedbin" : 800,
"fpga_config" : {
"FPGA_ITERM" : "120",
"FPGA_OTERM" : "34",
},
"memory_config" : {
"RTT_NOM" : "RZQ/2",
"MEM_OTERM" : "40",
"CL" : "RL=6/WL=3",
},
"memory_timing" : {
"tRAS" : 42.0,
"tRC" : 60.0,
"tRP" : 18.0,
"tRCD" : 18.0,
"tREFI" : 3.9,
"tRFC" : 210.0,
"tRTP" : 10.0,
"tWTR" : 10.0,
"tRRD" : 10.0,
"tFAW" : 50.0,
},
"control_config" : {
"AMAP" : "ROW-COL_HIGH-BANK-COL_LOW",
"EN_AUTO_PWR_DN" : "Off",
"EN_AUTO_SELF_REF" : "No",
},
"gate_delay_config" : {
"EN_DLY_OVR" : "No",
"GATE_C_DLY" : 3,
"GATE_F_DLY" : 0,
},
}

# Platform -----------------------------------------------------------------------------------------

class Platform(EfinixPlatform):
Expand All @@ -188,6 +230,8 @@ class Platform(EfinixPlatform):

def __init__(self, toolchain="efinity"):
EfinixPlatform.__init__(self, "T120F576I4", _io, _connectors, iobank_info=_bank_info, toolchain=toolchain)
self.ddr_config = ddr_config
self.ddr_size = 0x1000_0000 # 256MB per target port.

def create_programmer(self):
return EfinixProgrammer()
Expand Down
Loading