2020-05-02 22:09:00 -05:00
|
|
|
#ifndef SDC_MUX_UTILS_H
|
|
|
|
#define SDC_MUX_UTILS_H
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Include header files that are required by function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
#include <fstream>
|
|
|
|
#include <string>
|
2020-05-14 17:53:15 -05:00
|
|
|
#include "mux_library.h"
|
|
|
|
#include "circuit_library.h"
|
2020-05-02 22:09:00 -05:00
|
|
|
#include "module_manager.h"
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
|
|
|
|
/* begin namespace openfpga */
|
|
|
|
namespace openfpga {
|
|
|
|
|
2020-05-14 17:53:15 -05:00
|
|
|
void print_sdc_disable_routing_multiplexer_outputs(const std::string& sdc_dir,
|
|
|
|
const bool& flatten_names,
|
|
|
|
const MuxLibrary& mux_lib,
|
|
|
|
const CircuitLibrary& circuit_lib,
|
|
|
|
const ModuleManager& module_manager,
|
|
|
|
const ModuleId& top_module);
|
|
|
|
|
|
|
|
int print_sdc_disable_routing_multiplexer_configure_ports(std::fstream& fp,
|
|
|
|
const bool& flatten_names,
|
|
|
|
const MuxLibrary& mux_lib,
|
|
|
|
const CircuitLibrary& circuit_lib,
|
|
|
|
const ModuleManager& module_manager,
|
|
|
|
const ModuleId& top_module);
|
2020-05-02 22:09:00 -05:00
|
|
|
|
|
|
|
|
|
|
|
} /* end namespace openfpga */
|
|
|
|
|
|
|
|
#endif
|