xbase.layout.array.top
Module Contents
Classes
The base template class. |
- class xbase.layout.array.top.ArrayBaseWrapper(temp_db: bag.layout.template.TemplateDB, params: bag.util.immutable.Param, **kwargs: Any)[source]
Bases:
bag.layout.template.TemplateBase
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.
- property core: xbase.layout.array.base.ArrayBase[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]
- get_schematic_class_inst() Optional[Type[bag.design.module.Module]] [source]
- get_layout_basename() str [source]
Returns the base name for this template.
- Returns:
base_name – the base name of this template.
- Return type:
- draw_layout()[source]
Draw the layout of this template.
Override this method to create the layout.
WARNING: you should never call this method yourself.
- draw_boundaries(master: xbase.layout.array.base.ArrayBase, top_layer: int, *, half_blk_x: bool = True, half_blk_y: bool = True) bag.layout.core.PyLayInstance [source]