1GENLIB_LOAD_LOFIG.3(October 1, 1997) GENLIB_LOAD_LOFIG.3(October 1, 1997)
2
3
4
6 GENLIB_LOAD_LOFIG - loads a netlist form disk and opens it as current
7 figure
8
10 #include <genlib.h>
11 void GENLIB_LOAD_LOFIG(cellname)
12 char ∗cellname;
13
15 cellname Name of the cell which all futher calls to genlib
16 logical functions will work on
17
19 LOAD_LOFIG loads a netlist from disk and defines it as current working
20 structural figure. This overrides the working figure initialized by
21 DEF_LOFIG(3), if any. So the next call to SAVE_LOFIG will save the
22 cell called cellname.
23
25 #include <genlib.h>
26 main()
27 {
28 /∗ Loads the figure to work on ∗/
29 GENLIB_LOAD_LOFIG("cell");
30 /∗ Add an instance in cell ∗/
31 GENLIB_LOINS("model","instance", "sig1", "sig2", "sig3", "vdd", "vss", EOL);
32 /∗ Save all that on disk ∗/
33 GENLIB_SAVE_LOFIG();
34 }
35
37 genlib(1), GENLIB_DEF_LOFIG(3). GENLIB_SAVE_LOFIG(3).
38
39
40
41
42
43
44PROCEDURAL GENERATION LANGUAGE ASIM/LIPG6ENLIB_LOAD_LOFIG.3(October 1, 1997)