bag3_digital.schematic.ser2Nto1

Module Contents

Classes

bag3_digital__ser2Nto1

Module for library bag3_digital cell ser2Nto1.

class bag3_digital.schematic.ser2Nto1.bag3_digital__ser2Nto1(database: bag.design.database.ModuleDB, params: bag.util.immutable.Param, **kwargs: Any)[source]

Bases: bag.design.module.Module

Module for library bag3_digital cell ser2Nto1.

Fill in high level description here.

yaml_file[source]
classmethod get_params_info() Mapping[str, str][source]

Returns a dictionary from parameter names to descriptions.

Returns:

param_info – dictionary from parameter names to descriptions.

Return type:

Optional[Mapping[str, str]]

classmethod get_default_param_values() Mapping[str, Any][source]

Returns a dictionary containing default parameter values.

Override this method to define default parameter values. As good practice, you should avoid defining default values for technology-dependent parameters (such as channel length, transistor width, etc.), but only define default values for technology-independent parameters (such as number of tracks).

Returns:

default_params – dictionary of default parameter values.

Return type:

Mapping[str, Any]

get_master_basename() str[source]

Returns the base name to use for this instance.

Returns:

basename – the base name for this instance.

Return type:

str

design(ser: Mapping[str, Any], tinv: Mapping[str, Any], inv: Optional[Mapping[str, Any]], export_nets: bool) None[source]

To be overridden by subclasses to design this module.

This method should fill in values for all parameters in self.parameters. To design instances of this module, you can call their design() method or any other ways you coded.

To modify schematic structure, call:

rename_pin() delete_instance() replace_instance_master() reconnect_instance_terminal() restore_instance() array_instance()