bag3_analog.schematic.phase_interp

Module Contents

Classes

bag3_analog__phase_interp

Module for library bag3_analog cell phase_interp.

class bag3_analog.schematic.phase_interp.bag3_analog__phase_interp(database: bag.design.database.ModuleDB, params: bag.util.immutable.Param, **kwargs: Any)[source]

Bases: bag.design.module.Module

Module for library bag3_analog cell phase_interp.

Fill in high level description here.

yaml_file[source]
classmethod is_leaf_model() bool[source]

Returns True if this class is always the leaf model cell.

classmethod get_params_info() Dict[str, str][source]

Returns a dictionary from parameter names to descriptions.

Returns:

param_info – dictionary from parameter names to descriptions.

Return type:

Mapping[str, str]

classmethod get_default_param_values() Dict[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]

design(tri_params: bag.util.immutable.Param, inv_params: bag.util.immutable.Param, nbits: int, export_outb: bool) None[source]

To be overridden by subclasses to design this module.

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()

array_instance()