HAL
netlist_writer_manager.cpp
Go to the documentation of this file.
2 
3 namespace hal
4 {
6  {
7  // hdl_file_writer/HDLWriter
8  m.def_submodule("NetlistWriterManager",
9  R"(The netlist writer manager keeps track of all netlist writers that are available within HAL. It is used to dispatch writing tasks to the respective writers.)")
10  .def("write",
11  py::overload_cast<Netlist*, const std::filesystem::path&>(&netlist_writer_manager::write),
12  py::arg("netlist"),
13  py::arg("file_path"),
14  R"(
15  Write the given netlist into a file at the given location.
16 
17  :param hal_py.Netlist netlist: The netlist.
18  :param pathlib.Path file_path: The output path.
19  :returns: True on success, false otherwise.
20  :rtype: bool
21  )");
22  }
23 } // namespace hal
void netlist_writer_manager_init(py::module &m)
const Module * module(const Gate *g, const NodeBoxes &boxes)
bool write(Netlist *netlist, const ProgramArguments &args)