gnetlist

prototype.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void g_set_project_current (TOPLEVEL *pr_current)
SCM g_scm_c_get_uref (TOPLEVEL *toplevel, OBJECT *object)
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_get_packages (SCM level)
SCM g_get_non_unique_packages (SCM level)
SCM g_get_pins (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_graphical_objs_in_net_with_attrib_get_attrib (SCM scm_netname, SCM scm_has_attribute, SCM scm_wanted_attribute)
SCM g_rc_gnetlist_version (SCM version)
SCM g_rc_net_naming_priority (SCM mode)
SCM g_rc_hierarchy_traversal (SCM mode)
SCM g_rc_hierarchy_uref_mangle (SCM mode)
SCM g_rc_hierarchy_netname_mangle (SCM mode)
SCM g_rc_hierarchy_netattrib_mangle (SCM mode)
SCM g_rc_hierarchy_netname_separator (SCM name)
SCM g_rc_hierarchy_netattrib_separator (SCM name)
SCM g_rc_hierarchy_uref_separator (SCM name)
SCM g_rc_hierarchy_netattrib_order (SCM mode)
SCM g_rc_hierarchy_netname_order (SCM mode)
SCM g_rc_hierarchy_uref_order (SCM mode)
SCM g_rc_unnamed_netname (SCM name)
SCM g_rc_unnamed_busname (SCM name)
void g_register_funcs (void)
SCM g_quit (void)
void gnetlist_quit (void)
void main_prog (void *closure, int argc, char *argv[])
int main (int argc, char *argv[])
void i_vars_set (TOPLEVEL *pr_current)
void usage (char *cmd)
GSList * create_input_files_list (int argi, int argc, char *argv[])
int parse_commandline (int argc, char *argv[])
CPINLIST * s_cpinlist_return_tail (CPINLIST *head)
CPINLIST * s_cpinlist_return_head (CPINLIST *tail)
CPINLIST * s_cpinlist_add (CPINLIST *ptr)
void s_cpinlist_print (CPINLIST *ptr)
CPINLIST * s_cpinlist_search_pin (CPINLIST *ptr, char *pin_number)
void s_hierarchy_traverse (TOPLEVEL *pr_current, OBJECT *o_current, NETLIST *netlist)
void s_hierarchy_post_process (TOPLEVEL *pr_current, NETLIST *head)
int s_hierarchy_setup_rename (TOPLEVEL *pr_current, NETLIST *head, char *uref, char *label, char *new_name)
void s_hierarchy_remove_urefconn (NETLIST *head, char *uref_disable)
void s_hierarchy_remove_compsite_all (NETLIST *head)
char * s_hierarchy_create_uref (TOPLEVEL *pr_current, char *basename, char *hierarchy_tag)
char * s_hierarchy_create_netname (TOPLEVEL *pr_current, char *basename, char *hierarchy_tag)
char * s_hierarchy_create_netattrib (TOPLEVEL *pr_current, char *basename, char *hierarchy_tag)
void s_hierarchy_remove_uref_mangling (TOPLEVEL *pr_current, NETLIST *head)
char * s_hierarchy_return_baseuref (TOPLEVEL *pr_current, char *uref)
int s_hierarchy_graphical_search (OBJECT *o_current, int count)
void verbose_print (char *string)
void verbose_done (void)
void verbose_reset_index (void)
NET * s_net_return_tail (NET *head)
NET * s_net_return_head (NET *tail)
NET * s_net_add (NET *ptr)
void s_net_print (NET *ptr)
char * s_net_return_connected_string (TOPLEVEL *pr_current, OBJECT *object, char *hierarchy_tag)
int s_net_find (NET *net_head, NET *node)
char * s_net_name_search (TOPLEVEL *pr_current, NET *net_head)
char * s_net_name (TOPLEVEL *pr_current, NETLIST *netlist_head, NET *net_head, char *hierarchy_tag, int type)
char * s_netattrib_extract_netname (char *value)
void s_netattrib_create_pins (TOPLEVEL *pr_current, OBJECT *o_current, NETLIST *netlist, char *value, char *hierarchy_tag)
void s_netattrib_handle (TOPLEVEL *pr_current, OBJECT *o_current, NETLIST *netlist, char *hierarchy_tag)
char * s_netattrib_net_search (OBJECT *o_current, char *wanted_pin)
char * s_netattrib_return_netname (TOPLEVEL *pr_current, OBJECT *o_current, char *pinnumber, char *hierarchy_tag)
NETLIST * s_netlist_return_tail (NETLIST *head)
NETLIST * s_netlist_return_head (NETLIST *tail)
NETLIST * s_netlist_add (NETLIST *ptr)
void s_netlist_print (NETLIST *ptr)
void s_netlist_post_process (TOPLEVEL *pr_current, NETLIST *head)
void s_netlist_name_named_nets (TOPLEVEL *pr_current, NETLIST *named_netlist, NETLIST *unnamed_netlist)
char * s_netlist_netname_of_netid (TOPLEVEL *pr_current, NETLIST *netlist_head, int net_id)
void s_rename_init (void)
void s_rename_destroy_all (void)
void s_rename_next_set (void)
void s_rename_print (void)
int s_rename_search (char *src, char *dest, int quiet_flag)
void s_rename_add (char *src, char *dest)
void s_rename_all_lowlevel (NETLIST *netlist_head, char *src, char *dest)
void s_rename_all (TOPLEVEL *pr_current, NETLIST *netlist_head)
SCM g_get_renamed_nets (SCM scm_level)
void s_traverse_init (void)
void s_traverse_start (TOPLEVEL *pr_current)
void s_traverse_sheet (TOPLEVEL *pr_current, const GList *obj_list, char *hierarchy_tag)
CPINLIST * s_traverse_component (TOPLEVEL *pr_current, OBJECT *component, char *hierarchy_tag)
NET * s_traverse_net (TOPLEVEL *pr_current, NET *nets, int starting, OBJECT *object, char *hierarchy_tag, int type)
SCM vams_get_attribs_list (OBJECT *object)
SCM vams_get_package_attributes (SCM scm_uref)

Function Documentation

void g_set_project_current ( TOPLEVEL *  pr_current)
SCM g_scm_c_get_uref ( TOPLEVEL *  toplevel,
OBJECT *  object 
)

Definition at line 41 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_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  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_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.

SCM g_rc_gnetlist_version ( SCM  version)

Definition at line 48 of file g_rc.c.

Here is the call graph for this function:

SCM g_rc_net_naming_priority ( SCM  mode)

Definition at line 75 of file g_rc.c.

SCM g_rc_hierarchy_traversal ( SCM  mode)

Definition at line 86 of file g_rc.c.

SCM g_rc_hierarchy_uref_mangle ( SCM  mode)

Definition at line 97 of file g_rc.c.

SCM g_rc_hierarchy_netname_mangle ( SCM  mode)

Definition at line 108 of file g_rc.c.

SCM g_rc_hierarchy_netattrib_mangle ( SCM  mode)

Definition at line 119 of file g_rc.c.

SCM g_rc_hierarchy_netname_separator ( SCM  name)

Definition at line 141 of file g_rc.c.

Here is the call graph for this function:

SCM g_rc_hierarchy_netattrib_separator ( SCM  name)

Definition at line 153 of file g_rc.c.

Here is the call graph for this function:

SCM g_rc_hierarchy_uref_separator ( SCM  name)

Definition at line 165 of file g_rc.c.

Here is the call graph for this function:

SCM g_rc_hierarchy_netattrib_order ( SCM  mode)

Definition at line 177 of file g_rc.c.

SCM g_rc_hierarchy_netname_order ( SCM  mode)

Definition at line 188 of file g_rc.c.

SCM g_rc_hierarchy_uref_order ( SCM  mode)

Definition at line 199 of file g_rc.c.

SCM g_rc_unnamed_netname ( SCM  name)

Definition at line 210 of file g_rc.c.

Here is the call graph for this function:

SCM g_rc_unnamed_busname ( SCM  name)

Definition at line 222 of file g_rc.c.

Here is the call graph for this function:

void g_register_funcs ( void  )

Definition at line 101 of file g_register.c.

SCM g_quit ( void  )

Definition at line 112 of file g_register.c.

Here is the call graph for this function:

void gnetlist_quit ( void  )

Definition at line 50 of file gnetlist.c.

Here is the call graph for this function:

void main_prog ( void *  closure,
int  argc,
char *  argv[] 
)

Definition at line 139 of file gnetlist.c.

Here is the call graph for this function:

int main ( int  argc,
char *  argv[] 
)

Definition at line 327 of file gnetlist.c.

Here is the call graph for this function:

void i_vars_set ( TOPLEVEL *  pr_current)

Definition at line 66 of file i_vars.c.

void usage ( char *  cmd)

Definition at line 68 of file parsecmd.c.

GSList* create_input_files_list ( int  argi,
int  argc,
char *  argv[] 
)
int parse_commandline ( int  argc,
char *  argv[] 
)

Definition at line 129 of file parsecmd.c.

Here is the call graph for this function:

CPINLIST* s_cpinlist_return_tail ( CPINLIST *  head)

Definition at line 46 of file s_cpinlist.c.

CPINLIST* s_cpinlist_return_head ( CPINLIST *  tail)

Definition at line 62 of file s_cpinlist.c.

CPINLIST* s_cpinlist_add ( CPINLIST *  ptr)

Definition at line 78 of file s_cpinlist.c.

void s_cpinlist_print ( CPINLIST *  ptr)

Definition at line 105 of file s_cpinlist.c.

Here is the call graph for this function:

CPINLIST* s_cpinlist_search_pin ( CPINLIST *  ptr,
char *  pin_number 
)

Definition at line 149 of file s_cpinlist.c.

void s_hierarchy_traverse ( TOPLEVEL *  pr_current,
OBJECT *  o_current,
NETLIST *  netlist 
)

Definition at line 42 of file s_hierarchy.c.

Here is the call graph for this function:

void s_hierarchy_post_process ( TOPLEVEL *  pr_current,
NETLIST *  head 
)

Definition at line 177 of file s_hierarchy.c.

Here is the call graph for this function:

int s_hierarchy_setup_rename ( TOPLEVEL *  pr_current,
NETLIST *  head,
char *  uref,
char *  label,
char *  new_name 
)

Definition at line 250 of file s_hierarchy.c.

Here is the call graph for this function:

void s_hierarchy_remove_urefconn ( NETLIST *  head,
char *  uref_disable 
)

Definition at line 301 of file s_hierarchy.c.

void s_hierarchy_remove_compsite_all ( NETLIST *  head)

Definition at line 349 of file s_hierarchy.c.

Here is the call graph for this function:

char* s_hierarchy_create_uref ( TOPLEVEL *  pr_current,
char *  basename,
char *  hierarchy_tag 
)

Definition at line 366 of file s_hierarchy.c.

char* s_hierarchy_create_netname ( TOPLEVEL *  pr_current,
char *  basename,
char *  hierarchy_tag 
)

Definition at line 417 of file s_hierarchy.c.

char* s_hierarchy_create_netattrib ( TOPLEVEL *  pr_current,
char *  basename,
char *  hierarchy_tag 
)

Definition at line 481 of file s_hierarchy.c.

void s_hierarchy_remove_uref_mangling ( TOPLEVEL *  pr_current,
NETLIST *  head 
)

Definition at line 540 of file s_hierarchy.c.

Here is the call graph for this function:

char* s_hierarchy_return_baseuref ( TOPLEVEL *  pr_current,
char *  uref 
)

Definition at line 586 of file s_hierarchy.c.

int s_hierarchy_graphical_search ( OBJECT *  o_current,
int  count 
)

Definition at line 630 of file s_hierarchy.c.

void verbose_print ( char *  string)

Definition at line 41 of file s_misc.c.

void verbose_done ( void  )

Definition at line 53 of file s_misc.c.

void verbose_reset_index ( void  )

Definition at line 66 of file s_misc.c.

NET* s_net_return_tail ( NET *  head)

Definition at line 54 of file s_net.c.

NET* s_net_return_head ( NET *  tail)

Definition at line 70 of file s_net.c.

NET* s_net_add ( NET *  ptr)

Definition at line 85 of file s_net.c.

void s_net_print ( NET *  ptr)

Definition at line 111 of file s_net.c.

char* s_net_return_connected_string ( TOPLEVEL *  pr_current,
OBJECT *  object,
char *  hierarchy_tag 
)

Definition at line 142 of file s_net.c.

Here is the call graph for this function:

int s_net_find ( NET *  net_head,
NET *  node 
)

Definition at line 199 of file s_net.c.

char* s_net_name_search ( TOPLEVEL *  pr_current,
NET *  net_head 
)

Definition at line 214 of file s_net.c.

Here is the call graph for this function:

char* s_net_name ( TOPLEVEL *  pr_current,
NETLIST *  netlist_head,
NET *  net_head,
char *  hierarchy_tag,
int  type 
)

Definition at line 338 of file s_net.c.

Here is the call graph for this function:

char* s_netattrib_extract_netname ( char *  value)

Definition at line 51 of file s_netattrib.c.

void s_netattrib_create_pins ( TOPLEVEL *  pr_current,
OBJECT *  o_current,
NETLIST *  netlist,
char *  value,
char *  hierarchy_tag 
)

Definition at line 77 of file s_netattrib.c.

Here is the call graph for this function:

void s_netattrib_handle ( TOPLEVEL *  pr_current,
OBJECT *  o_current,
NETLIST *  netlist,
char *  hierarchy_tag 
)

Definition at line 178 of file s_netattrib.c.

Here is the call graph for this function:

char* s_netattrib_net_search ( OBJECT *  o_current,
char *  wanted_pin 
)

Definition at line 213 of file s_netattrib.c.

Here is the call graph for this function:

char* s_netattrib_return_netname ( TOPLEVEL *  pr_current,
OBJECT *  o_current,
char *  pinnumber,
char *  hierarchy_tag 
)

Definition at line 293 of file s_netattrib.c.

Here is the call graph for this function:

NETLIST* s_netlist_return_tail ( NETLIST *  head)

Definition at line 46 of file s_netlist.c.

NETLIST* s_netlist_return_head ( NETLIST *  tail)

Definition at line 62 of file s_netlist.c.

NETLIST* s_netlist_add ( NETLIST *  ptr)

Definition at line 78 of file s_netlist.c.

void s_netlist_print ( NETLIST *  ptr)

Definition at line 105 of file s_netlist.c.

Here is the call graph for this function:

void s_netlist_post_process ( TOPLEVEL *  pr_current,
NETLIST *  head 
)

Definition at line 141 of file s_netlist.c.

Here is the call graph for this function:

void s_netlist_name_named_nets ( TOPLEVEL *  pr_current,
NETLIST *  named_netlist,
NETLIST *  unnamed_netlist 
)

Definition at line 222 of file s_netlist.c.

Here is the call graph for this function:

char* s_netlist_netname_of_netid ( TOPLEVEL *  pr_current,
NETLIST *  netlist_head,
int  net_id 
)

Definition at line 277 of file s_netlist.c.

void s_rename_init ( void  )

Definition at line 66 of file s_rename.c.

void s_rename_destroy_all ( void  )

Definition at line 75 of file s_rename.c.

void s_rename_next_set ( void  )

Definition at line 97 of file s_rename.c.

void s_rename_print ( void  )

Definition at line 114 of file s_rename.c.

int s_rename_search ( char *  src,
char *  dest,
int  quiet_flag 
)

Definition at line 133 of file s_rename.c.

void s_rename_add ( char *  src,
char *  dest 
)

Definition at line 185 of file s_rename.c.

Here is the call graph for this function:

void s_rename_all_lowlevel ( NETLIST *  netlist_head,
char *  src,
char *  dest 
)

Definition at line 266 of file s_rename.c.

void s_rename_all ( TOPLEVEL *  pr_current,
NETLIST *  netlist_head 
)

Definition at line 294 of file s_rename.c.

Here is the call graph for this function:

SCM g_get_renamed_nets ( SCM  scm_level)

Definition at line 313 of file s_rename.c.

void s_traverse_init ( void  )

Definition at line 84 of file s_traverse.c.

Here is the call graph for this function:

void s_traverse_start ( TOPLEVEL *  pr_current)

Definition at line 118 of file s_traverse.c.

Here is the call graph for this function:

void s_traverse_sheet ( TOPLEVEL *  pr_current,
const GList *  obj_list,
char *  hierarchy_tag 
)

Definition at line 152 of file s_traverse.c.

Here is the call graph for this function:

CPINLIST* s_traverse_component ( TOPLEVEL *  pr_current,
OBJECT *  component,
char *  hierarchy_tag 
)

Definition at line 263 of file s_traverse.c.

Here is the call graph for this function:

NET* s_traverse_net ( TOPLEVEL *  pr_current,
NET *  nets,
int  starting,
OBJECT *  object,
char *  hierarchy_tag,
int  type 
)

Definition at line 330 of file s_traverse.c.

Here is the call graph for this function:

SCM vams_get_attribs_list ( OBJECT *  object)

Definition at line 41 of file vams_misc.c.

SCM vams_get_package_attributes ( SCM  scm_uref)

Definition at line 72 of file vams_misc.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Defines