openfpga/src/fpga_sdc/sdc_writer_utils.cpp
/********************************************************************
 * Write a timescale definition in SDC file 
 *******************************************************************/
Write a timescale definition in SDC file
Write a timescale definition in SDC file
void print_sdc_timescale(std::fstream& fp,
                         const std::string& timescale) {
  valid_file_stream(fp);
  fp << "#############################################" << std::endl;
  fp << "#\tDefine time unit " << std::endl;
  fp << "#############################################" << std::endl;
  fp << "set_units -time " << timescale << std::endl;
  fp << std::endl;
}
void print_sdc_timescale ( std :: fstream & fp , const std :: string & timescale ) { valid_file_stream ( fp ) ; fp << " " << std :: endl ; fp << " \t " << std :: endl ; fp << " " << std :: endl ; fp << " " << timescale << std :: endl ; fp << std :: endl ; }
Write a timescale definition in SDC file
Write a timescale definition in SDC file