Skip to content

Commit

Permalink
put verilator options in double quotes to allow whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferdinand Stehle authored and dkozel committed Mar 24, 2023
1 parent 25ad0b5 commit fe08b67
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/verilog_axi_bb_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ namespace gr {
cmd += std::string(" ") + "USER_CPP_FILENAME=" + CPP_TEMPLATE_NAME;
cmd += std::string(" ") + " M_DIR=" + M_dir;
// cmd += verilator_options:
cmd += std::string(" ") + "VERILATOR_OPTIONS=" + this->verilator_options;
cmd += std::string(" ") + "VERILATOR_OPTIONS=\"" + this->verilator_options + "\"";
cmd += ENTER;

cmd += ENTER;
Expand Down
2 changes: 1 addition & 1 deletion lib/verilog_axi_cc_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ namespace gr {
cmd += std::string(" ") + "USER_CPP_FILENAME=" + CPP_TEMPLATE_NAME;
cmd += std::string(" ") + " M_DIR=" + M_dir;
// cmd += verilator_options:
cmd += std::string(" ") + "VERILATOR_OPTIONS=" + this->verilator_options;
cmd += std::string(" ") + "VERILATOR_OPTIONS=\"" + this->verilator_options + "\"";
cmd += ENTER;

cmd += ENTER;
Expand Down
2 changes: 1 addition & 1 deletion lib/verilog_axi_ff_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ namespace gr {
cmd += std::string(" ") + "USER_CPP_FILENAME=" + CPP_TEMPLATE_NAME;
cmd += std::string(" ") + " M_DIR=" + M_dir;
// cmd += verilator_options:
cmd += std::string(" ") + "VERILATOR_OPTIONS=" + this->verilator_options;
cmd += std::string(" ") + "VERILATOR_OPTIONS=\"" + this->verilator_options + "\"";
cmd += ENTER;

cmd += ENTER;
Expand Down
2 changes: 1 addition & 1 deletion lib/verilog_axi_ii_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ namespace gr {
cmd += std::string(" ") + "USER_CPP_FILENAME=" + CPP_TEMPLATE_NAME;
cmd += std::string(" ") + " M_DIR=" + M_dir;
// cmd += verilator_options:
cmd += std::string(" ") + "VERILATOR_OPTIONS=" + this->verilator_options;
cmd += std::string(" ") + "VERILATOR_OPTIONS=\"" + this->verilator_options + "\"";
cmd += ENTER;

cmd += ENTER;
Expand Down
2 changes: 1 addition & 1 deletion lib/verilog_axi_ss_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ namespace gr {
cmd += std::string(" ") + "USER_CPP_FILENAME=" + CPP_TEMPLATE_NAME;
cmd += std::string(" ") + " M_DIR=" + M_dir;
// cmd += verilator_options:
cmd += std::string(" ") + "VERILATOR_OPTIONS=" + this->verilator_options;
cmd += std::string(" ") + "VERILATOR_OPTIONS=\"" + this->verilator_options + "\"";
cmd += ENTER;

cmd += ENTER;
Expand Down

0 comments on commit fe08b67

Please sign in to comment.