gnetlist

prototype.h

Go to the documentation of this file.
00001 /* g_netlist.c */
00002 void g_set_project_current(TOPLEVEL *pr_current);
00003 SCM g_scm_c_get_uref(TOPLEVEL *toplevel, OBJECT *object);
00004 SCM g_get_backend_arguments ();
00005 SCM g_get_input_files();
00006 SCM g_get_packages(SCM level);
00007 SCM g_get_non_unique_packages(SCM level);
00008 SCM g_get_pins(SCM uref);
00009 SCM g_get_all_nets(SCM scm_level);
00010 SCM g_get_all_unique_nets(SCM scm_level);
00011 SCM g_get_all_connections(SCM scm_netname);
00012 SCM g_get_nets(SCM scm_uref, SCM scm_pin);
00013 SCM g_get_pins_nets(SCM scm_uref);
00014 SCM g_get_all_package_attributes(SCM scm_uref, SCM scm_wanted_attrib);
00015 SCM g_get_attribute_by_pinseq(SCM scm_uref, SCM scm_pinseq, SCM scm_wanted_attrib);
00016 SCM g_get_attribute_by_pinnumber(SCM scm_uref, SCM scm_pin, SCM scm_wanted_attrib);
00017 SCM g_get_toplevel_attribute(SCM scm_wanted_attrib);
00018 SCM g_graphical_objs_in_net_with_attrib_get_attrib(SCM scm_netname, SCM scm_has_attribute, SCM scm_wanted_attribute);
00019 /* g_rc.c */
00020 SCM g_rc_gnetlist_version(SCM version);
00021 SCM g_rc_net_naming_priority(SCM mode);
00022 SCM g_rc_hierarchy_traversal(SCM mode);
00023 SCM g_rc_hierarchy_uref_mangle(SCM mode);
00024 SCM g_rc_hierarchy_netname_mangle(SCM mode);
00025 SCM g_rc_hierarchy_netattrib_mangle(SCM mode);
00026 SCM g_rc_hierarchy_netname_separator(SCM name);
00027 SCM g_rc_hierarchy_netattrib_separator(SCM name);
00028 SCM g_rc_hierarchy_uref_separator(SCM name);
00029 SCM g_rc_hierarchy_netattrib_order(SCM mode);
00030 SCM g_rc_hierarchy_netname_order(SCM mode);
00031 SCM g_rc_hierarchy_uref_order(SCM mode);
00032 SCM g_rc_unnamed_netname(SCM name);
00033 SCM g_rc_unnamed_busname(SCM name);
00034 /* g_register.c */
00035 void g_register_funcs(void);
00036 SCM g_quit(void);
00037 /* globals.c */
00038 /* gnetlist.c */
00039 void gnetlist_quit(void);
00040 void main_prog(void *closure, int argc, char *argv[]);
00041 int main(int argc, char *argv[]);
00042 /* i_vars.c */
00043 void i_vars_set(TOPLEVEL *pr_current);
00044 /* parsecmd.c */
00045 void usage(char *cmd);
00046 GSList *create_input_files_list(int argi, int argc, char *argv[]);
00047 int parse_commandline(int argc, char *argv[]);
00048 /* s_cpinlist.c */
00049 CPINLIST *s_cpinlist_return_tail(CPINLIST *head);
00050 CPINLIST *s_cpinlist_return_head(CPINLIST *tail);
00051 CPINLIST *s_cpinlist_add(CPINLIST *ptr);
00052 void s_cpinlist_print(CPINLIST *ptr);
00053 CPINLIST *s_cpinlist_search_pin(CPINLIST *ptr, char *pin_number);
00054 /* s_hierarchy.c */
00055 void s_hierarchy_traverse(TOPLEVEL *pr_current, OBJECT *o_current, NETLIST *netlist);
00056 void s_hierarchy_post_process(TOPLEVEL *pr_current, NETLIST *head);
00057 int s_hierarchy_setup_rename(TOPLEVEL *pr_current, NETLIST *head, char *uref, char *label, char *new_name);
00058 void s_hierarchy_remove_urefconn(NETLIST *head, char *uref_disable);
00059 void s_hierarchy_remove_compsite_all(NETLIST *head);
00060 char *s_hierarchy_create_uref(TOPLEVEL *pr_current, char *basename, char *hierarchy_tag);
00061 char *s_hierarchy_create_netname(TOPLEVEL *pr_current, char *basename, char *hierarchy_tag);
00062 char *s_hierarchy_create_netattrib(TOPLEVEL *pr_current, char *basename, char *hierarchy_tag);
00063 void s_hierarchy_remove_uref_mangling(TOPLEVEL *pr_current, NETLIST *head);
00064 char *s_hierarchy_return_baseuref(TOPLEVEL *pr_current, char *uref);
00065 int s_hierarchy_graphical_search(OBJECT* o_current, int count);
00066 /* s_misc.c */
00067 void verbose_print(char *string);
00068 void verbose_done(void);
00069 void verbose_reset_index(void);
00070 /* s_net.c */
00071 NET *s_net_return_tail(NET *head);
00072 NET *s_net_return_head(NET *tail);
00073 NET *s_net_add(NET *ptr);
00074 void s_net_print(NET *ptr);
00075 char *s_net_return_connected_string(TOPLEVEL *pr_current, OBJECT *object, char *hierarchy_tag);
00076 int s_net_find(NET *net_head, NET *node);
00077 char *s_net_name_search(TOPLEVEL *pr_current, NET *net_head);
00078 char *s_net_name(TOPLEVEL *pr_current, NETLIST *netlist_head, NET *net_head, char *hierarchy_tag, int type);
00079 /* s_netattrib.c */
00080 char *s_netattrib_extract_netname(char *value);
00081 void s_netattrib_create_pins(TOPLEVEL *pr_current, OBJECT *o_current, NETLIST *netlist, char *value, char *hierarchy_tag);
00082 void s_netattrib_handle(TOPLEVEL *pr_current, OBJECT *o_current, NETLIST *netlist, char *hierarchy_tag);
00083 char *s_netattrib_net_search(OBJECT *o_current, char *wanted_pin);
00084 char *s_netattrib_return_netname(TOPLEVEL *pr_current, OBJECT *o_current, char *pinnumber, char *hierarchy_tag);
00085 /* s_netlist.c */
00086 NETLIST *s_netlist_return_tail(NETLIST *head);
00087 NETLIST *s_netlist_return_head(NETLIST *tail);
00088 NETLIST *s_netlist_add(NETLIST *ptr);
00089 void s_netlist_print(NETLIST *ptr);
00090 void s_netlist_post_process(TOPLEVEL *pr_current, NETLIST *head);
00091 void s_netlist_name_named_nets (TOPLEVEL *pr_current,
00092                 NETLIST *named_netlist,
00093                 NETLIST *unnamed_netlist);
00094 char *s_netlist_netname_of_netid (TOPLEVEL *pr_current,
00095                   NETLIST *netlist_head,
00096                   int net_id);
00097 /* s_rename.c */
00098 void s_rename_init(void);
00099 void s_rename_destroy_all(void);
00100 void s_rename_next_set(void);
00101 void s_rename_print(void);
00102 int s_rename_search(char *src, char *dest, int quiet_flag);
00103 void s_rename_add(char *src, char *dest);
00104 void s_rename_all_lowlevel(NETLIST *netlist_head, char *src, char *dest);
00105 void s_rename_all(TOPLEVEL *pr_current, NETLIST *netlist_head);
00106 SCM g_get_renamed_nets(SCM scm_level);
00107 /* s_traverse.c */
00108 void s_traverse_init(void);
00109 void s_traverse_start(TOPLEVEL *pr_current);
00110 void s_traverse_sheet(TOPLEVEL *pr_current, const GList *obj_list, char *hierarchy_tag);
00111 CPINLIST *s_traverse_component(TOPLEVEL *pr_current, OBJECT *component, char *hierarchy_tag);
00112 NET *s_traverse_net(TOPLEVEL *pr_current, NET *nets, int starting, OBJECT *object, char *hierarchy_tag, int type);
00113 /* vams_misc.c */
00114 SCM vams_get_attribs_list(OBJECT *object);
00115 SCM vams_get_package_attributes(SCM scm_uref);
 All Data Structures Files Functions Variables Defines