openfpga/src/base/openfpga_sdc.cpp
/********************************************************************
 * A wrapper function to call the PnR SDC generator on routing multiplexers
 * of FPGA-SDC
 *******************************************************************/
A wrapper function to call the PnR SDC generator on routing multiplexers
of FPGA-SDC
A wrapper function to call the PnR SDC generator on routing multiplexers of FPGA - SDC
int write_sdc_disable_timing_configure_ports(const OpenfpgaContext& openfpga_ctx,
                                             const Command& cmd, const CommandContext& cmd_context) {
  CommandOptionId opt_output_dir = cmd.option("file");
  CommandOptionId opt_flatten_names = cmd.option("flatten_names");
  CommandOptionId opt_verbose = cmd.option("verbose");
  std::string sdc_dir_path = format_dir_path(cmd_context.option_value(cmd, opt_output_dir));
  if (CMD_EXEC_FATAL_ERROR == 
        print_sdc_disable_timing_configure_ports(cmd_context.option_value(cmd, opt_output_dir),
                                                 cmd_context.option_enable(cmd, opt_flatten_names),
                                                 openfpga_ctx.mux_lib(),
                                                 openfpga_ctx.arch().circuit_lib,
                                                 openfpga_ctx.module_graph(),
                                                 cmd_context.option_enable(cmd, opt_verbose))) {
    return CMD_EXEC_FATAL_ERROR;
  }
  return CMD_EXEC_SUCCESS;
}
int write_sdc_disable_timing_configure_ports ( const OpenfpgaContext & openfpga_ctx , const Command & cmd , const CommandContext & cmd_context ) { CommandOptionId opt_output_dir = cmd . option ( " " ) ; CommandOptionId opt_flatten_names = cmd . option ( " " ) ; CommandOptionId opt_verbose = cmd . option ( " " ) ; std :: string sdc_dir_path = format_dir_path ( cmd_context . option_value ( cmd , opt_output_dir ) ) ; if ( CMD_EXEC_FATAL_ERROR == print_sdc_disable_timing_configure_ports ( cmd_context . option_value ( cmd , opt_output_dir ) , cmd_context . option_enable ( cmd , opt_flatten_names ) , openfpga_ctx . mux_lib ( ) , openfpga_ctx . arch ( ) . circuit_lib , openfpga_ctx . module_graph ( ) , cmd_context . option_enable ( cmd , opt_verbose ) ) ) { return CMD_EXEC_FATAL_ERROR ; } return CMD_EXEC_SUCCESS ; }
A wrapper function to call the PnR SDC generator on routing multiplexers
 of FPGA-SDC
A wrapper function to call the PnR SDC generator on routing multiplexers of FPGA - SDC
/* Get command options */ /* Write the SDC for configuration chain */