Go to the source code of this file.
void print_netlist |
( |
char * |
foutput, |
|
|
char * |
net_file |
|
) |
| |
Definition at line 16 of file print_netlist.c.
23 int L_num_p_inputs, L_num_p_outputs;
57 fprintf(fp,
"Input netlist file: %s\n", net_file);
58 fprintf(fp,
"L_num_p_inputs: %d, L_num_p_outputs: %d, num_clbs: %d\n",
59 L_num_p_inputs, L_num_p_outputs, num_blocks);
60 fprintf(fp,
"num_blocks: %d, num_nets: %d, num_globals: %d\n", num_blocks,
61 num_nets, num_global_nets);
62 fprintf(fp,
"\nNet\tName\t\t#Pins\tDriver\t\tRecvs. (block, pin)\n");
68 fprintf(fp,
"%d",
clb_net[i].num_sinks + 1);
70 fprintf(fp,
"\t(%4d,%4d)",
clb_net[i].node_block[j],
74 fprintf(fp,
"\nBlock\tName\t\tType\tPin Connections\n\n");
77 fprintf(fp,
"\n%d\t%s\t", i,
block[i].name);
78 if (strlen(
block[i].name) < 8)
84 for (j = 0; j < max_pin; j++)
static void print_pinnum(FILE *fp, int pinnum)
FILE * my_fopen(const char *fname, const char *flag, int prompt)
struct s_class * class_inf