@@ -36,17 +36,14 @@ static t_pb_graph_pin ***pb_graph_pin_lookup_from_index_by_type = NULL; /* [0..n
36
36
37
37
static void print_string (const char * str_ptr , int * column , int num_tabs , FILE * fpout ) {
38
38
39
- /* Prints string without making any lines longer than LINELENGTH. Column *
40
- * points to the column in which the next character will go (both used and *
41
- * updated), and fpout points to the output file. */
39
+ /*
40
+ * Column points to the column in which the next character will go (both
41
+ * used and updated), and fpout points to the output file.
42
+ */
42
43
43
44
int len ;
44
45
45
46
len = strlen (str_ptr );
46
- if (len + 3 > LINELENGTH ) {
47
- vpr_throw (VPR_ERROR_PACK , __FILE__ , __LINE__ ,
48
- "in print_string: String %s is too long for desired maximum line length.\n" , str_ptr );
49
- }
50
47
51
48
if (* column + len + 2 > LINELENGTH ) {
52
49
fprintf (fpout , "\n" );
@@ -60,9 +57,8 @@ static void print_string(const char *str_ptr, int *column, int num_tabs, FILE *
60
57
61
58
static void print_net_name (int inet , int * column , int num_tabs , FILE * fpout ) {
62
59
63
- /* This routine prints out the g_atoms_nlist.net name (or open) and limits the *
64
- * length of a line to LINELENGTH characters by using \ to continue *
65
- * lines. net_num is the index of the g_atoms_nlist.net to be printed, while *
60
+ /* This routine prints out the g_atoms_nlist.net name (or open).
61
+ * net_num is the index of the g_atoms_nlist.net to be printed, while *
66
62
* column points to the current printing column (column is both *
67
63
* used and updated by this routine). fpout is the output file *
68
64
* pointer. */
@@ -80,13 +76,6 @@ static void print_net_name(int inet, int *column, int num_tabs, FILE * fpout) {
80
76
static void print_interconnect (t_type_ptr type , int inode , int * column , int num_tabs , t_pb_route * pb_route ,
81
77
FILE * fpout ) {
82
78
83
- /* This routine prints out the g_atoms_nlist.net name (or open) and limits the *
84
- * length of a line to LINELENGTH characters by using \ to continue *
85
- * lines. net_num is the index of the g_atoms_nlist.net to be printed, while *
86
- * column points to the current printing column (column is both *
87
- * used and updated by this routine). fpout is the output file *
88
- * pointer. */
89
-
90
79
char * str_ptr , * name ;
91
80
int prev_node , prev_edge ;
92
81
int len ;
0 commit comments