2019-08-19 21:13:18 -05:00
|
|
|
/***********************************************
|
2019-09-12 21:49:02 -05:00
|
|
|
* Header file for verilog_mux.cpp
|
2019-08-19 21:13:18 -05:00
|
|
|
**********************************************/
|
|
|
|
|
2019-08-20 22:01:38 -05:00
|
|
|
#ifndef VERILOG_MUX_H
|
|
|
|
#define VERILOG_MUX_H
|
2019-08-19 21:13:18 -05:00
|
|
|
|
|
|
|
/* Include other header files which are dependency on the function declared below */
|
|
|
|
#include <fstream>
|
2019-12-04 18:55:05 -06:00
|
|
|
#include <vector>
|
2019-08-19 21:13:18 -05:00
|
|
|
|
|
|
|
#include "circuit_library.h"
|
|
|
|
#include "mux_graph.h"
|
|
|
|
#include "mux_library.h"
|
2019-08-24 20:23:33 -05:00
|
|
|
#include "module_manager.h"
|
2019-08-19 21:13:18 -05:00
|
|
|
|
2019-08-24 20:23:33 -05:00
|
|
|
void print_verilog_submodule_muxes(ModuleManager& module_manager,
|
2019-12-04 18:55:05 -06:00
|
|
|
std::vector<std::string>& netlist_names,
|
2019-08-24 20:23:33 -05:00
|
|
|
const MuxLibrary& mux_lib,
|
|
|
|
const CircuitLibrary& circuit_lib,
|
|
|
|
t_sram_orgz_info* cur_sram_orgz_info,
|
2019-09-13 13:22:57 -05:00
|
|
|
const std::string& verilog_dir,
|
2019-10-22 16:31:08 -05:00
|
|
|
const std::string& submodule_dir,
|
|
|
|
const bool& use_explicit_port_map);
|
2019-08-19 21:13:18 -05:00
|
|
|
|
|
|
|
#endif
|