reformat code

This commit is contained in:
Lin 2024-10-31 10:48:41 +08:00
parent 539e37118a
commit bd2cf17566
3 changed files with 9 additions and 5 deletions

View File

@ -16,7 +16,8 @@ namespace openfpga {
/* Parse a .pcf file through a stream, return an object which contains all the
* data */
int read_pcf(const char* fname, PcfData& pcf_data, bool reduce_error_to_warning = false);
int read_pcf(const char* fname, PcfData& pcf_data,
bool reduce_error_to_warning = false);
} /* End namespace openfpga*/

View File

@ -73,7 +73,9 @@ int pcf2place_wrapper_template(const Command& cmd,
/* Parse the input files */
openfpga::PcfData pcf_data;
openfpga::read_pcf(pcf_fname.c_str(), pcf_data,cmd_context.option_enable(cmd, opt_reduce_error_to_warning));
openfpga::read_pcf(
pcf_fname.c_str(), pcf_data,
cmd_context.option_enable(cmd, opt_reduce_error_to_warning));
VTR_LOG("Read the design constraints from a pcf file: %s.\n",
pcf_fname.c_str());

View File

@ -600,8 +600,9 @@ ShellCommandId add_pcf2place_command_template(
"Do not print time stamp in output files");
/* Add an option '--reduce_error_to_warning' */
shell_cmd.add_option("reduce_error_to_warning", false,
"reduce error to warning while reading commands in pcf file");
shell_cmd.add_option(
"reduce_error_to_warning", false,
"reduce error to warning while reading commands in pcf file");
/* Add an option '--verbose' */
shell_cmd.add_option("verbose", false, "Enable verbose output");