Skip to content

defines

Classes

SocCapability

SoC available capabilities

MemoryType

SoC available memory types

Attributes

readable property
readable: bool

Check if this memory type is readable.

writeable property
writeable: bool

Check if this memory type is writeable.

executable property
executable: bool

Check if this memory type is executable.

Functions

to_qualifiers
to_qualifiers(prefix: str = 'AOT') -> str

Convert memory placement to qualifiers

SocPlatform

Base class for SoC platforms

Attributes:

  • name (str) –

    Unique platform name

  • speeds (list[int]) –

    List of supported clock speeds in MHz

  • memories (dict[MemoryType, int]) –

    Memory sizes in bytes

  • capabilities (list[SocCapability]) –

    List of SoC capabilities

  • preferred_memory_order (list[MemoryType]) –

    Preferred memory order for allocations