gem5.components.boards.mem_mode module

Specifies the MemMode enum

class gem5.components.boards.mem_mode.MemMode(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

ATOMIC = 2
ATOMIC_NONCACHING = 3
TIMING = 1
gem5.components.boards.mem_mode.mem_mode_to_string(mem_mode: MemMode) str

Returns the string form of the mem_mode, compatible with the gem5 simulator.

Returns:

The string form of the mem_mode.