xheep_gen.cpu.cpu module

class xheep_gen.cpu.cpu.CPU(name: str)

Bases: object

Represents a CPU configuration.

AVAILABLE_CPUS = {'cv32e20', 'cv32e40p', 'cv32e40px', 'cv32e40x'}
get_name() str

Get the name of the CPU. :return: Name of the CPU.

get_param(param_name: str)

Get the value of a given parameter. :param param_name: Name of the parameter to get. :return: Value of the parameter or None if not defined.

is_defined(param_name: str) bool

Check if a given parameter is defined. :param param_name: Name of the parameter to check. :return: True if the parameter is defined, False otherwise.