gnetlist

g_netlist.c File Reference

#include <config.h>
#include <missing.h>
#include <stdio.h>
#include <math.h>
#include <libgeda/libgeda.h>
#include <libgeda/libgedaguile.h>
#include "../include/globals.h"
#include "../include/prototype.h"
Include dependency graph for g_netlist.c:

Go to the source code of this file.

Functions

SCM g_scm_c_get_uref (TOPLEVEL *toplevel, OBJECT *object)
SCM g_get_packages (SCM level)
SCM g_get_non_unique_packages (SCM level)
SCM g_get_pins (SCM scm_uref)
SCM g_get_all_nets (SCM scm_level)
SCM g_get_all_unique_nets (SCM scm_level)
SCM g_get_all_connections (SCM scm_netname)
SCM g_get_nets (SCM scm_uref, SCM scm_pin)
SCM g_get_pins_nets (SCM scm_uref)
SCM g_get_all_package_attributes (SCM scm_uref, SCM scm_wanted_attrib)
 Get attribute value(s) from a package with given uref.
SCM g_get_attribute_by_pinseq (SCM scm_uref, SCM scm_pinseq, SCM scm_wanted_attrib)
SCM g_get_attribute_by_pinnumber (SCM scm_uref, SCM scm_pin, SCM scm_wanted_attrib)
SCM g_get_toplevel_attribute (SCM scm_wanted_attrib)
SCM g_get_backend_arguments ()
 Obtain a list of `-O' backend arguments.
SCM g_get_input_files ()
 Get input files from command line.
SCM g_graphical_objs_in_net_with_attrib_get_attrib (SCM scm_netname, SCM scm_has_attribute, SCM scm_wanted_attribute)

Function Documentation

SCM g_scm_c_get_uref ( TOPLEVEL *  toplevel,
OBJECT *  object 
)

Definition at line 41 of file g_netlist.c.

SCM g_get_packages ( SCM  level)

Definition at line 52 of file g_netlist.c.

SCM g_get_non_unique_packages ( SCM  level)

Definition at line 83 of file g_netlist.c.

SCM g_get_pins ( SCM  scm_uref)

Definition at line 103 of file g_netlist.c.

SCM g_get_all_nets ( SCM  scm_level)

Definition at line 142 of file g_netlist.c.

SCM g_get_all_unique_nets ( SCM  scm_level)

Definition at line 185 of file g_netlist.c.

SCM g_get_all_connections ( SCM  scm_netname)

Definition at line 229 of file g_netlist.c.

SCM g_get_nets ( SCM  scm_uref,
SCM  scm_pin 
)

Definition at line 321 of file g_netlist.c.

SCM g_get_pins_nets ( SCM  scm_uref)

Definition at line 421 of file g_netlist.c.

SCM g_get_all_package_attributes ( SCM  scm_uref,
SCM  scm_wanted_attrib 
)
Function Description
This function returns the values of a specific attribute type attached to the symbol instances with the given refdes.

Every first attribute value found is added to the return list. A Scheme false value is added if the instance has no such attribute.

Note:
The order of the values in the return list is the order of symbol instances within gnetlist (the first element is the value associated with the first symbol instance).
Parameters:
[in]scm_urefPackage reference.
[in]scm_wanted_attribAttribute name.
Returns:
A list of attribute values as strings and #f.

Definition at line 492 of file g_netlist.c.

SCM g_get_attribute_by_pinseq ( SCM  scm_uref,
SCM  scm_pinseq,
SCM  scm_wanted_attrib 
)

Definition at line 536 of file g_netlist.c.

SCM g_get_attribute_by_pinnumber ( SCM  scm_uref,
SCM  scm_pin,
SCM  scm_wanted_attrib 
)

Definition at line 622 of file g_netlist.c.

Here is the call graph for this function:

SCM g_get_toplevel_attribute ( SCM  scm_wanted_attrib)

Definition at line 712 of file g_netlist.c.

SCM g_get_backend_arguments ( )
Function Description
Returns a list of arguments passed to the gnetlist backend via the `-O' gnetlist command-line option.

Definition at line 759 of file g_netlist.c.

SCM g_get_input_files ( )
Function Description
This function returns a list of the files named on the command line.
Returns:
A list of filenames as strings.

Definition at line 779 of file g_netlist.c.

SCM g_graphical_objs_in_net_with_attrib_get_attrib ( SCM  scm_netname,
SCM  scm_has_attribute,
SCM  scm_wanted_attribute 
)

Definition at line 796 of file g_netlist.c.

 All Data Structures Files Functions Variables Defines