Pepijn de Vos
11/09/2021, 12:16 PMTim Edwards
11/09/2021, 2:57 PMPepijn de Vos
11/09/2021, 3:34 PMStefan Schippers
11/09/2021, 4:45 PMlisting deck expand > some_file
to get a flattened spice netlist with all includes (all models) and parameter passing resolved.
the file format is a spice syntax netlist, but with no more subcircuits, so just primitive elements with numeric parameters (resistors, capacitors, mos transistors, I/V sources etc) and .model lines.Stefan Schippers
11/09/2021, 4:45 PMPepijn de Vos
11/09/2021, 4:47 PMStefan Schippers
11/09/2021, 4:47 PMPepijn de Vos
11/09/2021, 4:49 PMPepijn de Vos
11/09/2021, 4:52 PMStefan Schippers
11/09/2021, 4:55 PM.lib /path/to/sky130A/libs.tech/ngspice/sky130.lib.spice tt
all components in library reference the spice model by its name (for example nfet_01v8_lvt), the definition of these model is in above file which is included with a .libStefan Schippers
11/09/2021, 5:22 PMStefan Schippers
11/09/2021, 5:28 PM