xbase.layout.mos.primitives

Module Contents

Classes

MOSConn

Transistor connection primitive.

MOSTap

Transistor substrate tap primitive.

MOSAbut

An empty space in a transistor row.

MOSSpace

An empty space in a transistor row.

MOSExt

An extension block between transistor rows

MOSExtGR

An extension block between transistor rows

MOSEnd

An end row block of transistor array.

MOSRowEdge

The edge block of a transistor row.

MOSExtEdge

The edge block of the transistor extension region.

MOSCorner

The corner block of transistor array.

class xbase.layout.mos.primitives.MOSConn(temp_db: bag.layout.template.TemplateDB, params: bag.util.immutable.Param, **kwargs: Any)[source]

Bases: bag.layout.template.TemplateBase

Transistor connection primitive.

Parameters:
property left_info: Optional[xbase.layout.mos.data.MOSEdgeInfo][source]
property right_info: Optional[xbase.layout.mos.data.MOSEdgeInfo][source]
property top_info: Optional[xbase.layout.mos.data.BlkExtInfo][source]
property bottom_info: Optional[xbase.layout.mos.data.BlkExtInfo][source]
property shorted_ports: bag.util.immutable.ImmutableList[xbase.layout.enum.MOSPortType][source]
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]

draw_layout() None[source]

Draw the layout of this template.

Override this method to create the layout.

WARNING: you should never call this method yourself.

class xbase.layout.mos.primitives.MOSTap(temp_db: bag.layout.template.TemplateDB, params: bag.util.immutable.Param, **kwargs: Any)[source]

Bases: bag.layout.template.TemplateBase

Transistor substrate tap primitive.

Parameters:
property left_info: Optional[xbase.layout.mos.data.MOSEdgeInfo][source]
property right_info: Optional[xbase.layout.mos.data.MOSEdgeInfo][source]
property top_info: Optional[xbase.layout.mos.data.BlkExtInfo][source]
property bottom_info: Optional[xbase.layout.mos.data.BlkExtInfo][source]
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]

draw_layout() None[source]

Draw the layout of this template.

Override this method to create the layout.

WARNING: you should never call this method yourself.

class xbase.layout.mos.primitives.MOSAbut(temp_db: bag.layout.template.TemplateDB, params: bag.util.immutable.Param, **kwargs: Any)[source]

Bases: bag.layout.template.TemplateBase

An empty space in a transistor row.

Parameters:
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]

draw_layout() None[source]

Draw the layout of this template.

Override this method to create the layout.

WARNING: you should never call this method yourself.

class xbase.layout.mos.primitives.MOSSpace(temp_db: bag.layout.template.TemplateDB, params: bag.util.immutable.Param, **kwargs: Any)[source]

Bases: bag.layout.template.TemplateBase

An empty space in a transistor row.

Parameters:
property left_info: Optional[xbase.layout.mos.data.MOSEdgeInfo][source]
property right_info: Optional[xbase.layout.mos.data.MOSEdgeInfo][source]
property top_info: Optional[xbase.layout.mos.data.BlkExtInfo][source]
property bottom_info: Optional[xbase.layout.mos.data.BlkExtInfo][source]
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]

draw_layout() None[source]

Draw the layout of this template.

Override this method to create the layout.

WARNING: you should never call this method yourself.

class xbase.layout.mos.primitives.MOSExt(temp_db: bag.layout.template.TemplateDB, params: bag.util.immutable.Param, **kwargs: Any)[source]

Bases: bag.layout.template.TemplateBase

An extension block between transistor rows

Parameters:
property edge_info: Optional[xbase.layout.mos.data.MOSEdgeInfo][source]
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]

draw_layout() None[source]

Draw the layout of this template.

Override this method to create the layout.

WARNING: you should never call this method yourself.

class xbase.layout.mos.primitives.MOSExtGR(temp_db: bag.layout.template.TemplateDB, params: bag.util.immutable.Param, **kwargs: Any)[source]

Bases: bag.layout.template.TemplateBase

An extension block between transistor rows

Parameters:
property edge_info: Optional[xbase.layout.mos.data.MOSEdgeInfo][source]
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]

draw_layout() None[source]

Draw the layout of this template.

Override this method to create the layout.

WARNING: you should never call this method yourself.

class xbase.layout.mos.primitives.MOSEnd(temp_db: bag.layout.template.TemplateDB, params: bag.util.immutable.Param, **kwargs: Any)[source]

Bases: bag.layout.template.TemplateBase

An end row block of transistor array.

Parameters:
property edge_info: Optional[xbase.layout.mos.data.MOSEdgeInfo][source]
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]

draw_layout() None[source]

Draw the layout of this template.

Override this method to create the layout.

WARNING: you should never call this method yourself.

class xbase.layout.mos.primitives.MOSRowEdge(temp_db: bag.layout.template.TemplateDB, params: bag.util.immutable.Param, **kwargs: Any)[source]

Bases: bag.layout.template.TemplateBase

The edge block of a transistor row.

Parameters:
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]

draw_layout() None[source]

Draw the layout of this template.

Override this method to create the layout.

WARNING: you should never call this method yourself.

class xbase.layout.mos.primitives.MOSExtEdge(temp_db: bag.layout.template.TemplateDB, params: bag.util.immutable.Param, **kwargs: Any)[source]

Bases: bag.layout.template.TemplateBase

The edge block of the transistor extension region.

Parameters:
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]

draw_layout() None[source]

Draw the layout of this template.

Override this method to create the layout.

WARNING: you should never call this method yourself.

class xbase.layout.mos.primitives.MOSCorner(temp_db: bag.layout.template.TemplateDB, params: bag.util.immutable.Param, **kwargs: Any)[source]

Bases: bag.layout.template.TemplateBase

The corner block of transistor array.

Parameters:
property corner: Tuple[int, int][source]
property left_edge: bag.util.immutable.Param[source]
property bottom_edge: bag.util.immutable.Param[source]
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]

draw_layout() None[source]

Draw the layout of this template.

Override this method to create the layout.

WARNING: you should never call this method yourself.