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");
65 fprintf(fp,
"\n%d\t%s\t", i,
clb_net[i].name);
66 if (strlen(
clb_net[i].name) < 8)
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++)
100 fprintf(fp,
"\tOPEN");
102 fprintf(fp,
"\t%d", pinnum);
static void print_pinnum(FILE *fp, int pinnum)
FILE * my_fopen(const char *fname, const char *flag, int prompt)
struct s_class * class_inf
void print_netlist(char *foutput, char *net_file)