titanium_ti60_f225_dev_kit: Add HyperRAM separator.

This commit is contained in:
Florent Kermarrec 2022-01-04 15:18:26 +01:00
parent 28a6fad705
commit c836b57145
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ class BaseSoC(SoCCore):
from litespi.opcodes import SpiNorFlashOpCodes as Codes from litespi.opcodes import SpiNorFlashOpCodes as Codes
self.add_spi_flash(mode="1x", module=W25Q64JW(Codes.READ_1_1_1), with_master=True) self.add_spi_flash(mode="1x", module=W25Q64JW(Codes.READ_1_1_1), with_master=True)
# HyperRAM ---------------------------------------------------------------------------------
if with_hyperram: if with_hyperram:
self.submodules.hyperram = HyperRAM(platform.request("hyperram"), latency=7) self.submodules.hyperram = HyperRAM(platform.request("hyperram"), latency=7)
self.bus.add_slave("main_ram", slave=self.hyperram.bus, region=SoCRegion(origin=0x40000000, size=32*1024*1024)) self.bus.add_slave("main_ram", slave=self.hyperram.bus, region=SoCRegion(origin=0x40000000, size=32*1024*1024))