2020-02-23 00:04:42 -06:00
|
|
|
#ifndef OPENFPGA_BITSTREAM_H
|
|
|
|
#define OPENFPGA_BITSTREAM_H
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Include header files that are required by function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
#include "command.h"
|
|
|
|
#include "command_context.h"
|
|
|
|
#include "openfpga_context.h"
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
|
|
|
|
/* begin namespace openfpga */
|
|
|
|
namespace openfpga {
|
|
|
|
|
2020-04-08 17:18:05 -05:00
|
|
|
int fpga_bitstream(OpenfpgaContext& openfpga_ctx,
|
|
|
|
const Command& cmd, const CommandContext& cmd_context);
|
2020-02-23 00:04:42 -06:00
|
|
|
|
2020-04-08 17:18:05 -05:00
|
|
|
int build_fabric_bitstream(OpenfpgaContext& openfpga_ctx,
|
|
|
|
const Command& cmd, const CommandContext& cmd_context);
|
2020-02-26 12:09:23 -06:00
|
|
|
|
2020-07-27 15:16:33 -05:00
|
|
|
int write_fabric_bitstream(const OpenfpgaContext& openfpga_ctx,
|
|
|
|
const Command& cmd, const CommandContext& cmd_context);
|
|
|
|
|
2021-04-27 15:30:16 -05:00
|
|
|
int write_io_mapping(const OpenfpgaContext& openfpga_ctx,
|
|
|
|
const Command& cmd, const CommandContext& cmd_context);
|
|
|
|
|
2021-05-07 12:41:25 -05:00
|
|
|
int report_bitstream_distribution(const OpenfpgaContext& openfpga_ctx,
|
|
|
|
const Command& cmd, const CommandContext& cmd_context);
|
|
|
|
|
2020-02-23 00:04:42 -06:00
|
|
|
} /* end namespace openfpga */
|
|
|
|
|
|
|
|
#endif
|