3.2.2.8. lekkersim.Model.pin_mapping

Model.pin_mapping(pin_mapping: Dict[Pin, Pin])

Function for changing the names of the pins of a model

Parameters:

pin_mapping (dict) – Dictionary containing the mapping of the pin names. Format is {‘oldname’ : ‘newname’}

Returns:

model of self with updated pin names

Return type:

model