2020-07-05 13:10:12 -05:00
|
|
|
#ifndef SPICE_API_H
|
|
|
|
#define SPICE_API_H
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Include header files that are required by function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
#include "netlist_manager.h"
|
|
|
|
#include "module_manager.h"
|
2020-07-17 14:01:08 -05:00
|
|
|
#include "openfpga_arch.h"
|
2020-09-20 12:49:02 -05:00
|
|
|
#include "mux_library.h"
|
2020-09-20 13:38:24 -05:00
|
|
|
#include "vpr_context.h"
|
|
|
|
#include "vpr_device_annotation.h"
|
2020-09-20 13:27:48 -05:00
|
|
|
#include "device_rr_gsb.h"
|
2020-07-05 13:10:12 -05:00
|
|
|
#include "fabric_spice_options.h"
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
|
|
|
|
/* begin namespace openfpga */
|
|
|
|
namespace openfpga {
|
|
|
|
|
2020-07-05 15:50:29 -05:00
|
|
|
int fpga_fabric_spice(const ModuleManager& module_manager,
|
|
|
|
NetlistManager& netlist_manager,
|
2020-07-17 14:01:08 -05:00
|
|
|
const Arch& openfpga_arch,
|
2020-09-20 12:49:02 -05:00
|
|
|
const MuxLibrary& mux_lib,
|
2020-09-20 13:38:24 -05:00
|
|
|
const DeviceContext &device_ctx,
|
|
|
|
const VprDeviceAnnotation &device_annotation,
|
2020-09-20 13:27:48 -05:00
|
|
|
const DeviceRRGSB &device_rr_gsb,
|
2020-07-05 15:50:29 -05:00
|
|
|
const FabricSpiceOption& options);
|
2020-07-05 13:10:12 -05:00
|
|
|
|
|
|
|
} /* end namespace openfpga */
|
|
|
|
|
|
|
|
#endif
|