OpenFPGA/openfpga/src/fpga_verilog/verilog_api.h

52 lines
2.0 KiB
C
Raw Normal View History

2020-02-15 16:03:00 -06:00
#ifndef VERILOG_API_H
#define VERILOG_API_H
/********************************************************************
* Include header files that are required by function declaration
*******************************************************************/
#include <string>
#include <vector>
#include "mux_library.h"
#include "circuit_library.h"
2020-02-16 17:04:41 -06:00
#include "vpr_context.h"
#include "vpr_device_annotation.h"
2020-02-15 16:03:00 -06:00
#include "device_rr_gsb.h"
#include "module_manager.h"
#include "bitstream_manager.h"
#include "simulation_setting.h"
#include "io_location_map.h"
#include "fabric_verilog_options.h"
#include "verilog_testbench_options.h"
2020-02-15 16:03:00 -06:00
/********************************************************************
* Function declaration
*******************************************************************/
/* begin namespace openfpga */
namespace openfpga {
void fpga_fabric_verilog(ModuleManager& module_manager,
const CircuitLibrary& circuit_lib,
const MuxLibrary& mux_lib,
2020-02-16 17:04:41 -06:00
const DeviceContext& device_ctx,
const VprDeviceAnnotation& device_annotation,
const DeviceRRGSB& device_rr_gsb,
const FabricVerilogOption& options);
2020-02-15 16:03:00 -06:00
void fpga_verilog_testbench(const ModuleManager& module_manager,
const BitstreamManager& bitstream_manager,
const std::vector<ConfigBitId>& fabric_bitstream,
const AtomContext& atom_ctx,
const PlacementContext& place_ctx,
const IoLocationMap& io_location_map,
const CircuitLibrary& circuit_lib,
const SimulationSetting& simulation_parameters,
const e_config_protocol_type& config_protocol_type,
const VerilogTestbenchOption& options);
2020-02-15 16:03:00 -06:00
} /* end namespace openfpga */
#endif