luna_soc.gateware.core.spiflash.phy module

class luna_soc.gateware.core.spiflash.phy.ECP5ConfigurationFlashInterface(*args, src_loc_at=0, **kwargs)[source]

Bases: Elaboratable

Gateware 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.

__init__(*, bus)[source]

Params: bus – The SPI bus object to extend.

elaborate(platform)[source]
class luna_soc.gateware.core.spiflash.phy.SPIClockGenerator(*args, src_loc_at=0, **kwargs)[source]

Bases: Elaboratable

elaborate(platform)[source]
class luna_soc.gateware.core.spiflash.phy.SPIPHYController(*args, src_loc_at=0, **kwargs)[source]

Bases: Component

Provides a generic PHY that can be used by a SPI flash controller.

It supports single/dual/quad/octal output reads from the flash chips.

elaborate(platform)[source]