class myClass ( Model ) : ... exemple = myClass ( name, param )
Every cell made is a class herited from class Model
.
Some methods have to be created, like Interface
, Netlist
... Some methods are inherited from the class Model
.
name
: The name of the cell (which is the name of the files which will be created)
param
: A dictionnary which gives all the parameters useful in order to create the cell
_name
: Name of the cell
_st_insts
: List of all the instances of the cell
_st_ports
: List of all the external nets of the cell (except for alimentations and clock)
_st_sigs
: List of all the internal nets of the cell
_st_vdds
, _st_vsss
: Two tabs of the nets which are instancied as VddIn
and VssIn
_st_cks
: List of all the nets which are instancied as CkIn
_st_merge
: List of all the internal nets which have to be merged
_param
: The map given as argument at the creation of the cell
_underCells
: List of all the instances which are cells that have to be created
_and
, _or
, _xor
, _not
, _buff
, _mux
, _reg
, _shift
, _comp
, _add
, _mult
, _div
: tells which generator to use when using overloard
_NB_INST
: The number of instances of the cell (useful in order to automatically give a name to the instances)
_TAB_NETS_OUT
and _TAB_NETS_CAT
: Lists of all the nets automatically created
_insref
: The reference instance (for placement)
And, in connection with Hurricane :
_hur_cell
: The hurricane cell (None by default)
_db
: The database
_lib0
: self._db.Get_CATA_LIB ( 0 )
_nb_alims_verticales
, _nb_pins
, _nb_vdd_pins
, _nb_vss_pins
, standard_instances_list
, pad_north
, pad_south
, pad_east
, pad_west
: all place and route stuffs ...
Methods of class Model
are listed below :
HurricanePlug
: Creates the Hurricane cell thanks to the stratus cell.
View
: Opens/Refreshes the editor in order to see the created layout
Quit
: Finishes a cell without saving
Save
: Saves the created cell
Some of those methods have to be defined in order to create a new cell :
Interface
: Description of the external ports of the cell
Netlist
: Description of the netlist of the cell
Layout
: Description of the layout of the cell
Vbe
: Description of the behavior of the cell
Pattern
: Description of the patterns in order to test the cell
Sophie BELLOEIL