2020-02-16 13:35:41 -06:00
|
|
|
#ifndef VERILOG_MUX_H
|
|
|
|
#define VERILOG_MUX_H
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Include header files that are required by function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
#include <fstream>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
#include "circuit_library.h"
|
|
|
|
#include "mux_graph.h"
|
|
|
|
#include "mux_library.h"
|
|
|
|
#include "module_manager.h"
|
2020-04-23 21:42:11 -05:00
|
|
|
#include "netlist_manager.h"
|
2021-02-28 12:57:40 -06:00
|
|
|
#include "fabric_verilog_options.h"
|
2020-02-16 13:35:41 -06:00
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
|
|
|
|
/* begin namespace openfpga */
|
|
|
|
namespace openfpga {
|
|
|
|
|
|
|
|
void print_verilog_submodule_muxes(ModuleManager& module_manager,
|
2020-04-23 21:42:11 -05:00
|
|
|
NetlistManager& netlist_manager,
|
2020-02-16 13:35:41 -06:00
|
|
|
const MuxLibrary& mux_lib,
|
|
|
|
const CircuitLibrary& circuit_lib,
|
|
|
|
const std::string& submodule_dir,
|
2021-02-28 12:57:40 -06:00
|
|
|
const FabricVerilogOption& options);
|
2020-02-16 13:35:41 -06:00
|
|
|
|
|
|
|
} /* end namespace openfpga */
|
|
|
|
|
|
|
|
#endif
|