54 #define PARAM_vivado_outdir "vivado_outdir" 81 std::ofstream sdc_file(sdc_filename.c_str());
85 " [get_ports " + clock +
"]\n";
87 (
Param->IsParameter(
"profile-top") &&
Param->GetParameter<
int>(
"profile-top") == 1)) &&
88 !
Param->isOption(OPT_backend_sdc_extensions))
91 " -from [all_inputs] -to [all_outputs]\n";
93 " -from [all_inputs] -to [all_registers]\n";
95 " -from [all_registers] -to [all_outputs]\n";
109 std::ostringstream s;
113 if(option->checkCondition(dp))
#define PARAM_vivado_report
File containing functions and utilities to support the printing of debug messagges.
#define PRINT_DBG_MEX(dbgLevel, curDbgLevel, mex)
We are producing a debug version of the program, so the message is printed;.
vivado_flow_wrapper(const ParameterConstRef &Param, const std::string &_output_dir, const generic_deviceRef &_device)
Constructor.
#define DEBUG_LEVEL_PEDANTIC
very verbose debugging print is performed.
~vivado_flow_wrapper() override
Destructor.
Wrapper to invoke vivado_flow tool by XILINX.
void EvaluateVariables(const DesignParametersRef dp) override
Evaluates the design variables.
Wrapper to implement a synthesis tools by Xilinx.
map_t parameter_values
Map between the name of the parameter and the corresponding string-based value.
void assign(const std::string &name, const std::string &value, bool checkExisting)
Assigns a value to a saved parameter.
This file contains the definition of the parameters for the synthesis tools.
std::string get_command_line(const DesignParametersRef &dp) const override
Returns the proper command line.
void create_sdc(const DesignParametersRef &dp)
#define PARAM_vivado_outdir
Header include.
#define PARAM_vivado_timing_report
Classes for handling configuration files.
std::string component_name
Name of the component.
#define VIVADO_FLOW_TOOL_EXEC
Template borrowed from the ANTLR library by Terence Parr (http://www.jGuru.com - Software rights: htt...
this class is used to manage the command-line or XML options.
#define VIVADO_FLOW_TOOL_ID
std::string toString(const xml_script_node_tRef node, const DesignParametersRef dp) const override
Returns the string-based representation of the XML element.