reformat code
This commit is contained in:
parent
539e37118a
commit
bd2cf17566
|
@ -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*/
|
||||
|
||||
|
|
|
@ -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());
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue