Skip to content

Commit 5e2559f

Browse files
committed
Updating formatting
1 parent 37fd7a2 commit 5e2559f

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

ODIN_II/SRC/include/odin_error.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,10 @@ extern std::vector<std::pair<std::string, int>> include_file_names;
3939
extern int delayed_errors;
4040
extern const loc_t unknown_location;
4141

42-
43-
#define SYSTEMVERILOG_PARSER_ERROR \
42+
#define SYSTEMVERILOG_PARSER_ERROR \
4443
"The SystemVerilog parser is provided within Yosys. " \
4544
"Please use the Yosys elaborator to synthesize SystemVerilog files.\n"
46-
#define UHDM_PARSER_ERROR \
45+
#define UHDM_PARSER_ERROR \
4746
"The UHDM parser is provided within Yosys. " \
4847
"Please use the Yosys elaborator to synthesize UHDM files.\n"
4948

@@ -60,7 +59,7 @@ extern const loc_t unknown_location;
6059
#endif
6160

6261
#ifndef YOSYS_SV_UHDM_PLUGIN
63-
# define YOSYS_PLUGINS_NOT_COMPILED \
62+
# define YOSYS_PLUGINS_NOT_COMPILED \
6463
"SystemVerilog/UHDM plugins are not compiled. " \
6564
"Please recompile the VTR project with the \"YOSYS_SV_UHDM_PLUGIN\" flag on."
6665
#endif

ODIN_II/SRC/odin_util.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ void report_frontend_elaborator() {
125125
#ifndef ODIN_USE_YOSYS
126126
error_message(PARSE_ARGS, unknown_location, "%s", YOSYS_INSTALLATION_ERROR);
127127
#else
128-
#ifndef YOSYS_SV_UHDM_PLUGIN
128+
# ifndef YOSYS_SV_UHDM_PLUGIN
129129
error_message(PARSE_ARGS, unknown_location, "%s", YOSYS_PLUGINS_NOT_COMPILED);
130-
#endif
130+
# endif
131131
#endif
132132
}
133133
printf("Using the Yosys elaborator with the Surelog parser for UHDM\n");

0 commit comments

Comments
 (0)