luna_soc.gateware.core.spiflash package
Submodules
- luna_soc.gateware.core.spiflash.controller module
- luna_soc.gateware.core.spiflash.mmap module
- luna_soc.gateware.core.spiflash.phy module
- luna_soc.gateware.core.spiflash.port module
- luna_soc.gateware.core.spiflash.utils module
Module contents
- class luna_soc.gateware.core.spiflash.ECP5ConfigurationFlashInterface(*args, src_loc_at=0, **kwargs)[source]
Bases:
ElaboratableGateware that creates a connection to an MSPI configuration flash.
Automatically uses appropriate platform resources; this abstracts away details necessary to e.g. drive the MCLK lines on an ECP5, which has special handling.
- class luna_soc.gateware.core.spiflash.Peripheral(*args, src_loc_at=0, **kwargs)[source]
Bases:
ComponentSPI Flash peripheral main module.
This class provides a wrapper that can instantiate both
SPIControllerandSPIFlashMemoryMapand connect them to the PHY.Both options share access to the PHY using a crossbar. Also, performs CDC if a different clock is used in the PHY.