Inst - Creation of instances
Inst ( model
, name
, map = connectmap
)
Instantiation of an instance. The type of the instance is given by the model parameter. The connexions are made thanks to the connectmap parameters.
Model : Name of the mastercell of the instance to create (mandatory argument)
name : Name of the instance (optional)
connectmap : Connexions in order to make the netlist
param and map are dictionnaries as shown in the example below.
Inst ( 'a2_x2'
, map = { 'i0' : in0
, 'i1' : in1
, 'q' : out
, 'vdd' : vdd
, 'vss' : vss
}
)
You can see a concrete example at : Example
Some errors may occur :
Error in Inst : the model Model does not exist.
Check CRL_CATA_LIB.
Error in Inst : port does not exist in model Model.
Error in Inst : one input net is not dimensionned.