Skip to content

Commit 8d043fd

Browse files
fix compilation error in write_models_bb.cpp
1 parent 1a5894a commit 8d043fd

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

libs/libarchfpga/src/write_models_bb.cpp

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,24 @@
77

88
using vtr::t_linked_vptr;
99

10+
// clang-format off
1011
/* the output file description */
11-
#define OUTPUT_HEADER_COMMENT(Echo, ArchFile) \
12-
{ \
13-
fprintf(Echo, \
14-
"/***************************************************************************************************" \
15-
* "******/\n"); \
16-
fprintf(Echo, "/* %-100s*/\n", ""); \
17-
fprintf(Echo, "/* %-100s*/\n", \
18-
"This is a machine-generated Verilog code, including the black box declaration of"); \
19-
fprintf(Echo, "/* %-100s*/\n", "complex blocks defined in the following architecture file:"); \
20-
fprintf(Echo, "/* %-100s*/\n", ""); \
21-
fprintf(Echo, "/* %-90s*/\n", strrchr(ArchFile, '/') + 1); \
22-
fprintf(Echo, "/* %-100s*/\n", ""); \
23-
fprintf(Echo, \
24-
"/***************************************************************************************************" \
25-
* "******/\n\n"); \
12+
#define OUTPUT_HEADER_COMMENT(Echo, ArchFile) \
13+
{ \
14+
fprintf(Echo, \
15+
"/*********************************************************************************************************/\n"); \
16+
fprintf(Echo, "/* %-100s*/\n", ""); \
17+
fprintf(Echo, "/* %-100s*/\n", \
18+
"This is a machine-generated Verilog code, including the black box declaration of"); \
19+
fprintf(Echo, "/* %-100s*/\n", \
20+
"complex blocks defined in the following architecture file:"); \
21+
fprintf(Echo, "/* %-100s*/\n", ""); \
22+
fprintf(Echo, "/* %-90s*/\n", strrchr(ArchFile, '/') + 1); \
23+
fprintf(Echo, "/* %-100s*/\n", ""); \
24+
fprintf(Echo, \
25+
"/*********************************************************************************************************/\n\n"); \
2626
}
27+
// clang-format on
2728

2829
/* a comment for the body of black box modules */
2930
const char* HARD_BLOCK_COMMENT

0 commit comments

Comments
 (0)