bag3_digital.layout.stdcells.se_to_diff
Module Contents
Classes
The base template class. |
- class bag3_digital.layout.stdcells.se_to_diff.SingleToDiff(temp_db: bag.layout.template.TemplateDB, params: bag.util.immutable.Param, **kwargs: Any)[source]
Bases:
xbase.layout.mos.base.MOSBase
The base template class.
- Parameters:
temp_db (TemplateDB) – the template database.
params (Param) – the parameter values.
log_file (str) – the log file path.
log_level (LogLevel) – the logging level.
**kwargs (Any) –
dictionary of the following optional parameters:
- gridRoutingGrid
the routing grid to use for this template.
- classmethod get_schematic_class() Optional[Type[bag.design.module.Module]] [source]
- classmethod get_params_info() Dict[str, str] [source]
Returns a dictionary from parameter names to descriptions.
- 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]
- draw_layout()[source]
Draw the layout of this template.
Override this method to create the layout.
WARNING: you should never call this method yourself.
- _create_masters(pinfo: xbase.layout.mos.base.MOSBasePlaceInfo, ridx_p: int, ridx_n: int, is_guarded: bool, invp_params_list: Sequence[bag.util.immutable.Param], invn_params_list: Sequence[bag.util.immutable.Param], pg_params: bag.util.immutable.Param, sig_locs: Mapping[str, Union[float, bag.util.math.HalfInt]], vertical_out: bool, vertical_in: bool) Tuple[Sequence[bag3_digital.layout.stdcells.gates.InvCore], Sequence[bag3_digital.layout.stdcells.gates.InvCore], bag3_digital.layout.stdcells.gates.PassGateCore] [source]