netlist_visualizer.h File Reference

#include "types.h"
Include dependency graph for netlist_visualizer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void graphVizOutputNetlist (char *path, char *name, short marker_value, netlist_t *netlist)
void graphVizOutputCombinationalNet (char *path, char *name, short marker_value, nnode_t *current_node)

Function Documentation

void graphVizOutputCombinationalNet ( char *  path,
char *  name,
short  marker_value,
nnode_t current_node 
)

Definition at line 180 of file netlist_visualizer.c.

00181 {
00182         char path_and_file[4096];
00183         FILE *fp;
00184 
00185         /* open the file */
00186         sprintf(path_and_file, "%s/%s.dot", path, name);
00187         fp = fopen(path_and_file, "w");
00188 
00189         /* open graph */
00190         fprintf(fp, "digraph G {\n\tranksep=.25;\n");
00191         
00192         forward_traversal_net_graph_display(fp, marker_value, current_node);
00193         backward_traversal_net_graph_display(fp, marker_value, current_node);
00194 
00195         /* close graph */
00196         fprintf(fp, "}\n");
00197         fclose(fp);
00198 }

Here is the call graph for this function:

Here is the caller graph for this function:

void graphVizOutputNetlist ( char *  path,
char *  name,
short  marker_value,
netlist_t netlist 
)

Definition at line 42 of file netlist_visualizer.c.

00043 {
00044         char path_and_file[4096];
00045         FILE *fp;
00046 
00047         /* open the file */
00048         sprintf(path_and_file, "%s/%s.dot", path, name);
00049         fp = fopen(path_and_file, "w");
00050 
00051         /* open graph */
00052         fprintf(fp, "digraph G {\n\tranksep=.25;\n");
00053         
00054         depth_first_traversal_graph_display(fp, marker_value, netlist);
00055 
00056         /* close graph */
00057         fprintf(fp, "}\n");
00058         fclose(fp);
00059 }

Here is the call graph for this function:

Here is the caller graph for this function:

Generated on Tue Aug 2 10:43:33 2011 for ODIN_II by  doxygen 1.6.3