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-02-27 13:33:09 -06:00
|
|
|
#include "circuit_library.h"
|
|
|
|
#include "vpr_context.h"
|
2020-02-26 21:38:01 -06:00
|
|
|
#include "module_manager.h"
|
|
|
|
#include "bitstream_manager.h"
|
2020-02-27 13:33:09 -06:00
|
|
|
#include "io_location_map.h"
|
2020-02-27 17:37:20 -06:00
|
|
|
#include "vpr_netlist_annotation.h"
|
2020-02-26 21:38:01 -06:00
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
|
|
|
|
/* begin namespace openfpga */
|
|
|
|
namespace openfpga {
|
|
|
|
|
|
|
|
void print_verilog_preconfig_top_module(const ModuleManager& module_manager,
|
|
|
|
const BitstreamManager& bitstream_manager,
|
|
|
|
const CircuitLibrary& circuit_lib,
|
|
|
|
const std::vector<CircuitPortId>& global_ports,
|
|
|
|
const AtomContext& atom_ctx,
|
|
|
|
const PlacementContext& place_ctx,
|
|
|
|
const IoLocationMap& io_location_map,
|
2020-02-27 17:37:20 -06:00
|
|
|
const VprNetlistAnnotation& netlist_annotation,
|
2020-02-26 21:38:01 -06:00
|
|
|
const std::string& circuit_name,
|
2020-04-24 21:21:32 -05:00
|
|
|
const std::string& verilog_fname);
|
2020-02-26 21:38:01 -06:00
|
|
|
|
|
|
|
} /* end namespace openfpga */
|
|
|
|
|
|
|
|
#endif
|