Presentation | AGDS | CIF | DTR | OPENCHAMS | SPICE | Links & Contact |
Public Member Functions | |
void | addInclude (std::string) |
adds an include to the circuit. More... | |
void | addInstance (Instance *) |
adds an instance to the circuit. More... | |
void | addLibrary (std::string file, std::string type="") |
adds a library to the circuit. More... | |
void | addOption (std::string, std::string) |
adds an option to the circuit. More... | |
void | addParameter (std::string, std::string) |
adds a parameter to the circuit. More... | |
void | addSource (Source *) |
adds a source to the circuit. More... | |
Subckt * | addSubckt (std::string) |
adds a subcircuit to the circuit. More... | |
Circuit () | |
creates a new circuit | |
const string_vector & | getIncludes () |
returns the includes of the circuit. | |
const std::vector< Instance * > & | getInstances () |
returns the instances of the circuit. | |
const strpair_vector & | getLibraries () |
returns the libraries of the circuit. | |
const strings_map & | getOptions () |
returns the options of the circuit. | |
const strings_map & | getParameters () |
returns all circuit's parameters. More... | |
const std::vector< Source * > & | getSources () |
returns the sources of the circuit. | |
const std::vector< Subckt * > & | getSubckts () |
returns the subckts of the circuit. | |
std::string | getTitle () |
returns the title of the circuit. | |
void | setTitle (std::string) |
sets the title of the circuit. More... | |
Static Public Member Functions | |
static Circuit * | readFromFile (const std::string &) |
creates and returns a Circuit object based on a database source file. More... | |
This class is the root class which means that having this object in hand allows to get/set any information contained in the Spice file parsed/drived.
|
inline |
adds an include to the circuit.
include | the include to add. |
|
inline |
adds an instance to the circuit.
instance | the instance to add. |
|
inline |
adds a library to the circuit.
file | the file describing the library to add. |
type | the type if several exist in the same file (this argument is optionnal) |
void addOption | ( | std::string | name, |
std::string | value | ||
) |
adds an option to the circuit.
name | the name of the option. |
value | the value of the option. |
|
inline |
adds a parameter to the circuit.
adds an equation parameter to the circuit.
name | the name of the parameter. |
value | the value of the parameter. |
name | the name of the parameter. |
equation | the equation string of the parameter. |
name | the name of the parameter. |
value | the value of the parameter. |
|
inline |
adds a source to the circuit.
source | the source to add. |
Subckt * addSubckt | ( | std::string | name | ) |
adds a subcircuit to the circuit.
name | the name of the subckt. |
|
inline |
returns all circuit's parameters.
returns the parameters of the circuit.
|
static |
|
inline |
sets the title of the circuit.
title | the title of the circuit |
Generated by doxygen 1.8.14 on Thu Nov 12 2020 | Return to top of page |
VLSI SAPD Documentation | Copyright © 2010 - 2020 UPMC All rights reserved |