Go to the source code of this file.
void output_clustering |
( |
t_block * |
clb, |
|
|
int |
num_clusters, |
|
|
boolean |
global_clocks, |
|
|
boolean * |
is_clock, |
|
|
char * |
out_fname, |
|
|
boolean |
skip_clustering |
|
) |
| |
Definition at line 530 of file output_clustering.c.
539 int bnum, netnum, column;
541 fpout = fopen(out_fname,
"w");
543 fprintf(fpout,
"<block name=\"%s\" instance=\"FPGA_packed_netlist[0]\">\n",
545 fprintf(fpout,
"\t<inputs>\n\t\t");
553 fprintf(fpout,
"\n\t</inputs>\n");
554 fprintf(fpout,
"\n\t<outputs>\n\t\t");
562 fprintf(fpout,
"\n\t</outputs>\n");
566 fprintf(fpout,
"\n\t<clocks>\n\t\t");
569 if (is_clock[netnum]) {
573 fprintf(fpout,
"\n\t</clocks>\n\n");
584 if (skip_clustering) {
590 vpr_printf(TIO_MESSAGE_ERROR,
"in output_netlist: logical_block %d is VPACK_EMPTY.\n",
596 vpr_printf(TIO_MESSAGE_ERROR,
"in output_netlist: Unexpected type %d for logical_block %d.\n",
601 if (skip_clustering ==
FALSE)
604 fprintf(fpout,
"</block>\n\n");
static void print_clusters(t_block *clb, int num_clusters, FILE *fpout)
static void print_string(const char *str_ptr, int *column, int num_tabs, FILE *fpout)
static void print_stats(t_block *clb, int num_clusters)
struct s_logical_block * logical_block