3.2.2.1. lekkersim.Model.expand_mode
- Model.expand_mode(mode_list: List[str])
This function expands the model by adding additional modes.
For each pin a number of pins equal the length of mode_list will be created. The pin names will be “{pinname}_{modename}}”. Each mode will have the same behavior.
- Parameters:
mode_list (list) – list of strings containing the modenames.
- Returns:
new model with expanded modes
- Return type: