design_space_specs module

Define how the design space should be configured.

class DesignSpaceConfSpec(configured_object, table_entry, specs, is_mandatory=True, can_have_untested_keys=False, selectkey_n_default=None, monkey_patches=None)[source]

Bases: TableConfSpec

Set specifications for the design space.

Parameters:
_pre_treat(toml_table, **kwargs)[source]

Insert default values for missing keys.

You can inherit this method to perform additional pre-treating logic.

Parameters:

toml_table (dict[str, Any])

Return type:

None

_adapt_to_user_defined(toml_table)[source]

Update keys for user-defined design space preset.

  • Remove their default warnings.

  • Declate variable_names as mandatory.

Parameters:

toml_table (dict[str, Any])

Return type:

None