2020-02-27 22:06:33 -06:00
|
|
|
#ifndef PNR_SDC_GRID_WRITER_H
|
|
|
|
#define PNR_SDC_GRID_WRITER_H
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Include header files that are required by function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
#include "vpr_context.h"
|
|
|
|
#include "vpr_device_annotation.h"
|
|
|
|
#include "module_manager.h"
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
|
|
|
|
/* begin namespace openfpga */
|
|
|
|
namespace openfpga {
|
|
|
|
|
|
|
|
void print_pnr_sdc_constrain_grid_timing(const std::string& sdc_dir,
|
2020-05-05 13:31:11 -05:00
|
|
|
const float& time_unit,
|
2020-05-05 21:12:13 -05:00
|
|
|
const bool& hierarchical,
|
2020-02-27 22:06:33 -06:00
|
|
|
const DeviceContext& device_ctx,
|
|
|
|
const VprDeviceAnnotation& device_annotation,
|
2020-03-25 16:55:30 -05:00
|
|
|
const ModuleManager& module_manager,
|
2020-05-05 21:12:13 -05:00
|
|
|
const ModuleId& top_module,
|
2020-03-25 16:55:30 -05:00
|
|
|
const bool& constrain_zero_delay_paths);
|
2020-02-27 22:06:33 -06:00
|
|
|
|
|
|
|
} /* end namespace openfpga */
|
|
|
|
|
|
|
|
#endif
|