2020-02-26 21:38:01 -06:00
|
|
|
#ifndef VERILOG_PRECONFIG_TOP_MODULE_H
|
|
|
|
#define VERILOG_PRECONFIG_TOP_MODULE_H
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Include header files that are required by function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
#include <vector>
|
|
|
|
#include <string>
|
2020-06-12 18:31:14 -05:00
|
|
|
#include "circuit_library.h"
|
|
|
|
#include "vpr_context.h"
|
|
|
|
#include "module_manager.h"
|
|
|
|
#include "bitstream_manager.h"
|
2021-01-19 17:56:30 -06:00
|
|
|
#include "pin_constraints.h"
|
2020-06-12 18:31:14 -05:00
|
|
|
#include "io_location_map.h"
|
2020-11-10 20:07:28 -06:00
|
|
|
#include "fabric_global_port_info.h"
|
2020-11-06 12:10:04 -06:00
|
|
|
#include "config_protocol.h"
|
2020-06-12 18:31:14 -05:00
|
|
|
#include "vpr_netlist_annotation.h"
|
2021-06-14 12:37:49 -05:00
|
|
|
#include "verilog_testbench_options.h"
|
2020-02-26 21:38:01 -06:00
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
|
|
|
|
/* begin namespace openfpga */
|
|
|
|
namespace openfpga {
|
|
|
|
|
2021-01-19 17:56:30 -06:00
|
|
|
int print_verilog_preconfig_top_module(const ModuleManager& module_manager,
|
|
|
|
const BitstreamManager& bitstream_manager,
|
|
|
|
const ConfigProtocol &config_protocol,
|
|
|
|
const CircuitLibrary& circuit_lib,
|
|
|
|
const FabricGlobalPortInfo &global_ports,
|
|
|
|
const AtomContext& atom_ctx,
|
|
|
|
const PlacementContext& place_ctx,
|
|
|
|
const PinConstraints& pin_constraints,
|
|
|
|
const IoLocationMap& io_location_map,
|
|
|
|
const VprNetlistAnnotation& netlist_annotation,
|
|
|
|
const std::string& circuit_name,
|
|
|
|
const std::string& verilog_fname,
|
2021-06-14 12:37:49 -05:00
|
|
|
const VerilogTestbenchOption& options);
|
2020-02-26 21:38:01 -06:00
|
|
|
|
|
|
|
} /* end namespace openfpga */
|
|
|
|
|
|
|
|
#endif
|