soc.config package

Submodules

soc.config.endian module

soc.config.endian.set_endian_mode(mode)

soc.config.ifetch module

ConfigureableFetchUnit and ConfigMemoryPortInterface

allows the type of FetchUnit to be run-time selectable

this allows the same code to be used for both small unit tests as well as larger ones and so on, without needing large amounts of unnecessarily-duplicated code

class soc.config.ifetch.ConfigFetchUnit(pspec)

Bases: object

soc.config.loadstore module

ConfigureableLoadStoreUnit and ConfigMemoryPortInterface

allows the type of LoadStoreUnit to be run-time selectable

this allows the same code to be used for both small unit tests as well as larger ones and so on, without needing large amounts of unnecessarily-duplicated code

class soc.config.loadstore.ConfigLoadStoreUnit(pspec)

Bases: object

class soc.config.loadstore.ConfigMemoryPortInterface(pspec)

Bases: object

ports()

soc.config.pinouts module

soc.config.pinouts.get_pinspecs(chipname=None, subset=None)
soc.config.pinouts.load_pinouts(chipname=None)

load_pinouts - loads the JSON-formatted dictionary of a chip spec

note: this works only when pinmux is a correctly-initialised git submodule and when the spec has been actually generated. see Makefile “make mkpinmux”

soc.config.state module

Module contents