Generate - Interface with the generators
Generate ( model, modelname, param = dict )
The Generate
function call is the generic interface to all generators.
model
: Specifies which generator is to be invoked
modelname
: Specifies the name of the model to be generated
dict
: Specifies the parameters of the generator
Every generator has it's own parameters. They must be described in the map dict
.
Every generator provides a netlist view. Two other views can be generated, if they are provided by the generator. Two parameters have to be given, in order to choose those views :
You can see a concrete example at : Example
Some errors may occur :
[Stratus ERROR] Generate : the model must be described in a string.
Sophie BELLOEIL